/* Build it Buddy — site styles
   Tokens first; change brand colors and fonts here.
   Light values live in :root, dark overrides in the [data-theme="dark"] block below it. */
:root {
  color-scheme: light;
  --img-filter: none;
  --footer-bg: #0c1620;
  --footer-line: transparent;
  --footer-logo-tile: #13212e;
  --ink: #13212e;          /* main text */
  --ink-2: #2b3a48;        /* secondary text */
  --muted: #56636f;
  --line: #e6dfd3;
  --line-strong: #d6ccbb;
  --bg: #ffffff;           /* page */
  --surface: #ffffff;      /* cards, inputs, menus */
  --cream: #faf6ef;        /* alternate sections */
  --sand: #f3ebdd;
  --hover: #faf6ef;
  --inverse: #13212e;      /* panels that stay dark in both themes (CTA band, estimate) */
  --selected-bg: #13212e;
  --selected-fg: #ffffff;
  --header-bg: rgba(255, 255, 255, .92);
  --grid-line: rgba(19, 33, 46, .045);
  --logo-tile: #13212e;
  --brand: #c2410c;        /* buttons & links: 5.2:1 on white */
  --brand-hover: #9a3412;
  --on-brand: #ffffff;     /* text on --brand fills */
  --brand-bright: #f97316; /* accents & decoration only */
  --brand-tint: #fff1e6;
  --ok: #15803d;
  --ok-solid: #15803d;
  --ok-tint: #ecfdf3;
  --ok-ink: #14532d;
  --warn: #a16207;
  --warn-tint: #fef9e7;
  --warn-ink: #713f12;
  --err: #b91c1c;
  --err-tint: #fef2f2;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(19, 33, 46, .06), 0 1px 3px rgba(19, 33, 46, .06);
  --shadow: 0 2px 4px rgba(19, 33, 46, .04), 0 10px 30px -8px rgba(19, 33, 46, .16);
  --shadow-lg: 0 24px 60px -20px rgba(19, 33, 46, .35);

  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --mobile-bar-h: 0px;
}

/* Dark theme. A tiny script in <head> sets data-theme on <html> before the page
   paints: the visitor's saved choice from the header toggle, otherwise their
   device setting — so by default the site follows the system automatically. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef2f5;
  --ink-2: #c6d0d8;
  --muted: #97a5b1;
  --line: #253442;
  --line-strong: #364856;
  --bg: #0e1720;
  --surface: #16232f;
  --cream: #121d28;
  --sand: #1a2834;
  --hover: #1f2e3b;
  --inverse: #1c2b38;
  --selected-bg: #eef2f5;
  --selected-fg: #0e1720;
  --header-bg: rgba(14, 23, 32, .88);
  --grid-line: rgba(255, 255, 255, .035);
  --logo-tile: #22364a;
  --brand: #f97316;      /* brighter orange reads better on dark; text on it is dark */
  --brand-hover: #fb923c;
  --on-brand: #13212e;
  --brand-bright: #fb923c;
  --brand-tint: rgba(249, 115, 22, .14);
  --ok: #4ade80;
  --ok-solid: #16a34a;
  --ok-tint: rgba(74, 222, 128, .12);
  --ok-ink: #bbf7d0;
  --warn: #fbbf24;
  --warn-tint: rgba(251, 191, 36, .12);
  --warn-ink: #fde68a;
  --err: #f87171;
  --err-tint: rgba(248, 113, 113, .12);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 2px 4px rgba(0, 0, 0, .2), 0 10px 30px -8px rgba(0, 0, 0, .5);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .7);
  --img-filter: brightness(.9); /* soften light illustrations and photos */
  --footer-bg: #09111a;
  --footer-line: var(--line);
  --footer-logo-tile: #1c2b38;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--mobile-bar-h);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
.hero__media img, .page-hero__media img, .service-card__media img, .split__media img, .team-card img { filter: var(--img-filter); }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); font-weight: 800; }
h2, .h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3, .h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.h4 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 2px; border-radius: 4px; }
::selection { background: #fed7aa; color: #13212e; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--inverse); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.hp { position: absolute; left: -9999px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.075rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 62ch; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--lg { width: 32px; height: 32px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--inverse); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.35em;
  border: 2px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--primary { --btn-bg: var(--brand); --btn-fg: var(--on-brand); box-shadow: 0 6px 18px -6px rgba(194, 65, 12, .55); }
.btn--primary:hover { --btn-bg: var(--brand-hover); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--outline:hover { --btn-bd: var(--ink); --btn-fg: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--brand); padding-inline: .6em; }
.btn--ghost:hover { --btn-fg: var(--brand-hover); text-decoration: underline; }
.btn--light { --btn-bg: #fff; --btn-fg: #13212e; }
.btn--light:hover { --btn-fg: #13212e; --btn-bg: #f3ebdd; }
.btn--sm { min-height: 42px; padding: .5em 1.1em; font-size: .95rem; }
.btn--lg { min-height: 54px; padding: .8em 1.6em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5rem 0 .75rem; }
@media (max-width: 480px) { .actions .btn:not(.btn--ghost), .cta-band__actions .btn { flex: 1 1 100%; } }
.center-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 2.5rem; }
.microcopy { display: flex; align-items: center; gap: .45em; font-size: .9rem; color: var(--muted); margin: 0; }
.microcopy .icon { width: 1em; height: 1em; }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; color: var(--brand); }
.link-arrow .icon { width: 1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(19, 33, 46, .4); }
.site-header .container { max-width: 1360px; } /* a bit wider than the page so the full nav fits */
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.logo-mark { width: 40px; height: 40px; }
.logo-mark rect { fill: var(--logo-tile); }
.brand-name { font: 800 1.3rem/1 var(--font-display); letter-spacing: -.02em; white-space: nowrap; }
.brand-name span { color: var(--brand); }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand-name span { color: var(--brand-bright); }
.brand--light .logo-mark rect { fill: var(--footer-logo-tile); }

/* Theme toggle: shows a moon in light mode, a sun in dark mode. */
.theme-toggle { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink-2); cursor: pointer; transition: color .15s, border-color .15s; }
.theme-toggle:hover { color: var(--brand); border-color: var(--line-strong); }
.theme-toggle .icon { width: 20px; height: 20px; }
.i-sun, [data-theme="dark"] .i-moon { display: none; }
[data-theme="dark"] .i-sun { display: block; }
html:not(.js) [data-theme-toggle] { display: none; }
@media (max-width: 600px) { .header-actions .theme-toggle { display: none; } } /* it's in the menu instead */

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: .98rem; text-decoration: none; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--brand); }
.nav-link[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.has-menu .nav-link { padding-right: 2px; }
.submenu-toggle { display: grid; place-items: center; width: 28px; height: 36px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 6px; }
.submenu-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.has-menu.is-open .submenu-toggle .icon { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 8px); left: -12px; z-index: 10;
  min-width: 320px; padding: 10px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-menu.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .has-menu:hover .nav-menu { opacity: 1; visibility: visible; transform: none; }
}
.nav-menu ul { list-style: none; }
.nav-menu--services a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.nav-menu--services a:hover { background: var(--hover); }
.nav-menu--services strong { display: block; font-size: .98rem; }
.nav-menu--services small { color: var(--muted); font-size: .85rem; }
.nav-menu__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); flex: none; }
.nav-menu--areas { min-width: 380px; }
.nav-menu__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav-menu__cols a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-menu__cols a:hover { background: var(--hover); color: var(--brand); }
.nav-menu__all { display: flex; align-items: center; gap: 6px; margin-top: 6px; padding: 10px; border-top: 1px solid var(--line); font-weight: 700; font-size: .92rem; text-decoration: none; }
.nav-menu__all .icon { width: 1em; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 700; white-space: nowrap; }
.header-phone .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); }
.header-phone small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.header-phone:hover { color: var(--brand); }
.menu-btn { display: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; }
.menu-btn .icon { width: 22px; height: 22px; }

/* Breakpoints measured from the header's real content: full header needs ~1210px,
   without the phone number text ~1070px. Re-measure if nav items are added. */
@media (max-width: 1239px) { .header-phone span { display: none; } .header-phone .icon { width: 42px; height: 42px; padding: 10px; } }
@media (max-width: 1099px) {
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-btn { display: grid; }
}
/* The mobile action bar (≤760px) already has a "Free quote" button. */
@media (max-width: 760px) { .header-cta { display: none; } }
@media (max-width: 480px) {
  :root { --header-h: 64px; }
  .logo-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 1.15rem; }
}

/* ---------- Mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(19, 33, 46, .5); animation: fade .2s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 92vw);
  display: flex; flex-direction: column; background: var(--surface); overflow-y: auto; overscroll-behavior: contain;
  padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom)); animation: slide-in .25s ease-out;
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: 56px; margin-bottom: 8px; }
.drawer__nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.drawer__nav > a, .drawer__nav summary {
  display: flex; align-items: center; justify-content: space-between; padding: 15px 4px;
  border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 1.08rem; text-decoration: none; cursor: pointer; list-style: none;
}
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav summary .icon { width: 20px; transition: transform .2s; }
.drawer__nav details[open] summary .icon { transform: rotate(180deg); }
.drawer__nav details ul { list-style: none; padding: 6px 0 10px; border-bottom: 1px solid var(--line); }
.drawer__nav details a { display: flex; align-items: center; gap: 10px; padding: 10px 6px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.drawer__nav details a .icon { color: var(--brand); width: 20px; }
.drawer__areas { display: grid; grid-template-columns: 1fr 1fr; }
.drawer__actions { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
.drawer__hours { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 4px 0 0; font-size: .9rem; color: var(--muted); }
.drawer__hours .icon { width: 1em; }
body.no-scroll { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(100%); } }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-top: 18px; font-size: .88rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { margin-bottom: .35em; }
.section-head .lead { margin: 0; }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 .9rem; color: var(--brand); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow .icon { width: 1.1em; height: 1.1em; }
@media (max-width: 400px) { .eyebrow--pill { font-size: .8rem !important; } }
.eyebrow--pill { padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); letter-spacing: .04em; text-transform: none; font-size: .9rem; box-shadow: var(--shadow-sm); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--1 { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 28px); box-shadow: var(--shadow-sm); }
.icon-badge { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); flex: none; }
.icon-badge .icon { width: 22px; height: 22px; }
.icon-badge--lg { width: 56px; height: 56px; border-radius: 16px; }
.icon-badge--lg .icon { width: 28px; height: 28px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.badge--sample { background: var(--warn-tint); color: var(--warn); border: 1px dashed var(--warn); }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); background: linear-gradient(180deg, var(--cream), var(--bg) 92%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(180deg, #000, transparent 75%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hl { color: var(--brand); }
.hero .lead { margin-bottom: 1.6rem; }
.hero__media { position: relative; }
.hero__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--sand); }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); font-size: .9rem; line-height: 1.25; }
.float-card .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--ok-tint); color: var(--ok); }
.float-card strong { display: block; }
.float-card small { color: var(--muted); }
/* Cards straddle the image corners so they don't cover the artwork. */
.float-card--a { left: -20px; bottom: -22px; }
.float-card--b { right: -16px; top: -22px; }
.float-card--b .icon { background: var(--brand-tint); color: var(--brand); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin-top: 1.25rem; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.hero__trust li { display: flex; align-items: center; gap: 6px; }
.hero__trust .icon { color: var(--ok); width: 1.15em; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__media { max-width: 560px; margin: 28px auto 24px; width: 100%; }
  .float-card--a { left: 10px; }
  .float-card--b { right: 10px; }
}
@media (max-width: 480px) { .float-card { padding: 8px 10px; font-size: .8rem; } .float-card .icon { width: 30px; height: 30px; padding: 6px; } }

.quick-quote { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); max-width: 620px; }
.quick-quote__title { margin: 0 0 12px; font-weight: 700; }
.quick-quote__fields { display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: 10px; align-items: end; }
.quick-quote .field { margin: 0; }
.quick-quote .btn { grid-column: 1 / -1; min-height: 52px; }
.quick-quote__alt { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 640px) {
  .quick-quote { padding: 16px; }
  .quick-quote__fields { grid-template-columns: minmax(0, 1fr) 104px; }
}

/* ---------- Page hero ---------- */
.page-hero { padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--cream), var(--bg)); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero__grid--solo { grid-template-columns: minmax(0, 860px); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.page-hero__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--sand); }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: minmax(0, 1fr); } .page-hero__media { max-width: 520px; } }
.price-pill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .95rem; }
.price-pill .icon { color: var(--brand); width: 1.1em; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--warn-tint); color: var(--warn-ink); font-size: .95rem; max-width: 62ch; }
.notice .icon { margin-top: 2px; }
.notice--ok { background: var(--ok-tint); color: var(--ok-ink); }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cat-tile { display: flex; flex-direction: column; gap: 6px; padding: 22px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.cat-tile:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.cat-tile .icon-badge { margin-bottom: 8px; }
.cat-tile strong { font-size: 1.05rem; }
.cat-tile small { color: var(--muted); font-size: .85rem; line-height: 1.4; }
.cat-tile__price { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--brand); font-size: .92rem; }
.cat-tile--alt { background: var(--inverse); border-color: var(--inverse); color: #fff; }
.cat-tile--alt:hover { color: #fff; }
.cat-tile--alt small { color: #c7d0d8; }
.cat-tile--alt .cat-tile__price { color: #fdba74; }
.cat-tile--alt .icon-badge { background: rgba(255, 255, 255, .1); color: #fdba74; }
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .cat-tile { padding: 16px 14px; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); list-style: none; counter-reset: s; }
.how-step { position: relative; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.how-step__num { position: absolute; top: 20px; right: 24px; font: 800 3rem/1 var(--font-display); color: var(--sand); }
.how-step .icon-badge { margin-bottom: 18px; }
.how-step p { margin: 0; color: var(--ink-2); }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Promises / values ---------- */
.promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section--cream .promises { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.promise h3 { margin: 14px 0 6px; font-size: 1.12rem; }
.promise p { margin: 0; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 960px) { .section--cream .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .promises, .section--cream .promises { grid-template-columns: minmax(0, 1fr); } }
.split__media img { width: 100%; border-radius: var(--radius-lg); }
.values .value h3 { margin: 12px 0 6px; font-size: 1.1rem; }
.values .value .icon { color: var(--brand); }
.values .value p { margin: 0; color: var(--ink-2); font-size: .97rem; }

/* ---------- Service cards ---------- */
.service-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card__media { display: block; background: var(--sand); aspect-ratio: 4 / 3; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card:hover .service-card__media img { transform: scale(1.03); }
.service-card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 30px 24px 24px; }
.service-card__body .icon-badge { position: absolute; top: -22px; left: 24px; background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow); }
.service-card h3 { margin-bottom: 8px; }
.service-card h3 a { color: var(--ink); text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; }
.service-card { position: relative; }
.service-card h3 a:hover { color: var(--brand); }
.service-card p { color: var(--ink-2); font-size: .97rem; }
.service-card__price { margin: auto 0 0; padding-top: 8px; color: var(--muted); font-size: .92rem; }
.service-card__price strong { color: var(--ink); font-size: 1.05rem; }

/* ---------- Chips / lists ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.chip .icon { width: 1em; color: var(--brand); }
.chip--muted { background: transparent; border-style: dashed; color: var(--muted); font-weight: 500; }
.chips--lg .chip { padding: 9px 16px; font-size: .95rem; }
.section--cream .chip:not(.chip--muted) { background: var(--surface); }
.check-list { display: grid; gap: 12px; list-style: none; margin-bottom: 1.5rem; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { width: 24px; height: 24px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--ok-tint); color: var(--ok); stroke-width: 3; }
.related-list { display: grid; gap: 10px; list-style: none; }
.related-list a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.related-list a:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.related-list a > .icon { margin-left: auto; color: var(--muted); }
.related-list small { display: block; color: var(--muted); }
.area-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; list-style: none; margin-bottom: 1.5rem; }
.area-links a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; font-size: .96rem; }
.area-links a .icon { color: var(--brand); width: 1.1em; }
.area-links a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Pricing ---------- */
.price-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.price-card h3 .icon { color: var(--brand); }
.price-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.price-table th, .price-table td { padding: 12px 0; border-bottom: 1px dashed var(--line); text-align: left; vertical-align: baseline; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; padding-bottom: 2px; }
.price-table th { font-weight: 500; color: var(--ink-2); padding-right: 20px; line-height: 1.45; }
.price-table td { font-weight: 700; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Price cards pack into two balanced columns (masonry-style), so cards of different
   heights never leave an orphan or a ragged gap. Drops to one column on narrow screens. */
.price-grid { columns: 2 380px; column-gap: clamp(16px, 2.4vw, 28px); }
.price-grid > * { break-inside: avoid; margin-bottom: clamp(16px, 2.4vw, 28px); }
.price-grid--single { columns: 1; max-width: 640px; margin-inline: auto; }
.check-list--tight { gap: 10px; margin: 4px 0 2px; font-size: .96rem; color: var(--ink-2); }
.price-card--included h3 .icon { color: var(--ok); }
.price-cta { background: var(--inverse); border-color: var(--inverse); color: #c7d0d8; }
.price-cta h3 { color: #fff; font-size: 1.25rem; }
.price-cta .actions { margin: 1.25rem 0 0; }
.section-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-row .section-head { margin-bottom: 0; }
.section-row .actions { margin: 1rem 0 0; }
.price-preview { align-items: start; }
.brands-card .chips { margin-top: 12px; }
.brands-card .chip { font-size: .82rem; padding: 5px 11px; }
.brands-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.brands-card h3 .icon { color: var(--brand); }
.prep-card h3 { display: flex; gap: 10px; align-items: center; }
.prep-card h3 .icon { color: var(--ok); }
.prep-card .check-list { margin: 0; }
.tabs-nav { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 18px; scrollbar-width: thin; }
.tabs-nav a { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; }
.tabs-nav a .icon { width: 1.05em; color: var(--brand); }
.tabs-nav a:hover { border-color: var(--brand); color: var(--brand); }
.info-card .icon { color: var(--brand); margin-bottom: 12px; }
.info-card p { margin: 0; color: var(--ink-2); }

/* ---------- Reviews ---------- */
.review-card { position: relative; display: flex; flex-direction: column; gap: 12px; margin: 0; }
.review-card blockquote { margin: 0; font-size: 1.02rem; color: var(--ink-2); }
.review-card blockquote p { margin: 0; }
.review-card figcaption { margin-top: auto; display: grid; font-size: .9rem; color: var(--muted); }
.review-card figcaption strong { color: var(--ink); font-size: 1rem; }
.review-card__source { font-size: .82rem; }
.review-card--sample { border-style: dashed; }
.review-card .badge { align-self: flex-start; }
.stars { display: inline-flex; gap: 2px; color: #f59e0b; }
.stars .icon { width: 18px; height: 18px; }
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 1.05rem; margin-bottom: .35em; }
.rating-link a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.rating-link a .icon { width: 1em; height: 1em; }
.leave-review { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; background: var(--cream); }
.leave-review p { margin: 0; color: var(--ink-2); }
.leave-review h2 { margin-bottom: .25em; }
.empty-state { text-align: center; padding: 48px 24px; }
.empty-state .icon { margin: 0 auto 12px; color: #f59e0b; }

/* ---------- Area map ---------- */
.area-map { margin: 0; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.area-map svg { width: 100%; height: auto; }
.area-map pattern path { stroke: var(--ink); }
.map-city circle { fill: var(--brand); stroke: var(--surface); stroke-width: 3; transition: r .15s; }
.map-city--extended circle { fill: var(--surface); stroke: var(--brand); stroke-width: 3; }
.map-city text { font: 700 21px var(--font-body); fill: var(--ink); paint-order: stroke; stroke: var(--surface); stroke-width: 6px; stroke-linejoin: round; }
.map-city:hover text, .map-city:focus text { fill: var(--brand); }
.map-city.is-current circle { fill: var(--ink); }
.map-city.is-current text { font-size: 24px; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 12px 6px 2px; font-size: .86rem; color: var(--muted); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.dot--core { background: var(--brand); }
.dot--extended { border: 3px solid var(--brand); }
@media (max-width: 600px) { .map-city text { font-size: 25px; stroke-width: 7px; } .map-city.is-current text { font-size: 27px; } .area-map { padding: 8px; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s; }
.faq[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.faq__icon { color: var(--brand); transition: transform .2s; }
.faq[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 20px 18px; color: var(--ink-2); }
.faq__a p { margin: 0; }
.faq-cat { font-size: 1.4rem; margin: 2.2rem 0 1rem; }
.faq-cat:first-of-type { margin-top: .5rem; }
.anchor-target { scroll-margin-top: calc(var(--header-h) + 20px); }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(48px, 7vw, 80px) 0; background: var(--inverse); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(249, 115, 22, .35), transparent 70%); pointer-events: none; }
.cta-band__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #c7d0d8; max-width: 56ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--primary { --btn-bg: var(--brand-bright); --btn-fg: #13212e; box-shadow: none; }
.cta-band .btn--primary:hover { --btn-bg: #fb923c; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--footer-line); color: #b9c3cc; padding: 64px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr .9fr; gap: 40px; }
.footer-brand p { margin: 16px 0; max-width: 34ch; }
.footer-title { color: #fff; font: 700 .85rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.footer-links--cols { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.footer-links a, .footer-contact a { color: #dbe2e8; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: #fdba74; text-decoration: underline; }
.footer-contact { list-style: none; display: grid; gap: 10px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact li a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact .icon { color: var(--brand-bright); width: 1.1em; }
.footer-social { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin-top: 16px; }
.footer-social a { color: #dbe2e8; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #8c99a5; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #b9c3cc; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  :root { --mobile-bar-h: calc(64px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: var(--header-bg); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 -8px 24px -16px rgba(19, 33, 46, .35);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; font-size: .95rem; }
  .mobile-bar a .icon { width: 18px; color: var(--brand); }
  .mobile-bar .mobile-bar__cta { grid-column: span 2; background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
  .mobile-bar .mobile-bar__cta .icon { color: var(--on-brand); }
}

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field__label { font-weight: 700; font-size: .95rem; color: var(--ink); padding: 0; }
.field__label em { font-style: normal; font-weight: 500; color: var(--muted); }
legend.field__label { margin-bottom: 8px; }
input, select, textarea { font: inherit; color: inherit; }
/* :where() keeps this base rule low-specificity so focus and error states can override it. */
.field input:where(:not([type="radio"]):not([type="checkbox"]):not([type="file"])), .field select, .field textarea, .zip-check input {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--surface);
  font-size: 16px; /* prevents iOS zoom */ transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356636f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.field input:focus, .field select:focus, .field textarea:focus, .zip-check input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(249, 115, 22, .18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--err); background: var(--err-tint); }
.field input::placeholder, .field textarea::placeholder { color: #9aa5af; }
.field input[type="file"] { font-size: .95rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.field--narrow { max-width: 260px; }
.field__error { display: flex; gap: 6px; margin: -10px 0 16px; color: var(--err); font-size: .9rem; font-weight: 600; }
.field__error[hidden] { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-weight: 600; font-size: .95rem; transition: all .15s; }
.pill span .icon { width: 1.05em; }
.pill:hover span { border-color: var(--ink-2); }
.pill input:checked + span { background: var(--selected-bg); border-color: var(--selected-bg); color: var(--selected-fg); }
.pill input:focus-visible + span { outline: 3px solid var(--brand-bright); outline-offset: 2px; }
.form-status { padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600; margin: 16px 0 0; }
.form-status[hidden] { display: none; }
.form-status.is-error { background: var(--err-tint); color: var(--err); }
.form-status.is-ok { background: var(--ok-tint); color: var(--ok); }
.form-legal { margin-top: 14px; }
.form-card h2 { margin-bottom: 1rem; }

/* ---------- Quote wizard ---------- */
.page-book .site-footer { margin-top: 0; }
.book { padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 7vw, 88px); background: linear-gradient(180deg, var(--cream), var(--bg) 320px); }
.book__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.book__head h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: .3em; }
.book__head .lead { margin-bottom: 1.5rem; }
.book__aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
@media (max-width: 980px) {
  .book__grid { grid-template-columns: minmax(0, 1fr); }
  .book__aside { position: static; }
}
.progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; margin-bottom: 24px; counter-reset: p; }
.progress li { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 4px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--muted); transition: border-color .2s, color .2s; }
.progress li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: var(--ink); font-size: .78rem; font-weight: 800; flex: none; }
.progress li.is-done { border-color: var(--ok); color: var(--ink); }
.progress li.is-done span { background: var(--ok-solid); color: #fff; }
.progress li.is-current { border-color: var(--brand); color: var(--ink); }
.progress li.is-current span { background: var(--brand); color: var(--on-brand); }
@media (max-width: 560px) { .progress li { font-size: 0; gap: 0; } .progress li span { font-size: .78rem; } }
.wizard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3.5vw, 36px); box-shadow: var(--shadow); }
.step { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.js .step { display: none; margin: 0; }
.js .step.is-active { display: block; animation: step-in .25s ease-out; }
@keyframes step-in { from { opacity: 0; transform: translateY(6px); } }
.step__title { font: 800 clamp(1.4rem, 2.6vw, 1.75rem)/1.2 var(--font-display); letter-spacing: -.02em; margin-bottom: 18px; padding: 0; }
.step__hint { color: var(--muted); font-size: .95rem; margin-top: -6px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 8px; }
@media (max-width: 640px) {
  .choice-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .choice-grid .choice-card__body { align-items: center; padding: 12px 14px; }
  .choice-grid .choice-card__body small { display: none; }
}
.est-inline { display: none; }
@media (max-width: 980px) {
  .est-inline:not([hidden]) {
    position: sticky; bottom: calc(var(--mobile-bar-h) + 10px); z-index: 2;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin: 12px 0 0; padding: 12px 16px; border-radius: 12px;
    background: var(--inverse); color: #fff; box-shadow: var(--shadow);
  }
  .est-inline span { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fdba74; }
  .est-inline strong { font: 800 1.25rem/1 var(--font-display); }
}
.choice-card { position: relative; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; }
.choice-card__body { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); transition: all .15s; }
.choice-card__body strong { display: block; margin-bottom: 2px; }
.choice-card__body small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.choice-card__check { margin-left: auto; color: var(--line-strong); width: 24px; height: 24px; }
.choice-card:hover .choice-card__body { border-color: var(--ink-2); }
.choice-card input:checked + .choice-card__body { border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 0 0 1px var(--brand); }
.choice-card input:checked + .choice-card__body .choice-card__check { color: var(--brand); }
.choice-card input:focus-visible + .choice-card__body { outline: 3px solid var(--brand-bright); outline-offset: 2px; }
.estimator { margin-bottom: 20px; }
.est-group { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; background: var(--surface); }
.est-group[hidden] { display: none; }
.est-group summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 700; cursor: pointer; list-style: none; }
.est-group summary::-webkit-details-marker { display: none; }
.est-group summary > .icon:first-child { color: var(--brand); }
.est-group__count { margin-left: auto; padding: 2px 10px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-size: .8rem; }
.est-group__count:empty { display: none; }
.est-group__chev { color: var(--muted); transition: transform .2s; }
.est-group__count:empty + .est-group__chev { margin-left: auto; }
.est-group[open] .est-group__chev { transform: rotate(180deg); }
.est-group__items { padding: 0 16px 8px; }
.est-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
.est-item__name { font-size: .96rem; font-weight: 500; }
.est-item__name small { display: block; color: var(--muted); font-size: .84rem; }
.est-item.has-qty .est-item__name { font-weight: 700; }
.stepper { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.stepper__btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.stepper__btn .icon { width: 18px; height: 18px; }
.stepper__btn:hover:not([disabled]) { border-color: var(--brand); color: var(--brand); }
.stepper__btn[disabled] { opacity: .35; cursor: default; }
.stepper__val { min-width: 28px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.dropzone { display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px dashed var(--line-strong); border-radius: var(--radius); background: var(--cream); cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--brand); background: var(--brand-tint); }
.dropzone .icon { color: var(--brand); }
.dropzone strong { display: block; }
.dropzone small { color: var(--muted); }
#photo-picker:focus-visible + .dropzone, .dropzone:focus-within { outline: 3px solid var(--brand-bright); }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 10px; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--sand); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: rgba(19, 33, 46, .8); color: #fff; cursor: pointer; }
.thumbs button .icon { width: 14px; }
.zip-status { min-height: 0; margin: -8px 0 16px; font-size: .93rem; font-weight: 600; }
.zip-status:empty { display: none; }
.zip-status.is-core { color: var(--ok); }
.zip-status.is-extended { color: var(--warn); }
.zip-status.is-outside { color: var(--err); }
.wizard__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.wizard__nav [data-next], .wizard__nav [data-submit] { margin-left: auto; }
.js .wizard__nav [data-submit] { display: none; }
.js .wizard.is-last [data-submit] { display: inline-flex; }
.js .wizard.is-last [data-next] { display: none; }
html:not(.js) .wizard__nav [data-next], html:not(.js) .wizard__nav [data-prev] { display: none; }
.summary { background: var(--cream); margin-top: 8px; }
.summary h3 { font-size: 1.05rem; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .93rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; }
.estimate-card { background: var(--inverse); color: #fff; border-color: var(--inverse); }
.estimate-card__label { margin: 0; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #fdba74; font-weight: 700; }
.estimate-card__total { margin: 4px 0; font: 800 2.2rem/1.1 var(--font-display); letter-spacing: -.02em; }
.estimate-card__note { margin: 0 0 12px; color: #c7d0d8; font-size: .92rem; }
.estimate-card__items { list-style: none; display: grid; gap: 6px; margin-bottom: 12px; font-size: .9rem; }
.estimate-card__items:empty { display: none; }
.estimate-card__items li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px dashed rgba(255, 255, 255, .15); }
.estimate-card__items span:last-child { color: #c7d0d8; white-space: nowrap; }
.estimate-card__fine { margin: 0; font-size: .8rem; color: #93a1ad; }
.next-card h2 { margin-bottom: 12px; }
.next-steps { display: grid; gap: 12px; padding-left: 1.3em; font-size: .94rem; color: var(--ink-2); }
.next-steps strong { color: var(--ink); }
.next-card__alt { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .94rem; }
.next-card__alt a { font-weight: 700; }
.zip-check { margin-top: 8px; }
.zip-check .field { margin-bottom: 8px; }
.zip-check__row { display: flex; gap: 10px; }
.zip-check .zip-status { margin: 0; }

/* ---------- Thank-you / misc ---------- */
.thanks { min-height: 60vh; display: grid; align-items: center; }
.thanks__icon { display: inline-grid; place-items: center; width: 80px; height: 80px; margin-bottom: 20px; border-radius: 50%; background: var(--ok-solid); color: #fff; animation: pop .4s ease-out; }
.thanks__icon .icon { width: 40px; height: 40px; stroke-width: 3; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
.thanks .lead { margin-inline: auto; }
.thanks__card { text-align: left; margin: 24px auto; max-width: 560px; background: var(--cream); }
.thanks__card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .95rem; }
.thanks__card dt { color: var(--muted); }
.thanks__card dd { margin: 0; font-weight: 600; }
[hidden] { display: none !important; }
.next-steps--row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 32px 0; text-align: left; }
.next-steps--row li { padding: 18px; background: var(--cream); border-radius: var(--radius); }
.next-steps--row strong { display: block; margin-bottom: 4px; }
@media (max-width: 700px) { .next-steps--row { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.45rem; margin-top: 2rem; }
.prose p, .prose li { color: var(--ink-2); }
.team-card { position: relative; text-align: center; }
.team-card img { width: 140px; height: 140px; margin: 0 auto 16px; border-radius: 50%; object-fit: cover; background: var(--sand); }
.team-card__role { color: var(--brand); font-weight: 700; font-size: .92rem; margin-top: -.3em; }
.team-card p:last-child { margin: 0; color: var(--ink-2); font-size: .95rem; }
.team-card .badge { position: absolute; top: 14px; right: 14px; }
.team-card--join { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-style: dashed; color: var(--ink); text-decoration: none; background: transparent; box-shadow: none; }
.team-card--join:hover { border-color: var(--brand); color: var(--ink); }
.team-card--join .icon-badge { margin-bottom: 10px; }
.contact-cards { margin-bottom: 20px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.contact-card .icon { color: var(--brand); margin-bottom: 8px; }
.contact-card span { color: var(--muted); font-size: .93rem; overflow-wrap: anywhere; }
.contact-card:hover { border-color: var(--brand); color: var(--ink); transform: translateY(-2px); }
.contact-card--accent { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.contact-card--accent .icon, .contact-card--accent span { color: var(--on-brand); }
.contact-card--accent:hover { color: var(--on-brand); }
.hours-card h2 { display: flex; align-items: center; gap: 8px; }
.hours-card h2 .icon { color: var(--brand); }
.hours-card p:last-child { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .mobile-bar, .cta-band, .site-footer, .drawer { display: none !important; }
}
