/* =========================================================
   CleanMi — styles.css  (2026-11 redesign v2: light two-column home hero, floating glass navbar)
   Poppins (UI) + Allura ("Care Beyond Clean" tagline only)
   Brand: #6CC24A green · #1B5E20 deep forest green · light greens. No black anywhere.

   Contrast notes (WCAG AA):
   - White on --primary #6CC24A is 2.2:1, so text ON brand green uses --text-dark (#1a2e05, 6.7:1):
     Book Now, Get Started, Submit, step/timeline numbers, badges.
   - --primary as TEXT on white is also 2.2:1, so green text on light backgrounds uses --secondary (7.9:1).
   - Inner-page heroes keep white copy over the photo (green glass pills carry the contrast).
   - The home hero is the photo full-bleed under a cream left-to-right scrim (.hero-scrim). The scrim
     holds >= 0.88 alpha across the copy column, so even over the photo's darkest pixels the headline
     measures ~11:1, subtext ~6.5:1, eyebrow ~5.6:1 and the script line ~3.6:1 (large text, 3:1 bar).
     Brand #6CC24A stays on fills (Book Now, icon chips), never as text on light.
   - Over the light home hero the nav pill goes light with dark links (white-on-light measured 3.1:1).
   Security: only local images, no @import, no inline styles (CSP style-src 'self'),
   closed menus are visibility:hidden (out of tab order), :focus-visible outlines everywhere.
   ========================================================= */

/* ---------- Self-hosted fonts (assets/fonts, @fontsource 5.3.0, SIL OFL 1.1: assets/fonts/OFL.txt) ----------
   Poppins 400/500/600/700 + 400 italic (300 dropped: unused). latin-ext only for 400 and 700, which render the
   rupee sign (U+20B9) on index/services; its unicode-range means other pages never download it. Allura 400 = tagline. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/poppins-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/poppins-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/poppins-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 400; font-display: swap; src: url("../assets/fonts/poppins-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/poppins-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/poppins-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/poppins-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Allura"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/allura-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --primary: #6CC24A;
  --primary-dark: #5BAE3C;
  --primary-darker: #1B5E20;
  --secondary: #1B5E20;
  --primary-ink: #35801F;    /* darkened brand green for text: #6CC24A itself is 2.2:1 on light */
  --accent: #E8F5E9;
  --accent-light: #f2fbe8;
  --bg-white: #ffffff;
  --bg-light: #F5FBF2;
  --bg-section: #f0f9f0;
  --bg-dark-section: #1B5E20;
  --text-dark: #1a2e05;
  --text-body: #3d4f2e;
  --text-muted: #5f7052;     /* spec #6b7c5e measures 4.4:1 on white; nudged to pass AA */
  --text-white: #ffffff;
  --border-light: #e0eed6;
  --border-field: #7E9475;   /* form field outlines: #e0eed6 was 1.2:1 on white,
                                under the 3:1 WCAG 1.4.11 needs for a UI boundary */
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-blur: blur(12px);
  --shadow-sm: 0 2px 8px rgba(27, 94, 32, 0.06);
  --shadow-md: 0 4px 20px rgba(27, 94, 32, 0.08);
  --shadow-lg: 0 8px 40px rgba(27, 94, 32, 0.12);
  --shadow-xl: 0 20px 60px rgba(27, 94, 32, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-pill: 50px;

  --font: "Poppins", sans-serif;
  --font-script: "Allura", cursive;   /* tagline only — see .tagline / .hero-script / .cta-script */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --container: 1200px;
  --gutter: 5%;
  --section-pad: 100px;
  --gap: 30px;
  --nav-solid-h: 72px;
  --connector: #b9d9a8;      /* dashed connectors (--border-light is too faint to read as a line) */
  --nav-glass: rgba(27, 94, 32, 0.6);    /* green-tinted glass so white nav links pass over any photo */
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-solid-h) + 10px); }
body {
  font-family: var(--font); font-weight: 400; font-size: 16px; line-height: 1.7;
  color: var(--text-body); background: var(--bg-white);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.2; color: var(--text-dark); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 1200px) { .container { padding: 0 40px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 10000;
  padding: 10px 18px; border-radius: var(--radius-pill);
  background: var(--secondary); color: var(--text-white); font-weight: 600; font-size: 0.9rem;
  transform: translateY(-200%); transition: transform 0.2s ease;
}
.skip-link:focus, .skip-link:focus-visible { transform: none; }

/* ---------- Shared ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--primary-darker);
  font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; line-height: 1.3;
}
.glass-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 24px; border-radius: var(--radius-pill);
  background: rgba(27, 94, 32, 0.7);       /* green glass: white glass measured < 4.5:1 over bright photos */
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-white); font-size: 13px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
}
.section { position: relative; padding: var(--section-pad) 0; overflow: hidden; }
.bg-white { background: var(--bg-white); }
.bg-light { background: var(--bg-light); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head p { margin-top: 16px; font-size: 17px; }
/* Large bold statement headings */
.display, .section-head h2 {
  font-size: clamp(26px, 4vw, 46px); font-weight: 700;
  text-transform: uppercase; letter-spacing: -0.5px; line-height: 1.2;
  color: var(--text-dark);
}
.section-head h2 { max-width: 760px; margin: 16px auto 0; }
.check-ico {
  flex-shrink: 0; display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary); color: var(--text-dark);
}
.check-ico svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-pill); border: 2px solid transparent;
  font-family: var(--font); font-weight: 600; font-size: 15px; line-height: 1.3; white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
/* Brand green with dark text (6.7:1) — white would be 2.2:1 */
.btn-primary { background: var(--primary); color: var(--text-dark); box-shadow: 0 8px 20px -8px rgba(108, 194, 74, 0.7); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; border-color: var(--secondary); color: var(--secondary); }
.btn-outline:hover { background: var(--secondary); color: var(--text-white); }
/* Circular icon button (Call Us) — deep-green glyph on white, 7.9:1 */
.btn-circle {
  flex-shrink: 0; display: inline-grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--bg-white); border: 2px solid var(--secondary); color: var(--secondary);
  box-shadow: var(--shadow-sm);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn-circle:hover { background: var(--secondary); color: var(--text-white); transform: translateY(-2px); }
.btn-circle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn-light { background: var(--bg-white); color: var(--secondary); }
.btn-light:hover { background: var(--accent); }
.btn-glass {
  background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.45); color: var(--text-white);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn-glass:hover { background: var(--bg-white); color: var(--secondary); }
/* Over photos the 0.12 white fill measured ~2.7:1 for its white label, so hero
   glass buttons take a dark translucent fill instead. */
.hero .btn-glass { background: rgba(14, 46, 18, 0.52); border-color: rgba(255, 255, 255, 0.5); }
.hero .btn-glass:hover { background: var(--bg-white); border-color: var(--bg-white); color: var(--secondary); }
.btn-sm { padding: 8px 22px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: var(--bg-white); transition: opacity 0.4s ease, visibility 0.4s ease; }
.preloader.hidden { opacity: 0; visibility: hidden; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--accent); border-top-color: var(--primary); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   NAVBAR — floating glass pill over the hero; solid white once past the hero
   ========================================================= */
.navbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px var(--gutter) 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.nav-shell {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius-pill);
  transition: background 0.3s ease, border-color 0.3s ease, max-width 0.3s ease, padding 0.3s ease;
}
/* The links live in their own pill, so the logo can sit centred above it over the hero */
.nav-bar {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 8px 10px; border-radius: var(--radius-pill);
  background: var(--nav-glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  position: fixed; padding: 0;
  background: var(--bg-white); box-shadow: var(--shadow-sm);
  animation: navDrop 0.3s ease;
}
.navbar.scrolled .nav-shell {
  min-height: var(--nav-solid-h);
  background: transparent; border-color: transparent; border-radius: 0;
  padding: 10px var(--gutter);
}
/* Scrolled: the pill dissolves into the solid bar (logo left, links centred, CTA right) */
.navbar.scrolled .nav-bar {
  padding: 0; background: transparent; border-color: transparent; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
@keyframes navDrop { from { transform: translateY(-100%); } to { transform: none; } }

.logo { display: inline-flex; align-items: center; flex-shrink: 0; position: relative; z-index: 3; }
.logo-mark { display: block; width: 36px; height: 36px; border-radius: 10px; overflow: hidden; background: var(--primary); transition: width 0.3s ease, height 0.3s ease, border-radius 0.3s ease; }
.navbar .logo-mark { margin-left: 4px; }
.logo-img { width: 100%; height: 100%; transform: scale(1.5); }
.tagline { font-family: var(--font-script); font-weight: 400; }

.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: var(--radius-pill);
  color: var(--text-white); font-size: 14px; font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-link:hover { background: rgba(255, 255, 255, 0.1); }
.nav-link.active, .nav-dropdown.active > .nav-link { background: rgba(255, 255, 255, 0.14); }   /* spec 0.2 measured < 4.5:1 over bright photos */
.navbar.scrolled .nav-link { color: var(--text-dark); }
.navbar.scrolled .nav-link:hover { background: var(--accent-light); color: var(--secondary); }
.navbar.scrolled .nav-link.active, .navbar.scrolled .nav-dropdown.active > .nav-link { background: var(--accent); color: var(--secondary); }
.nav-cta { flex-shrink: 0; }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none; position: relative; z-index: 3;
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px; padding: 12px 10px;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--text-white); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s, background 0.3s; }
.navbar.scrolled .nav-toggle span { background: var(--text-dark); }
.navbar.open .nav-toggle span { background: var(--text-white); }
.navbar.open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.navbar.open .nav-toggle span:nth-child(2) { opacity: 0; }
.navbar.open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-backdrop { display: none; }

@media (min-width: 800px) {
  /* Over the hero: logo pinned top-left on the content edge, link pill centred. Scrolled returns to one row. */
  .navbar:not(.scrolled) .nav-shell { flex-direction: column; gap: 14px; margin-top: -3px; }   /* pill rides the logo's row: the 57.8px pill needs 2.9px above the shell's 21px content top for the two centres to meet at 47px */
  /* Same left edge as the hero copy (.hero--light .container padding-left) */
  .navbar:not(.scrolled) .logo { position: absolute; top: 21px; left: clamp(22px, 4.5vw, 68px); }   /* 20px navbar padding + the shell's 1px border */
  .navbar:not(.scrolled) .logo-mark { width: 52px; height: 52px; border-radius: 15px; margin-left: 0; }
  .navbar:not(.scrolled) .nav-cta { display: none; }

  /* The home hero is light, so the pill goes light with dark links:
     white links over the green glass measured 3.1:1 against an off-white hero. */
  body.page-home .navbar:not(.scrolled) .nav-bar {
    background: rgba(255, 255, 255, 0.82); border-color: rgba(27, 94, 32, 0.12); box-shadow: var(--shadow-sm);
  }
  body.page-home .navbar:not(.scrolled) .nav-link { color: var(--text-dark); }
  body.page-home .navbar:not(.scrolled) .nav-link:hover { background: var(--accent-light); color: var(--secondary); }
  body.page-home .navbar:not(.scrolled) .nav-link.active,
  body.page-home .navbar:not(.scrolled) .nav-dropdown.active > .nav-link { background: var(--accent); color: var(--secondary); }
}

/* Services dropdown */
.nav-dropdown { position: relative; }
.dropdown-arrow { display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; transition: transform 0.25s ease; }
.dd-icon { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--secondary); transition: background 0.2s, color 0.2s; }
.dd-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 800px) {
  .dropdown-menu {
    position: absolute; top: calc(100% + 14px); left: 50%; width: 470px;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 20px;
    background: var(--bg-white); border: 1px solid var(--border-light);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
    opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s; z-index: 1001;
  }
  .dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }   /* hover bridge */
  .nav-dropdown.active .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
  .nav-dropdown.active .dropdown-arrow, .nav-dropdown:focus-within .dropdown-arrow { transform: rotate(180deg); }
  .dropdown-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: var(--text-dark); transition: background 0.2s, color 0.2s; }
  .dropdown-item:hover, .dropdown-item:focus-visible { background: var(--bg-light); color: var(--secondary); }
  .dropdown-item:hover .dd-icon, .dropdown-item:focus-visible .dd-icon, .dropdown-item[aria-current="page"] .dd-icon { background: var(--primary); color: var(--text-dark); }
  .dropdown-item[aria-current="page"] { background: var(--bg-light); color: var(--secondary); font-weight: 600; }
  .nav-dropdown.is-dismissed .dropdown-menu { opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(10px); }
  .nav-dropdown.is-dismissed .dropdown-arrow { transform: none; }
}
@media (min-width: 800px) and (hover: hover) {
  .nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
  .nav-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }
  .nav-dropdown.is-dismissed:hover .dropdown-menu { opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(10px); }
}

/* Mobile (< 800px): full-screen green overlay menu */
@media (max-width: 799px) {
  .navbar { padding: 14px 16px 0; }
  /* No backdrop-filter here: it would make the pill the containing block for the fixed full-screen menu,
     trapping the overlay inside the pill. A more opaque tint stands in for the blur. */
  /* The links become the full-screen drawer, so the pill collapses back onto the shell */
  .nav-bar { display: contents; }
  .nav-shell {
    max-width: 900px; padding: 8px 8px 8px 10px;
    background: rgba(27, 94, 32, 0.82); border-color: var(--glass-border);
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-menu {
    position: fixed; inset: 0; z-index: 2;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    padding: 110px 28px 40px; overflow-y: auto;
    background: linear-gradient(160deg, #1B5E20 0%, #24702a 55%, #2E7D32 100%);
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  }
  .navbar.open .nav-menu { opacity: 1; visibility: visible; transition: opacity 0.3s ease, visibility 0s; }
  .nav-link, .navbar.scrolled .nav-link { color: var(--text-white); font-size: 22px; font-weight: 600; padding: 12px 16px; justify-content: space-between; width: 100%; border-radius: var(--radius-md); }
  .nav-link:hover, .navbar.scrolled .nav-link:hover, .nav-link.active, .navbar.scrolled .nav-link.active,
  .nav-dropdown.active > .nav-link, .navbar.scrolled .nav-dropdown.active > .nav-link { background: rgba(255, 255, 255, 0.12); color: var(--text-white); }
  .dropdown-arrow { border-left-width: 6px; border-right-width: 6px; border-top-width: 7px; }
  .nav-dropdown.active .dropdown-arrow { transform: rotate(180deg); }
  .dropdown-menu { display: grid; gap: 2px; padding-left: 10px; max-height: 0; overflow: hidden; visibility: hidden; transition: max-height 0.35s var(--ease), visibility 0s linear 0.35s; }
  .nav-dropdown.active .dropdown-menu { max-height: 560px; visibility: visible; transition: max-height 0.35s var(--ease), visibility 0s; }
  .dropdown-item { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: var(--radius-sm); font-size: 16px; font-weight: 500; color: rgba(255, 255, 255, 0.92); }
  .dropdown-item:hover, .dropdown-item[aria-current="page"] { background: rgba(255, 255, 255, 0.12); color: var(--text-white); }
  .dd-icon { width: 32px; height: 32px; background: rgba(255, 255, 255, 0.14); color: var(--text-white); }
  .nav-cta-mobile { display: inline-flex; margin-top: 24px; align-self: flex-start; }
  .navbar.open .nav-shell { background: transparent; border-color: transparent; }
  .navbar.scrolled .nav-shell { max-width: var(--container); }
}

/* =========================================================
   HERO — inner pages: full-width photo, centred white copy
          home (.hero--light): photo full-bleed under a cream left scrim, dark copy left
   ========================================================= */
.hero {
  position: relative; overflow: visible;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  color: var(--text-white); text-align: center;
  background: var(--secondary);
  padding: 140px 0 170px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-bg img, .hero-bg picture { width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 60% 30%; }
/* Pages without a photo: deep-green gradient + dot pattern */
.hero-bg--plain {
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(108, 194, 74, 0.22) 0%, transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(160deg, #1B5E20 0%, #2E7D32 100%);
  background-size: 100% 100%, 22px 22px, 100% 100%;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; margin: -30px auto 0; }
.hero h1 {
  margin-top: 24px;
  font-size: clamp(28px, 5vw, 52px); font-weight: 700; color: var(--text-white);
  text-transform: uppercase; letter-spacing: -0.5px; line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4), 0 1px 6px rgba(0, 0, 0, 0.3);
}
.hero h1 .hl { color: #d4f4c3; }       /* light brand-green tint: #6CC24A itself measured 1.3:1 over the photo */
.hero-sub { font-size: 16px; color: rgba(255, 255, 255, 0.95); max-width: 560px; margin: 20px auto 0; line-height: 1.7; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4); }
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: var(--radius-pill);
  background: rgba(27, 94, 32, 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);   /* green glass (white glass measured 4.2:1) */
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 13px; color: var(--text-white);
}
.hero-tag svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 420px; margin: 30px auto 0;
  padding: 6px 6px 6px 24px; border-radius: var(--radius-pill);
  background: rgba(27, 94, 32, 0.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.hero-cta span { font-size: 14px; color: var(--text-white); font-weight: 500; text-align: left; }
.hero-cta .btn { padding: 12px 28px; font-size: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }

/* ---------- Home hero: photo full-bleed, cream left scrim, dark copy left ---------- */
.hero--light {
  min-height: 88vh; min-height: 88svh;
  padding: 160px 0 110px;
  text-align: left; color: var(--text-body);
  background: linear-gradient(180deg, #FBFCF9 0%, #F6FAF2 100%);   /* fallback behind the photo */
}
.hero--light .hero-bg img { object-position: 58% 26%; }
/* The copy sits close to the left edge rather than on the centred container grid.
   clamp() keeps a sensible gutter on small screens (22px floor). */
.hero--light .container {
  max-width: none;
  padding-left: clamp(22px, 4.5vw, 68px);
  padding-right: var(--gutter);
}
/* Cream scrim: a light wash, strongest on the far left where the copy sits and clear
   well before the subject. A dark full-overlay is deliberately avoided.
   Worst case (the photo's darkest pixel under each stop): script line 3.0:1 at 0.88
   (large text), subtext 4.9:1 at 0.75, badges 7.7:1, headline 7.1:1. */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right,
    rgba(250, 251, 245, 0.86) 0%,
    rgba(250, 251, 245, 0.81) 26%,
    rgba(250, 251, 245, 0.62) 40%,
    rgba(250, 251, 245, 0.28) 54%,
    rgba(250, 251, 245, 0.06) 68%,
    rgba(250, 251, 245, 0) 76%);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 520px); align-items: center;
}
.hero--light .hero-content { max-width: 520px; margin: 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; line-height: 1.4;
  letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--secondary);                               /* 7.7:1 */
}
.hero-eyebrow span { display: block; width: 28px; height: 2px; border-radius: 2px; background: var(--primary); }
.hero--light h1 {
  max-width: 520px; margin-top: 20px;
  font-size: clamp(32px, 4.3vw, 54px);
  text-transform: none; letter-spacing: -1px; line-height: 1.14;
  color: var(--text-dark); text-shadow: none;            /* 14.3:1 on the off-white hero */
}
/* Script accent. #6CC24A as text is 2.2:1, so this uses --primary-ink (4.8:1) */
.hero-script {
  display: block; width: fit-content; margin-top: 8px;
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(44px, 5.3vw, 67px); line-height: 1.26;   /* +15% for Allura (was clamp(38px, 4.6vw, 58px) with Great Vibes) */
  letter-spacing: 0; text-transform: none; color: var(--primary-ink);
}
.hero--light .hero-sub {
  max-width: 450px; margin: 22px 0 0; font-size: 17px;
  color: var(--text-body); text-shadow: none;             /* 8.7:1 */
}
.hero--light .hero-actions { justify-content: flex-start; align-items: center; gap: 14px; margin-top: 34px; }
.hero-badges {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px;
  max-width: 480px; margin-top: 42px; padding-top: 26px; border-top: 1px solid rgba(27, 94, 32, 0.14);
}
.hero-badges li { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; color: var(--text-dark); }
.hero-badge-ico {
  flex-shrink: 0; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: var(--secondary);
}
.hero-badge-ico svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Shorter heroes for inner pages */
.hero--page { min-height: 60vh; padding: 150px 0 90px; }
.hero--service { min-height: 50vh; padding: 140px 0 80px; }
/* ---------- Service-page banners (desktop, full width) ----------
   Each banner is a ~2.4:1 sage scene with the product at one edge and a quiet centre.
   The crop is anchored to the product edge (100% / 0%), and the scrim is directional:
   strongest on the side away from the product, behind the centred copy, and clear over the
   product so it keeps its full brightness. (<=1023px stacks the art instead; see section B.) */
.hero--service .hero-bg img,
.hero--subj-right .hero-bg img { object-position: 100% center; }
.hero--subj-left .hero-bg img { object-position: 0% center; }
.hero--service::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to right,
    rgba(16, 38, 18, 0.62) 0%,
    rgba(16, 38, 18, 0.56) 40%,
    rgba(16, 38, 18, 0.40) 54%,
    rgba(16, 38, 18, 0.18) 63%,
    rgba(16, 38, 18, 0) 70%);
}
.hero--subj-left::after {
  background: linear-gradient(to left,
    rgba(16, 38, 18, 0.62) 0%,
    rgba(16, 38, 18, 0.56) 40%,
    rgba(16, 38, 18, 0.40) 54%,
    rgba(16, 38, 18, 0.18) 63%,
    rgba(16, 38, 18, 0) 70%);
}

/* The stacked logo-above-pill nav is ~140px tall, so inner heroes need extra headroom */
@media (min-width: 800px) {
  .hero--page { padding-top: 205px; }
  .hero--service { padding-top: 190px; }
}
.hero--page .hero-content, .hero--service .hero-content { margin-top: 0; }
.hero--page h1, .hero--service h1 { font-size: clamp(30px, 5vw, 50px); }
/* Desktop service banners (>=1280px; below that they stack, see section B). The hero tracks the
   banner's own 2.4:1 height (41.5vw ~ 100vw / 2.4, less a scrollbar), so object-fit: cover neither
   scales the art up nor crops it. The old 644px hero scaled it to ~1546px wide and pushed the
   product in under the centred copy; a fixed shorter hero cropped full-height products at 1440. */
@media (min-width: 1280px) {
  .hero--service { min-height: 41.5vw; padding: 118px 0 40px; }
}
.hero-note { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, 0.95); }
/* 14px text at the bottom of a photo hero: give it a chip rather than trust the scrim */
.hero--service .hero-note {
  display: inline-block; padding: 7px 18px; border-radius: var(--radius-pill);
  background: rgba(16, 38, 18, 0.58);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; margin-top: 32px; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 24px; color: var(--text-white); line-height: 1.2; }
.hero-stats span { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255, 255, 255, 0.95); }
.hero-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin: 18px auto 0; background: var(--primary); color: var(--text-dark); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.14); }
.hero-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.breadcrumb ol { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; font-size: 14px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, 0.95); }
.breadcrumb li + li::before { content: "›"; font-size: 1.1rem; line-height: 1; }
.breadcrumb a { color: var(--text-white); }
.breadcrumb a:hover { color: var(--text-white); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--text-white); font-weight: 600; }

/* Trust strip (shown below 900px) */
.trust-strip-section { display: none; background: var(--bg-white); padding: 20px 0; border-bottom: 1px solid var(--border-light); }
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: 14px; font-weight: 500; color: var(--text-dark); }
.trust-strip li { display: inline-flex; align-items: center; gap: 8px; }

/* =========================================================
   HOW IT WORKS — mini stats + step cards
   ========================================================= */
.mini-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 40px; margin-top: 30px; }
.mini-stat { text-align: center; min-width: 120px; }
.mini-stat strong { display: block; font-size: 28px; font-weight: 700; color: var(--primary-darker); line-height: 1.2; font-variant-numeric: tabular-nums; }
.mini-stat span { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.step-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 50px; }
.step-card {
  position: relative;
  background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 28px;
}
.step-cards .step-card {
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), translate 0.3s var(--ease), box-shadow 0.3s var(--ease);
  transition-delay: var(--delay, 0ms), var(--delay, 0ms), 0s, 0s;
}
.step-cards .step-card:hover { translate: 0 -4px; box-shadow: var(--shadow-md); }
.step-badge { display: inline-block; padding: 4px 10px; border-radius: var(--radius-sm); background: var(--accent); color: var(--primary-darker); font-weight: 700; font-size: 13px; }
.step-ico { position: absolute; top: 24px; right: 24px; color: var(--primary); }
.step-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step-card h3 { font-size: 18px; font-weight: 600; margin-top: 16px; margin-bottom: 8px; }
.step-card p { font-size: 14px; line-height: 1.6; color: var(--text-body); }
.step-card:not(:last-child)::after {
  content: ""; position: absolute; pointer-events: none;
  top: 40px; left: 100%; width: var(--gap);
  border-top: 2px dashed var(--connector);
}

/* =========================================================
   ABOUT
   ========================================================= */
.split { display: grid; grid-template-columns: 45fr 55fr; gap: 70px; align-items: center; }
.split--text-first { grid-template-columns: 55fr 45fr; }
.about-media { position: relative; padding: 0 60px 70px 0; }
.about-img-main { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }
.about-img-sub { position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 1; object-fit: cover; border: 4px solid var(--primary); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
/* Gold "10 YEAR EXPERIENCE" emblem over the top-left corner of the About photo.
   The artwork is landscape (1.39:1), not a circle, so it is sized by width with
   height:auto; max-width keeps it inside .about-media at every size. */
.about-experience-badge {
  position: absolute; left: -18px; top: 22px; z-index: 2;
  width: 150px; height: auto; max-width: 46%;
  filter: drop-shadow(0 6px 16px rgba(27, 94, 32, 0.28));
}
.about-content .display { margin: 16px 0 18px; }
.about-content > p { margin-bottom: 30px; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.value { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-md); }
.value-icon { flex-shrink: 0; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--accent); color: var(--secondary); }
.value-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.value h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 4px; }
.value p { font-size: 14px; line-height: 1.55; }
.hours { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 10px 22px; border: 1px solid var(--border-light); border-radius: var(--radius-pill); background: var(--bg-white); font-size: 14px; font-weight: 500; color: var(--text-dark); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(108, 194, 74, 0.25); }
.about-section::before {
  content: '\2733\FE0E'; position: absolute; z-index: 0; pointer-events: none;
  font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols", sans-serif;
  font-size: clamp(200px, 25vw, 400px); line-height: 1; color: rgba(108, 194, 74, 0.08);
  top: -60px; right: -60px;
}
.about-section > .container { position: relative; z-index: 1; }

/* Service detail */
.detail-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.detail-art { width: 100%; aspect-ratio: 1; display: grid; place-items: center; border-radius: var(--radius-xl); background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.55) 0%, transparent 55%), linear-gradient(145deg, var(--accent) 0%, #cfe9c3 100%); color: var(--secondary); box-shadow: var(--shadow-md); }
.detail-art svg { width: 38%; height: 38%; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.detail-text .display { margin: 16px 0 20px; }
.detail-text p { margin-bottom: 16px; }
.detail-text p:first-of-type { font-size: 17px; color: var(--text-dark); }

/* =========================================================
   CARDS
   ========================================================= */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.service-card { display: flex; flex-direction: column; background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; }
.service-media { position: relative; height: 200px; overflow: hidden; background: var(--accent); }
.service-media picture, .service-media img { width: 100%; height: 100%; }
.service-media img, .service-art { object-fit: cover; transition: transform 0.5s var(--ease); }
.service-art { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.6) 0%, transparent 55%), linear-gradient(145deg, var(--accent) 0%, #cfe9c3 100%); color: var(--secondary); }
.service-art svg { width: 76px; height: 76px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.service-body h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.service-body p { font-size: 14px; margin-bottom: 16px; }
.learn-more { margin-top: auto; font-weight: 600; font-size: 14.5px; color: var(--secondary); }   /* --primary as text is 2.2:1 */
.learn-more span { display: inline-block; transition: transform 0.25s var(--ease); }
.card-grid .service-card, .card-grid .icon-card {
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), translate 0.3s var(--ease), box-shadow 0.3s var(--ease);
  transition-delay: var(--delay, 0ms), var(--delay, 0ms), 0s, 0s;
}
.card-grid .service-card:hover, .card-grid .service-card:focus-visible { translate: 0 -6px; box-shadow: var(--shadow-lg); }
.service-card:hover .service-media img, .service-card:hover .service-art, .service-card:focus-visible .service-media img, .service-card:focus-visible .service-art { transform: scale(1.05); }
.service-card:hover .learn-more span, .service-card:focus-visible .learn-more span { transform: translateX(4px); }

.pickup-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: var(--gap); padding: 28px 36px; border-radius: var(--radius-lg); background: var(--bg-dark-section); color: rgba(255, 255, 255, 0.88); transition: background 0.25s var(--ease); }
.pickup-banner:hover { background: #2E7D32; }
.pickup-banner h3 { color: var(--text-white); font-size: 22px; margin-bottom: 4px; }
.pickup-banner-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius-pill); background: var(--bg-white); color: var(--secondary); font-weight: 600; font-size: 15px; }
.pickup-banner-cta span { display: inline-block; transition: transform 0.25s var(--ease); }
.pickup-banner:hover .pickup-banner-cta span { transform: translateX(4px); }

.icon-card { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 30px; }
.card-grid .icon-card:hover { translate: 0 -6px; box-shadow: var(--shadow-lg); }
.icon-card-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-md); margin-bottom: 20px; background: var(--accent); color: var(--secondary); }
.icon-card-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.icon-card p { font-size: 15px; }

/* =========================================================
   CONTACT
   ========================================================= */
/* The contact section deepens toward the bottom so it hands off to the dark CTA band */
#contact { background: linear-gradient(180deg, var(--bg-light) 0%, #E7F3E0 100%); }
#contact .section-head { margin-bottom: 64px; }     /* breathing room above the card */
.card { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 36px; }
.card h3 { font-size: 22px; margin-bottom: 22px; }

/* ---------- Contact: one card, split green / white ----------
   Contrast on the green panel (#1B5E20 family): white values 7.9:1,
   #9FD77F labels 4.7:1, white-chip icons and outlined socials >= 3:1. */
.contact-panels {
  display: grid; grid-template-columns: 0.92fr 1.08fr; align-items: stretch;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-white); box-shadow: var(--shadow-xl);
}
.contact-info {
  position: relative; overflow: hidden;
  padding: 46px 42px; color: var(--text-white);
  /* gradient kept within a dark range: the earlier #1F6B24 top stop put the
     #9FD77F labels at 3.9:1 and the social outlines at 2.7:1 */
  background: linear-gradient(158deg, #1B5E20 0%, #185420 55%, #144718 100%);
}
.contact-form-panel { padding: 46px 42px; background: var(--bg-white); }
.contact-info h3, .contact-form-panel h3 { font-size: 22px; margin-bottom: 26px; }
.contact-info h3 { color: var(--text-white); }

/* faint leaf motif so the green panel is not flat */
.contact-motif {
  position: absolute; right: -46px; bottom: -58px; width: 250px; height: 250px;
  color: rgba(255, 255, 255, 0.06); pointer-events: none;
}
.contact-motif svg { width: 100%; height: 100%; fill: currentColor; }

.contact-info > *:not(.contact-motif) { position: relative; z-index: 1; }
.contact-list { display: grid; gap: 22px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.ci-icon {
  flex-shrink: 0; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-white); color: var(--secondary);      /* white chip, green glyph */
}
.ci-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-list small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: #9FD77F; margin-bottom: 2px; }
.contact-list div { color: var(--text-white); font-weight: 500; }
.contact-list a { color: var(--text-white); }
.contact-list a:hover { color: var(--text-white); text-decoration: underline; }
.follow { margin-top: 32px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.follow p { font-weight: 600; color: var(--text-white); margin-bottom: 14px; }
.contact-info .socials a {
  background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.62); color: var(--text-white);
}
.contact-info .socials a:hover { background: var(--primary); border-color: var(--primary); color: var(--text-dark); }
.socials { display: flex; gap: 12px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--secondary); transition: background 0.25s, color 0.25s, transform 0.25s var(--ease); }
.socials a:hover { background: var(--primary); color: var(--text-dark); transform: translateY(-3px); }
.socials a[hidden] { display: none; }   /* .socials a sets display:grid, which would override [hidden] */
.socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: 15px; color: var(--text-dark); }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 14px 16px; font-size: 15px; border: 1.5px solid var(--border-field); border-radius: var(--radius-md); background: var(--bg-white); color: var(--text-dark); transition: border-color 0.2s, box-shadow 0.2s; resize: vertical; }
.field textarea { min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108, 194, 74, 0.15); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.field.invalid input, .field.invalid textarea { border-color: #c62828; }
.form-status { text-align: center; font-size: 14px; min-height: 1.5em; color: var(--secondary); }
.form-status:not(:empty) { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--accent-light); }
.form-status.error { color: #c62828; }
.form-status.error:not(:empty) { background: #fdeaea; }
.contact-form .btn-block { margin-top: 4px; }

/* =========================================================
   FRANCHISE
   ========================================================= */
.invest-card { max-width: 920px; margin: 0 auto; background: var(--bg-white); border: 1px solid var(--border-light); border-left: 4px solid var(--primary); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.invest-row { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center; padding: 18px 32px; }
.invest-row + .invest-row { border-top: 1px solid var(--border-light); }
.invest-row:nth-child(even) { background: var(--bg-light); }
.invest-row dt { font-weight: 600; color: var(--text-dark); }
.invest-row--key dd { color: var(--secondary); font-weight: 700; font-size: 18px; }
.timeline { max-width: 820px; margin: 0 auto; display: grid; gap: 26px; }
.timeline-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: start; }
.timeline-step:not(:last-child)::before { content: ""; position: absolute; pointer-events: none; left: 27px; top: 56px; bottom: -26px; border-left: 2px solid var(--primary); }
.timeline-num { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: var(--text-dark); font-size: 20px; font-weight: 700; box-shadow: 0 0 0 6px var(--accent); }
.timeline-body { padding: 22px 26px; }
.timeline-body h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.timeline-body p { font-size: 15px; }
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px var(--gap); max-width: 1000px; margin: 0 auto; }
.check-list li, .includes li { display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px; background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-md); color: var(--text-dark); line-height: 1.6; }
.check-list .check-ico, .includes .check-ico { width: 28px; height: 28px; }
.check-list .check-ico svg, .includes .check-ico svg { width: 15px; height: 15px; }
.includes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px var(--gap); max-width: 960px; margin: 0 auto; }
.includes li { align-items: center; padding: 16px 20px; font-weight: 500; line-height: 1.5; }

/* FAQ accordion — green plus that becomes a minus */
.faq-list { display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }
.acc-item { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-md); transition: box-shadow 0.3s var(--ease), border-color 0.3s; }
.acc-item.is-open { border-color: var(--primary); box-shadow: var(--shadow-md); }
.acc-title { font-size: 16px; font-weight: 600; }
.acc-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; background: none; border: 0; border-radius: var(--radius-md); text-align: left; font-weight: 600; color: var(--text-dark); line-height: 1.45; cursor: pointer; }
.acc-icon { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); transition: background 0.3s ease; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--secondary); border-radius: 2px; transition: transform 0.3s ease, background 0.3s ease; }
.acc-icon::after { transform: rotate(90deg); }
.acc-item.is-open .acc-icon { background: var(--primary); }
.acc-item.is-open .acc-icon::after { transform: rotate(0deg); }       /* vertical bar folds flat: plus → minus */
.acc-item.is-open .acc-icon::before, .acc-item.is-open .acc-icon::after { background: var(--text-dark); }
.acc-panel { max-height: 0; overflow: hidden; visibility: hidden; transition: max-height 0.3s ease, visibility 0s linear 0.3s; }
.acc-item.is-open .acc-panel { visibility: visible; transition: max-height 0.3s ease, visibility 0s; }
.acc-panel p { padding: 0 24px 22px; font-size: 15px; }
.no-js .acc-panel { max-height: none; visibility: visible; }

/* ---------- Franchise page ---------- */
/* Numbered support cards (01-06) reuse .icon-card + the existing .step-badge chip */
.num-card .step-badge { margin-bottom: 14px; }
.num-card .icon-card-ico { margin-bottom: 16px; }
.invest-tile { text-align: center; }
.invest-tile .icon-card-ico { margin-inline: auto; }
.invest-figure { font-size: 20px; font-weight: 700; color: var(--secondary); }
.subhead { font-size: 20px; font-weight: 600; text-align: center; margin: 54px 0 26px; }
.section .cta-actions { margin-top: 44px; }

/* Testimonials - placeholder state until real partner quotes land */
.testi-card { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 30px; }
.testi-card--placeholder { border-style: dashed; background: var(--bg-light); }
.testi-quote { font-size: 17px; font-weight: 500; color: var(--text-muted); font-style: italic; min-height: 72px; }
.testi-meta { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border-light); }
.testi-avatar { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); }
.testi-meta strong { display: block; font-size: 15px; color: var(--text-dark); }
.cta-banner .cta-sub a { color: var(--text-white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.testi-meta small { font-size: 12px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--secondary); }

/* =========================================================
   CTA BANNER + FOOTER
   ========================================================= */
/* CTA band and footer share one dark-green block — no seam between them.
   The folded-garment photo sits under a ~0.93 green tint, so only a soft texture reads. */
.cta-banner {
  position: relative; overflow: hidden;
  padding: 100px 0 92px;
  text-align: center; color: rgba(255, 255, 255, 0.88);      /* 6.4:1 on the green */
  background:
    linear-gradient(180deg, rgba(23, 82, 28, 0.94) 0%, rgba(27, 94, 32, 0.90) 48%, rgba(27, 94, 32, 0.98) 86%, var(--bg-dark-section) 100%),
    url("../assets/images/cta-texture.webp") center / cover no-repeat,
    var(--bg-dark-section);
}
/* Phones: the texture sits under a 90-98% green gradient, so an 800px copy (41 KB) is
   indistinguishable from the 1600px one (95 KB). Same layers, smaller file. */
@media (max-width: 767px) {
  .cta-banner {
    background:
      linear-gradient(180deg, rgba(23, 82, 28, 0.94) 0%, rgba(27, 94, 32, 0.90) 48%, rgba(27, 94, 32, 0.98) 86%, var(--bg-dark-section) 100%),
      url("../assets/images/cta-texture-800.webp") center / cover no-repeat,
      var(--bg-dark-section);
  }
}
.cta-banner::before, .cta-banner::after { content: ""; position: absolute; pointer-events: none; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.08); }
.cta-banner::before { width: 360px; height: 360px; top: -160px; left: -120px; }
.cta-banner::after { width: 280px; height: 280px; bottom: -150px; right: -80px; }
.cta-banner .container { position: relative; z-index: 1; max-width: 800px; }
.cta-banner h2 { color: var(--text-white); font-size: clamp(26px, 4vw, 44px); text-transform: uppercase; letter-spacing: -0.5px; margin-bottom: 14px; }
.cta-banner p { font-size: 17px; margin-bottom: 32px; }
/* Script accent. #6CC24A on this green is 3.5:1, so a lighter tint is used (4.7:1) */
.cta-banner .cta-script {
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(37px, 4.6vw, 55px); line-height: 1.26;   /* +15% for Allura (was clamp(32px, 4vw, 48px)) */
  color: #9FD77F; margin-bottom: 2px;
}
.cta-banner .cta-sub { max-width: 540px; margin: 0 auto 34px; font-size: 17px; }
.cta-banner--home h2 { margin-bottom: 10px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
/* Over the textured band, .btn-glass's 0.12 white fill left white text at ~4.3:1 on the
   lightest texture pixels. A dark-green fill instead takes it to ~8:1. */
.cta-banner .btn-glass { background: rgba(14, 56, 18, 0.45); border-color: rgba(255, 255, 255, 0.5); }
.cta-banner .btn-glass:hover { background: var(--bg-white); border-color: var(--bg-white); color: var(--secondary); }

/* Light mint footer under the dark CTA band — a deliberate two-tone split.
   Contrast on #EFF7E9: headings --secondary 7.2:1, links --text-body 8.1:1,
   bottom bar --text-muted 4.9:1, tagline --primary-ink 3.7:1 (37px script = large text). */
.footer {
  background: #EFF7E9; color: var(--text-body);
  border-top: 4px solid var(--primary);              /* crisp seam against the dark band */
  padding: 72px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .logo-mark { width: 60px; height: 60px; border-radius: 14px; }   /* green app icon reads fine on light */
/* 37px = +12% for Allura (was 33px with Great Vibes); nowrap keeps it on one line in the 240px column at ~1024px */
.footer-brand .tagline { display: block; font-size: 37px; white-space: nowrap; line-height: 1.26; color: var(--primary-ink); margin: 10px 0 10px; }
/* No height or overflow cap here — the intro wraps to as many lines as it needs */
.footer-brand p { font-size: 14.5px; max-width: 340px; color: var(--text-body); }
.footer h2 { color: var(--secondary); font-size: 17px; font-weight: 600; margin-bottom: 18px; }   /* footer column titles (h2 keeps the heading order valid) */
.footer-links, .footer-contact { display: grid; gap: 10px; font-size: 15px; }
.footer-links a, .footer-contact a { color: var(--text-body); transition: color 0.2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--secondary); text-decoration: underline; }
.footer .socials { margin-top: 20px; }
/* #6CC24A as the ring measured 2.03:1 on the mint — under the 3:1 bar for a UI
   boundary (WCAG 1.4.11), so the outline uses --primary-ink (4.5:1) instead. */
.footer .socials a {
  background: var(--bg-white); border: 1.5px solid var(--primary-ink); color: var(--secondary);
}
.footer .socials a:hover { background: var(--primary); border-color: var(--primary); color: var(--text-dark); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--border-light);
  font-size: 14px; color: var(--text-muted);
}
/* Legal links, right of the bottom bar (centred under the copyright on small screens; also on 404).
   Same 14px size and colour as the copyright: --text-muted is 4.9:1 on the footer mint and ~5:1 on 404's --bg-light.
   Separator is the text colour at 30%. Focus ring uses --primary-ink: the default --primary ring is 2:1 on the mint. */
.footer-legal { display: flex; align-items: center; gap: 14px; margin-left: auto; font-size: 14px; color: var(--text-muted); }
.footer-legal a { color: inherit; font-weight: 400; }
.footer-legal a:hover { text-decoration: underline; }
.footer-legal a:focus-visible { outline-color: var(--primary-ink); }
.footer-legal__sep { width: 1px; height: 16px; background: currentColor; opacity: 0.3; }
.notfound .footer-legal { margin: 18px 0 0; }
@media (max-width: 560px) {
  .footer-bottom { flex-direction: column; align-items: center; }
  .footer-legal { margin-left: 0; }
}

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: var(--text-white); box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.6); transition: transform 0.3s var(--ease); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; pointer-events: none; animation: pulse 2.4s ease-out infinite; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }

/* 404 */
.notfound { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 48px 20px; text-align: center; background: var(--bg-light); }
.notfound .logo-mark { width: 84px; height: 84px; border-radius: 20px; }
/* Decorative (aria-hidden): the <h1> carries the meaning */
.notfound-code { font-size: clamp(100px, 20vw, 200px); font-weight: 700; line-height: 1; color: var(--primary); letter-spacing: -0.03em; }
.notfound h1 { font-size: clamp(26px, 4vw, 36px); text-transform: uppercase; letter-spacing: -0.5px; }
.notfound p:not(.notfound-code) { max-width: 440px; }
.notfound .btn { margin-top: 10px; }

/* =========================================================
   SCROLL ANIMATIONS
   ========================================================= */
[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--delay, 0ms); }
[data-animate].in-view { opacity: 1; transform: none; }
.no-js [data-animate] { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE (1200 · 1000 · 900 · 800 · 767 · 640 · 560)
   ========================================================= */
@media (max-width: 1200px) {
  :root { --section-pad: 90px; }
  .split { gap: 50px; }
}
@media (max-width: 1000px) {
  .hero--light h1 { max-width: none; }
  .hero-badges { gap: 14px 16px; }
  /* Narrower viewport: the 520px copy column reaches further across, so the scrim
     plateau has to travel with it (it ends at ~62% of a 901px viewport). */
  .hero-scrim {
    background: linear-gradient(to right,
      rgba(250, 251, 245, 0.90) 0%,
      rgba(250, 251, 245, 0.86) 42%,
      rgba(250, 251, 245, 0.74) 58%,
      rgba(250, 251, 245, 0.34) 72%,
      rgba(250, 251, 245, 0.08) 86%,
      rgba(250, 251, 245, 0) 94%);
  }
  .card-grid, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .step-cards { grid-template-columns: repeat(2, 1fr); }
  .step-card:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  /* Stacked: copy sits over the top of the photo, so the scrim turns vertical and the
     subject is shifted down-right to stay clear of the text */
  .hero--light { min-height: 94vh; min-height: 94svh; padding: 130px 0 340px; }
  .hero--light .hero-bg img { object-position: 64% 16%; }
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(250, 251, 245, 0.88) 0%,
      rgba(250, 251, 245, 0.84) 46%,
      rgba(250, 251, 245, 0.74) 62%,
      rgba(250, 251, 245, 0.46) 74%,
      rgba(250, 251, 245, 0.12) 88%,
      rgba(250, 251, 245, 0) 100%);
  }
  .hero-grid { grid-template-columns: 1fr; }
  .hero--light .hero-content { max-width: none; }
  .hero-badges { max-width: 560px; }
  .trust-strip-section { display: block; }
  .split, .split--text-first { grid-template-columns: 1fr; gap: 50px; }
  .split--text-first .detail-media { order: -1; max-width: 560px; width: 100%; margin: 0 auto; }
  .about-media { max-width: 560px; margin: 0 auto; width: 100%; }
  .contact-panels { grid-template-columns: 1fr; }   /* green info panel on top, form below */
}
@media (max-width: 767px) {
  .hero { min-height: 80vh; min-height: 80svh; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .invest-row { grid-template-columns: 1fr; gap: 2px; padding: 16px 22px; }
}
@media (max-width: 640px) {
  :root { --section-pad: 60px; --gap: 20px; }
  .card-grid, .card-grid--2, .card-grid--4, .values, .check-list, .includes, .step-cards { grid-template-columns: 1fr; }
  .step-card:not(:last-child)::after { display: block; top: 100%; left: 40px; width: 0; height: var(--gap); border-top: 0; border-left: 2px dashed var(--connector); }
  .mini-stats { display: grid; grid-template-columns: repeat(2, 1fr); }
  .section-head { margin-bottom: 40px; }
  .pickup-banner { padding: 24px; }
  .hero-cta { max-width: none; }
  .hero-badges { gap: 12px 18px; margin-top: 36px; }
}
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .hero { padding-top: 120px; }
  .hero--light { padding: 112px 0 300px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: 1.6px; gap: 10px; }
  .hero-eyebrow span { width: 20px; }
  .hero--light .hero-actions .btn { width: auto; flex: 1 1 auto; }
  .btn-circle { width: 50px; height: 50px; }
  .hero-cta { padding-left: 18px; }
  .hero-actions .btn { width: 100%; }
  .card { padding: 26px 22px; }
  .contact-info, .contact-form-panel { padding: 32px 24px; }
  .contact-motif { width: 190px; height: 190px; right: -36px; bottom: -46px; }
  .about-media { padding: 0 30px 50px 0; }
  .about-experience-badge { width: 112px; left: -8px; top: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .cta-banner { padding: 68px 0 64px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
  .timeline-step { grid-template-columns: 44px 1fr; gap: 16px; }
  .timeline-num { width: 44px; height: 44px; font-size: 17px; }
  .timeline-step:not(:last-child)::before { left: 21px; top: 44px; }
  .timeline-body { padding: 18px 20px; }
}

/* =========================================================
   MOBILE HEROES (<=767px)
   Placed after every other breakpoint so these rules win on order alone.
   Nothing here applies at >=768px: desktop and tablet are untouched.
   ========================================================= */

/* ---------- A. Home hero: photo moves OUT of the background ----------
   The photo is 16:9, so at phone widths object-fit:cover is height-limited
   (390/1920 = 0.20 vs the hero's 0.91) and crops ~1360px off the sides with
   no vertical overflow to pan through. Any background treatment therefore
   puts the subject's face somewhere behind the copy. Rather than fight it
   with scrims, the photo stops being a background on mobile: .hero is
   already display:flex/column, so .hero-bg is reordered below the text as a
   normal block. No markup change, and the existing <img> keeps its alt.
   Runs to 1023px: from 768 to 1023px the full-bleed photo was cropped into a portrait box with
   the copy over the subject (live check 2026-11-27), so tablets stack like phones. */
@media (max-width: 1023px) {
  .hero--light {
    min-height: 0;                     /* content height — no dead space */
    padding: 108px 0 52px;
    background: #FAFBF5;               /* flat off-white under the whole hero */
    justify-content: flex-start;
  }
  .hero--light .hero-scrim { display: none; }   /* nothing left to scrim */
  .hero--light .hero-grid { order: 1; }

  .hero--light .hero-bg {
    order: 2;
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 32px var(--gutter) 0 clamp(22px, 4.5vw, 68px);  /* aligns with .hero--light .container */
    border-radius: 24px;
    overflow: hidden;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .hero--light .hero-bg picture { display: block; width: 100%; height: 100%; }
  .hero--light .hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 60% 34%;          /* her face and the cloth, centred */
    border-radius: 24px;
  }

  /* Book Now takes the row; the round call button stays beside it. */
  .hero--light .hero-actions { flex-wrap: nowrap; gap: 12px; margin-top: 28px; }
  .hero--light .hero-actions .btn { flex: 1 1 auto; width: auto; justify-content: center; }
  .hero--light .hero-actions .btn-circle { flex: 0 0 auto; }

  /* 2x2 instead of a four-row column. */
  .hero-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px; max-width: 430px;
    margin-top: 28px; padding-top: 20px;
  }
  .hero-badges li { font-size: 12px; gap: 8px; line-height: 1.35; }
  .hero-badge-ico { width: 22px; height: 22px; }
  .hero-badge-ico svg { width: 12px; height: 12px; }
}
/* Tablet (768-1023px) refinements of the stacked hero: the photo block starts at the text
   column's left edge (the .hero--light .container inset), is capped at 720px (same 24px radius),
   and the CTAs keep their natural width on one row. */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero--light .hero-bg {
    width: min(720px, calc(100% - 2 * clamp(22px, 4.5vw, 68px)));
    margin: 36px 0 0 clamp(22px, 4.5vw, 68px);
  }
  .hero--light .hero-actions .btn { flex: 0 0 auto; }
}
/* ---------- B. Service-page banners, stacked (phones, tablets and small laptops, up to 1279px) ----------
   Each banner is 2.4:1 with the product at one edge and up to the full height of the art, and the
   copy is centred. As a full-bleed background (the old phone/tablet treatment) the copy covered
   5-60% of the product and the scrim cut its brightness to 27-42% (measured 2026-11-27). So the
   art leaves the background, like the light hero: copy on the hero's solid --secondary green, then
   the banner as a rounded block with no scrim, cropped to the product edge (100% / 0% center).
   16:9 on tablets shows 74% of the width at full height; 4:3 on phones (below) shows 56%.
   Runs to 1279px: at 1024-1279 the full-width layout still put 15-28% of the product under the
   centred copy (measured 2026-11-27), so those widths stack too. */
@media (max-width: 1279px) {
  .hero--service { min-height: 0; padding: 126px 0 56px; justify-content: flex-start; }
  .hero--service .hero-content { padding-top: 0; }
  .hero--service .hero-icon { margin-top: 14px; }
  .hero--service .hero-actions { margin-top: 24px; gap: 12px; }
  .hero--service .hero-note { margin-top: 16px; }
  .hero--service::after { display: none; }
  .hero--service .hero-bg {
    order: 2;
    position: static;
    inset: auto;
    width: min(720px, calc(100% - 2 * var(--gutter)));
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 36px auto 0;
    border-radius: 24px;
    overflow: hidden;
  }
  .hero--service .hero-bg picture { display: block; width: 100%; height: 100%; }
  .hero--service .hero-bg img { border-radius: 24px; }
  .hero--service .hero-bg img,
  .hero--subj-right .hero-bg img { object-position: 100% center; }
  .hero--subj-left .hero-bg img { object-position: 0% center; }
}
/* Phones: 4:3, so the product is drawn ~30% larger than at 16:9 in the 324-350px column
   (e.g. the shoe ~189px wide instead of ~146px at 360). Width stays the content column. */
@media (max-width: 767px) {
  .hero--service .hero-bg { aspect-ratio: 4 / 3; margin-top: 30px; }
}
@media (max-width: 767px) {
  /* ---------- Shared chrome ---------- */
  /* Nav pill: the logo sits 15px inside it, the hamburger's bars 19px (its
     44px tap target carries 10px of internal padding). Trimming the shell's
     right padding to 4px makes both optical gaps 15px. */
  .nav-shell { padding-right: 4px; }

  /* Keep the FAB out of the badge grid's right column. The corner offset
     alone cannot clear it on short viewports, so script.js adds .is-tucked
     whenever the button's rect actually meets a badge or a hero CTA.
     visibility (not display) keeps its box, so the hit test cannot flap. */
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .wa-float svg { width: 27px; height: 27px; }
  .wa-float.is-tucked {
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  [data-animate] { opacity: 1; transform: none; }
}

/* =========================================================
   FRANCHISE HOMEPAGE (index.html) + SITE NAV — 2026-11-19 restructure
   index.html is the franchise homepage; services.html is the old consumer home.
   Additive only: nothing above is changed.
   ========================================================= */
/* Nav: "Enquire" is the primary pill, inside the link pill so it shows in every nav state */
.nav-menu .nav-enquire { margin-left: 8px; }
@media (max-width: 799px) {
  .nav-menu .nav-enquire { margin: 24px 0 0; align-self: flex-start; }
}

/* Native <select> in the franchise enquiry form, matched to .field input */
.field select {
  width: 100%; min-height: 52px; padding: 14px 16px; font: inherit; font-size: 15px;
  border: 1.5px solid var(--border-field); border-radius: var(--radius-md);
  background: var(--bg-white); color: var(--text-dark); transition: border-color 0.2s, box-shadow 0.2s;
}
.field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108, 194, 74, 0.15); }
.field select:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.field.invalid select { border-color: #c62828; }

/* Franchise hero (index.html, .hero--light layout): quiet link to the consumer page under the badges */
.hero-alt { margin-top: 20px; font-size: 14px; color: var(--text-body); }
.hero-alt a { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; }
.hero-alt a:hover { color: var(--text-dark); }

/* Compact service strip on the franchise homepage */
.services-compact .service-media { height: 160px; }
.services-compact .service-body { padding: 20px; }

/* Franchise teaser on services.html: the pickup banner in the light accent tone */
.pickup-banner--franchise { background: var(--accent); color: var(--text-body); border: 1px solid var(--border-light); }
.pickup-banner--franchise:hover { background: var(--accent-light); }
.pickup-banner--franchise h3 { color: var(--secondary); }
.pickup-banner--franchise .pickup-banner-cta { background: var(--secondary); color: var(--text-white); }

/* Services hero photo (services.html only; index.html keeps hero.jpg and the shared .hero--light positions).
   The subject (woman + machine) fills the right ~45% of a 2.15:1 photo; the left is plain wall under the scrim. */
.hero--services .hero-bg img { object-position: 70% center; }
@media (max-width: 1023px) {
  /* Stacked 4:3 block (phones and tablets): 90% keeps the woman, the machine door and most of the basket in frame */
  .hero--services .hero-bg img { object-position: 90% center; }
}

/* Investment & Requirements cards (index.html #investment): full-bleed 3:2 photo on top, icon tile overlapping its bottom edge */
.invest-tile { padding-top: 0; overflow: hidden; }
.invest-tile-img {
  display: block;
  width: calc(100% + 60px);          /* bleed through the card's 30px side padding */
  max-width: none;
  margin: 0 -30px;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;   /* inside the 1px card border */
}
.invest-tile-img--investment { object-position: center; }
.invest-tile-img--space { object-position: 40% center; }
.invest-tile-img--support { object-position: 45% 30%; }
/* The shared 2-column .card-grid (641-1000px) left the third tile alone on its own row.
   800-1000px: 3 equal columns (each tile is >= 220px there). 641-799px: tiles would be < 220px
   in 3 columns, so keep 2 and centre the third tile at the same width as the others. */
@media (min-width: 800px) and (max-width: 1000px) {
  #investment .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 641px) and (max-width: 799px) {
  #investment .card-grid > .invest-tile:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - var(--gap)) / 2);
  }
}
.invest-tile .icon-card-ico {
  position: relative;
  margin-top: -28px;                 /* half the 56px tile */
  box-shadow: 0 0 0 4px var(--bg-white), var(--shadow-md);
}

/* Forms: Web3Forms honeypot, inline field errors, consent checkbox */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.field-error { font-size: 13.5px; color: #c62828; }
.field-error:empty { display: none; }
.consent { display: flex; align-items: flex-start; gap: 12px; }
.consent input[type="checkbox"] { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--secondary); cursor: pointer; }
.consent label { font-weight: 400; font-size: 14px; line-height: 1.5; color: var(--text-body); cursor: pointer; }
.consent a { color: var(--secondary); font-weight: 600; text-decoration: underline; }
.field.invalid .consent input[type="checkbox"] { outline: 2px solid #c62828; outline-offset: 2px; }

/* Legal pages (privacy.html, terms.html): plain reading column below the fixed navbar.
   The body is the client's text pasted verbatim, so the "Last updated" line is styled
   by position (first paragraph after the h1) rather than by a class. */
.legal-page { padding-top: calc(var(--nav-solid-h) + 64px); }
.legal { max-width: 760px; line-height: 1.7; overflow-wrap: break-word; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); }
.legal h1 + p { margin-top: 10px; font-size: 14px; color: var(--text-muted); }
.legal h2 { margin-top: 40px; font-size: 21px; }
.legal h3 { margin-top: 24px; font-size: 17px; font-weight: 600; }
.legal p { margin-top: 12px; }
.legal ul { list-style: disc; margin-top: 12px; padding-left: 1.4em; }
.legal li + li { margin-top: 8px; }
.legal li::marker { color: var(--text-muted); }
.legal li > p { margin-top: 0; }
.legal a { color: var(--secondary); font-weight: 600; text-decoration: underline; }

/* Mobile menu (<=799px): white panel with dark green text. Overrides the green gradient drawer in the
   @media (max-width: 799px) NAVBAR block above; placed last so no earlier rule wins. Logo unchanged. */
@media (max-width: 799px) {
  .nav-menu { background: #FFFFFF; background-image: none; }
  .nav-menu::before, .nav-menu::after { background: #FFFFFF; background-image: none; }
  .nav-link, .navbar.scrolled .nav-link { color: var(--text-dark); }
  .nav-link:hover, .navbar.scrolled .nav-link:hover { background: var(--accent-light); color: var(--secondary); }
  .nav-link.active, .navbar.scrolled .nav-link.active,
  .nav-dropdown.active > .nav-link, .navbar.scrolled .nav-dropdown.active > .nav-link { background: var(--accent); color: var(--secondary); }
  .dropdown-item { color: var(--text-dark); }
  .dropdown-item:hover, .dropdown-item[aria-current="page"] { background: var(--accent-light); color: var(--secondary); }
  .dd-icon { background: var(--accent); color: var(--secondary); }
  .navbar.open .nav-toggle span { background: var(--secondary); }
  .nav-menu .nav-enquire { background: var(--primary); color: var(--text-dark); box-shadow: 0 4px 12px -6px rgba(108, 194, 74, 0.45); }
}

/* Addresses: contact-panel ADDRESS row (two <address> blocks) and footer */
.contact-list li.ci-address { align-items: flex-start; }
.ci-address > div { min-width: 0; }
.ci-addr { font-style: normal; line-height: 1.55; }
.ci-addr strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.ci-addr + .ci-addr { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.ci-addr-contact { display: block; font-size: 14px; font-weight: 400; color: rgba(255, 255, 255, 0.88); }
.ci-addr-contact:first-of-type { margin-top: 4px; }
.ci-addr-contact a { overflow-wrap: anywhere; }
.contact-list .ci-directions { display: block; width: fit-content; margin-top: 6px; font-size: 13.5px; font-weight: 500; color: #9FD77F; text-decoration: underline; }
.contact-list .ci-directions:hover { color: var(--text-white); }
.footer-addr { font-style: normal; line-height: 1.5; }
.footer-addr strong { display: block; font-weight: 600; color: var(--text-dark); }

/* Header logo, enlarged (header only; footer and 404 logos unchanged).
   Desktop over the hero: 52px -> 68px (+30%), top moved 21px -> 13px so its centre stays at 47px, level with the pill.
   Desktop scrolled bar: 36px -> 47px (+30%, fits the 72px bar's 52px content height).
   Mobile header and menu overlay (same element): 36px -> 42px (+15%, still under the 44px hamburger). */
@media (max-width: 799px) {
  .navbar .logo-mark { width: 42px; height: 42px; border-radius: 12px; }
}
@media (min-width: 800px) {
  .navbar.scrolled .logo-mark { width: 47px; height: 47px; border-radius: 13px; }
  .navbar:not(.scrolled) .logo { top: 13px; }
  .navbar:not(.scrolled) .logo-mark { width: 68px; height: 68px; border-radius: 20px; }
}
/* 800-919px over the hero: the "Franchise Enquiry" pill (652px) centred would overlap the 68px logo
   (24px clearance only from ~919px). Right-align the pill and trim link/button side padding here only. */
@media (min-width: 800px) and (max-width: 919px) {
  .navbar:not(.scrolled) .nav-bar { align-self: flex-end; }
  .navbar:not(.scrolled) .nav-link { padding-left: 12px; padding-right: 12px; }
  .navbar:not(.scrolled) .nav-enquire { padding-left: 16px; padding-right: 16px; }
}

/* index.html: while #testimonials (bg-white) is hidden, #about and #enquire would both be bg-light and run together.
   Switch #enquire to white so the white/light alternation holds. Stops applying once `hidden` is removed. */
#testimonials[hidden] + #enquire { background: var(--bg-white); }

/* services.html: Download Brochure under the service cards (reuses .btn .btn-primary; .btn's 8px gap spaces the icon).
   Ships `hidden` until the final brochure exists; the [hidden] rule keeps it hidden if display is ever set here. */
.services-brochure { margin-top: 40px; text-align: center; }
.services-brochure[hidden] { display: none; }
.services-brochure .btn svg { flex-shrink: 0; }
.services-brochure__meta { margin-top: 10px; font-size: 13px; color: var(--text-muted); }
@media (max-width: 767px) {
  .services-brochure .btn { width: 100%; max-width: 360px; }
}
