/* ==========================================================================
   Tsawwassen Garage Doors — Coastal-Premium Design System
   Hand-written CSS. No frameworks.
   Palette: deep ocean teal, warm sand, charcoal, off-white.
   ========================================================================== */

:root {
  /* Brand colours */
  --teal: #0E5A63;
  --teal-dark: #0A444B;
  --teal-darker: #073138;
  --sand: #E8C9A0;
  --sand-soft: #F2E2CC;
  --charcoal: #1C2B2D;
  --charcoal-soft: #3A4B4D;
  --offwhite: #FAF7F2;
  --white: #FFFFFF;
  --line: #E4DCCF;
  --muted: #6B7779;

  /* Functional */
  --success: #2E7D5B;
  --danger: #C0492F;

  /* Type */
  --font-head: "Sora", "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4.5rem;
  --sp-7: 6.5rem;

  /* Layout */
  --maxw: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(7, 49, 56, 0.06);
  --shadow: 0 14px 40px rgba(7, 49, 56, 0.12);
  --shadow-lg: 0 26px 70px rgba(7, 49, 56, 0.18);
  --header-h: 76px;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--offwhite);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.2rem; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--charcoal); line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
p { color: var(--charcoal-soft); }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; border-radius: 4px; }

/* ----- Layout helpers ----- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: var(--sp-7); }
.section--tight { padding-block: var(--sp-5); }
.section--alt { background: var(--white); }
.section--sand { background: var(--sand-soft); }
.section--teal { background: var(--teal); color: var(--white); }
.section--teal h2, .section--teal h3 { color: var(--white); }
.section--teal p { color: rgba(255,255,255,0.86); }
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  display: inline-block;
  margin-bottom: var(--sp-1);
}
.section--teal .eyebrow { color: var(--sand); }
.lead { font-size: 1.15rem; color: var(--charcoal-soft); max-width: 60ch; }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-inline: auto; }
.measure { max-width: 68ch; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--teal); color: #fff;
  padding: 0.6rem 1rem; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 0.95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 19px; height: 19px; }
.btn--primary { background: var(--sand); color: var(--charcoal); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: #f0d4af; box-shadow: var(--shadow); }
.btn--call { background: var(--teal); color: #fff; }
.btn--call:hover { background: var(--teal-dark); }
.btn--ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: #fff; }
.btn--white { background: #fff; color: var(--teal); }
.btn--white:hover { background: var(--offwhite); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.08rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.center .btn-row { justify-content: center; }

/* ----- Header ----- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); padding-block: 0.5rem; gap: var(--sp-2);
}
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--charcoal); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.7rem; color: var(--teal); letter-spacing: 0.04em; }
.nav { display: flex; align-items: center; gap: 0.3rem; }
.nav a { font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; color: var(--charcoal); padding: 0.5rem 0.7rem; border-radius: 8px; }
.nav a:hover { background: rgba(14,90,99,0.08); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--teal); font-weight: 600; }
.has-drop { position: relative; }
.has-drop > button {
  font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; color: var(--charcoal);
  background: none; border: none; cursor: pointer; padding: 0.5rem 0.7rem; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.has-drop > button:hover { background: rgba(14,90,99,0.08); }
.has-drop > button svg { width: 14px; height: 14px; transition: transform 0.2s; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 0.5rem; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all 0.18s ease; list-style: none; padding-left: 0.5rem;
}
.dropdown li { margin: 0; }
.dropdown a { display: block; padding: 0.6rem 0.8rem; border-radius: 8px; font-weight: 500; font-size: 0.92rem; }
.dropdown a:hover { background: var(--sand-soft); text-decoration: none; }
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-drop:hover > button svg { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 0.7rem; }
.header-phone { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-head); font-weight: 700; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; color: var(--charcoal); }
.nav-toggle svg { width: 30px; height: 30px; }

/* ----- Hero (light theme) ----- */
.hero {
  position: relative; background: linear-gradient(135deg, #E7ECEC 0%, var(--offwhite) 100%);
  color: var(--charcoal); overflow: hidden; border-bottom: 1px solid var(--line);
}
.hero-grid {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-5); align-items: center; padding-block: var(--sp-6);
}
.hero h1 { color: var(--charcoal); }
.hero p { color: var(--charcoal-soft); }
.hero .lead { color: var(--charcoal-soft); }
.hero .eyebrow { color: var(--teal); }
/* On light heroes the white secondary CTA would vanish — make it solid teal. */
.hero .btn--white { background: var(--teal); color: #fff; }
.hero .btn--white:hover { background: var(--teal-dark); color: #fff; }
.hero-cta { margin-top: var(--sp-3); }
.hero-trust { margin-top: var(--sp-3); display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; list-style: none; padding: 0; }
.hero-trust li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; color: var(--charcoal-soft); }
.hero-trust svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
.hero-media { position: relative; }

/* Full-bleed photo hero variant (home page). Light scrim so the photo shows in
   true colour with dark text. Falls back to off-white if the image is missing. */
.hero--image {
  background-color: var(--offwhite);
  background-image:
    linear-gradient(100deg, rgba(250,247,242,0.50) 0%, rgba(250,247,242,0.22) 45%, rgba(250,247,242,0.04) 100%),
    url("/images/hero-tsawwassen-garage-door-repair.webp?v=4");
  background-size: cover;
  background-position: center 48%;
}
.hero--image .hero-grid { grid-template-columns: 1fr; }
.hero--image .hero-media { display: none; }

/* Reusable full-bleed photo hero — set the image per page via the --hero-img
   custom property, e.g. style="--hero-img:url('/images/foo.webp')". */
.hero--photo {
  background-color: var(--offwhite);
  background-image:
    linear-gradient(100deg, rgba(250,247,242,0.50) 0%, rgba(250,247,242,0.22) 45%, rgba(250,247,242,0.04) 100%),
    var(--hero-img);
  background-size: cover;
  background-position: center 42%;
}
.hero--photo .hero-grid { grid-template-columns: 1fr; }
.hero--photo .hero-media { display: none; }

/* Photo heroes: put the text on a subtle frosted panel so the image shows
   through behind/around it while the dark text stays readable. */
.hero--image .hero-copy,
.hero--photo .hero-copy {
  max-width: 680px;
  background: rgba(250, 247, 242, 0.40);
  padding: clamp(1.3rem, 3vw, 2.2rem);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 44px rgba(7, 49, 56, 0.14);
}

/* ----- Mobile: image-forward photo hero -----
   Show a clean garage-door photo; anchor the headline + CTAs on a dark bottom
   gradient so the picture is the star instead of being covered by a text box. */
@media (max-width: 860px) {
  .hero--image, .hero--photo {
    min-height: 82vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
  }
  .hero--image {
    background-image:
      linear-gradient(to top, rgba(7,49,56,0.94) 0%, rgba(7,49,56,0.60) 30%, rgba(7,49,56,0.14) 56%, rgba(7,49,56,0) 100%),
      url("/images/hero-tsawwassen-garage-door-repair.webp?v=4");
    background-position: 42% center;
  }
  .hero--photo {
    background-image:
      linear-gradient(to top, rgba(7,49,56,0.94) 0%, rgba(7,49,56,0.60) 30%, rgba(7,49,56,0.14) 56%, rgba(7,49,56,0) 100%),
      var(--hero-img);
    background-position: center center;
  }
  .hero--image .hero-grid, .hero--photo .hero-grid { padding-block: var(--sp-4) var(--sp-5); }
  /* Drop the frosted panel; white text reads cleanly on the dark bottom scrim. */
  .hero--image .hero-copy, .hero--photo .hero-copy {
    max-width: none; background: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    box-shadow: none; padding: 0;
  }
  .hero--image h1, .hero--photo h1 { color: #fff; }
  .hero--image .eyebrow, .hero--photo .eyebrow { color: var(--sand); }
  /* Keep the hero clean on mobile — the lead + trust repeat in the strip below. */
  .hero--image .lead, .hero--photo .lead { display: none; }
  .hero--image .hero-trust, .hero--photo .hero-trust { display: none; }
  /* White secondary CTA for contrast on the dark scrim. */
  .hero--image .btn--white, .hero--photo .btn--white { background: #fff; color: var(--teal); }
  .hero--image .btn--white:hover, .hero--photo .btn--white:hover { background: var(--offwhite); color: var(--teal); }
}

/* Image placeholders (no real images generated) */
.imgph {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  align-items: center; text-align: center; gap: 0.5rem;
  background:
    repeating-linear-gradient(45deg, rgba(14,90,99,0.05) 0 12px, rgba(14,90,99,0.09) 12px 24px);
  border: 2px dashed rgba(14,90,99,0.35); border-radius: var(--radius-lg);
  color: var(--teal-dark); padding: 1.5rem; min-height: 240px; aspect-ratio: 4 / 3;
  font-family: var(--font-body);
}
.imgph::before { content: "🖼 IMAGE"; font-family: var(--font-head); font-weight: 700; letter-spacing: 0.1em; font-size: 0.7rem; color: var(--teal); opacity: 0.7; }
.imgph .imgph-file { font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; color: var(--teal-dark); word-break: break-word; }
.imgph .imgph-desc { font-size: 0.84rem; color: var(--muted); max-width: 34ch; line-height: 1.4; }
.imgph--wide { aspect-ratio: 16 / 9; }
.imgph--tall { aspect-ratio: 3 / 4; }

/* Real images (after placeholders are swapped by tools/apply_images_to_html.py).
   Mirrors the .imgph sizing so layouts stay identical. */
.site-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); background: var(--sand-soft); }
.site-img--tall { aspect-ratio: 3 / 4; }
.site-img--wide { aspect-ratio: 16 / 9; }
.hero-media .site-img { aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.hero-media .imgph { aspect-ratio: 5/4; min-height: 320px; box-shadow: var(--shadow); }
/* Opener product photos: show the whole unit uncropped on a clean white card. */
.opener-card .site-img { aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }

/* ----- Trust strip ----- */
.trust-strip { background: var(--charcoal); color: #fff; }
.trust-strip ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2rem;
  list-style: none; padding: 1rem 0; margin: 0;
}
.trust-strip li { display: flex; align-items: center; gap: 0.55rem; font-family: var(--font-head); font-weight: 500; font-size: 0.92rem; }
.trust-strip svg { width: 19px; height: 19px; color: var(--sand); flex: none; }

/* ----- Cards / grids ----- */
.grid { display: grid; gap: var(--sp-3); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--sp-3); box-shadow: var(--shadow-sm); transition: transform 0.18s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.2rem; }
.card p { font-size: 0.97rem; }
.card .icon-wrap {
  width: 56px; height: 56px; border-radius: 14px; background: var(--sand-soft);
  display: grid; place-items: center; color: var(--teal); margin-bottom: 0.3rem;
}
.card .icon-wrap svg { width: 30px; height: 30px; }
.card-link { font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; margin-top: auto; display: inline-flex; align-items: center; gap: 0.35rem; }
.card-link svg { width: 16px; height: 16px; transition: transform 0.15s; }
.card:hover .card-link svg { transform: translateX(3px); }
.card--feature { border-top: 4px solid var(--teal); }

/* Section heading block */
.sec-head { margin-bottom: var(--sp-4); }
.sec-head.center { margin-inline: auto; max-width: 50rem; }

/* ----- Feature list with icons ----- */
.checks { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.checks li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 2px; }
.checks span { color: var(--charcoal-soft); }

/* ----- Split content ----- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); align-items: center; }
.split--reverse .split-media { order: 2; }

/* Media that matches the height of the text column beside it (image fills
   the row height and crops to fit instead of setting its own tall aspect). */
.split-media--fill {
  position: relative; align-self: stretch; overflow: hidden;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  background: var(--sand-soft); min-height: 260px;
}
.split-media--fill img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 0; box-shadow: none; aspect-ratio: auto;
}
@media (max-width: 860px) {
  .split-media--fill { align-self: auto; aspect-ratio: 4 / 3; min-height: 0; }
}

/* ----- Steps ----- */
.steps { display: grid; gap: var(--sp-3); grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.step { position: relative; padding-top: 0.5rem; }
.step-num {
  width: 44px; height: 44px; border-radius: 12px; background: var(--teal); color: #fff;
  font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; font-size: 1.1rem; margin-bottom: 0.7rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.step p { font-size: 0.94rem; }

/* ----- CTA band ----- */
.cta-band {
  background: linear-gradient(120deg, var(--teal-dark), var(--teal));
  color: #fff; border-radius: var(--radius-lg); padding: var(--sp-5);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(232,201,160,0.25), transparent 70%); }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,0.9); position: relative; z-index: 1; margin-top: 0.3rem; }
.cta-band .btn-row { position: relative; z-index: 1; }
.cta-band-text { max-width: 40ch; }

/* ----- Reviews ----- */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-3); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 0.7rem; }
.stars { display: flex; gap: 2px; color: #E0A93B; }
.stars svg { width: 18px; height: 18px; }
.review blockquote { font-size: 1rem; color: var(--charcoal); line-height: 1.55; }
.review cite { font-style: normal; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--teal-dark); }
.review cite span { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: 0.82rem; }

/* ----- FAQ ----- */
.faq { display: grid; gap: 0.8rem; max-width: 820px; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 var(--sp-3); box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--charcoal);
  cursor: pointer; list-style: none; padding: 1.15rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--teal); font-weight: 400; transition: transform 0.2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.15rem; color: var(--charcoal-soft); font-size: 0.98rem; }

/* ----- Comparison cards (openers) ----- */
.opener-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--sp-3); align-items: stretch; }
.opener-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-3); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 0.8rem; position: relative; }
.opener-card.is-featured { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.opener-badge { position: absolute; top: -13px; left: var(--sp-3); background: var(--sand); color: var(--charcoal); font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.opener-badge--pop { background: var(--teal); color: var(--offwhite); }
.opener-card h3 { font-size: 1.25rem; }
.opener-price { display: flex; align-items: baseline; gap: 0.35rem; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--teal-dark); margin: -0.2rem 0 0.1rem; }
.opener-price .opener-price-from { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.opener-price .opener-price-note { font-size: 0.72rem; font-weight: 500; color: var(--muted); }
.opener-best { font-size: 0.85rem; font-family: var(--font-head); font-weight: 600; color: var(--teal); background: var(--sand-soft); padding: 0.4rem 0.7rem; border-radius: 8px; align-self: flex-start; }
.opener-card ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 0.5rem; }
.opener-card ul li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.93rem; color: var(--charcoal-soft); }
.opener-card ul li svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 2px; }
.opener-card .btn { margin-top: auto; }

/* ----- Breadcrumbs ----- */
.breadcrumbs { padding-block: 0.9rem; font-size: 0.85rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.breadcrumbs li { display: flex; align-items: center; gap: 0.4rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: var(--line); }
.breadcrumbs a { color: var(--teal); }
.breadcrumbs [aria-current="page"] { color: var(--muted); }

/* ----- Forms ----- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-4); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: var(--sp-2); grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--charcoal); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; padding: 0.8rem 0.9rem; border: 1.5px solid var(--line);
  border-radius: 10px; background: var(--offwhite); color: var(--charcoal); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(14,90,99,0.12); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.6rem; }
.form-aside-list { list-style: none; padding: 0; display: grid; gap: 1rem; }
.form-aside-list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.form-aside-list svg { width: 26px; height: 26px; color: var(--sand); flex: none; }
.form-aside-list strong { font-family: var(--font-head); display: block; color: #fff; }
.form-aside-list span { font-size: 0.92rem; }

/* ----- Areas list ----- */
.pill-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 1rem; font-family: var(--font-head); font-weight: 500; font-size: 0.9rem; color: var(--charcoal); }
.pill:hover { border-color: var(--teal); color: var(--teal); text-decoration: none; }

/* ----- Stat row ----- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.stat { text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 5vw, 2.8rem); color: var(--teal); line-height: 1; }
.section--teal .stat .num { color: var(--sand); }
.stat .label { font-size: 0.9rem; color: var(--muted); margin-top: 0.3rem; }
.section--teal .stat .label { color: rgba(255,255,255,0.85); }

/* ----- Footer ----- */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.78); padding-block: var(--sp-6) var(--sp-3); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--sp-4); }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: var(--sp-2); }
.site-footer a { color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: var(--sand); }
.footer-links { list-style: none; padding: 0; display: grid; gap: 0.55rem; font-size: 0.93rem; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.93rem; margin-top: 0.8rem; max-width: 34ch; }
.footer-phone { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: #fff; margin-top: 0.5rem; }
.footer-phone:hover { color: var(--sand); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: var(--sp-4); padding-top: var(--sp-3); display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: space-between; font-size: 0.84rem; color: rgba(255,255,255,0.55); }
.footer-bottom a { color: rgba(255,255,255,0.7); }

/* ----- Floating mobile call button ----- */
.floating-call {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--teal); color: #fff; text-align: center; padding: 0.95rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  box-shadow: 0 -6px 20px rgba(7,49,56,0.25); align-items: center; justify-content: center; gap: 0.5rem;
}
.floating-call:hover { color: #fff; text-decoration: none; background: var(--teal-dark); }
.floating-call svg { width: 20px; height: 20px; }

/* ----- Misc ----- */
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { display: grid; gap: 0.5rem; }
.badge-note { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--sand-soft); color: var(--teal-dark); font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; padding: 0.5rem 1rem; border-radius: 999px; }
.text-center { text-align: center; }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
}
@media (max-width: 860px) {
  .nav, .header-phone span.long { display: none; }
  .nav-toggle { display: block; }
  .site-header.nav-open .nav {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line);
    padding: 0.6rem; gap: 0.2rem; box-shadow: var(--shadow);
  }
  .site-header.nav-open .nav a, .site-header.nav-open .has-drop > button { width: 100%; }
  .site-header.nav-open .has-drop { position: static; }
  .site-header.nav-open .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; border-left: 2px solid var(--sand); border-radius: 0; margin: 0.2rem 0 0.4rem 0.8rem; padding-left: 0.6rem; min-width: auto;
  }
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .hero-media { order: -1; }
  .split { grid-template-columns: 1fr; gap: var(--sp-4); }
  .split--reverse .split-media { order: 0; }
  .floating-call { display: flex; }
  body { padding-bottom: 60px; }
}
@media (max-width: 480px) {
  .brand { font-size: 0.98rem; }
  .brand small { display: none; }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: var(--sp-4); }
  .section { padding-block: var(--sp-6); }
}
@media (min-width: 681px) and (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
