/* ================================================================
   LAYOUT — the reference's defining structural move: the page is a
   stack of ROUNDED, INSET section cards floating on a light-grey
   page, not full-bleed bands. `.shell` is that wrapper.
   ================================================================ */

.page-frame { padding: var(--frame-gap); }

/* A rounded inset section card. Modifiers set the surface colour.
   NOTE: no `overflow: hidden` here. It clipped the header's Services/Locations
   dropdowns at the hero's bottom edge. Full-bleed photos inside get their own
   clipping via `.shell > .hero`/`.svc-hero` below, so corners stay rounded
   without trapping overflowing UI. */
.shell {
  border-radius: var(--radius-shell);
  position: relative;
}
/* Clip the media, not the whole shell — keeps rounded corners on hero photos
   while letting dropdowns escape upward/outward. */
.shell > .hero,
.shell > .svc-hero,
.shell > .feature-band__bg,
.shell > .page-header { border-radius: inherit; overflow: hidden; }
.shell--dark { background: var(--color-forest-900); }
.shell--surface { background: var(--color-surface); }
.shell--paper2 { background: var(--color-paper-2); }
.shell + .shell { margin-top: var(--frame-gap); }


/* ================================================================
   STICKY HEADER + MEGA MENU + MOBILE SHEET
   The header is a direct child of .page-frame (not inside a .shell):
   an absolutely-positioned element inside the hero could never stick,
   which is why it scrolled away before.
   ================================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  /* Transparent at rest so it reads as glass over the hero photograph. The
     negative margin pulls the hero up underneath it; the hero pads back down
     by --header-h so nothing is ever hidden behind the bar. */
  background: transparent;
  margin-bottom: calc(var(--header-h) * -1);
  transition: box-shadow var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
/* Pages whose hero has no dark photo behind the header (careers.php sets
   $solidHeader — see partials/page-top.php) need the bar solid from the
   start instead of transparent-glass, or the white nav text is unreadable
   over a light background. Rest-size only (logo/padding unchanged) — once
   scrolled, .is-stuck below wins on source order and takes over as normal. */
.site-header.is-solid { background: var(--color-forest-900); }
/* Once scrolled, it becomes an opaque glass bar detached from the hero. */
.site-header.is-stuck {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 14px 34px -22px rgba(2,32,24,.85);
  background: rgba(3,63,45,.94);
  backdrop-filter: blur(12px);
}
/* backdrop-filter establishes a containing block for position:fixed children,
   which re-anchored the mobile sheet to the header box instead of the viewport
   — it opened blank when triggered mid-page. Drop the filter while the sheet
   is open (it's covered anyway) so `fixed` resolves against the viewport. */
body.nav-open .site-header.is-stuck { backdrop-filter: none; background: var(--color-forest-900); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-6);
  transition: padding-block var(--dur-base) var(--ease-out);
}
/* Compact bar once scrolled — same spirit as the logo shrink just below,
   transitioning together so the whole bar reads as one smooth resize
   instead of the logo and the bar changing at different rates. */
.site-header.is-stuck .site-header__inner { padding-block: var(--space-3); }
.site-header__brand { display: flex; align-items: center; flex-shrink: 0; }
/* Full lockup (icon + wordmark + tagline baked into the image), run large at
   rest so the wordmark and tagline are both genuinely legible, not just the
   icon. Shrinks smoothly once the header sticks (.is-stuck, toggled by
   initStickyHeader() in main.js) so it never crowds the compact scrolled
   bar — transition is on `height` specifically (not a transform:scale,
   which would need its own containing-block/z-index accounting here) with
   width left auto so the image's own aspect ratio drives it, no distortion.
   White plate keeps contrast against both the transparent-over-photo and
   solid-dark-green header states. */
.site-header__logo {
  height: 120px; width: auto;
  background: #fff; border-radius: 14px; padding: 8px 18px; object-fit: contain;
  transition: height var(--dur-base) var(--ease-out), padding var(--dur-base) var(--ease-out);
}
.site-header.is-stuck .site-header__logo { height: 60px; padding: 5px 12px; border-radius: 10px; }

.site-nav__list { display: flex; align-items: center; gap: var(--space-6); }
.site-nav__list > li { position: relative; }
.site-nav__list > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: var(--fw-semibold); font-size: var(--fs-body);
  padding-block: var(--space-4);
  color: rgba(255,255,255,.85);
  transition: color var(--dur-fast) var(--ease-out);
}
.site-nav__list > li > a:hover,
.site-nav__list > li > a.is-active { color: var(--color-lime-500); }
.site-nav__ico { display: none; }          /* icons are a mobile-sheet affordance */
.has-dropdown > a::after {
  content: ''; width: 8px; height: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--dur-fast) var(--ease-out);
  margin-left: 2px;
}
.has-dropdown:hover > a::after,
.has-dropdown:focus-within > a::after { transform: translateY(1px) rotate(-135deg); }

/* ---------- Shared panel motion ---------- */
.mega, .has-dropdown .dropdown {
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              visibility var(--dur-base);
}
.has-mega:hover .mega, .has-mega:focus-within .mega,
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}

/* ---------- Desktop mega panel ---------- */
.mega {
  position: absolute; top: 100%; left: 50%;
  margin-left: min(0px, 0px);
  width: min(1140px, calc(100vw - var(--frame-gap) * 2 - 40px));
  translate: -50% 0;
  padding-top: 14px;
  z-index: 20;
}
.mega__inner {
  display: grid; grid-template-columns: 320px 1fr;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  /* Light-context island: the header is .on-dark territory. */
  --color-ink: #10201A; --color-ink-soft: #54615A; --color-border: #DEE4D6;
}
/* Caret pointing at the trigger. */
.mega__inner::before {
  content: ''; position: absolute; top: 6px; left: 50%; translate: -50% 0;
  border: 9px solid transparent; border-bottom-color: var(--color-surface);
}
.mega__promo { background: var(--color-paper); padding: var(--space-6); display: flex; flex-direction: column; }
.mega__promo h2 { font-size: 1.5rem; color: var(--color-forest-900); }
.mega__rule { display: block; width: 46px; height: 4px; border-radius: 2px; background: var(--color-lime-500); margin: var(--space-4) 0; }
.mega__promo p { font-size: var(--fs-small); }
.mega__photo { margin: var(--space-5) 0; border-radius: var(--radius-md); }
.mega__promo .btn { width: 100%; margin-top: auto; }

.mega__body { padding: var(--space-5) var(--space-6) var(--space-6); display: flex; flex-direction: column; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; }
.mega__item {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  transition: background var(--dur-fast) var(--ease-out);
}
.mega__item:hover { background: var(--color-lime-100); }
.mega__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--color-lime-100); color: var(--color-forest-900);
  flex-shrink: 0;
}
.mega__icon svg { width: 24px; height: 24px; }
.mega__icon--lg { width: 54px; height: 54px; }
.mega__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mega__text strong { font-family: var(--font-display); font-size: var(--fs-body); color: var(--color-forest-900); }
.mega__text small { font-size: var(--fs-micro); color: var(--color-ink-soft); line-height: 1.45; }
.mega__chev {
  width: 8px; height: 8px; flex-shrink: 0; margin-left: auto;
  border-right: 2px solid var(--color-ink-mute); border-top: 2px solid var(--color-ink-mute);
  transform: rotate(45deg);
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast);
}
.mega__item:hover .mega__chev { border-color: var(--color-forest-900); transform: rotate(45deg) translate(2px,-2px); }
.mega__note {
  display: flex; align-items: center; gap: var(--space-4);
  margin-top: var(--space-5); padding: var(--space-5);
  border-radius: var(--radius-md); background: var(--color-lime-100);
}
.mega__note-link {
  display: inline-flex; align-items: center; gap: var(--space-3);
  margin-left: auto; white-space: nowrap;
  font-weight: var(--fw-bold); font-size: var(--fs-small); color: var(--color-forest-900);
}

/* ---------- Simple dropdown (Locations) ---------- */
.has-dropdown .dropdown {
  position: absolute; top: 100%; left: 50%; translate: -50% 0;
  margin-top: 14px;
  min-width: 250px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-3);
  z-index: 20;
  --color-ink: #10201A; --color-ink-soft: #54615A; --color-border: #DEE4D6;
}
.dropdown li a {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--fs-small); color: var(--color-ink);
}
.dropdown li a:hover { background: var(--color-lime-100); color: var(--color-forest-900); }
.dropdown__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--color-lime-100); color: var(--color-forest-900); flex-shrink: 0;
  transition: background var(--dur-fast) var(--ease-out);
}
.dropdown__icon svg { width: 18px; height: 18px; }
.dropdown li a:hover .dropdown__icon { background: var(--color-lime-500); }

.site-header__actions { display: flex; align-items: center; gap: var(--space-4); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: var(--space-2); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Sheet-only chrome hidden on desktop */
.site-nav__sheet-head, .site-nav__sheet-foot, .nav-scrim, .step-back { display: none; }

/* ================= MOBILE SHEET ================= */
@media (max-width: 1100px) {
  .site-header__actions .btn--accent { display: none; }
  .nav-toggle { display: flex; }

  .nav-scrim {
    display: block; position: fixed; inset: 0; z-index: 98;
    background: rgba(2,32,24,.55);
    backdrop-filter: blur(3px);
    opacity: 0; pointer-events: none;
    transition: opacity var(--dur-base) var(--ease-out);
  }
  .nav-scrim.is-open { opacity: 1; pointer-events: auto; }

  .site-nav {
    position: fixed; inset: 0 0 0 auto; z-index: 99;
    width: min(420px, 90vw);
    background: var(--color-surface);
    display: flex; flex-direction: column;
    overflow-y: auto; overscroll-behavior: contain;
    padding: 0 0 var(--space-7);
    /* Slide + fade, GPU-friendly (transform/opacity only). */
    transform: translateX(100%);
    transition: transform var(--dur-base) var(--ease-out);
    /* Light-context island — the sheet is white, the header is dark. */
    --color-ink: #10201A; --color-ink-soft: #54615A; --color-border: #DEE4D6;
  }
  .site-nav.is-open { transform: translateX(0); }

  .site-nav__sheet-head {
    display: flex; align-items: center; gap: var(--space-3);
    padding: var(--space-5); border-bottom: 1px solid var(--color-border);
    position: sticky; top: 0; background: var(--color-surface); z-index: 2;
  }
  .site-nav__sheet-head img { height: 80px; width: auto; background: #fff; border-radius: 12px; padding: 6px 14px; object-fit: contain; }
  .site-nav__close {
    margin-left: auto; width: 40px; height: 40px; border-radius: 50%;
    font-size: 1.6rem; line-height: 1; color: var(--color-forest-900);
    display: inline-flex; align-items: center; justify-content: center;
  }
  .site-nav__close:hover { background: var(--color-paper-2); }

  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-3); }
  .site-nav__list > li, .site-nav__sheet-foot { transition: opacity var(--dur-base) var(--ease-out); }
  /* Fade only — NO transform. A transform here would make .site-nav__list a
     containing block for the absolutely-positioned step panels nested inside
     it, anchoring them to the list instead of the sheet (they rendered
     offset and clipped). Opacity has no such side effect. */
  .site-nav.is-substep .site-nav__list > li:not(.is-open),
  .site-nav.is-substep .site-nav__sheet-foot { opacity: 0; pointer-events: none; }
  .site-nav__list > li { border-bottom: 1px solid var(--color-border); }
  .site-nav__list > li:last-child { border-bottom: none; }
  .site-nav__list > li > a {
    color: var(--color-ink); padding: var(--space-4);
    font-size: var(--fs-lede); font-weight: var(--fw-semibold);
    border-radius: var(--radius-md);
    justify-content: flex-start;
  }
  .site-nav__list > li > a.is-active { background: var(--color-lime-100); color: var(--color-forest-900); }
  .site-nav__ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; color: var(--color-forest-900); flex-shrink: 0;
  }
  .site-nav__ico svg { width: 22px; height: 22px; }
  .has-dropdown > a::after { margin-left: auto; }

  /* MULTI-STEP DRILL-DOWN (not an accordion): each submenu is a full-height
     panel that slides in over the root list, with its own back bar. .site-nav
     is transformed, which makes it the containing block for these absolutely
     positioned children — they anchor to the sheet, not the page. */
  .site-nav__list > li { position: static; }
  .mega, .has-dropdown .dropdown {
    position: absolute; inset: 0; z-index: 4;
    /* `translate` is a SEPARATE property from `transform` — the desktop rule's
       `translate: -50% 0` survived otherwise and shifted the panel left by half
       its width. Reset it explicitly. */
    translate: none;
    width: auto; margin: 0; padding: 0;
    background: var(--color-surface);
    box-shadow: none; border-radius: 0;
    max-height: none; overflow-y: auto; overscroll-behavior: contain;
    opacity: 1; visibility: visible;
    transform: translateX(100%);
    transition: transform var(--dur-base) var(--ease-out), visibility var(--dur-base);
    visibility: hidden;
  }
  /* Hover must never open a step on touch — only the explicit toggle does. */
  .has-mega:hover .mega, .has-mega:focus-within .mega,
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
    transform: translateX(100%); visibility: hidden;
  }
  .site-nav__list > li.is-open > .mega,
  .site-nav__list > li.is-open > .dropdown { transform: translateX(0); visibility: visible; }

  /* Back bar — the "previous step" affordance. */
  .step-back {
    display: flex; align-items: center; gap: var(--space-3);
    width: 100%; padding: var(--space-5);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-surface);
    position: sticky; top: 0; z-index: 2;
    font-family: var(--font-display); font-weight: var(--fw-bold);
    font-size: var(--fs-lede); color: var(--color-forest-900);
    text-align: left;
  }
  .step-back__chev {
    width: 10px; height: 10px; flex-shrink: 0;
    border-left: 2px solid var(--color-forest-900);
    border-bottom: 2px solid var(--color-forest-900);
    transform: rotate(45deg);
  }
  .step-back:hover { background: var(--color-paper-2); }

  .mega__inner { grid-template-columns: 1fr; background: transparent; box-shadow: none; border-radius: 0; }
  .mega__inner::before { display: none; }
  .mega__promo, .mega__note { display: none; }   /* sheet keeps the list lean */
  .mega__body { padding: 0 0 var(--space-3); }
  .mega__grid { grid-template-columns: 1fr; gap: 0; }
  .mega__item { padding: var(--space-3) var(--space-4); gap: var(--space-3); }
  .mega__icon { width: 30px; height: 30px; background: transparent; }
  .mega__icon svg { width: 20px; height: 20px; }
  /* Service rows show names only; the eco card keeps its description. */
  .mega__grid .mega__text small { display: none; }
  .mega__text strong { font-size: var(--fs-small); font-family: var(--font-body); font-weight: var(--fw-medium); }

  /* Sheet footer */
  .site-nav__sheet-foot { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-5); }
  .site-nav__sheet-foot .btn { width: 100%; }
  .site-nav__eco, .site-nav__help {
    display: flex; gap: var(--space-4); align-items: flex-start;
    padding: var(--space-5); border-radius: var(--radius-md); background: var(--color-lime-100);
  }
  .site-nav__help { flex-direction: column; gap: 2px; background: var(--color-paper); }
  .site-nav__help strong { font-family: var(--font-display); color: var(--color-forest-900); }
  .site-nav__help small { font-size: var(--fs-micro); color: var(--color-ink-soft); }
  .site-nav__help a {
    display: inline-flex; align-items: center; gap: var(--space-3);
    margin-top: var(--space-3);
    font-family: var(--font-display); font-weight: var(--fw-bold);
    font-size: var(--fs-lede); color: var(--color-forest-900);
  }
  .site-nav__help a svg { width: 20px; height: 20px; color: var(--color-forest-900); }
  .site-nav__social { display: flex; gap: var(--space-3); }
  .site-nav__social a {
    width: 46px; height: 46px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--color-forest-900); color: #fff;
  }
  .site-nav__social a:hover { background: var(--color-lime-500); color: var(--color-forest-900); }
  .site-nav__social svg { width: 22px; height: 22px; }

  /* Lock the page behind the open sheet. */
  body.nav-open { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav, .mega, .dropdown, .nav-scrim { transition: none; }
}

/* ---------- Footer — a rounded dark card, same shell language ---------- */
.site-footer { background: var(--color-forest-900); padding-top: var(--space-7); border-radius: var(--radius-shell); position: relative; overflow: hidden; }
.site-footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr .8fr 1fr 1.5fr;
  gap: var(--space-6) var(--space-7);
  padding-bottom: var(--space-5);
  align-items: start;
}
.site-footer__col h3 {
  font-size: var(--fs-h3);
  color: #fff;
  margin-bottom: var(--space-3);
}
.site-footer__col ul { display: flex; flex-direction: column; gap: 6px; }
/* Link lists: a chevron INSIDE the anchor, vertically centred by flex.
   The old approach was an absolutely-positioned dot at `top: .6em`, which only
   lined up at one exact font-size/line-height and drifted off the text baseline
   everywhere else — and a bullet reads as prose, not as a clickable menu. */
.site-footer__links a {
  display: flex; align-items: center; gap: var(--space-3);
  padding-block: 2px;
}
.site-footer__links a::before {
  content: '';
  width: 6px; height: 6px;
  border-right: 2px solid var(--color-lime-500);
  border-top: 2px solid var(--color-lime-500);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast);
}
.site-footer__links a:hover::before { transform: rotate(45deg) translate(2px, -2px); }

/* Hours are plain text, not links — no marker, just readable line spacing. */
.site-footer__hours li { padding-left: 0; }
.site-footer__col a { color: rgba(255,255,255,.7); font-size: var(--fs-small); transition: color var(--dur-fast); }
.site-footer__col a:hover { color: var(--color-lime-500); }
.site-footer__col p { font-size: var(--fs-small); color: rgba(255,255,255,.7); margin-bottom: var(--space-2); }
.site-footer__contact-heading { margin-top: var(--space-6); }
.site-footer__col--brand p { max-width: 34ch; }

/* Contact block in the footer's last column gets the lime icon-circle treatment.
   The label rule is scoped to `> div span` on purpose: `.icon-badge` is itself a
   <span>, and a bare `.site-footer__contact span` selector (0,1,1) outranks
   `.icon-badge` (0,1,0) — that forced display:block on the badge and knocked the
   glyph out of its circle to the top-left. */
/* Both contact rows (call + WhatsApp) share this; they're <a> now, so they get
   a hover state and a proper tap target. */
.site-footer__contact {
  display: flex; align-items: center; gap: var(--space-4);
  margin-top: var(--space-4);
  padding: var(--space-2) 0;
  transition: transform var(--dur-fast) var(--ease-out);
}
.site-footer__contact:hover { transform: translateX(3px); }
.site-footer__contact strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: #fff; }
.site-footer__contact > div span { display: block; font-size: var(--fs-micro); color: rgba(255,255,255,.6); }


.site-footer__bottom { position: relative; padding-block: var(--space-5); margin-top: var(--space-5); border-top: 1px solid rgba(255,255,255,.1); }
.site-footer__bottom-inner { display: flex; align-items: center; justify-content: center; gap: var(--space-4); flex-wrap: wrap; text-align: center; }
.site-footer__bottom p { font-size: var(--fs-small); color: rgba(255,255,255,.55); margin: 0; }

@media (max-width: 1000px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
      }
@media (max-width: 600px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Footer brand lockup ---------- */
.site-footer__brand { display: flex; align-items: center; margin-bottom: var(--space-5); }
/* Full lockup carries the wordmark + tagline itself — no adjacent text span.
   Run prominent-size here (bigger than the header even at its own rest
   size): the footer isn't scroll/space-constrained the way the sticky
   header is, so the logo can just be as legible as the brand deserves. */
.site-footer__brand img { height: 150px; width: auto; background: #fff; border-radius: 18px; padding: 10px 22px; object-fit: contain; flex-shrink: 0; }
@media (max-width: 600px) { .site-footer__brand img { height: 110px; } }

.site-footer__social { display: flex; gap: var(--space-3); margin-bottom: var(--space-5); }
.site-footer__social-link {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--color-border-dark);
  color: #fff;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.site-footer__social-link svg { width: 19px; height: 19px; }
.site-footer__social-link:hover { background: var(--color-lime-500); border-color: var(--color-lime-500); color: var(--color-forest-900); transform: translateY(-2px); }

/* ---------- Floating WhatsApp CTA ----------
   Sits above the mobile call bar (which is 60px tall) so the two never collide. */
.whatsapp-cta {
  position: fixed; right: var(--space-5); top: 50%; transform: translateY(-50%);
  z-index: 65;
  display: inline-flex; align-items: center; gap: var(--space-3);
  background: #25D366; color: #0B3B22;
  padding: 10px 20px 10px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 28px -8px rgba(11,59,34,.45);
  font-weight: var(--fw-bold); font-size: var(--fs-small);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.whatsapp-cta:hover { transform: translateY(-50%) scale(1.05); box-shadow: 0 14px 32px -8px rgba(11,59,34,.55); }
.whatsapp-cta__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: #25D366; flex-shrink: 0;
}
.whatsapp-cta__icon svg { width: 24px; height: 24px; }

@media (max-width: 1100px) {
  /* Clear the sticky call bar. */
  .whatsapp-cta { right: var(--space-4); }
}
@media (max-width: 1200px) {
  /* Collapse to a circular icon. The expanded pill is ~230px wide and sits at
     the vertical centre, so below this width it lands on top of centred hero
     copy instead of clearing it in the page margin. */
  .whatsapp-cta { padding: 0; width: 56px; height: 56px; justify-content: center; }
  .whatsapp-cta__label { display: none; }
  .whatsapp-cta__icon { width: 56px; height: 56px; background: transparent; color: #fff; }
  .whatsapp-cta__icon svg { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-cta:hover { transform: translateY(-50%); } }

/* ---------- Sticky action bar (all viewports) ----------
   Replaces the old mobile-only call bar. Phone + primary CTA stay reachable
   from any scroll position on desktop and mobile alike. */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 30px -18px rgba(16,32,26,.4);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-3) var(--container-pad);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-5);
}
.action-bar__call, .action-bar__hours { display: inline-flex; align-items: center; gap: var(--space-3); min-width: 0; }
.action-bar__hours { justify-self: end; }
.action-bar__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--color-lime-500); color: var(--color-forest-900);
  flex-shrink: 0;
}
.action-bar__icon svg { width: 20px; height: 20px; }
.action-bar__icon--ghost { background: var(--color-lime-100); }
.action-bar__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.action-bar__text small { font-size: var(--fs-micro); color: var(--color-ink-soft); }
.action-bar__text strong { font-family: var(--font-display); font-size: var(--fs-body); color: var(--color-forest-900); white-space: nowrap; }
.action-bar__cta { justify-self: center; white-space: nowrap; }

/* Content must never sit under the fixed bar (measured 87px at desktop). */
body { padding-bottom: 92px; }

@media (max-width: 900px) {
  /* Hours column is the first thing to go — call + CTA are the actions. */
  .action-bar__hours { display: none; }
  .action-bar__inner { grid-template-columns: 1fr auto; gap: var(--space-4); }
}
@media (max-width: 620px) {
  /* The number is 135px of text and simply doesn't fit beside the CTA at phone
     widths — it was being clipped mid-string ("+9174004…"). Collapse the call
     control to a tappable icon and give the CTA the remaining space; the full
     number is still one tap away and repeated in the footer. */
  .action-bar__inner { padding: var(--space-3) var(--space-4); gap: var(--space-3); grid-template-columns: auto 1fr; }
  .action-bar__call .action-bar__text { display: none; }
  .action-bar__icon { width: 48px; height: 48px; }
  .action-bar__cta { justify-self: stretch; text-align: center; padding: 14px 48px 14px 18px; font-size: var(--fs-small); }
  .action-bar__cta::after { width: 30px; height: 30px; right: 6px; background-size: 13px; }
  body { padding-bottom: 78px; }
}

/* Working-hours lines must not break mid-phrase ("Monday – Saturday: 9:00 AM –"
   / "7:00 PM"). The column is sized to fit them; nowrap keeps it honest. */
.site-footer__hours span { white-space: nowrap; font-size: var(--fs-small); }
@media (max-width: 1200px) { .site-footer__hours span { white-space: normal; } }

/* ---------- Dropdown with leading icons ----------
   Reuses the existing hand-drawn SVG set (partials/icons.php) rather than
   generated raster icons: these render at 20px where a bitmap would blur, they
   inherit colour on hover, and they're already consistent with the rest of the
   site. */
.dropdown--icons li a { display: flex; align-items: center; gap: var(--space-3); }
.dropdown__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--color-lime-100); color: var(--color-forest-900);
  flex-shrink: 0;
  transition: background var(--dur-fast) var(--ease-out);
}
.dropdown__icon svg { width: 18px; height: 18px; }
.dropdown--icons li a:hover .dropdown__icon { background: var(--color-lime-500); }
.site-nav.is-open .dropdown__icon { background: rgba(255,255,255,.1); color: var(--color-lime-500); }
