/* ==========================================================================
   CAN 2 CURB — Design System
   Bin valet service, Edmonton, Alberta
   --------------------------------------------------------------------------
   Single source of truth for colours, type, spacing, components.
   Reused across every page. Edit tokens here to re-theme the whole site.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand colours */
  --evergreen: #143D32;      /* primary brand */
  --evergreen-700: #0F2F27;  /* darker sections */
  --evergreen-900: #0A211B;  /* deepest */
  --green: #72D572;          /* CTAs, highlights, interactive */
  --green-600: #4FB85B;      /* hover / stronger green */
  --green-100: #E4F6E4;      /* soft green tint */
  --cream: #F6F3EA;          /* warm page background */
  --charcoal: #18201D;       /* primary text */
  --grey: #E7EBE8;           /* soft dividers/surfaces */
  --grey-500: #5B6B63;       /* muted text (AA on cream/white) */
  --white: #FFFFFF;
  --amber: #F2B84B;          /* optional warm accent */

  /* Semantic */
  --bg: var(--cream);
  --surface: var(--white);
  --text: var(--charcoal);
  --text-muted: var(--grey-500);
  --border: #DDE3DE;
  --focus: #1B6B4F;

  /* Typography */
  --font-heading: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Fluid type scale (clamp: min, preferred, max) */
  --fs-eyebrow: 0.8125rem;
  --fs-small: 0.9375rem;
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --fs-h4: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  --fs-h1: clamp(2.25rem, 1.7rem + 2.6vw, 3.75rem);
  --fs-display: clamp(2.5rem, 1.8rem + 3.4vw, 4.5rem);

  /* Line heights */
  --lh-tight: 1.1;
  --lh-heading: 1.18;
  --lh-body: 1.65;

  /* Spacing scale */
  --space-2xs: 0.375rem;
  --space-xs: 0.625rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --container: 1200px;   /* max content width (1180–1280 range) */
  --container-narrow: 820px;
  --gutter: clamp(1.125rem, 4vw, 2.5rem);

  /* Radius */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(20, 61, 50, 0.06), 0 2px 6px rgba(20, 61, 50, 0.06);
  --shadow: 0 6px 18px rgba(20, 61, 50, 0.10), 0 2px 6px rgba(20, 61, 50, 0.06);
  --shadow-lg: 0 18px 44px rgba(20, 61, 50, 0.16), 0 6px 14px rgba(20, 61, 50, 0.08);
  --shadow-green: 0 10px 30px rgba(79, 184, 91, 0.28);

  /* Transitions */
  --t-fast: 140ms cubic-bezier(0.4, 0, 0.2, 1);
  --t: 240ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 420ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Z-index */
  --z-nav: 100;
  --z-menu: 200;
  --z-skip: 300;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px; /* clears sticky nav on anchor jumps */
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* guard against accidental horizontal scroll */
}

img, svg, picture, video { display: block; max-width: 100%; height: auto; }
svg { height: auto; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: var(--lh-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--evergreen);
  text-wrap: balance;
}

p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--green); color: var(--evergreen-900); }

/* --------------------------------------------------------------------------
   3. LAYOUT HELPERS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3.5rem, 8vw, var(--space-3xl)); }
.section--tight { padding-block: clamp(2.5rem, 5vw, var(--space-2xl)); }

.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--grey { background: var(--grey); }
.section--evergreen {
  background: var(--evergreen);
  color: #E9F1EC;
}
.section--evergreen h1,
.section--evergreen h2,
.section--evergreen h3,
.section--evergreen h4 { color: var(--white); }

.stack > * + * { margin-top: var(--space-md); }

/* Section intro block */
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, var(--space-xl)); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-heading);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.85rem;
}
.section--evergreen .eyebrow { color: var(--green); }
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow.center { justify-content: center; }

.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.lead {
  font-size: var(--fs-lead);
  color: var(--text-muted);
  line-height: 1.6;
}
.section--evergreen .lead { color: #C6D6CE; }

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--green);
  --btn-fg: var(--evergreen-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95em 1.6em;
  min-height: 52px; /* generous touch target */
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid transparent;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t);
  will-change: transform;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-green); }
.btn:active { transform: translateY(0); }
.btn .btn__icon { transition: transform var(--t); }
.btn:hover .btn__icon { transform: translateX(3px); }

.btn--primary { --btn-bg: var(--green); --btn-fg: var(--evergreen-900); }
.btn--primary:hover { background: var(--green-600); color: var(--white); }

.btn--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--evergreen);
  border-color: var(--evergreen);
}
.btn--secondary:hover {
  background: var(--evergreen);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--evergreen);
  border-color: var(--border);
}
.btn--ghost:hover { background: var(--white); border-color: var(--evergreen); box-shadow: var(--shadow-sm); }

.btn--on-dark {
  --btn-bg: var(--green);
  --btn-fg: var(--evergreen-900);
}
.btn--on-dark.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--on-dark.btn--secondary:hover { background: rgba(255,255,255,0.12); border-color: var(--white); box-shadow: none; }

.btn--lg { font-size: 1.0625rem; padding: 1.05em 1.9em; min-height: 58px; }
.btn--sm { min-height: 44px; padding: 0.7em 1.2em; font-size: 0.9375rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* --------------------------------------------------------------------------
   5. LINKS
   -------------------------------------------------------------------------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--evergreen);
  border-bottom: 2px solid transparent;
  transition: color var(--t), border-color var(--t);
}
.link-arrow svg { transition: transform var(--t); }
.link-arrow:hover { color: var(--green-600); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--evergreen .link-arrow { color: var(--green); }

/* --------------------------------------------------------------------------
   6. SKIP LINK & UTILITIES
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: var(--z-skip);
  background: var(--evergreen);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top var(--t);
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  padding: 0.35em 0.85em;
  border-radius: var(--radius-pill);
  background: var(--green-100);
  color: var(--evergreen);
}
.pill--amber { background: #FBEECB; color: #7A5A12; }
.pill--popular { background: var(--green); color: var(--evergreen-900); }
.pill--todo { background: #FDE8E1; color: #8A3B1E; }

/* Placeholder marker for content Doug must supply (visible on page) */
.placeholder-note {
  border: 2px dashed var(--green-600);
  background: var(--green-100);
  color: #14503A;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: var(--fs-small);
}
.placeholder-note strong { color: var(--evergreen); }

/* --------------------------------------------------------------------------
   7. ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.announce {
  background: var(--evergreen-900);
  color: #DCEBE1;
  font-size: var(--fs-small);
}
.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.6rem var(--gutter);
  text-align: center;
  position: relative;
}
.announce__text { font-weight: 500; }
.announce__text strong { color: var(--green); font-weight: 700; }
.announce__close {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #A9C4B6;
  transition: background var(--t), color var(--t);
}
.announce__close:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.announce[hidden] { display: none; }

/* --------------------------------------------------------------------------
   8. NAVIGATION
   -------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: var(--z-nav); }

.nav {
  background: rgba(246, 243, 234, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background var(--t), box-shadow var(--t), border-color var(--t);
}
.nav.is-scrolled {
  background: rgba(246, 243, 234, 0.94);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding-block: 0.5rem;
  transition: min-height var(--t);
}
.nav.is-scrolled .nav__inner { min-height: 62px; }

/* Wordmark / logo */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3125rem;
  letter-spacing: -0.02em;
  color: var(--evergreen);
  line-height: 1;
  white-space: nowrap;
}
.brand__text .two { color: var(--green-600); }

.nav__links { display: flex; align-items: center; gap: 0.25rem; }
.nav__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--evergreen);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: background var(--t), color var(--t);
}
.nav__link:hover { background: rgba(20,61,50,0.06); }
.nav__link[aria-current="page"] { color: var(--green-600); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.35rem;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.nav__cta { margin-left: 0.4rem; }

/* Hamburger */
.nav__toggle {
  display: none;
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}
.nav__toggle:hover { background: rgba(20,61,50,0.06); }
.burger { position: relative; width: 24px; height: 16px; }
.burger span {
  position: absolute; left: 0; height: 2.5px; width: 100%;
  background: var(--evergreen); border-radius: 2px;
  transition: transform var(--t), opacity var(--t), top var(--t);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 7px; }
.burger span:nth-child(3) { top: 14px; }
.nav__toggle[aria-expanded="true"] .burger span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .burger span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Mobile menu panel */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 86vw);
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  padding: 5.5rem var(--gutter) 2rem;
  transform: translateX(100%);
  transition: transform var(--t-slow);
  z-index: var(--z-menu);
  overflow-y: auto;
}
.nav__mobile.is-open { transform: translateX(0); }
.nav__mobile a.nav__link {
  display: block;
  font-size: 1.125rem;
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}
.nav__mobile a.nav__link[aria-current="page"]::after { display: none; }
.nav__mobile .btn { margin-top: 1.5rem; }
.nav__backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10, 33, 27, 0.5);
  z-index: var(--z-menu);
  opacity: 0;
  transition: opacity var(--t);
}
.nav__backdrop.is-open { opacity: 1; }

body.menu-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   9. CARDS
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}
.card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--green-100);
  color: var(--evergreen);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { font-size: var(--fs-h4); margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); }

.grid { display: grid; gap: clamp(1.1rem, 2.5vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------------------------------------
   10. TRUST STRIP
   -------------------------------------------------------------------------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.trust-strip__item { display: flex; align-items: center; gap: 0.85rem; }
.trust-strip__icon {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--evergreen);
}
.trust-strip__item span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--evergreen);
}

/* --------------------------------------------------------------------------
   11. STEPS (How it works)
   -------------------------------------------------------------------------- */
.steps { position: relative; }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem); position: relative; z-index: 1; }
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.step__num {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--evergreen-900);
  background: var(--green);
  border-radius: 50%;
  margin-bottom: 1.1rem;
}
.step h3 { font-size: var(--fs-h4); margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); }

/* Animated route line connecting steps (desktop) */
.steps__route {
  position: absolute;
  top: 52px; left: 12%; right: 12%;
  height: 3px;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}
.steps__route path { stroke: var(--green-600); stroke-width: 3; stroke-dasharray: 8 8; fill: none; opacity: 0.55; }

/* --------------------------------------------------------------------------
   12. FORMS
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.4rem; }
.field label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--evergreen);
}
.field .req { color: #B4491F; }
.field .hint { font-size: 0.8125rem; color: var(--text-muted); font-weight: 400; }

.input, .select, .textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  color: var(--text);
  min-height: 52px;
  transition: border-color var(--t), box-shadow var(--t);
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23143D32' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(27, 107, 79, 0.18);
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: #C0492A;
  box-shadow: 0 0 0 3px rgba(192, 73, 42, 0.15);
}
.field__error {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #B4491F;
  min-height: 0;
}

/* Checkbox */
.checkbox { display: flex; align-items: flex-start; gap: 0.7rem; }
.checkbox input { width: 22px; height: 22px; flex: none; margin-top: 0.15rem; accent-color: var(--green-600); }
.checkbox label { font-weight: 500; font-family: var(--font-body); font-size: var(--fs-small); color: var(--text); }

/* Honeypot (hidden from humans, catches bots) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Form status regions */
.form-status { border-radius: var(--radius); padding: 1rem 1.25rem; font-size: var(--fs-small); }
.form-status--error {
  background: #FDE8E1; color: #8A3B1E; border: 1px solid #F3C4B2;
}
.form-status--error ul { margin-top: 0.4rem; padding-left: 1.1rem; list-style: disc; }
.form-status[hidden] { display: none; }

.form-success { text-align: center; padding: 2rem 1rem; }
.form-success__check { width: 72px; height: 72px; margin: 0 auto 1rem; }
.form-success h3 { margin-bottom: 0.4rem; }
.form-success p { color: var(--text-muted); }
.form-success[hidden] { display: none; }

/* Animated success checkmark */
.success-check { width: 72px; height: 72px; }
.success-check circle { stroke: var(--green-600); stroke-width: 3; fill: none; stroke-dasharray: 166; stroke-dashoffset: 166; animation: sc-circle 0.5s ease forwards; }
.success-check path { stroke: var(--green-600); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: sc-check 0.35s 0.45s ease forwards; }
@keyframes sc-circle { to { stroke-dashoffset: 0; } }
@keyframes sc-check { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .success-check circle, .success-check path { animation: none; stroke-dashoffset: 0; }
}

/* Button loading spinner */
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn__spinner { display: none; width: 18px; height: 18px; }
.btn.is-loading .btn__spinner { display: inline-block; animation: spin 0.7s linear infinite; }
.btn.is-loading .btn__label { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   13. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.35rem 0.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-h4);
  color: var(--evergreen);
}
.faq__icon {
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  border: 2px solid var(--green-600);
  position: relative;
  transition: background var(--t);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 14px; height: 2.5px; background: var(--green-600); border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform var(--t), background var(--t);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__trigger[aria-expanded="true"] .faq__icon { background: var(--green); }
.faq__trigger[aria-expanded="true"] .faq__icon::before,
.faq__trigger[aria-expanded="true"] .faq__icon::after { background: var(--evergreen-900); }
.faq__trigger[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--t-slow);
}
.faq__panel-inner { padding: 0 0.25rem 1.5rem; color: var(--text-muted); }
.faq__panel-inner p + p { margin-top: 0.75rem; }

/* --------------------------------------------------------------------------
   14. BEFORE / AFTER TOGGLE
   -------------------------------------------------------------------------- */
.beforeafter__toggle {
  display: inline-flex;
  background: var(--grey);
  border-radius: var(--radius-pill);
  padding: 5px;
  gap: 4px;
  margin: 0 auto 2rem;
}
.beforeafter__toggle button {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  color: var(--evergreen);
  transition: background var(--t), color var(--t);
}
.beforeafter__toggle button[aria-pressed="true"] { background: var(--evergreen); color: var(--white); }
.beforeafter__toggle button.is-after[aria-pressed="true"] { background: var(--green-600); color: var(--white); }

.ba-panel { display: none; }
.ba-panel.is-active { display: block; animation: fadeUp var(--t-slow) both; }
.ba-list { display: grid; gap: 0.85rem; }
.ba-list li {
  display: flex; align-items: center; gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--evergreen);
}
.ba-list .ba-ic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; }
.ba-list.before .ba-ic { background: #FBE3D9; color: #B4491F; }
.ba-list.after .ba-ic { background: var(--green-100); color: var(--green-600); }

/* --------------------------------------------------------------------------
   15. PRICING
   -------------------------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 1.75rem); align-items: stretch; }
.price-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: transform var(--t), box-shadow var(--t);
}
.price-card--featured {
  border: 2px solid var(--green);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.price-card--featured::before {
  content: "Most Popular";
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: var(--evergreen-900);
  font-family: var(--font-heading); font-weight: 800; font-size: 0.75rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.35rem 1rem; border-radius: var(--radius-pill);
  white-space: nowrap;
}
.price-card__name { font-family: var(--font-heading); font-weight: 800; font-size: var(--fs-h4); color: var(--evergreen); }
.price-card__desc { color: var(--text-muted); font-size: var(--fs-small); margin-top: 0.35rem; min-height: 2.6em; }
.price-card__price { margin: 1.25rem 0 0.25rem; }
.price-card__amount { font-family: var(--font-heading); font-weight: 800; font-size: 2.25rem; color: var(--evergreen); letter-spacing: -0.02em; }
.price-card__period { color: var(--text-muted); font-size: 0.9375rem; }
.price-card__ph { font-size: 0.75rem; color: var(--green-600); font-weight: 700; margin-top: 0.35rem; }
.price-card ul { margin: 1.5rem 0; display: grid; gap: 0.7rem; }
.price-card li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9375rem; }
.price-card li svg { flex: none; margin-top: 2px; color: var(--green-600); }
.price-card .btn { margin-top: auto; }

/* Comparison table */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius-lg); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--white); }
table.compare th, table.compare td { padding: 1rem 1.15rem; text-align: left; border-bottom: 1px solid var(--border); }
table.compare thead th { font-family: var(--font-heading); color: var(--evergreen); font-size: 0.9375rem; background: var(--cream); }
table.compare tbody th { font-weight: 600; color: var(--evergreen); }
table.compare td { color: var(--text-muted); font-size: 0.9375rem; }
table.compare td .yes { color: var(--green-600); font-weight: 700; }
table.compare tr:last-child td, table.compare tr:last-child th { border-bottom: none; }

/* --------------------------------------------------------------------------
   16. HERO
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero::before { /* subtle green radial glow */
  content: "";
  position: absolute; top: -20%; right: -10%;
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(114, 213, 114, 0.22), transparent 62%);
  pointer-events: none; z-index: 0;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.hero__copy { max-width: 640px; }
.hero h1 { font-size: var(--fs-h1); margin-bottom: 1.1rem; }
.hero h1 .accent { color: var(--green-600); }
.hero__sub { font-size: var(--fs-lead); color: var(--text-muted); margin-bottom: 1.75rem; }
.hero__trust {
  margin-top: 1.5rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--evergreen);
  display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; align-items: center;
}
.hero__trust .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green-600); }

.hero__art { position: relative; }

/* Floating status cards over hero art */
.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 0.7rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.7rem 0.95rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--evergreen);
  z-index: 3;
}
.float-card .fc-ic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--green-100); color: var(--green-600); }
.float-card--1 { top: 8%; left: -4%; }
.float-card--2 { top: 44%; right: -6%; }
.float-card--3 { bottom: 6%; left: 6%; }

/* --------------------------------------------------------------------------
   17. FEATURE / SPLIT SECTIONS
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.feature-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.feature-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.feature-list .fl-ic {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center; border-radius: var(--radius-sm);
  background: var(--green-100); color: var(--evergreen);
}
.feature-list strong { display: block; font-family: var(--font-heading); color: var(--evergreen); font-size: 1.0625rem; }
.feature-list p { color: var(--text-muted); font-size: 0.9375rem; margin-top: 0.15rem; }

/* Problem chips */
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.problem-chip {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.15rem;
  font-weight: 600; color: var(--evergreen); font-size: 0.9375rem;
}
.problem-chip .pc-ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #FBE3D9; color: #B4491F; }

/* --------------------------------------------------------------------------
   18. OWNER / TESTIMONIAL
   -------------------------------------------------------------------------- */
.owner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.owner__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--green-100), var(--grey));
  border: 1px solid var(--border);
  display: grid; place-items: center; text-align: center; padding: 1.5rem;
  color: var(--text-muted); position: relative; overflow: hidden;
}
.owner__sig { font-family: 'Manrope', cursive; font-weight: 800; font-size: 1.75rem; color: var(--evergreen); font-style: italic; }

.benefit-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.benefit-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
}
.benefit-card__quote { font-size: 2.5rem; line-height: 1; color: var(--green); font-family: var(--font-heading); }
.benefit-card p { color: var(--evergreen); font-weight: 600; font-size: 1.0625rem; margin-top: 0.5rem; }
.benefit-card span { display: block; margin-top: 0.75rem; font-size: 0.8125rem; color: var(--text-muted); font-weight: 500; }

/* --------------------------------------------------------------------------
   19. FINAL CTA
   -------------------------------------------------------------------------- */
.final-cta { position: relative; overflow: hidden; }
.final-cta__card {
  background: var(--evergreen);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta__card::after {
  content: ""; position: absolute; bottom: -40%; left: 50%; transform: translateX(-50%);
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(114,213,114,0.28), transparent 65%);
  pointer-events: none;
}
.final-cta__card > * { position: relative; z-index: 1; }
.final-cta h2 { color: var(--white); }
.final-cta p { color: #C6D6CE; max-width: 560px; margin: 1rem auto 0; }
.final-cta .btn-row { justify-content: center; margin-top: 2rem; }
.final-cta__micro { margin-top: 1.25rem; font-size: 0.875rem; color: #9DBAAD; }

/* --------------------------------------------------------------------------
   20. FOOTER
   -------------------------------------------------------------------------- */
.footer { background: var(--evergreen-900); color: #B7CCC0; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer a { color: #B7CCC0; transition: color var(--t); }
.footer a:hover { color: var(--green); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer__brand .brand__text { color: var(--white); }
.footer__brand .brand__text .two { color: var(--green); }
.footer__desc { margin-top: 1rem; font-size: 0.9375rem; max-width: 30ch; }
.footer__col h4 { color: var(--white); font-size: 0.9375rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer__col ul { display: grid; gap: 0.6rem; font-size: 0.9375rem; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer__social a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,0.08);
}
.footer__social a:hover { background: var(--green); color: var(--evergreen-900); }
.footer__disclaimer {
  margin-top: 2.5rem; padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  font-size: 0.8125rem; color: #93AA9E;
}
.footer__bottom {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.8125rem; color: #93AA9E;
}
.footer__bottom-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* --------------------------------------------------------------------------
   21. PAGE HERO (interior pages)
   -------------------------------------------------------------------------- */
.page-hero { background: var(--evergreen); color: #E9F1EC; padding-block: clamp(3rem, 7vw, 5.5rem); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; top: -30%; right: -10%;
  width: 50vw; height: 50vw; max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, rgba(114,213,114,0.18), transparent 62%);
}
.page-hero__inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 { color: var(--white); font-size: var(--fs-h1); margin-bottom: 1rem; }
.page-hero .lead { color: #C6D6CE; }
.breadcrumb { font-size: 0.8125rem; color: #9DBAAD; margin-bottom: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--green); }

/* Persona blocks (Who we help page) */
.persona { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding-block: clamp(2rem, 4vw, 3rem); }
.persona--reverse .persona__media { order: 2; }
.persona__media {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--white);
}
.persona h2 { font-size: var(--fs-h3); }

/* Timeline (How it works page) */
.timeline { position: relative; max-width: 760px; margin-inline: auto; padding-left: 2.5rem; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(var(--green), var(--green-100)); border-radius: 3px; }
.timeline__item { position: relative; padding-bottom: 2.5rem; }
.timeline__item::before {
  content: ""; position: absolute; left: -2.5rem; top: 2px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green); border: 4px solid var(--cream);
  box-shadow: 0 0 0 1px var(--green-600);
}
.timeline__item h3 { font-size: var(--fs-h4); margin-bottom: 0.4rem; }
.timeline__item p { color: var(--text-muted); }

/* Neighbourhood list (Service areas) */
.area-group { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.area-group summary {
  cursor: pointer; list-style: none;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-heading); font-weight: 700; color: var(--evergreen);
  display: flex; align-items: center; justify-content: space-between;
}
.area-group summary::-webkit-details-marker { display: none; }
.area-group summary::after { content: "+"; font-size: 1.5rem; color: var(--green-600); transition: transform var(--t); }
.area-group[open] summary::after { transform: rotate(45deg); }
.area-group__body { padding: 0 1.35rem 1.35rem; }
.area-group__body ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.5rem 1rem; }
.area-group__body li { color: var(--text-muted); font-size: 0.9375rem; padding: 0.2rem 0; }

/* Map placeholder */
.map-ph {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 40%, rgba(114,213,114,0.25), transparent 40%),
    radial-gradient(circle at 70% 65%, rgba(114,213,114,0.18), transparent 40%),
    var(--evergreen);
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
}

/* Long-form prose (legal & content pages) */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: var(--fs-h3); margin-top: 2.5rem; }
.prose h3 { font-size: var(--fs-h4); margin-top: 1.75rem; }
.prose p, .prose li { color: var(--text); line-height: 1.7; }
.prose ul, .prose ol { padding-left: 1.4rem; display: grid; gap: 0.5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--green-600); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--evergreen); }
.prose .muted { color: var(--text-muted); font-size: var(--fs-small); }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* --------------------------------------------------------------------------
   22. SCROLL REVEAL
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Hero bin roll animation */
@keyframes binRoll {
  0% { transform: translateX(0) rotate(0deg); }
  100% { transform: translateX(var(--roll-dist, 40px)) rotate(0deg); }
}
@keyframes wheelSpin { to { transform: rotate(360deg); } }
.js-roll .bin-group { animation: binRoll 1.4s cubic-bezier(0.34, 1.2, 0.64, 1) both; }
.js-roll .bin-wheel { transform-box: fill-box; transform-origin: center; animation: wheelSpin 1.4s linear both; }

.js-draw .route-draw { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); animation: draw 1.6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* --------------------------------------------------------------------------
   23. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile { display: block; }
  .nav__backdrop { display: block; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { max-width: 520px; margin-inline: auto; width: 100%; }
  .float-card--1 { left: 0; }
  .float-card--2 { right: 0; }

  .split, .owner, .persona, .persona--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media, .persona--reverse .persona__media { order: 0; }

  .steps__grid { grid-template-columns: 1fr; }
  .steps__route { display: none; }

  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); text-align: left; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .price-card--featured { order: -1; }
  .benefit-cards { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .float-card { font-size: 0.75rem; padding: 0.55rem 0.75rem; }
  .float-card--2 { display: none; }
  .btn-row .btn { width: 100%; }
  .hero .btn-row .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   24. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   25. PRINT (light touch)
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .footer, .announce, .final-cta { display: none; }
  body { background: #fff; color: #000; }
}
