/* ============================================================
   Master nav + footer system (nm-* namespace)
   Loaded on every page. Provides one consistent hamburger flyout,
   one consistent footer, and standardised header nav row.
   ============================================================ */

/* Standardise header logo across all page types */
header .navbar-brand { display: inline-block; line-height: 0; }
header .navbar-brand img { height: 48px; width: auto; display: block; }

/* Standardise hamburger position + look */
header #MainNav { cursor: pointer; padding: 8px; user-select: none; margin-left: auto; }
header #MainNav .con { width: 32px; height: 26px; position: relative; display: flex; flex-direction: column; justify-content: space-between; }
header #MainNav .bar { display: block; height: 3px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
header .navbar { align-items: center; flex-wrap: nowrap; }

/* Flyout overlay */
.nm-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
  z-index: 1040;
}
.nm-menu-overlay--open { opacity: 1; visibility: visible; }

/* Flyout aside */
.nm-menu {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  background: #0a0a0a; color: #fff;
  z-index: 1050;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
  overflow-y: auto; overflow-x: hidden;
  box-shadow: -16px 0 32px rgba(0,0,0,.35);
}
.nm-menu--open { transform: translateX(0); }
.nm-menu__inner { padding: 22px 28px 32px; min-height: 100%; display: flex; flex-direction: column; }

.nm-menu__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.nm-menu__brand img { height: 40px; width: auto; display: block; }
.nm-menu__close { background: transparent; border: 1px solid rgba(255,255,255,.18); color: #fff; width: 40px; height: 40px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.nm-menu__close:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.32); }

.nm-menu__nav { flex: 1; }
.nm-menu__group { margin-bottom: 22px; }
.nm-menu__group-label { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: #3eb74f; font-weight: 700; margin-bottom: 8px; }
.nm-menu__group ul { list-style: none; padding: 0; margin: 0; }
.nm-menu__group li { margin: 0; }
.nm-menu__group a { display: block; padding: 7px 0; color: rgba(255,255,255,.85); text-decoration: none; font-size: 15px; line-height: 1.4; border-bottom: 1px solid transparent; transition: color .15s ease, padding-left .15s ease; }
.nm-menu__group a:hover { color: #fff; padding-left: 4px; }
.nm-menu__group a.nm-menu__primary { color: #3eb74f; font-weight: 600; }
.nm-menu__group a.nm-menu__primary:hover { color: #5cd968; }

.nm-menu__cta { padding-top: 18px; margin-top: 8px; border-top: 1px solid rgba(255,255,255,.08); }
.nm-menu__cta-btn { display: block; background: #3eb74f; color: #fff; text-align: center; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; transition: background .15s ease; }
.nm-menu__cta-btn:hover { background: #2a8a3c; color: #fff; }
.nm-menu__cta-phone { display: block; text-align: center; padding: 10px 0 0; color: rgba(255,255,255,.7); font-size: 14px; text-decoration: none; }
.nm-menu__cta-phone:hover { color: #fff; }

/* Sticky mini nav on scroll (created by JS) */
#mobile-sticky-nav { position: fixed; top: 0; left: 0; right: 0; padding: 10px 18px; background: rgba(10,10,10,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: space-between; z-index: 1030; transform: translateY(-100%); transition: transform .25s ease; }
#mobile-sticky-nav .navbar-brand img { height: 32px; width: auto; }
#mobile-sticky-nav #MainNav { padding: 6px; }
#mobile-sticky-nav #MainNav .con { width: 26px; height: 22px; }
body.nav-scrolled #mobile-sticky-nav { transform: translateY(0); }

/* ============================================================
   Footer
   ============================================================ */
.nm-footer { background: #0a0a0a; color: rgba(255,255,255,.78); padding: 56px 0 28px; margin-top: 0; font-size: 14px; line-height: 1.6; }
.nm-footer__row { gap: 32px 0; }
.nm-footer__col { padding-bottom: 12px; }
.nm-footer__brand img { height: 44px; width: auto; margin-bottom: 14px; }
.nm-footer__tagline { color: rgba(255,255,255,.62); font-size: 13.5px; line-height: 1.55; margin-bottom: 14px; max-width: 240px; }
.nm-footer__address { color: rgba(255,255,255,.6); font-size: 13.5px; line-height: 1.6; margin: 0; }
.nm-footer__address a { color: #3eb74f; text-decoration: none; font-weight: 500; }
.nm-footer__address a:hover { color: #5cd968; }

.nm-footer h6 { color: #fff; font-size: 13px; letter-spacing: 1.3px; text-transform: uppercase; font-weight: 700; margin: 0 0 12px; }
.nm-footer__h6-tight { margin-top: 22px !important; }
.nm-footer ul { list-style: none; padding: 0; margin: 0 0 4px; }
.nm-footer li { margin: 0; }
.nm-footer ul a { display: block; color: rgba(255,255,255,.72); padding: 4px 0; font-size: 13.5px; text-decoration: none; transition: color .15s ease, padding-left .15s ease; }
.nm-footer ul a:hover { color: #fff; padding-left: 3px; }

.nm-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding-top: 22px; }
.nm-footer__copyright { color: rgba(255,255,255,.55); font-size: 13px; }
.nm-footer__legal { text-align: right; font-size: 13px; }
.nm-footer__legal a { color: rgba(255,255,255,.55); text-decoration: none; }
.nm-footer__legal a:hover { color: #fff; }

@media (max-width: 767px) {
  .nm-footer { padding: 40px 0 22px; }
  .nm-footer__legal { text-align: left; margin-top: 8px; }
  .nm-footer__col { padding-bottom: 6px; }
}

/* Optional: hide the JS-injected sticky on first paint if header is visible */
body:not(.nav-scrolled) #mobile-sticky-nav { transform: translateY(-100%); }

/* ============================================================
   Desktop horizontal nav (>=992px), added 2026-05-25
   Sits between the logo and the hamburger inside .navbar.
   Hidden by default (mobile-first). Hamburger hidden on desktop.
   ============================================================ */

.nm-desktop-nav { display: none; }
.nm-desktop-nav__cta { display: none; }

@media (min-width: 992px) {
  /* Hide hamburger on desktop */
  header #MainNav,
  #mobile-sticky-nav { display: none !important; }

  /* Desktop nav container */
  header .navbar { gap: 0; }
  .nm-desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0 0 0 36px;
    flex: 1;
  }
  .nm-desktop-nav > li { position: relative; }
  .nm-desktop-nav > li > a,
  .nm-desktop-nav > li > button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 6px;
    transition: color .15s ease, background .15s ease;
  }
  .nm-desktop-nav > li > a:hover,
  .nm-desktop-nav > li > button:hover,
  .nm-desktop-nav > li > a:focus-visible,
  .nm-desktop-nav > li > button:focus-visible {
    color: #5cd968;
    outline: none;
  }
  .nm-desktop-nav > li > a.is-active {
    color: #3eb74f;
    font-weight: 600;
  }
  .nm-desktop-nav__caret {
    display: inline-block;
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 2px;
    transition: transform .2s ease;
  }
  .nm-desktop-nav > li.is-open > button .nm-desktop-nav__caret,
  .nm-desktop-nav > li:hover > button .nm-desktop-nav__caret { transform: rotate(180deg); }

  /* Services mega dropdown */
  .nm-desktop-nav__mega {
    position: absolute;
    top: calc(100% + 8px);
    left: -12px;
    min-width: 540px;
    background: #fff;
    color: #0a0a0a;
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(0,0,0,0.22), 0 2px 8px rgba(0,0,0,0.06);
    padding: 20px;
    display: none;
    z-index: 1100;
  }
  .nm-desktop-nav > li:hover > .nm-desktop-nav__mega,
  .nm-desktop-nav > li:focus-within > .nm-desktop-nav__mega,
  .nm-desktop-nav > li.is-open > .nm-desktop-nav__mega { display: block; }
  .nm-desktop-nav__mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 24px;
  }
  .nm-desktop-nav__mega-grid a {
    display: block;
    padding: 10px 12px;
    color: #0a0a0a;
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: background .15s ease, color .15s ease;
  }
  .nm-desktop-nav__mega-grid a:hover,
  .nm-desktop-nav__mega-grid a:focus-visible {
    background: #f0f8f1;
    color: #2a8a3c;
    outline: none;
  }
  .nm-desktop-nav__mega-footer {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #ececf0;
    text-align: left;
  }
  .nm-desktop-nav__mega-footer a {
    color: #3eb74f;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    padding: 8px 12px;
    display: inline-block;
    border-radius: 6px;
    transition: background .15s ease;
  }
  .nm-desktop-nav__mega-footer a:hover { background: #f0f8f1; }

  /* Right-aligned CTA */
  .nm-desktop-nav__cta {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
  }
  .nm-desktop-nav__cta a {
    display: inline-block;
    background: #3eb74f;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background .15s ease, transform .15s ease;
    white-space: nowrap;
  }
  .nm-desktop-nav__cta a:hover {
    background: #2a8a3c;
    color: #fff;
    transform: translateY(-1px);
  }

  /* Dark-on-light pages: if the header isn't a dark hero, switch text to black */
  body.nav-light .nm-desktop-nav > li > a,
  body.nav-light .nm-desktop-nav > li > button { color: #0a0a0a; }
  body.nav-light .nm-desktop-nav > li > a:hover,
  body.nav-light .nm-desktop-nav > li > button:hover { color: #2a8a3c; }
}

/* ============================================================
   Desktop nav layout + visibility fixes, 2026-05-25 part 2
   ============================================================ */

@media (min-width: 992px) {
  /* Stop the navbar overflowing its container and clipping the CTA */
  header .navbar.navbar-expand-lg {
    flex-wrap: nowrap;
    padding-left: 0;
    padding-right: 12px;
    width: 100%;
    max-width: 100%;
  }

  /* Don't stretch the UL across the whole width, let CTA sit on the right naturally */
  .nm-desktop-nav {
    flex: 0 1 auto;
    margin-left: 32px;
    margin-right: auto;
    max-width: calc(100% - 240px);
  }
  .nm-desktop-nav__cta { margin-left: 0; }
  .nm-desktop-nav__cta a { font-size: 13px; padding: 10px 16px; }

  /* Logo + nav legibility on light hero backgrounds (sky, dusk gradient, etc.) */
  header .navbar-brand img {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
  }
  .nm-desktop-nav > li > a,
  .nm-desktop-nav > li > button {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  }

  /* Tighten the items so the row feels deliberate, not stretched */
  .nm-desktop-nav { gap: 2px; }
  .nm-desktop-nav > li > a,
  .nm-desktop-nav > li > button {
    padding: 10px 12px;
    font-size: 14px;
  }
}

@media (min-width: 1200px) {
  /* On wide viewports, restore a little more breathing room */
  .nm-desktop-nav { gap: 4px; }
  .nm-desktop-nav > li > a,
  .nm-desktop-nav > li > button { padding: 10px 14px; font-size: 15px; }
  .nm-desktop-nav__cta a { font-size: 14px; padding: 11px 20px; }
}

/* ============================================================
   Desktop nav: sticky at top + backdrop blur for contrast
   2026-05-25 part 3
   ============================================================ */

@media (min-width: 992px) {
  /* Make the in-header navbar fixed to the viewport top.
     Initial state: dark translucent backdrop with blur (readable on any hero).
     Scrolled state: more opaque + subtle shadow (via existing body.nav-scrolled class). */
  header .navbar.navbar-expand-lg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 14px 28px;
    margin: 0;
    width: 100%;
    background: rgba(15, 15, 20, 0.55);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
            backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background .2s ease, padding .2s ease, box-shadow .2s ease, border-color .2s ease;
  }

  /* Scrolled past hero: opaque charcoal + shadow */
  body.nav-scrolled header .navbar.navbar-expand-lg {
    background: rgba(10, 10, 10, 0.94);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom-color: rgba(255, 255, 255, 0.04);
  }

  /* Dropdown must layer above the fixed nav */
  .nm-desktop-nav__mega { z-index: 1031; }

  /* Stop body content disappearing under the fixed nav on pages that have no hero */
  body.page-no-hero { padding-top: 76px; }

  /* The hero picture/bg should fill behind the fixed nav.
     Hero content is centred so it sits below the nav naturally. */

  /* Slightly stronger text shadow not needed now we have the backdrop, but keep
     drop-shadow on the logo so it pops on either state */
  header .navbar-brand img {
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
  }
  /* Remove the redundant text-shadow on nav items since we have the backdrop */
  .nm-desktop-nav > li > a,
  .nm-desktop-nav > li > button { text-shadow: none; }
}

/* ============================================================
   Desktop nav: inset content within a max ~1400px area
   2026-05-25 part 4
   ============================================================ */

@media (min-width: 992px) {
  /* Dark bar continues to span the full viewport width, but the content
     inside the navbar is inset to a max effective width of 1400px,
     with a minimum 32px gutter on narrower desktops. */
  header .navbar.navbar-expand-lg {
    padding-left: max(32px, calc((100% - 1400px) / 2));
    padding-right: max(32px, calc((100% - 1400px) / 2));
  }
}

@media (min-width: 1600px) {
  /* On very wide screens, ease back a touch so it doesn't feel too padded */
  header .navbar.navbar-expand-lg {
    padding-left: max(40px, calc((100% - 1480px) / 2));
    padding-right: max(40px, calc((100% - 1480px) / 2));
  }
}

/* ============================================================
   Desktop nav: floating pill style with side gaps
   2026-05-25 part 5, override earlier full-width fixed nav
   ============================================================ */

@media (min-width: 992px) {
  header .navbar.navbar-expand-lg {
    /* Override the full-width fixed positioning from part 3 */
    position: fixed;
    top: 16px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1440px;
    padding: 10px 22px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    background: rgba(15, 15, 20, 0.55);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
            backdrop-filter: blur(14px) saturate(140%);
  }

  body.nav-scrolled header .navbar.navbar-expand-lg {
    top: 12px;
    background: rgba(10, 10, 10, 0.92);
    border-color: rgba(255, 255, 255, 0.04);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.32);
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

@media (min-width: 1600px) {
  header .navbar.navbar-expand-lg {
    width: calc(100% - 80px);
  }
}

/* ============================================================
   Desktop nav: more breathing room around the floating pill
   2026-05-25 part 6, overrides earlier widths/paddings
   ============================================================ */

@media (min-width: 992px) {
  header .navbar.navbar-expand-lg {
    width: calc(100% - 80px);   /* 40px gutter each side, was 24px */
    padding: 10px 32px;          /* internal: was 22px */
  }
}

@media (min-width: 1200px) {
  header .navbar.navbar-expand-lg {
    width: calc(100% - 96px);   /* 48px gutter each side */
    padding: 11px 36px;
  }
}

@media (min-width: 1600px) {
  header .navbar.navbar-expand-lg {
    width: calc(100% - 120px);  /* 60px gutter each side */
    max-width: 1440px;          /* still capped */
    padding: 12px 40px;
  }
}

/* ============================================================
   Desktop nav: full-width bar (no pill), inset content via padding
   2026-05-25 part 7, overrides pill from part 5
   ============================================================ */

@media (min-width: 992px) {
  header .navbar.navbar-expand-lg {
    /* Full viewport width, edge to edge */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    /* Lose the pill: no rounded corners, no border ring, no floating gap */
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
    /* Generous inside padding so logo + CTA breathe */
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: max(56px, calc((100% - 1400px) / 2 + 32px));
    padding-right: max(56px, calc((100% - 1400px) / 2 + 32px));
  }

  body.nav-scrolled header .navbar.navbar-expand-lg {
    top: 0;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
    padding-top: 11px;
    padding-bottom: 11px;
  }
}

@media (min-width: 1600px) {
  header .navbar.navbar-expand-lg {
    padding-left: max(80px, calc((100% - 1400px) / 2 + 48px));
    padding-right: max(80px, calc((100% - 1400px) / 2 + 48px));
  }
}

/* ============================================================
   Desktop nav: bigger left/right inset, logo + CTA need more breathing room
   2026-05-25 part 8
   ============================================================ */

@media (min-width: 992px) {
  header .navbar.navbar-expand-lg {
    padding-left: max(96px, calc((100% - 1400px) / 2 + 64px));
    padding-right: max(96px, calc((100% - 1400px) / 2 + 64px));
  }
}

@media (min-width: 1200px) {
  header .navbar.navbar-expand-lg {
    padding-left: max(112px, calc((100% - 1400px) / 2 + 80px));
    padding-right: max(112px, calc((100% - 1400px) / 2 + 80px));
  }
}

@media (min-width: 1600px) {
  header .navbar.navbar-expand-lg {
    padding-left: max(140px, calc((100% - 1400px) / 2 + 96px));
    padding-right: max(140px, calc((100% - 1400px) / 2 + 96px));
  }
}

/* ============================================================
   Desktop nav: !important to beat Bootstrap's px-0 utility on the navbar
   2026-05-25 part 9
   ============================================================ */

@media (min-width: 992px) {
  header .navbar.navbar-expand-lg {
    padding-left: max(96px, calc((100% - 1400px) / 2 + 64px)) !important;
    padding-right: max(96px, calc((100% - 1400px) / 2 + 64px)) !important;
  }
}

@media (min-width: 1200px) {
  header .navbar.navbar-expand-lg {
    padding-left: max(112px, calc((100% - 1400px) / 2 + 80px)) !important;
    padding-right: max(112px, calc((100% - 1400px) / 2 + 80px)) !important;
  }
}

@media (min-width: 1600px) {
  header .navbar.navbar-expand-lg {
    padding-left: max(140px, calc((100% - 1400px) / 2 + 96px)) !important;
    padding-right: max(140px, calc((100% - 1400px) / 2 + 96px)) !important;
  }
}

/* ============================================================
   Dropdown hover bridge, fixes the dead zone between trigger and panel
   2026-05-25 part 10
   ============================================================ */

@media (min-width: 992px) {
  /* Invisible bridge above the dropdown panel.
     Sits inside the panel (so hovering it = hovering the panel = LI stays hovered),
     extends upward into the gap between trigger and panel.
     Keeps the menu open while the cursor crosses the gap. */
  .nm-desktop-nav__mega::before {
    content: "";
    position: absolute;
    top: -16px;             /* covers the 8px positional gap + 8px buffer */
    left: 0;
    right: 0;
    height: 18px;
    background: transparent;
  }

  /* Also extend a small invisible margin below the trigger button itself,
     so the hover area on the button reaches further into the gap. */
  .nm-desktop-nav > li > button { position: relative; }
  .nm-desktop-nav > li > button::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
  }
}

/* ============================================================
   Footer CTA button (added 2026-05-25)
   ============================================================ */
.nm-footer__cta {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 20px;
  background: #3eb74f;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 8px;
  transition: background .15s ease;
}
.nm-footer__cta:hover { background: #2a8a3c; color: #fff; }

/* ============================================================
   Hub pages: push hero content below the fixed nav
   2026-05-26
   ============================================================ */
@media (min-width: 992px) {
  /* Hub pages (locations, industries, privacy, terms) use layout-policy.
     Add top padding so hero text isn't covered by the fixed nav. */
  header .common_mobile_layout.layout-policy { padding-top: 80px; }

  /* Journal index uses bg_banner_blog header. Same fix needed. */
  header.bg_banner_blog .common_mobile_layout { padding-top: 80px; }
}

/* ============================================================
   Print stylesheet - clean output for legal pages and any
   user who hits Save as PDF / Print
   ============================================================ */
@media print {
  /* Hide site chrome */
  header nav.navbar,
  .nm-desktop-nav,
  .nm-desktop-nav__cta,
  #MainNav,
  #mobile-sticky-nav,
  .nm-menu,
  .nm-menu-overlay,
  .nm-footer,
  .our-stack,
  #gtbutton,
  .find_more_btn,
  .print-hide { display: none !important; }

  /* Strip hero backgrounds and gradients for ink-friendly output */
  header.bg_conversion_banner,
  header.bg_banner_blog,
  header#header { background: #ffffff !important; color: #000 !important; padding: 0 !important; min-height: 0 !important; }
  header .bg-gradient { display: none !important; }
  header h1, header h2, header .banner_text, header .banner_text *,
  .Sub_heading, .Global_heading { color: #000 !important; text-shadow: none !important; }

  /* Body and text for print */
  body { background: #fff !important; color: #000 !important; font-size: 11pt; line-height: 1.45; }
  a { color: #000 !important; text-decoration: underline; }
  a[href^="http"]::after, a[href^="/"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  a[href^="tel:"]::after, a[href^="mailto:"]::after,
  a[href^="#"]::after { content: ""; }

  /* Disable AOS animations / hidden states on print */
  [data-aos] { opacity: 1 !important; transform: none !important; }

  /* Avoid breaking content awkwardly */
  h1, h2, h3, h4 { page-break-after: avoid; }
  p, li, blockquote { page-break-inside: avoid; }
}

/* ============================================================
   FAQs page (/faqs) - categorised accordion design
   ============================================================ */

/* Hero overrides: tighten line height for two-line H1 */
.faq-hero .banner_text h1 { line-height: 1.08; }

/* 3-stat strip below hero */
.faq-stat-strip {
  background: linear-gradient(180deg, #fafbf9 0%, #ffffff 100%);
  padding: 40px 0 24px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.faq-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}
.faq-stat__value {
  font-family: 'Jost', sans-serif;
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 700;
  color: #3eb74f;
  line-height: 1;
  margin-bottom: 6px;
}
.faq-stat__label {
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(0,0,0,.62);
  font-weight: 600;
}
@media (max-width: 575px) {
  .faq-stat-grid { gap: 8px; }
  .faq-stat__label { font-size: 11px; letter-spacing: 0.8px; }
}

/* FAQ page wrapper */
.faq-page {
  padding: 64px 0 32px;
  background: #ffffff;
}
.faq-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.faq-intro p {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(0,0,0,.72);
  margin: 0 0 12px;
}
.faq-intro p:last-child { margin-bottom: 0; }

/* Category chip nav (sticky at top of FAQ section) */
.faq-cat-nav {
  position: sticky;
  top: 72px;
  z-index: 30;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 14px 0;
  margin: 0 -16px 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.faq-cat-chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: #f3f5f1;
  color: #0a0a0a;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, transform .15s ease;
  border: 1px solid transparent;
}
.faq-cat-chip:hover,
.faq-cat-chip:focus {
  background: #3eb74f;
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}
@media (max-width: 575px) {
  .faq-cat-nav { gap: 6px; padding: 10px 0; }
  .faq-cat-chip { padding: 6px 12px; font-size: 12.5px; }
}

/* Each FAQ category section */
.faq-section {
  margin-bottom: 56px;
  scroll-margin-top: 140px;
}
.faq-section__head {
  margin-bottom: 24px;
  text-align: center;
}
.faq-section__eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #3eb74f;
  font-weight: 700;
  margin-bottom: 8px;
}
.faq-section__title {
  font-family: 'Jost', sans-serif;
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700;
  color: #0a0a0a;
  margin: 0 0 8px;
  line-height: 1.15;
}
.faq-section__lede {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(0,0,0,.64);
  max-width: 620px;
  margin: 0 auto;
}

/* Accordion container */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Each FAQ item (native details/summary) */
.faq-item {
  background: #fcfcfa;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.faq-item[open] {
  border-color: rgba(62,183,79,.4);
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(0,0,0,.05);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  color: #0a0a0a;
  transition: color .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item summary:hover .faq-q { color: #3eb74f; }
.faq-q {
  flex: 1;
  transition: color .15s ease;
}

/* +/- icon */
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  position: relative;
  border-radius: 50%;
  background: #f3f5f1;
  transition: background .2s ease, transform .2s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: #0a0a0a;
  border-radius: 1px;
  transition: transform .25s ease, background .15s ease;
}
.faq-icon::before {
  /* horizontal bar */
  top: 50%;
  left: 25%;
  right: 25%;
  height: 2px;
  transform: translateY(-50%);
}
.faq-icon::after {
  /* vertical bar */
  left: 50%;
  top: 25%;
  bottom: 25%;
  width: 2px;
  transform: translateX(-50%);
}
.faq-item[open] .faq-icon {
  background: #3eb74f;
}
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: #ffffff;
}
.faq-item[open] .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
}

/* Answer block */
.faq-a {
  padding: 0 24px 22px;
  animation: faq-fade .25s ease;
}
.faq-a p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(0,0,0,.74);
  margin: 0 0 12px;
}
.faq-a p:last-child { margin-bottom: 0; }
.faq-a a {
  color: #3eb74f;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}
.faq-a a:hover { color: #2a8a3c; }

@keyframes faq-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 575px) {
  .faq-item summary { padding: 16px 18px; font-size: 15.5px; gap: 12px; }
  .faq-a { padding: 0 18px 18px; }
  .faq-a p { font-size: 15px; }
  .faq-icon { width: 24px; height: 24px; }
}

/* WHERE TO FIND MORE ANSWERS */
.faq-more {
  background: #0a0a0a;
  color: #ffffff;
  padding: 72px 0;
  margin-top: 24px;
}
.faq-more__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.faq-more__eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #3eb74f;
  font-weight: 700;
  margin-bottom: 8px;
}
.faq-more__title {
  font-family: 'Jost', sans-serif;
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
  line-height: 1.15;
}
.faq-more__lede {
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
  margin: 0;
}
.faq-more__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .faq-more__grid { grid-template-columns: 1fr; gap: 14px; }
}
.faq-more__card {
  display: block;
  padding: 28px 26px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  color: #ffffff;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.faq-more__card:hover {
  background: rgba(62,183,79,.08);
  border-color: rgba(62,183,79,.4);
  transform: translateY(-3px);
  color: #ffffff;
  text-decoration: none;
}
.faq-more__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(62,183,79,.15);
  color: #3eb74f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.faq-more__icon svg { width: 22px; height: 22px; }
.faq-more__card-title {
  font-family: 'Jost', sans-serif;
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #ffffff;
}
.faq-more__card-text {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.7);
  margin: 0 0 16px;
}
.faq-more__card-cta {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #3eb74f;
}
.faq-more__card:hover .faq-more__card-cta { color: #5cd968; }

/* LEAN CTA STRIP */
.faq-cta-strip {
  background: #ffffff;
  padding: 56px 0;
  border-top: 1px solid rgba(0,0,0,.06);
}
.faq-cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 40px;
  background: linear-gradient(135deg, #f3f5f1 0%, #fafbf9 100%);
  border-radius: 22px;
  border: 1px solid rgba(62,183,79,.18);
}
@media (max-width: 767px) {
  .faq-cta-strip__inner {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
    gap: 22px;
  }
}
.faq-cta-strip__copy { flex: 1; }
.faq-cta-strip__title {
  font-family: 'Jost', sans-serif;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  color: #0a0a0a;
  margin: 0 0 6px;
  line-height: 1.2;
}
.faq-cta-strip__text {
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(0,0,0,.68);
  margin: 0;
}
.faq-cta-strip__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .faq-cta-strip__actions { flex-direction: column; width: 100%; }
}
.faq-cta-strip__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, transform .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.faq-cta-strip__btn--primary {
  background: #3eb74f;
  color: #ffffff;
}
.faq-cta-strip__btn--primary:hover {
  background: #2a8a3c;
  color: #ffffff;
  transform: translateY(-2px);
  text-decoration: none;
}
.faq-cta-strip__btn--ghost {
  background: #ffffff;
  color: #0a0a0a;
  border: 1.5px solid #0a0a0a;
}
.faq-cta-strip__btn--ghost:hover {
  background: #0a0a0a;
  color: #ffffff;
  text-decoration: none;
}

/* When the FAQ page is loaded, push hero text below the fixed desktop nav */
@media (min-width: 992px) {
  body.page-faqs header.faq-hero .common_mobile_layout { padding-top: 80px; }
}

/* ============================================================
   Contact form section (used site-wide via inject_form.py)
   ============================================================ */
.ec-contact__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}
@media (max-width: 767px) {
  .ec-contact__grid {
    grid-template-columns: 1fr;
  }
}

/* Form wrapper */
.ec-contact__form-wrap {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.04);
}

.ec-contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ec-contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 575px) {
  .ec-contact__row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.ec-contact__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ec-contact__field label {
  font-size: 13px;
  font-weight: 600;
  color: #0a0a0a;
  letter-spacing: 0.01em;
}
.ec-contact__field input,
.ec-contact__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: #0a0a0a;
  background: #fafafa;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.ec-contact__field input::placeholder,
.ec-contact__field textarea::placeholder {
  color: rgba(0,0,0,0.4);
}
.ec-contact__field input:focus,
.ec-contact__field textarea:focus {
  outline: none;
  border-color: #3eb74f;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(62,183,79,0.15);
}
.ec-contact__field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}

.ec-contact__submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.ec-contact__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #3eb74f;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.ec-contact__submit:hover {
  background: #2a8a3c;
  transform: translateY(-2px);
}
.ec-contact__submit i {
  font-size: 14px;
}

/* Side panel: contact details */
.ec-contact__side {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.ec-contact__side-title {
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #3eb74f;
  letter-spacing: 0.01em;
  margin: 0;
}
.ec-contact__details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ec-contact__details li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ec-contact__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(62,183,79,0.15);
  color: #3eb74f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}
.ec-contact__label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.ec-contact__details li a {
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}
.ec-contact__details li a:hover {
  color: #3eb74f;
}
.ec-contact__details li > div > span {
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  line-height: 1.5;
}

/* ============================================================
   Contact section wrapper (used site-wide via inject_form.py)
   ============================================================ */
.ec-contact-section { padding: 72px 0; background: #ffffff; }
.ec-contact-section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; padding: 0 16px; }
.ec-contact-section__eyebrow { display: inline-block; font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: #3eb74f; font-weight: 700; margin-bottom: 12px; }
.ec-contact-section__title { font-family: 'Jost', sans-serif; font-size: clamp(28px, 3.6vw, 38px); font-weight: 700; color: #0a0a0a; margin: 0 0 12px; line-height: 1.15; letter-spacing: -0.01em; }
.ec-contact-section__lede { font-size: 16.5px; line-height: 1.6; color: rgba(0,0,0,0.7); margin: 0; }
@media (max-width: 767px) {
  .ec-contact-section { padding: 56px 0; }
  .ec-contact-section__head { margin-bottom: 32px; }
}
