/* ═══════════════════════════════════════════════
   Elementor → aslogistics design compat overrides
   v4 approach: every section is a chte-section widget
   containing the full original <section class="hero|about-sec|…">
   from style.css. These overrides just:
     1) Strip Elementor's own padding/grid so outer wrappers
        are pass-through and don't double up with our inner section.
     2) Beat Hello-Elementor reset.css which forces h1-h6 weight 500.
     3) Beat Elementor Kit (post-5.css) which sets Roboto + weight 400/500/600.
═══════════════════════════════════════════════ */

body.elementor-template-canvas { background: var(--bg); }

/* ── Kill horizontal overflow everywhere ── */
html, body,
[data-elementor-type="wp-page"],
[data-elementor-type="wp-page"] > .elementor-section,
.elementor,
.elementor-inner {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* ── Pass-through Elementor wrappers ── */
section.elementor-section,
section.elementor-top-section {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  width: 100% !important;
  max-width: 100% !important;
  left: auto !important;
  transform: none !important;
}
.elementor-section-stretched {
  width: 100% !important;
  left: auto !important;
  transform: none !important;
  position: relative !important;
}
.elementor-container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100%;
  display: block !important; /* kill row flex */
}
.elementor-column,
.elementor-top-column {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.elementor-widget-wrap,
.elementor-element-populated {
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}
.elementor-widget-wrap > .elementor-widget,
.elementor-widget {
  margin: 0 !important;
  width: 100%;
}
.elementor-widget-container {
  padding: 0 !important;
  margin: 0 !important;
}

/* ── Kill Elementor Kit's forced Roboto typography ── */
body, p, div, span, a, li, input, textarea, select, button {
  font-family: 'Inter', sans-serif;
}
h1, h2, h3,
h4, h5, h6,
.h1, .lp-h1, .sec-title,
.hstat-n, .istat-n, .astat-n {
  font-family: 'Unbounded', sans-serif !important;
}

/* ── Beat Hello-Elementor reset.css (h1-h6 { font-weight: 500 }) ── */
h1 { font-weight: 800 !important; line-height: .96 !important; margin: 0 !important; }
h2 { font-weight: 800 !important; line-height: .97 !important; margin: 0 !important; }
h3, h4 { font-weight: 700 !important; margin: 0 !important; }
h5, h6 { font-weight: 700 !important; margin: 0 !important; }
.h1, .lp-h1 { font-weight: 800 !important; }
.sec-title { font-weight: 800 !important; }
.sec-label {
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 3px !important;
}
.btn,
.btn.solid,
.h-ph,
.svc-name,
.svc-card-title,
.b-title,
.how-title,
.j-title,
.cov-title,
.adv-title,
.form-hed,
.field label,
.ty-h,
.partner-tag,
.doc-item,
.f-submit,
.f-next {
  font-weight: 700 !important;
}
.hstat-n,
.istat-n,
.astat-n,
strong,
b {
  font-weight: 800 !important;
}

/* ── Hero layout: match .about-sec width model ──
   .about-sec has padding on OUTER, .about-in has max-width + margin auto with no padding.
   Mirror that: push horizontal padding to .hero, strip it from .hero-in.  */
.hero,
.lp-hero {
  padding-left: clamp(16px, 4vw, 52px) !important;
  padding-right: clamp(16px, 4vw, 52px) !important;
}
.hero-in,
.lp-hero-in {
  box-sizing: content-box !important;
  max-width: var(--max-w) !important;
  margin: 0 auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
@media (max-width: 960px) {
  .hero-in {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

/* ── Caption-link under the bullets — orange CTA-style scroll-to-form ── */
.hero-form-call {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--accent) !important;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.4;
  text-decoration: none !important;
  max-width: 500px;
  transition: gap 0.2s, color 0.2s;
  opacity: 0;
  animation: fadeUp .65s ease forwards;
  animation-delay: .6s;
}
.hero-form-call:visited,
.hero-form-call:hover {
  color: var(--accent) !important;
}
.hero-form-call:hover {
  gap: 13px;
}
.hero-form-call svg {
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Hero CTA: mobile only (hidden on desktop, form is visible there instead) ── */
.hero-cta-mobile {
  display: none !important;
}
@media (max-width: 960px) {
  .hero-cta-mobile {
    display: inline-flex !important;
    margin-top: 28px;
  }
}

/* ── Hero form card: kill inline margin-top, narrower width, bottom spacing on desktop ── */
.hero-form-card {
  margin-top: 0 !important;
}
@media (min-width: 961px) {
  .hero-form-card {
    margin-bottom: 150px !important;
    max-width: 420px !important;
    margin-left: auto !important;
    width: 100% !important;
  }
}

/* ── Header: match hero horizontal padding (clamp) ── */
.hdr-in {
  box-sizing: content-box !important;
  padding-left: clamp(16px, 4vw, 52px) !important;
  padding-right: clamp(16px, 4vw, 52px) !important;
}

/* ── Hero secondary text color: rgba(255,255,255,.82) ── */
.hero .hero-sub,
.hero .hero-sub p,
.hero .svc-hint,
.hero .hero-form-card .form-sub {
  color: rgba(255, 255, 255, 0.82) !important;
}
.hdr-in {
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (max-width: 960px) {
  .hero-in {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .hero-form-card { max-width: 100% !important; }
}

/* Clickable service cards — full-card link hover effect */
a.svc-card-a,
a.svc-card-a:hover,
a.svc-card-a:visited {
  color: inherit !important;
  text-decoration: none !important;
  display: block;
}
a.svc-card-a:hover .svc-card {
  transform: translateY(-5px);
  border-color: rgba(224,118,32,.55);
  box-shadow: var(--shadow-lg);
}
a.svc-card-a:hover .svc-card-link {
  gap: 13px !important;
}
.svc-card-video video,
.svc-card-video img {
  opacity: 1 !important;
}
a.svc-card-a:hover .svc-card-video video,
a.svc-card-a:hover .svc-card-video img {
  opacity: 1 !important;
}
.svc-card-link {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  color: var(--accent) !important;
  font-size: 14px;
  font-weight: 700;
  margin-top: auto;
  transition: gap .2s;
}

/* Floating scroll-to-top button */
#scroll-top {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: var(--accent) !important;
  color: #fff !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  display: grid !important;
  place-items: center !important;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .25s, transform .25s, background .2s;
  z-index: 150;
  box-shadow: 0 8px 24px rgba(224,118,32,.3);
}
#scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#scroll-top:hover {
  background: var(--accent-h);
  transform: translateY(-3px);
}
#scroll-top svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  margin: 0 !important;
}

/* ── 404 page: drop the diagonal white cut-in (no section follows) ── */
body.error404 .hero-bg::after,
body.error404 .hero-bg::before {
  display: none !important;
}

/* ── Form utility classes: kill WP/Elementor default button hover ── */
button.f-skip,
button.f-skip:hover,
button.f-skip:focus,
button.f-skip:active {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 8px 4px !important;
  color: rgba(255,255,255,.65) !important;
  text-decoration: underline !important;
}
button.f-skip:hover {
  color: var(--accent) !important;
}

/* ── Form back button (.f-back) — kill WP default orange hover ── */
button.f-back,
button.f-back:hover,
button.f-back:focus,
button.f-back:active {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 9px 0 !important;
  margin-top: 4px !important;
  width: auto !important;
  color: rgba(255, 255, 255, 0.55) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transform: none !important;
}
button.f-back:hover {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* ── Buttons: keep text white on hover for both .btn (outline filling) and .btn.solid ── */
a.btn:hover,
a.btn.solid:hover,
a.btn.navy:hover,
button.btn:hover,
button.btn.solid:hover,
.btn:hover,
.btn:hover *,
.btn.solid:hover,
.btn.solid:hover * {
  color: #fff !important;
}

/* ── Beat Elementor Kit's `.elementor-kit-5 a { color }` on branded links ── */
.hdr a,
.hdr a:hover,
.hdr a:visited,
.m-menu a,
.m-menu a:visited,
.footer a,
.footer a:visited,
.hero a,
.lp-hero a {
  color: inherit;
}
.h-ph,
.h-ph:hover,
.h-ph:visited,
.h-ph .h-ph-num {
  color: #fff !important;
}
.h-ph:hover {
  color: #fff !important;
  background: var(--accent-h) !important;
}
.h-ico,
.h-ico:visited {
  color: rgba(255,255,255,.65) !important;
}
.h-ico:hover {
  color: var(--accent) !important;
}
.logo,
.logo a,
.logo a:hover,
.logo a:visited {
  color: inherit !important;
}
.lang-sw a,
.lang-sw a:visited {
  color: rgba(255,255,255,.45) !important;
}
.lang-sw a:hover {
  color: rgba(255,255,255,.75) !important;
}
.lang-sw a.active {
  color: #fff !important;
}
.m-menu a,
.m-menu a:visited {
  color: #fff !important;
}
.m-menu a:hover,
.m-menu a.active {
  color: var(--accent) !important;
}
.footer a,
.footer a:visited {
  color: #fff !important;
  opacity: .6;
}
.footer a:hover {
  opacity: 1 !important;
  color: var(--accent) !important;
}
.svc-card-link,
.svc-card-link:hover,
.svc-card-link:visited {
  color: var(--accent) !important;
}

/* ── Burger + m-close: force neutral hover (WP default goes pink/red) ── */
button.burger,
button.burger:hover,
button.burger:focus,
button.burger:active,
button.m-close,
button.m-close:hover,
button.m-close:focus,
button.m-close:active {
  background: rgba(255,255,255,.06) !important;
  border: 1.5px solid rgba(255,255,255,.15) !important;
  box-shadow: none !important;
  color: #fff !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
}
button.burger:hover,
button.m-close:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}
button.m-close svg,
button.burger svg {
  display: block !important;
  margin: 0 !important;
}

/* ── f-note: lock icon inline with text, vertically centered ── */
.f-note {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: 100%;
}
.f-note svg {
  display: inline-block !important;
  flex-shrink: 0;
}
