/* =====================================================================
   NestFlo global stylesheet
   Brand palette (Navy / Teal / Steel) +
   the trades-modern-premium structural discipline (whitespace, rhythm,
   custom easings, restrained motion).
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0');

/* ---------------------------------------------------------------- tokens */
:root {
  /* Backgrounds — cool neutrals */
  --bg-app:     #f4f7fb;   /* Cool Mist — page background */
  --bg-surface: #ffffff;   /* cards, surfaces */
  --bg-elev:    #eef2f9;   /* elevated / alternating sections */
  --bg-deep:    #e2e9f4;   /* deeper backdrops */
  --bg-dark:    #0c2a52;   /* Navy — dark sections */

  /* Brand — navy (from logo) */
  --brand:        #0f2d59; /* Navy — primary CTA / ink */
  --brand-bright: #17407a; /* hover variant */
  --brand-deep:   #0a2447; /* deepest navy */

  /* Accent — teal (from logo) */
  --teal:        #2bb0a3;  /* bright teal — fills, dark-section CTA */
  --teal-strong: #0f8579;  /* deep teal — text / icons / links on light */
  --teal-soft:   #d8efec;  /* light teal tint background */

  /* Secondary — steel */
  --steel:       #6f88ad;  /* muted steel-blue */
  --steel-soft:  #e6ecf6;  /* soft steel tint background */

  /* Legacy palette names — aliased onto the new scheme */
  --sage:            var(--steel);
  --sage-soft:       var(--steel-soft);
  --sand:            var(--teal);
  --sand-soft:       var(--teal-soft);
  --terracotta:      var(--teal-strong);
  --terracotta-soft: var(--teal-soft);

  /* Text */
  --ink:       #0f2d59;
  --ink-muted: #48597a;
  --ink-soft:  #7686a3;
  --ink-faint: #aebbd2;

  /* Lines */
  --hairline:        #e5eaf3;
  --hairline-strong: #ccd6e6;

  /* Layout */
  --container: 1180px;
  --container-narrow: 760px;

  /* Radius — soft, warm, restrained */
  --radius:    14px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  /* Shadows — hairline ring + drop (navy tinted) */
  --shadow-sm: 0 1px 2px rgba(15,45,89,.05), 0 0 0 1px rgba(15,45,89,.04);
  --shadow-md: 0 6px 20px rgba(15,45,89,.08), 0 0 0 1px rgba(15,45,89,.04);
  --shadow-lg: 0 18px 48px rgba(15,45,89,.14), 0 0 0 1px rgba(15,45,89,.04);
  --shadow-brand: 0 8px 24px rgba(15,45,89,.24);

  /* Easings */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Fonts — Poppins display, Inter body */
  --font-display: 'Poppins', 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

/* dark section token flip */
[data-theme="dark"] {
  --bg-app: var(--bg-dark);
  --bg-surface: rgba(255,255,255,0.05);
  --bg-elev: rgba(255,255,255,0.07);
  --ink: #ffffff;
  --ink-muted: rgba(255,255,255,0.74);
  --ink-soft: rgba(255,255,255,0.55);
  --ink-faint: rgba(255,255,255,0.30);
  --hairline: rgba(255,255,255,0.14);
  --hairline-strong: rgba(255,255,255,0.30);
  --sage-soft: rgba(255,255,255,0.06);
}

/* ---------------------------------------------------------------- reset */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg-app);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------------------------------------------------------------- layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 96px 0 80px; }              /* asymmetric rhythm */
.section--tight { padding: 72px 0 64px; }
.section--elev { background: var(--bg-elev); }
.section--dark { background: var(--bg-dark); }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-muted); max-width: 56ch; }
.measure { max-width: 65ch; }

/* ---------------------------------------------------------------- type */
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--ink); font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.1; }
h3 { font-size: 1.35rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
p { color: var(--ink-muted); }
.ink-fade { color: var(--sage); }              /* split-color 2nd clause */
.tnum { font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--terracotta);
  margin-bottom: 16px;
}
[data-theme="dark"] .eyebrow { color: var(--sand); }

.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head p { margin-top: 14px; font-size: 1.1rem; }

/* icon helper */
.msym { font-family: 'Material Symbols Outlined'; font-weight: normal; font-style: normal;
  line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap;
  -webkit-font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--radius-sm); white-space: nowrap;
  font-weight: 600; font-size: 0.95rem; border: 1px solid transparent;
  transition: transform 200ms var(--ease-out), background 200ms var(--ease-out),
              box-shadow 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.btn:active { transform: scale(0.97); transition-duration: 100ms; }
.btn .msym { font-size: 18px; }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-bright); transform: translateY(-1px); box-shadow: var(--shadow-brand); }

.btn-accent { background: var(--teal); color: var(--brand-deep); }
.btn-accent:hover { background: #22a89a; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(43,176,163,.32); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--hairline-strong); }
.btn-outline:hover { background: var(--sage-soft); border-color: var(--brand); }
[data-theme="dark"] .btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

.btn-lg { padding: 15px 26px; font-size: 1rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 4px; color: var(--brand); font-weight: 600; font-size: 0.95rem; }
[data-theme="dark"] .link-arrow { color: var(--sand); }
.link-arrow .msym { font-size: 18px; transition: transform 200ms var(--ease-out); }
.link-arrow:hover .msym { transform: translateX(3px); }

.cta-pair { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-or { flex: none; font-weight: 600; color: var(--ink-soft); font-size: 0.92rem; }
.cta-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.cta-phone .msym { color: var(--terracotta); font-size: 20px; }

/* ---------------------------------------------------------------- chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: var(--bg-surface); border: 1px solid var(--hairline);
  font-size: 0.85rem; font-weight: 500; color: var(--ink-muted);
}
.chip .msym { font-size: 16px; color: var(--sage); }
.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: var(--sage-soft); color: var(--brand);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em;
}
.hero-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: 74px;
  background: rgba(244,247,251,0.9);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-lockup { display: flex; align-items: center; }
/* stacked lockup, so it needs more of the 74px header than the old wide mark */
.brand-lockup img { height: 54px; width: auto; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.brand-word .a { color: var(--brand); }
.brand-word .b { color: var(--sage); }

.nav { display: flex; align-items: center; gap: 24px; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--ink-muted); padding: 4px 0; white-space: nowrap; transition: color 160ms var(--ease-out); }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--brand); margin-top: 4px; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; color: var(--ink); }
.nav-toggle .msym { font-size: 28px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 72px 0 44px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(var(--hairline) 1px, transparent 1px),
                    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 44px 44px; opacity: 0.4;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 30% 0%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 30% 0%, #000 20%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas: "chip media" "copy media"; column-gap: 56px; row-gap: 16px; align-items: center; }
.hero-grid > .hero-chip { grid-area: chip; align-self: end; justify-self: start; }
.hero-copy { grid-area: copy; align-self: start; }
.hero h1 { margin: 0 0 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-media { grid-area: media; position: relative; align-self: center; }
.hero-media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  filter: contrast(1.02) saturate(0.97); }
.hero-media .badge {
  position: absolute; right: -18px; bottom: -18px;
  background: var(--bg-surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-md); padding: 14px 18px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
}
.hero-media .badge .msym { color: var(--terracotta); font-size: 26px; }
.hero-media .badge b { font-size: 0.98rem; color: var(--ink); }
.hero-media .badge span { display: block; font-size: 0.8rem; color: var(--ink-soft); }

/* ---------------------------------------------------------------- trust strip */
.trust-strip { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--bg-surface); }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 26px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .msym { font-size: 26px; color: var(--brand); }
.trust-item span { font-size: 0.92rem; font-weight: 500; color: var(--ink); line-height: 1.35; }

/* ---------------------------------------------------------------- cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card {
  background: var(--bg-surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-md); padding: 28px;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--hairline-strong); }
.card .icon-wrap {
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: var(--sage-soft); display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon-wrap .msym { font-size: 24px; color: var(--brand); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.96rem; margin-bottom: 16px; }
.svc-card { display: flex; flex-direction: column; }
.svc-card .price { font-weight: 700; color: var(--ink); font-size: 0.9rem; }
.svc-card .price span { color: var(--ink-soft); font-weight: 500; }
.svc-card .link-arrow { margin-top: auto; }

/* value cards (why-us) */
.value-card { background: transparent; border: none; padding: 0; }
.value-card:hover { transform: none; box-shadow: none; }
.value-card .icon-wrap { background: var(--brand); }
.value-card .icon-wrap .msym { color: #fff; }
[data-theme="dark"] .value-card .icon-wrap { background: rgba(255,255,255,0.1); }

/* ---------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num {
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sand-soft); color: var(--terracotta); margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: 0.93rem; }

/* grid children must be allowed to shrink below intrinsic (image/long-word) width,
   otherwise fr tracks overflow the viewport. */
.hero-grid > *, .about-teaser > *, .contact-grid > *, .grid-2 > *, .grid-3 > * { min-width: 0; }
h1, h2, h3, p { overflow-wrap: break-word; }

/* ---------------------------------------------------------------- about teaser */
.about-teaser { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.about-teaser.no-photo { grid-template-columns: 1fr; max-width: var(--container-narrow); }
.about-teaser .portrait { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: var(--bg-elev); }
.about-teaser .portrait { align-self: center; max-width: 340px; margin-inline: auto; }
.about-teaser .portrait img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; object-position: center top; filter: contrast(1.02) saturate(0.97); }
.about-teaser p + p { margin-top: 16px; }
.about-teaser h2 + p { margin-top: 18px; }

/* ---------------------------------------------------------------- before/after */
.ba { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ba figure { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--hairline); background: var(--bg-surface); position: relative; }
.ba figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: contrast(1.02) saturate(0.97); }
.ba figcaption {
  position: absolute; top: 12px; left: 12px;
  background: rgba(15,45,89,0.9); color: #fff;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 5px 10px; border-radius: var(--radius-pill);
}
.ba figure.after figcaption { background: rgba(15,133,121,0.94); }

/* ---------------------------------------------------------------- chips grid */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------------- promise / quote */
.promise { max-width: 760px; margin-inline: auto; text-align: center; }
.promise .stars { color: var(--sand); display: inline-flex; gap: 2px; margin-bottom: 20px; }
.promise .stars .msym { font-size: 22px; font-variation-settings: 'FILL' 1; }
.promise blockquote { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.35; letter-spacing: -0.02em; color: var(--ink); }
.promise cite { display: block; margin-top: 22px; font-style: normal; font-size: 0.95rem; color: var(--ink-soft); }
.promise cite b { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; background: var(--bg-surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-md); padding: 32px 28px; position: relative; }
.price-card.featured { border-color: var(--brand); box-shadow: var(--shadow-md); }
.price-card .tag { position: absolute; top: -12px; left: 28px; background: var(--terracotta); color: #fff;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; padding: 5px 12px; border-radius: var(--radius-pill); }
.price-card h3 { margin-bottom: 6px; }
.price-card .amt { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.03em; color: var(--ink); margin: 10px 0 4px; }
.price-card .amt small { font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); }
.price-card .desc { font-size: 0.95rem; margin-bottom: 20px; }
.price-card ul.feat { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.price-card ul.feat li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--ink-muted); }
.price-card ul.feat .msym { font-size: 19px; color: var(--sage); flex: none; }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-card .price-offer { color: var(--teal-strong); font-weight: 700; }
/* two-tier layout: keep the cards from stretching across the full width */
.price-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }

/* ---------------------------------------------------------------- add-on prices */
.svc-card .addon-price {
  display: flex; align-items: baseline; gap: 5px; margin-bottom: 4px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  letter-spacing: -0.02em; color: var(--ink);
}
.svc-card .addon-price small {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft);
}
.addon-note {
  margin-top: 28px; text-align: center; font-size: 0.95rem;
  color: var(--ink-muted); max-width: 68ch; margin-inline: auto;
}
.addon-note a { color: var(--teal-strong); font-weight: 600; }

/* ---------------------------------------------------------------- location pages */
.loc-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.loc-hero-media img {
  width: 100%; height: auto; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); display: block;
}
.crumbs {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 18px;
}
.crumbs a { color: var(--ink-muted); }
.crumbs a:hover { color: var(--teal-strong); }
.crumbs .msym { font-size: 16px; color: var(--ink-faint); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.measure-wide { max-width: 72ch; }
.measure-wide p + p { margin-top: 16px; }
/* chips used as links on the nearby-areas row */
a.chip { text-decoration: none; transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out); }
a.chip:hover { border-color: var(--teal); color: var(--teal-strong); }

@media (max-width: 900px) {
  .loc-hero { grid-template-columns: 1fr; gap: 32px; }
  .loc-hero-media { order: -1; }
}

/* ---------------------------------------------------------------- CTA band */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { max-width: 52ch; margin: 0 auto 30px; font-size: 1.1rem; }
.cta-band .cta-pair { justify-content: center; }

/* ---------------------------------------------------------------- areas cards */
.area-card { display: flex; flex-direction: column; }
.area-card .msym.place { font-size: 28px; color: var(--terracotta); margin-bottom: 14px; }
.area-card h3 { margin-bottom: 8px; }
.area-card p { font-size: 0.95rem; margin-bottom: 16px; }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-family: inherit; font-size: 0.95rem; color: var(--ink);
  background: var(--bg-surface); border: 1px solid var(--hairline-strong); border-radius: var(--radius-sm);
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15,45,89,0.14);
}
.field textarea { resize: vertical; min-height: 120px; }
.info-card { background: var(--bg-elev); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: 28px; }
.info-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.info-row:last-child { border-bottom: none; }
.info-row .msym { font-size: 22px; color: var(--brand); flex: none; }
.info-row .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); font-weight: 600; }
.info-row .val { font-size: 1rem; color: var(--ink); font-weight: 500; }
.form-note { display: none; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--sage-soft); color: var(--brand); font-size: 0.92rem; font-weight: 500; }
.form-note.show { display: block; }
.form-note--error { background: #fdeaea; color: #8c1c1c; }
.form-note--error a { color: #8c1c1c; font-weight: 700; text-decoration: underline; }
/* success state — replaces the form outright so a completed submit cannot be missed */
#quote-form[hidden] { display: none; }
.form-success { display: none; background: var(--bg-surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  padding: 48px 32px; text-align: center; }
.form-success.show { display: block; animation: form-success-in 460ms var(--ease-out) both; }
.form-success:focus { outline: none; }
.form-success .msym { font-size: 60px; line-height: 1; color: var(--teal-strong); }
.form-success h2 { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.25;
  color: var(--ink); margin: 16px 0 0; }
.form-success p { color: var(--ink-muted); font-size: 1rem; margin: 12px auto 0; max-width: 34em; }
.form-success .fs-alt { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--hairline);
  font-size: 0.94rem; }
.form-success .fs-alt a { color: var(--teal-strong); font-weight: 700; white-space: nowrap; }
@keyframes form-success-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
/* spam honeypot: hidden from people, visible to bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--hairline); padding: 4px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-family: var(--font-display); font-weight: 700;
  font-size: 1.08rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .msym { color: var(--sage); transition: transform 200ms var(--ease-out); }
.faq details[open] summary .msym { transform: rotate(45deg); }
.faq p { padding: 0 0 20px; font-size: 0.98rem; max-width: 65ch; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.74); padding: 64px 0 32px; }
.site-footer a { color: rgba(255,255,255,0.74); transition: color 160ms var(--ease-out); }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.12); }
/* stacked lockup, so taller than the wide mark it replaced.
   width:auto is required, or the width attribute stretches it. */
.footer-brand img { height: 76px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.95rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; font-size: 0.93rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px;
  font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ---------------------------------------------------------------- coupon bar + coupon */
.topbar { background: var(--brand); color: #fff; font-size: 0.85rem; }
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 9px 24px; flex-wrap: wrap; text-align: center; }
.topbar .msym { font-size: 18px; color: var(--sand); }
.topbar b { color: #fff; background: rgba(255,255,255,0.16); padding: 2px 9px;
  border-radius: var(--radius-pill); font-weight: 700; letter-spacing: 0.04em; }
.topbar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; white-space: nowrap; }
@media (max-width: 600px) { .topbar a { display: none; } .topbar .container { font-size: 0.8rem; } }

.coupon { display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border: 1.5px dashed var(--terracotta); border-radius: var(--radius-md); background: var(--terracotta-soft); }
.coupon .msym { font-size: 30px; color: var(--terracotta); flex: none; }
.coupon b { display: block; color: var(--ink); font-size: 1rem; }
.coupon .sub { font-size: 0.9rem; color: var(--ink-muted); }
.coupon code, .coupon-note code { background: #fff; border: 1px solid var(--terracotta);
  color: var(--terracotta); font-weight: 700; padding: 1px 8px; border-radius: 6px;
  font-family: inherit; letter-spacing: 0.04em; }
.coupon-note { display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 0.88rem; color: var(--ink-muted); margin: -4px 0 18px; }
.coupon-note .msym { font-size: 17px; color: var(--terracotta); }

/* coupon ticket — lives under the hero CTAs, so it hugs its content and sits
   left with the copy column rather than floating centered across the page */
.coupon-strip { display: flex; align-items: center; justify-content: center; gap: 8px 10px;
  flex-wrap: wrap; width: fit-content; max-width: 100%; margin: 22px 0 0; text-align: center;
  padding: 13px 20px; font-family: var(--font-display);
  font-size: 1rem; font-weight: 600; color: var(--ink);
  background: var(--teal-soft); border: 2px dashed var(--teal-strong);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.coupon-strip .cs-ic { color: var(--teal-strong); font-size: 24px; }
.coupon-strip b { color: var(--teal-strong); font-weight: 800; font-size: 1.5rem; line-height: 1; }
/* emphasis, not a control: a filled pill here reads as a clickable button */
.coupon-strip .cs-code { font-weight: 700; color: var(--teal-strong); white-space: nowrap; }
@media (max-width: 520px) {
  .coupon-strip { font-size: 0.98rem; padding: 14px 16px; gap: 8px; }
  .coupon-strip b { font-size: 1.35rem; }
}

/* ---------------------------------------------------------------- how it works */
.book-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
.book-way { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--bg-surface);
  border: 1px solid var(--hairline); border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), border-color 200ms var(--ease-out); }
.book-way:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.book-way .lead-ic { flex: none; width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: var(--sage-soft); color: var(--brand); font-size: 24px; display: grid; place-items: center; }
.book-way .bw-text { display: flex; flex-direction: column; line-height: 1.3; }
.book-way .bw-text b { color: var(--ink); font-size: 1.02rem; }
.book-way .bw-text span { font-size: 0.88rem; color: var(--ink-soft); }
.book-way .go { margin-left: auto; color: var(--sage); font-size: 20px; transition: transform 200ms var(--ease-out); }
.book-way:hover .go { transform: translateX(3px); color: var(--brand); }
.book-note { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
  font-size: 0.92rem; color: var(--ink-muted); margin: 0 0 40px; text-align: center; }
.book-note .msym { color: var(--terracotta); font-size: 19px; }
.book-note b { color: var(--ink); font-weight: 700; letter-spacing: 0.02em; }

.steps-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step-card { position: relative; background: var(--bg-surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-md); padding: 26px 22px 24px; box-shadow: var(--shadow-sm); }
.step-card .step-num { position: absolute; top: -15px; left: 22px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 0.9rem;
  display: grid; place-items: center; box-shadow: var(--shadow-brand); }
.step-card .icon-wrap { margin: 6px 0 14px; }
.step-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step-card p { font-size: 0.93rem; }
@media (max-width: 860px) {
  .book-ways { grid-template-columns: 1fr; }
  .steps-flow { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
}
@media (max-width: 520px) { .steps-flow { grid-template-columns: 1fr; gap: 26px; } }

/* ---------------------------------------------------------------- service area map */
.area-map-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 48px; align-items: center; }
.map-card { position: relative; z-index: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--hairline); background: var(--bg-elev); }
#area-map { width: 100%; height: 460px; background: var(--bg-elev); }
.leaflet-container { font-family: var(--font-body); }
.leaflet-tooltip.map-label { background: #fff; border: 1px solid var(--hairline-strong); border-radius: 8px;
  box-shadow: var(--shadow-sm); font-family: var(--font-body); font-weight: 600; font-size: 0.78rem;
  color: var(--ink); padding: 3px 9px; white-space: nowrap; }
.leaflet-tooltip.map-label::before { display: none; }
.leaflet-bar a { color: var(--ink) !important; }
@media (max-width: 900px) {
  .area-map-grid { grid-template-columns: 1fr; gap: 28px; }
  #area-map { height: 320px; }
}

/* ---------------------------------------------------------------- gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery-item { border: 1px solid var(--hairline); border-radius: var(--radius-md); overflow: hidden;
  background: var(--bg-surface); cursor: zoom-in; padding: 0; display: block; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  transition: transform 0.45s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item:hover { box-shadow: var(--shadow-md); }

/* homepage before/after showcase — grid on desktop, carousel on mobile */
.gallery-showcase .section-head { margin-bottom: 34px; }
.ba-carousel { position: relative; }
.ba-track { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 920px; margin-inline: auto; }
.ba-slide { margin: 0; border: 1px solid var(--hairline); border-radius: var(--radius-md);
  overflow: hidden; background: var(--bg-surface); box-shadow: var(--shadow-sm); }
.ba-slide img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.ba-nav { display: none; }
@media (max-width: 640px) {
  .ba-track { display: flex; gap: 12px; overflow-x: auto; max-width: none;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: 2px; }
  .ba-track::-webkit-scrollbar { display: none; }
  .ba-slide { flex: 0 0 100%; scroll-snap-align: start; }
  .ba-nav { display: inline-flex; align-items: center; justify-content: center;
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: var(--radius-pill); overflow: hidden;
    background: var(--bg-surface); color: var(--ink); border: 1px solid var(--hairline-strong);
    box-shadow: var(--shadow-md); cursor: pointer; z-index: 2;
    transition: opacity 160ms var(--ease-out), background 160ms var(--ease-out); }
  .ba-prev { left: 4px; }
  .ba-next { right: 4px; }
  .ba-nav:active { transform: translateY(-50%) scale(0.93); }
  .ba-nav:disabled { opacity: 0.3; cursor: default; box-shadow: var(--shadow-sm); }
  .ba-nav .msym { font-size: 26px; }
}

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,36,71,0.94);
  display: none; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; transition: opacity 0.25s var(--ease-out); }
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; width: auto; height: auto;
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; background: rgba(255,255,255,0.12); color: #fff; border: none;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  transition: background 160ms var(--ease-out); }
.lightbox button:hover { background: rgba(255,255,255,0.26); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.75); font-size: 0.85rem; font-weight: 500; }
.lightbox .msym { font-size: 26px; }
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .lightbox .lb-prev { left: 10px; } .lightbox .lb-next { right: 10px; }
}

/* ---------------------------------------------------------------- reveal motion */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out); }
.stagger.in-view > * { opacity: 1; transform: translateY(0); }
.stagger.in-view > *:nth-child(1) { transition-delay: 0ms; }
.stagger.in-view > *:nth-child(2) { transition-delay: 60ms; }
.stagger.in-view > *:nth-child(3) { transition-delay: 120ms; }
.stagger.in-view > *:nth-child(4) { transition-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .stagger > * { transform: none; transition: opacity 0.3s ease; }
  .form-success.show { animation: none; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .hero { padding: 28px 0 32px; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "chip" "media" "copy"; row-gap: 22px; }
  .hero-media { max-width: 560px; margin-inline: auto; }
  /* hero CTAs: stacked, centered, equal width, with "or" between */
  .cta-pair.cta-pair-or { flex-direction: column; align-items: center; gap: 10px; }
  .cta-pair.cta-pair-or .btn { width: 100%; max-width: 340px; justify-content: center; }
  .about-teaser { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
/* collapse nav to hamburger early enough that the full row never overflows */
@media (max-width: 1000px) {
  .nav-menu { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand-lockup img { height: 46px; }
  /* dropdown panel holds links + the Book button */
  .nav.open .nav-menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 74px; left: 0; right: 0; background: var(--bg-surface);
    border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
    box-shadow: var(--shadow-md); padding: 6px 24px 18px;
  }
  .nav.open .nav-links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav.open .nav-links li { border-bottom: 1px solid var(--hairline); }
  .nav.open .nav-links li:last-child { border-bottom: none; }
  .nav.open .nav-links a { display: block; width: 100%; padding: 15px 2px; font-size: 1.02rem; }
  .nav.open .nav-links a.active { border-bottom: none; margin-top: 0; color: var(--brand); font-weight: 700; }
  .nav.open .nav-cta { display: flex; margin-top: 16px; }
  .nav.open .nav-cta .btn { width: 100%; justify-content: center; padding: 14px; }
}
@media (max-width: 820px) {
  .grid-3, .grid-2, .steps, .price-grid { grid-template-columns: 1fr; }
  .trust-strip .container { grid-template-columns: 1fr 1fr; gap: 18px; }
  .ba { grid-template-columns: 1fr; }
  .section { padding: 72px 0 60px; }
}
@media (max-width: 480px) {
  .trust-strip .container { grid-template-columns: 1fr; }
  .brand-lockup img { height: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .cta-pair { flex-direction: column; align-items: stretch; }
  .cta-pair .btn { justify-content: center; }
  /* keep the locations chip on a single line on small phones */
  .hero-chip { font-size: 0.74rem; padding: 6px 12px; gap: 6px; }
  /* full-bleed hero image, tight to the nav */
  .hero { padding-top: 14px; }
  .hero-media { max-width: none; margin-inline: -24px; }
  .hero-media img { border-radius: 0; }
  .hero-media .badge { right: 12px; bottom: 12px; }
}

/* ---------------------------------------------------------------- contact page */
/* The form is the whole point of this page, so the preamble stays short enough
   that a real field is visible in the first screen. Scoped to .contact-hero
   rather than .section--tight, which 15 other pages rely on. */
.contact-hero { padding: 36px 0 18px; }
.contact-hero .lead { font-size: 1.06rem; }
.contact-form-section { padding-top: 0; padding-bottom: 64px; }
@media (max-width: 720px) {
  .contact-hero { padding: 22px 0 10px; }
  .contact-hero h1 { font-size: 1.8rem; line-height: 1.15; }
  .contact-hero .lead { font-size: 1rem; }
}

/* ---------------------------------------------------------------- legal pages */
/* Long-form prose: narrower measure, clear heading rhythm, visible links.
   Reuses .contact-hero for the tight header, so no new hero rules needed. */
.legal { max-width: 78ch; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-muted); line-height: 1.7; }
.legal p { margin-bottom: 14px; }
.legal b { color: var(--ink); font-weight: 600; }
.legal ul { margin: 0 0 18px; }
.legal li { position: relative; padding-left: 22px; margin-bottom: 9px; }
.legal li::before { content: ""; position: absolute; left: 5px; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal-strong); }
.legal a { color: var(--teal-strong); font-weight: 600; text-decoration: underline; }
.legal a:hover { color: var(--brand); }
.legal-meta { font-size: 0.9rem; color: var(--ink-soft); margin-top: 10px; }
.footer-bottom a { color: rgba(255,255,255,0.72); text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }
