/* ==========================================================================
   Clearview Window Washing Co. — brand-matched design system
   Derived from Nate Meeks' real brand: bright turquoise + white, rounded
   geometric type (Quicksand), mountains + checkerboard motifs.
   Static, no build step, self-hosted fonts. WCAG 2.2 AA color contrast.
   ========================================================================== */

@font-face {
  font-family: "Quicksand";
  src: url("/assets/fonts/quicksand-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --aqua: #3fc1d6;          /* brand bright turquoise */
  --brand-aqua: #73cedf;    /* sampled from Clearview card artwork */
  --aqua-tint: #e7f6f9;     /* light section background */
  --aqua-tint-2: #d4edf2;
  --teal: #0c6f81;          /* links / eyebrow on light = 4.9:1 (AA) */
  --teal-dk: #0a5664;       /* primary CTA — white text = 7.0:1 (AA) */
  --teal-dk-2: #08454f;     /* CTA hover */
  --deep: #0b3d47;          /* dark sections (ticker, estimate band, footer) */
  --ink: #10303a;           /* headings + body text on light */
  --muted: #46626a;         /* secondary text = 6.5:1 on white (AA) */
  --white: #ffffff;
  --line: #cfe6ea;
  --line-2: #bcdce3;
  --amber: #f2a93b;         /* rating stars */
  --coral: #ef6c43;         /* warm accent (decorative only) */
  --display: "Quicksand", "Trebuchet MS", -apple-system, sans-serif;
  --sans: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --max: 1180px;
  --r: 10px;
  --shadow: 0 14px 34px rgba(11, 61, 71, 0.12);
  --mountains: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='180' viewBox='0 0 1200 180' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='0.06' d='M0 180 L170 58 L300 132 L470 26 L640 140 L820 64 L980 150 L1130 82 L1200 128 L1200 180 Z'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 180px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 5.8vw, 4.4rem); max-width: 16ch; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); text-wrap: balance; }
h3 { font-size: 1.22rem; font-weight: 600; }

a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--teal-dk);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: 1rem; top: -6rem; z-index: 1000;
  padding: 0.7rem 1rem; background: var(--teal-dk); color: #fff;
  border-radius: var(--r); text-decoration: none; transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

.container { width: min(var(--max), calc(100% - 2.4rem)); margin: 0 auto; }
.container.narrow { max-width: 860px; }

.eyebrow {
  font-family: var(--display);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.76rem; color: var(--teal); margin: 0 0 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 52px; padding: 0.85rem 1.5rem;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-family: var(--display); font-weight: 700;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal-dk); color: #fff; border-color: var(--teal-dk); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--teal-dk-2); border-color: var(--teal-dk-2); }
.btn-outline { background: transparent; border-color: var(--teal-dk); color: var(--teal-dk); }
.btn-outline:hover { background: var(--teal-dk); color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.2); }
.btn-sm { min-height: 44px; padding: 0.5rem 1.1rem; font-size: 0.92rem; }

/* ---------- Utility ticker ---------- */
.ticker { background: var(--deep); color: #cfeef4; font-size: 0.78rem; }
.ticker .container {
  display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem;
  align-items: center; padding: 0.5rem 0; font-weight: 700; letter-spacing: 0.01em;
}
.ticker span { display: inline-flex; align-items: center; gap: 0.4rem; }
.ticker .star { color: var(--amber); }
.ticker .tick-phone { margin-left: auto; color: #fff; text-decoration: none; font-weight: 800; }
.ticker .tick-phone:hover { text-decoration: underline; }

/* ---------- Header (with checkerboard brand strip) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--brand-aqua);
}
.site-header::after {
  content: ""; display: block; height: 7px;
  background: repeating-linear-gradient(90deg, var(--brand-aqua) 0 13px, #fff 13px 26px);
  border-top: 1px solid rgba(11,61,71,0.12);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: min(var(--max), calc(100% - 2.4rem)); margin: 0 auto; padding: 0.68rem 0;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo {
  display: block; width: clamp(146px, 13.5vw, 184px); height: auto;
  border: 0; border-radius: 0;
  background: transparent; box-shadow: none;
}
.nav { display: flex; gap: 1.6rem; font-family: var(--display); font-weight: 600; }
.nav a { text-decoration: none; padding: 0.4rem 0; border-bottom: 2px solid transparent; min-height: 40px; display: inline-flex; align-items: center; }
.nav a[aria-current="page"] { border-color: var(--teal-dk); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.phone-link { color: var(--teal-dk); font-family: var(--display); font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ---------- Hero (home) ---------- */
.hero { padding: clamp(2.6rem, 6vw, 5rem) 0 clamp(2.6rem, 5vw, 4rem); background: var(--aqua-tint); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero-grid > *, .split > * { min-width: 0; }
.hero-copy { font-size: 1.18rem; color: var(--muted); max-width: 46ch; margin-top: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.8rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.85rem; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--white); font-size: 0.86rem; font-weight: 700;
}
.chip .star { color: var(--amber); }
.hero-fig { position: relative; }
.hero-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; border: 4px solid #fff; box-shadow: var(--shadow); }
.hero-fig .badge {
  position: absolute; left: -14px; bottom: 24px; background: var(--teal-dk); color: #fff;
  font-family: var(--display); padding: 0.7rem 1.1rem; border-radius: 14px; box-shadow: var(--shadow);
  border: 3px solid #fff;
}
.hero-fig .badge b { font-size: 1.5rem; display: block; line-height: 1; }
.hero-fig .badge span { font-size: 0.76rem; color: rgba(255,255,255,0.92); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Page hero (inner pages) with mountain motif ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(2.4rem, 4vw, 3.6rem);
  background: var(--aqua-tint);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='120' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='%230c6f81' fill-opacity='0.08' d='M0 120 L180 40 L310 96 L470 18 L650 100 L840 46 L1000 104 L1140 58 L1200 92 L1200 120 Z'/%3E%3C/svg%3E") bottom / cover no-repeat;
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 60ch; margin-top: 1.1rem; }
.page-hero .hero-actions { margin-top: 1.6rem; }

/* ---------- Proof bar (bright brand aqua, dark text) ---------- */
.proofbar { background: var(--aqua); color: var(--ink); }
.proofbar .container { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; }
.proofbar .cell { padding: 1.4rem 1.2rem; border-left: 1px solid rgba(11,61,71,0.16); }
.proofbar .cell:first-child { border-left: 0; }
.proofbar .k { font-family: var(--display); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--deep); font-weight: 700; }
.proofbar .stars { color: var(--deep); letter-spacing: 0.06em; font-size: 0.95rem; margin-top: 0.3rem; }
.proofbar .v { font-family: var(--display); font-weight: 700; font-size: 1.5rem; margin-top: 0.15rem; color: var(--deep); }
.proofbar .s { font-size: 0.85rem; color: #0b4651; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.2rem, 6vw, 5.5rem) 0; }
.section-paper2 { background: var(--aqua-tint); }
.section-dark { position: relative; overflow: hidden; background: var(--deep) var(--mountains) bottom / 100% auto no-repeat; color: #fff; }
.section-head { max-width: 700px; margin-bottom: 2.4rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 0.8rem; }
.section-dark .section-head p { color: rgba(255,255,255,0.82); }
.section-dark .eyebrow { color: #8fdce9; }
.section-dark > .container { position: relative; z-index: 1; }
.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 2.4rem; }

/* ---------- Estimate band ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step { padding-top: 1.2rem; border-top: 3px solid var(--aqua); }
.step .n { font-family: var(--display); font-weight: 700; font-size: 2.4rem; color: var(--aqua); line-height: 1; }
.step h3 { margin: 0.4rem 0 0.5rem; color: #fff; }
.step p { color: rgba(255,255,255,0.82); margin: 0; }
.est-bottom { display: grid; grid-template-columns: 1fr 0.9fr; gap: 1.6rem; margin-top: 2.6rem; align-items: stretch; }
.pane-guide {
  display: grid;
  gap: 0.8rem;
  align-content: center;
  padding: 1.35rem;
  border: 1px solid rgba(255,255,255,0.24);
  border-left: 5px solid var(--aqua);
  border-radius: var(--r);
  background: rgba(255,255,255,0.08);
}
.pane-guide strong {
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.15;
  color: #fff;
}
.pane-guide p { margin: 0; color: rgba(255,255,255,0.82); }
.pane-examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}
.pane-examples span {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.76);
  font-size: 0.86rem;
}
.pane-examples b {
  color: #fff;
  font-family: var(--display);
  font-size: 0.95rem;
  line-height: 1.15;
}
.pane-guide .pane-help {
  color: #fff;
  font-weight: 800;
}
.est-panel { background: var(--aqua); color: #073a44; border-radius: var(--r); padding: 1.6rem; }
.est-panel p { color: #073a44; }
.est-panel .btn { background: var(--teal-dk); color: #fff; border-color: var(--teal-dk); margin-top: 0.6rem; width: 100%; }
.est-panel .btn:hover { background: var(--teal-dk-2); }

/* ---------- Split content ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.split p { color: var(--muted); }
.section-dark .split p { color: rgba(255,255,255,0.82); }
.media { border-radius: 16px; overflow: hidden; border: 4px solid #fff; background: var(--white); box-shadow: var(--shadow); }
.media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.media figcaption { padding: 0.85rem 1rem; color: var(--muted); font-size: 0.9rem; }

/* ---------- Result photos ---------- */
.result-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(260px, 0.72fr);
  gap: 1.4rem;
  align-items: stretch;
}
.result-card {
  display: grid;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.result-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.comparison-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--deep);
}
.comparison-item {
  position: relative;
  min-width: 0;
}
.comparison-item + .comparison-item { border-left: 1px solid rgba(255,255,255,0.4); }
.comparison-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.comparison-item span {
  position: absolute;
  left: 0.7rem;
  top: 0.7rem;
  z-index: 1;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: rgba(8, 69, 79, 0.92);
  color: #fff;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
}
.result-card figcaption {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.1rem;
}
.result-card figcaption strong {
  font-family: var(--display);
  font-size: 1.1rem;
  line-height: 1.2;
}
.result-card figcaption span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Cards (services) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem; box-shadow: 0 2px 0 var(--line); }
.card .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--aqua-tint); display: grid; place-items: center; margin-bottom: 1rem; color: var(--teal); font-size: 1.25rem; }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); margin: 0; }
@media (min-width: 901px) {
  .cards.stagger article:nth-child(2) { transform: translateY(1.6rem); }
}

/* ---------- Feature list (2x2) ---------- */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--white); }
.feature-list > div { padding: 1.6rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-list > div:nth-child(-n+2) { border-top: 0; }
.feature-list > div:nth-child(odd) { border-left: 0; }
.feature-list h3 { margin-bottom: 0.4rem; }
.feature-list p { color: var(--muted); margin: 0; }

/* ---------- Reviews ---------- */
.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; display: flex; flex-direction: column; box-shadow: 0 2px 0 var(--line); }
.quote .stars { color: var(--amber); font-size: 0.95rem; letter-spacing: 0.1em; }
.quote blockquote { font-family: var(--display); font-weight: 600; font-size: 1.28rem; line-height: 1.2; margin: 0.7rem 0 auto; }
.quote .who { font-weight: 800; margin-top: 1rem; }
.quote .src { font-size: 0.82rem; color: var(--muted); }
.themes { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 1.8rem; }
.themes b { font-family: var(--display); background: var(--teal-dk); color: #fff; padding: 0.5rem 0.9rem; border-radius: 999px; font-size: 0.85rem; }
.themes span { background: var(--aqua-tint); padding: 0.5rem 0.9rem; border-radius: 999px; font-size: 0.85rem; font-weight: 700; }
.section-paper2 .themes span { background: var(--white); border: 1px solid var(--line-2); }

/* ---------- Service area ---------- */
.area-box { background: var(--deep) var(--mountains) bottom / 100% auto no-repeat; color: #fff; border-radius: 16px; padding: 1.7rem; }
.area-box strong { font-family: var(--display); font-weight: 700; font-size: 1.3rem; display: block; margin-bottom: 0.9rem; }
.area-box span { display: block; padding: 0.7rem 0.9rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--r); margin-bottom: 0.5rem; font-weight: 700; }
.note { color: var(--muted); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--white); margin-bottom: 0.7rem; }
.faq summary { cursor: pointer; padding: 1.1rem 1.2rem; font-weight: 700; font-family: var(--display); font-size: 1.08rem; }
.faq details p { padding: 0 1.2rem 1.1rem; color: var(--muted); margin: 0; }

/* ---------- Service list ---------- */
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.service-list article { padding: 1.6rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 2px 0 var(--line); }
.service-list h3 { font-size: 1.32rem; margin-bottom: 0.55rem; }
.service-list p { color: var(--muted); margin: 0; }
.proof-note { padding: 1rem 1.2rem; border-left: 5px solid var(--aqua); background: var(--white); color: var(--ink); font-weight: 700; border-radius: 0 var(--r) var(--r) 0; }
.review-ticker {
  display: flex; align-items: center; gap: 0.8rem; width: 100%; max-width: 560px; min-width: 0;
  margin-top: 1.25rem; padding: 0.9rem 1rem;
  border-left: 5px solid var(--aqua); border-radius: 0 var(--r) var(--r) 0;
  background: var(--white); box-shadow: 0 2px 0 var(--line);
}
.review-ticker .stars { color: var(--amber); letter-spacing: 0.08em; flex: 0 0 auto; }
.review-ticker-window { height: 1.7rem; overflow: hidden; min-width: 0; flex: 1; }
.review-ticker-track { animation: review-roll 18s ease-in-out infinite; }
.review-ticker p {
  height: 1.7rem; margin: 0; display: flex; align-items: center; gap: 0.55rem;
  font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.review-ticker p span { color: var(--muted); font-weight: 700; font-size: 0.9rem; }
@keyframes review-roll {
  0%, 16% { transform: translateY(0); }
  21%, 37% { transform: translateY(-1.7rem); }
  42%, 58% { transform: translateY(-3.4rem); }
  63%, 79% { transform: translateY(-5.1rem); }
  84%, 100% { transform: translateY(-6.8rem); }
}
@media (prefers-reduced-motion: reduce) {
  .review-ticker-track { animation: none; }
}

/* ---------- Fact panel / trust stack ---------- */
.fact-panel { display: grid; align-content: start; gap: 0.6rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.fact-panel strong { font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin-bottom: 0.3rem; }
.fact-panel span { display: block; padding: 0.72rem 0.85rem; border-radius: var(--r); background: var(--aqua-tint); color: var(--ink); font-weight: 700; }
.owner-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.owner-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}
.owner-card figcaption {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.1rem 0.9rem;
}
.owner-card figcaption strong {
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.15;
}
.owner-card figcaption span {
  color: var(--muted);
  font-weight: 700;
}
.owner-facts {
  display: grid;
  gap: 0.5rem;
  padding: 0 1.1rem 1.1rem;
}
.owner-facts span {
  display: block;
  padding: 0.62rem 0.75rem;
  border-radius: var(--r);
  background: var(--aqua-tint);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}
.trust-stack { display: flex; flex-wrap: wrap; align-content: start; gap: 0.7rem; padding: 1.7rem; border-radius: 16px; background: var(--deep) var(--mountains) bottom / 100% auto no-repeat; }
.trust-stack span { display: inline-flex; align-items: center; min-height: 38px; padding: 0.5rem 0.9rem; border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; background: rgba(255,255,255,0.1); color: #fff; font-weight: 700; font-size: 0.9rem; }

/* ---------- Review platform cards ---------- */
.review-cta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.review-card { display: grid; gap: 0.6rem; padding: 1.8rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.review-card .stars { color: var(--amber); font-size: 1.2rem; letter-spacing: 0.12em; }
.review-card strong { font-family: var(--display); font-weight: 700; font-size: 1.4rem; }
.review-card p { color: var(--muted); margin: 0 0 0.4rem; }
.review-card .btn { margin-top: 0.4rem; }

/* ---------- Embedded quote form ---------- */
.form-shell { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(1.4rem, 3vw, 2.2rem); align-items: start; }
.form-intro { position: sticky; top: 118px; }
.form-intro p { color: var(--muted); }
.form-frame-wrap { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.form-placeholder { min-height: 520px; display: grid; place-content: center; gap: 0.4rem; padding: 2rem; text-align: center; background: var(--aqua-tint); }
.form-placeholder[hidden] { display: none; }
.form-placeholder strong { font-family: var(--display); font-size: 1.45rem; }
.form-placeholder span { color: var(--muted); max-width: 34ch; }
.form-frame { display: block; width: 100%; height: 6900px; border: 0; background: var(--white); }
.form-frame[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep) var(--mountains) bottom / 100% auto no-repeat; color: rgba(255,255,255,0.82); padding: 3.2rem 0 5.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.8fr 0.8fr; gap: 2rem; position: relative; z-index: 1; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h2 { color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.05rem; margin: 0 0 0.8rem; }
.footer-brand .brand-logo { width: 190px; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; grid-template-columns: 1fr 1fr; box-shadow: 0 -6px 20px rgba(11,61,71,0.14); }
.mobile-cta a { display: flex; align-items: center; justify-content: center; min-height: 58px; font-family: var(--display); font-weight: 700; text-decoration: none; }
.mobile-cta a:first-child { background: var(--deep); color: #fff; }
.mobile-cta a:last-child { background: var(--teal-dk); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .form-shell { grid-template-columns: 1fr; }
  .form-intro { position: static; }
  .hero-fig { order: -1; max-width: 440px; }
  .nav, .phone-link { display: none; }
  .proofbar .container { grid-template-columns: repeat(2, 1fr); }
  .proofbar .cell:nth-child(odd) { border-left: 0; }
  .proofbar .cell:nth-child(n+3) { border-top: 1px solid rgba(11,61,71,0.16); }
  .steps, .cards, .quotes, .service-list, .review-cta { grid-template-columns: 1fr 1fr; }
  .result-gallery { grid-template-columns: 1fr; }
  .est-bottom { grid-template-columns: 1fr; }
  .ticker .tick-phone { margin-left: 0; }
}
@media (max-width: 560px) {
  body { padding-bottom: 60px; }
  h1 { font-size: clamp(2rem, 9vw, 2.5rem); }
  h2 { font-size: clamp(1.7rem, 8vw, 2.15rem); }
  .steps, .cards, .quotes, .feature-list, .service-list, .review-cta, .pane-examples { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .feature-list > div { border-left: 0; }
  .cards.stagger article:nth-child(2) { transform: none; }
  .mobile-cta { display: grid; }
  .hero-actions .btn, .page-hero .hero-actions .btn { flex: 1; }
  .ticker .container { font-size: 0.74rem; }
  .form-frame { height: 8900px; }
}
