/* =========================================================================
   America First Roofing — design system + page styles
   Patriotic-premium: navy-dominant, crimson for CTAs ONLY, brass hairlines.
   No flags/eagles/stars-and-stripes. Mobile-first. Reduced-motion aware.
   ========================================================================= */

/* ----------------------------- Tokens ---------------------------------- */
:root {
  /* Brand core (navy ~60%) */
  --navy-900: #0c2141;
  --navy-800: #12244a;
  --navy-700: #1a3a6b;
  --navy-600: #234d85;
  --navy-500: #2e598f;

  /* Action (crimson — CTAs + emphasis ONLY, never decorative) */
  --crimson: #b3122b;
  --crimson-700: #8e0e22;
  --crimson-300: #e04b5e;

  /* Metals & warmth (brass = hairlines / frames, never a fill) */
  --brass-500: #c8a24b;
  --brass-300: #e4ce94;
  --brass-700: #8a6a22;
  --cream-100: #f4efe4;
  --white: #ffffff;

  /* Neutrals */
  --ink-900: #0e1116;
  --ink-700: #242b36;
  --ink-600: #3a4252;
  --ink-400: #6b7585;
  --cloud-50: #f7f8fa;
  --cloud-100: #edeff3;

  /* States */
  --success: #1f8a4c;
  --error: #d32f2f;
  --star-gold: #f4b400;

  /* Semantic */
  --text: var(--ink-600);
  --heading: var(--navy-900);
  --muted: var(--ink-400);
  --line: var(--cloud-100);

  /* Typography */
  --font-display: "Roboto Slab", "Georgia", "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-hero: clamp(2.25rem, 6vw, 4.75rem);
  --fs-h2: clamp(1.75rem, 4vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
  --fs-lead: clamp(1.0625rem, 1.5vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9rem;
  --fs-xs: 0.78rem;

  /* Space + shape */
  --container: 1200px;
  --container-wide: 1320px;
  --gutter: clamp(1rem, 4vw, 1.5rem);
  --section-y: clamp(4rem, 9vw, 8rem);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Depth */
  --sh-card: 0 2px 8px rgba(12, 33, 65, 0.06), 0 1px 2px rgba(12, 33, 65, 0.04);
  --sh-card-hover: 0 18px 40px rgba(12, 33, 65, 0.14), 0 6px 12px rgba(12, 33, 65, 0.08);
  --sh-cta: 0 8px 20px rgba(179, 18, 43, 0.3);
  --sh-float: 0 12px 32px rgba(12, 33, 65, 0.22);
  --sh-lg: 0 30px 60px -20px rgba(12, 33, 65, 0.4);

  /* Layered gradients */
  --grad-hero: linear-gradient(160deg, #0c2141 0%, #12244a 55%, #1a3a6b 100%);
  --grad-cta: linear-gradient(180deg, #b3122b 0%, #8e0e22 100%);

  /* Subtle film grain to kill banding on dark sections */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ring: 0 0 0 3px rgba(224, 75, 94, 0.55);
}

/* ----------------------------- Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; color: var(--heading); }
input, select, textarea { font: inherit; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* --------------------------- Utilities --------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: var(--container-wide); }
.section { padding-block: var(--section-y); position: relative; }
.section--cloud { background: var(--cloud-50); }
.section--cream { background: var(--cream-100); }

/* Dark sections carry the grain film */
.is-dark { background-color: var(--navy-900); background-image: var(--grain); color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-xs);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--crimson);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--brass-300), var(--brass-500)); border-radius: 2px; }
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--brass-500); }
.eyebrow--light::before { background: var(--brass-500); }

.section-head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 { font-size: var(--fs-h2); margin-top: 0.9rem; position: relative; padding-bottom: 0.95rem; }
.section-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 72px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--brass-300), var(--brass-500));
  transform: translateX(-50%) scaleX(0); transform-origin: center;
  transition: transform 0.6s var(--ease) 0.15s;
}
.section-head.is-visible h2::after { transform: translateX(-50%) scaleX(1); }
.section-head p { color: var(--muted); font-size: var(--fs-lead); margin-top: 1rem; }
.section-head--light h2 { color: #fff; }
.section-head--light p { color: #c3d1e6; }
.lead { font-size: var(--fs-lead); color: var(--ink-600); }
.nowrap { white-space: nowrap; }

/* Buttons (crimson is the ONLY CTA color) */
.btn {
  --btn-bg: var(--navy-800); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1; letter-spacing: 0.01em;
  min-height: 52px; padding: 0 1.5rem; border-radius: 12px; background: var(--btn-bg); color: var(--btn-fg);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background 0.2s ease-out;
  will-change: transform; white-space: nowrap; text-align: center;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: translateY(0) scale(1); }
.btn--primary { --btn-bg: var(--grad-cta); box-shadow: var(--sh-cta); }
.btn--primary:hover { --btn-bg: var(--crimson-700); box-shadow: 0 12px 26px rgba(179, 18, 43, 0.42); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255, 255, 255, 0.08); }
.btn--dark { --btn-bg: var(--navy-800); }
.btn--lg { min-height: 56px; padding: 0 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* Star rating */
.stars { display: inline-flex; gap: 2px; color: var(--star-gold); }
.stars svg { width: 1.05em; height: 1.05em; fill: currentColor; }

/* "EST. 2018" brass seal */
.seal {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 84px; height: 84px; border-radius: 50%; border: 1.5px solid var(--brass-500); color: var(--brass-500);
  font-family: var(--font-display); font-weight: 700; text-align: center; line-height: 1; flex: none;
}
.seal b { font-size: 1.35rem; }
.seal span { font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 3px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.09s; }
.reveal[data-delay="2"] { transition-delay: 0.18s; }
.reveal[data-delay="3"] { transition-delay: 0.27s; }
.reveal[data-delay="4"] { transition-delay: 0.36s; }
.reveal[data-delay="5"] { transition-delay: 0.45s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ----------------------- Top announcement bar ------------------------- */
.topbar { background: var(--navy-900); color: #d7e0f0; font-size: var(--fs-sm); border-bottom: 1px solid rgba(200, 162, 75, 0.45); }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 1.25rem; min-height: 42px; text-align: center; position: relative; }
.topbar__msg { display: inline-flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; justify-content: center; }
.topbar__msg svg { width: 15px; height: 15px; color: var(--brass-500); flex: none; }
.topbar__sep { color: rgba(255, 255, 255, 0.25); }
.topbar a { color: #fff; font-weight: 700; }
.topbar a:hover { color: var(--brass-300); }
.topbar__dismiss { position: absolute; right: 0; width: 30px; height: 30px; border-radius: 8px; color: #9fb0cc; display: grid; place-items: center; }
.topbar__dismiss:hover { color: #fff; }
.topbar__dismiss svg { width: 16px; height: 16px; }
.topbar.is-hidden { display: none; }
@media (max-width: 720px) { .topbar__full { display: none; } }
.topbar__mobile { display: none; }
@media (max-width: 720px) { .topbar__mobile { display: inline-flex; } }

/* ------------------------------ Header --------------------------------- */
.header { position: sticky; top: 0; z-index: 60; transition: all 0.3s var(--ease); }
.header__bar { background: var(--navy-900); background-image: var(--grain); border-bottom: 1px solid transparent; transition: all 0.3s var(--ease); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; transition: min-height 0.3s var(--ease); }
.header.is-stuck .header__inner { min-height: 62px; }
.header.is-stuck .header__bar { box-shadow: var(--sh-float); border-bottom-color: rgba(200, 162, 75, 0.5); }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__mark { width: 46px; height: 46px; transition: width 0.3s var(--ease), height 0.3s var(--ease); }
.header.is-stuck .brand__mark { width: 38px; height: 38px; }
.brand__name { font-family: var(--font-display); font-weight: 800; line-height: 1; color: #fff; letter-spacing: 0; }
.brand__name b { display: block; font-size: 1.12rem; }
.brand__name span { display: block; font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-500); font-weight: 600; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav a { position: relative; padding: 0.6rem 0.8rem; font-size: 0.95rem; font-weight: 500; color: #cdd9ec; transition: color 0.2s; }
.nav a::after { content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.35rem; height: 2px; background: var(--brass-500); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: #fff; }
.header__cta { display: flex; align-items: center; gap: 0.85rem; }
.header__phone { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff; border-bottom: 2px solid var(--brass-500); padding-bottom: 2px; }
.header__phone svg { width: 18px; height: 18px; color: var(--brass-500); }

.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 10px; background: var(--crimson); color: #fff; align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1040px) {
  .nav, .header__phone-text { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80; background: var(--navy-900); background-image: var(--grain);
  color: #fff; padding: 1.25rem var(--gutter) 2rem; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.4s var(--ease); visibility: hidden;
}
.mobile-menu.is-open { transform: none; visibility: visible; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__close { width: 48px; height: 48px; border-radius: 10px; background: rgba(255, 255, 255, 0.1); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.mobile-menu__close svg { width: 24px; height: 24px; }
.mobile-menu__phone { margin-top: 1.5rem; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.1rem; margin-top: 1.25rem; }
.mobile-menu nav a { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; padding: 0.8rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mobile-menu__cta { margin-top: auto; display: grid; gap: 0.75rem; padding-top: 1.5rem; }

/* ------------------------------- Hero ---------------------------------- */
.hero { position: relative; color: #fff; background: var(--navy-900); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; background-image: var(--grain), radial-gradient(1100px 600px at 82% -10%, rgba(46, 89, 143, 0.5), transparent 60%), var(--grad-hero); }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero__eyebrow { color: var(--brass-500); font-family: var(--font-body); font-weight: 600; font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; }
.hero h1 { color: #fff; font-size: var(--fs-hero); font-weight: 800; margin-top: 1.1rem; }
.hero h1 .accent { color: var(--brass-300); }
.hero__sub { color: #c9d8ef; font-size: var(--fs-lead); max-width: 44ch; margin-top: 1.25rem; }
.hero__trustline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.85rem; margin-top: 1.5rem; font-size: var(--fs-sm); color: #d7e3f5; font-weight: 500; }
.hero__trustline .stars { font-size: 0.95rem; }
.hero__trustline .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brass-500); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.hero__micro { margin-top: 1.1rem; font-size: 0.8rem; color: #9db1d1; max-width: 42ch; }

/* Hero scene illustration (clean, no flag) */
.hero__scene { position: absolute; right: -1%; bottom: 0; width: min(54%, 720px); z-index: 1; pointer-events: none; opacity: 0.92; }
@media (max-width: 980px) { .hero__scene { display: none; } }

/* Quote card */
.quote-card { background: var(--cream-100); color: var(--text); border-radius: var(--radius); box-shadow: var(--sh-float); overflow: hidden; border-top: 2px solid var(--brass-500); }
.quote-card__head { padding: 1.4rem 1.5rem 0.5rem; }
.quote-card__head h3 { color: var(--navy-900); font-size: 1.3rem; }
.quote-card__head p { color: var(--ink-400); font-size: var(--fs-sm); margin-top: 0.25rem; }
.quote-card form { padding: 1.1rem 1.5rem 1.6rem; display: grid; gap: 0.8rem; }
.field { display: grid; gap: 0.3rem; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--ink-600); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem; border: 1.5px solid var(--cloud-100); border-radius: 10px;
  background: #fff; color: var(--ink-900); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder { color: var(--ink-400); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-500); box-shadow: 0 0 0 3px rgba(46, 89, 143, 0.14); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.field .err { color: var(--error); font-size: 0.76rem; min-height: 0; }
.field.has-error input, .field.has-error select { border-color: var(--error); }
.form-note { font-size: var(--fs-xs); color: var(--muted); text-align: center; display: inline-flex; gap: 0.4rem; align-items: center; justify-content: center; }
.form-note svg { width: 14px; height: 14px; color: var(--brass-700); flex: none; }
.form-success { display: none; padding: 2rem 1.5rem; text-align: center; }
.form-success.is-on { display: block; }
.form-success svg { width: 56px; height: 56px; margin: 0 auto 0.75rem; color: var(--success); }
.form-success h3 { color: var(--navy-900); }
.form-success p { margin-top: 0.5rem; }
.form-success a { color: var(--crimson); font-weight: 700; }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .quote-card { max-width: 480px; }
}

/* --------------------------- Trust strip ------------------------------- */
.trustbar { background: var(--cloud-50); border-block: 1px solid rgba(200, 162, 75, 0.4); }
.trustbar__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.75rem; }
.trust-pill { display: flex; align-items: center; gap: 0.85rem; justify-content: center; }
.trust-pill svg { width: 42px; height: 42px; flex: none; }
.trust-pill b { display: block; font-family: var(--font-display); font-size: 1.02rem; color: var(--navy-900); line-height: 1.1; }
.trust-pill span { font-size: var(--fs-sm); color: var(--muted); }
.trust-pill + .trust-pill { border-left: 1px solid var(--cloud-100); }
@media (max-width: 720px) { .trustbar__inner { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; } .trust-pill + .trust-pill { border-left: none; } }

/* ----------------------------- Services -------------------------------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--cloud-100); border-radius: var(--radius);
  padding: 2rem 1.75rem; overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.service-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--brass-300), var(--brass-500)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.service-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--sh-card-hover); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card__icon { width: 60px; height: 60px; border-radius: 14px; background: linear-gradient(135deg, var(--navy-700), var(--navy-800)); display: grid; place-items: center; box-shadow: var(--sh-card); margin-bottom: 1.25rem; transition: transform 0.4s var(--ease); }
.service-card:hover .service-card__icon { transform: translateY(-3px); }
.service-card__icon svg { width: 30px; height: 30px; color: var(--brass-300); }
.service-card h3 { font-size: 1.28rem; margin-bottom: 0.5rem; }
.service-card p { color: var(--muted); font-size: 0.98rem; }
.service-card__link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.1rem; font-weight: 600; color: var(--crimson); font-size: 0.95rem; transition: opacity 0.3s var(--ease) 0.05s, transform 0.3s var(--ease) 0.05s; }
.service-card__link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }
.service-card--feature { background: var(--navy-900); background-image: var(--grain); color: #fff; border-color: transparent; }
.service-card--feature::after { background: var(--crimson); }
.service-card--feature h3 { color: #fff; }
.service-card--feature p { color: #c3d1e6; }
.service-card--feature .service-card__icon { background: rgba(179, 18, 43, 0.9); }
.service-card--feature .service-card__icon svg { color: #fff; }
@media (max-width: 920px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services__grid { grid-template-columns: 1fr; } }

/* ----------------------------- Why us ---------------------------------- */
.why .section-head h2 { color: #fff; }
.why .section-head p { color: #c3d1e6; }
.why__grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.4rem); }
.why-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); padding: 1.6rem; transition: background 0.3s, transform 0.3s var(--ease), border-color 0.3s; }
.why-card:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-5px); border-color: rgba(200, 162, 75, 0.45); }
.why-card__icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(200, 162, 75, 0.4); display: grid; place-items: center; margin-bottom: 1rem; }
.why-card__icon svg { width: 26px; height: 26px; color: var(--brass-300); }
.why-card h3 { color: #fff; font-size: 1.12rem; margin-bottom: 0.4rem; }
.why-card p { color: #c3d1e6; font-size: 0.95rem; }
@media (max-width: 920px) { .why__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .why__grid { grid-template-columns: 1fr; } }

/* Founder pull-quote band */
.founder { position: relative; z-index: 2; margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: 1fr; gap: 1.5rem; background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(200, 162, 75, 0.3); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.75rem); }
.founder__quote { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 700; color: #fff; line-height: 1.3; position: relative; }
.founder__quote::before { content: "\201C"; font-family: var(--font-display); font-size: 3.5rem; color: var(--brass-500); line-height: 0; position: absolute; left: -0.1em; top: 0.35em; opacity: 0.5; }
.founder__by { margin-top: 1.1rem; color: var(--brass-300); font-weight: 600; font-size: var(--fs-sm); letter-spacing: 0.04em; }
.founder__by span { color: #9db1d1; display: block; margin-top: 0.2rem; font-weight: 400; letter-spacing: 0; }

/* ------------------------------ Stats ---------------------------------- */
.stats.is-dark { background-color: var(--navy-800); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat { position: relative; padding-top: 1.25rem; }
.stat::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 3px; border-radius: 3px; background: var(--brass-500); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.02em; color: var(--brass-300); font-variant-numeric: tabular-nums; }
.stat__num small { font-size: 0.5em; color: var(--star-gold); }
.stat__label { margin-top: 0.6rem; font-size: var(--fs-sm); color: #c3d1e6; letter-spacing: 0.02em; }
@media (max-width: 720px) { .stats__grid { grid-template-columns: 1fr 1fr; gap: 2.25rem 1rem; } }

/* ----------------------------- Process --------------------------------- */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.step { position: relative; text-align: center; padding-top: 1rem; }
.step__num { width: 74px; height: 74px; margin: 0 auto 1.1rem; border-radius: 50%; background: var(--navy-900); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--brass-300); box-shadow: var(--sh-card); position: relative; z-index: 2; border: 1px solid rgba(200,162,75,0.4); transition: transform 0.3s var(--ease); }
.step:hover .step__num { transform: translateY(-6px); }
.step__icon { position: absolute; top: -2px; left: 50%; transform: translateX(16px); width: 28px; height: 28px; border-radius: 50%; background: var(--crimson); display: grid; place-items: center; z-index: 3; }
.step__icon svg { width: 15px; height: 15px; color: #fff; }
.step h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.93rem; }
.process__grid .step:not(:last-child)::after {
  content: ""; position: absolute; top: 37px; left: calc(50% + 46px); width: calc(100% - 92px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--brass-500) 0 8px, transparent 8px 16px); opacity: 0.7; z-index: 1;
}
@media (max-width: 860px) { .process__grid { grid-template-columns: 1fr 1fr; gap: 2.25rem 1rem; } .process__grid .step::after { display: none; } }
@media (max-width: 460px) { .process__grid { grid-template-columns: 1fr; } }

/* ------------------------- Before / After ------------------------------ */
.ba-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.ba { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4 / 3; user-select: none; touch-action: pan-y; background: #1a2740; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba__after { clip-path: inset(0 0 0 50%); }
.ba__label { position: absolute; top: 1rem; padding: 0.35rem 0.8rem; border-radius: 8px; font-family: var(--font-body); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; backdrop-filter: blur(4px); z-index: 3; }
.ba__label--before { left: 1rem; background: rgba(12, 33, 65, 0.72); color: #fff; }
.ba__label--after { right: 1rem; background: var(--crimson); color: #fff; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); z-index: 4; }
.ba__grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: var(--sh-card); display: grid; place-items: center; cursor: ew-resize; border: 2px solid var(--navy-900); outline: 2px solid var(--brass-500); }
.ba__grip svg { width: 24px; height: 24px; color: var(--navy-900); }
.ba__prompt { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); background: rgba(12, 33, 65, 0.8); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 0.4rem 0.85rem; border-radius: 999px; z-index: 4; pointer-events: none; transition: opacity 0.4s; }
.ba.is-touched .ba__prompt { opacity: 0; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 5; margin: 0; }
.ba__meta { margin-top: 0.85rem; font-size: var(--fs-xs); color: var(--muted); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* ----------------------------- Gallery --------------------------------- */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 1rem; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--sh-card); }
.gallery__item svg, .gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery__item:hover svg, .gallery__item:hover img { transform: scale(1.07); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__cap { position: absolute; inset: auto 0 0 0; padding: 1.5rem 1rem 0.9rem; background: linear-gradient(transparent, rgba(12, 33, 65, 0.88)); color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.02em; }
@media (max-width: 820px) { .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } }

/* ---------------------------- Warranty --------------------------------- */
.warranty__pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.pillar { text-align: center; background: #fff; border: 1px solid var(--cloud-100); border-top: 3px solid var(--brass-500); border-radius: var(--radius); padding: 2rem 1.5rem; box-shadow: var(--sh-card); }
.pillar__icon { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 14px; background: var(--navy-900); display: grid; place-items: center; }
.pillar__icon svg { width: 28px; height: 28px; color: var(--brass-300); }
.pillar h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.pillar p { color: var(--muted); font-size: 0.95rem; }
.warranty__detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1rem, 2vw, 1.75rem); margin-top: clamp(1.25rem, 3vw, 2rem); }
.covered, .notcovered { border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--cloud-100); }
.covered { background: #fff; }
.notcovered { background: var(--cloud-50); }
.covered h4, .notcovered h4 { font-family: var(--font-display); font-size: 1.05rem; color: var(--navy-900); margin-bottom: 1rem; }
.covered ul, .notcovered ul { display: grid; gap: 0.7rem; }
.covered li, .notcovered li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.96rem; color: var(--ink-600); }
.covered li svg { width: 20px; height: 20px; color: var(--success); flex: none; margin-top: 2px; }
.notcovered li svg { width: 20px; height: 20px; color: var(--ink-400); flex: none; margin-top: 2px; }
@media (max-width: 760px) { .warranty__pillars { grid-template-columns: 1fr; } .warranty__detail { grid-template-columns: 1fr; } }

/* ---------------------------- Financing -------------------------------- */
.finance { position: relative; overflow: hidden; background-color: var(--navy-900); background-image: var(--grain); color: #fff; border-radius: var(--radius-xl); padding: clamp(2.25rem, 5vw, 3.75rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; border: 1px solid rgba(200, 162, 75, 0.3); }
.finance h2 { color: #fff; font-size: var(--fs-h2); }
.finance p { color: #c9d8ef; margin-top: 0.9rem; max-width: 46ch; }
.finance__badge { justify-self: center; text-align: center; background: var(--cream-100); color: var(--navy-900); border: 1.5px solid var(--brass-500); border-radius: var(--radius-lg); padding: 1.75rem 2.25rem; box-shadow: var(--sh-float); }
.finance__badge span { display: block; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-400); }
.finance__badge b { display: block; font-family: var(--font-display); font-size: 3rem; line-height: 1.05; color: var(--crimson); margin: 0.25rem 0; }
.finance__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
@media (max-width: 820px) { .finance { grid-template-columns: 1fr; text-align: center; } .finance p { margin-inline: auto; } .finance__actions { justify-content: center; } }

/* --------------------------- Testimonials ------------------------------ */
.reviews__rail { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: none; }
.reviews__rail::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; flex: 0 0 min(420px, 86%); background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--sh-card); border: 1px solid var(--cloud-100); position: relative; }
.review__quote { font-size: 4rem; line-height: 0.5; font-family: var(--font-display); color: var(--cloud-100); position: absolute; top: 1.6rem; right: 1.5rem; }
.review .stars { margin-bottom: 0.9rem; }
.review p { color: var(--ink-700); font-size: 1rem; }
.review__person { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.4rem; }
.review__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy-800); color: var(--brass-300); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; flex: none; }
.review__name { font-family: var(--font-display); font-weight: 700; color: var(--navy-900); }
.review__loc { font-size: var(--fs-sm); color: var(--muted); }
.reviews__controls { display: flex; justify-content: center; gap: 0.75rem; margin-top: 1.5rem; }
.reviews__btn { width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--cloud-100); box-shadow: var(--sh-card); display: grid; place-items: center; color: var(--navy-800); transition: background 0.2s, color 0.2s, transform 0.2s; }
.reviews__btn:hover { background: var(--navy-900); color: #fff; transform: translateY(-2px); }
.reviews__btn svg { width: 22px; height: 22px; }

/* --------------------------- Service area ------------------------------ */
.area__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.area__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--sh-lg); background: #eef3fb; border: 1px solid var(--cloud-100); }
.area__towns { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.5rem; }
.area__town { display: inline-flex; align-items: center; gap: 0.4rem; background: #fff; border: 1px solid var(--cloud-100); border-radius: 999px; padding: 0.45rem 0.9rem; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-700); box-shadow: var(--sh-card); }
.area__town svg { width: 14px; height: 14px; color: var(--crimson); }
@media (max-width: 820px) { .area__wrap { grid-template-columns: 1fr; } }

/* ------------------------------- FAQ ----------------------------------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq__item { border: 1px solid var(--cloud-100); border-radius: var(--radius); background: #fff; margin-bottom: 0.8rem; overflow: hidden; transition: box-shadow 0.3s, border-color 0.3s; }
.faq__item.is-open { box-shadow: var(--sh-card); border-color: var(--brass-500); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; color: var(--navy-900); }
.faq__icon { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--cloud-50); display: grid; place-items: center; transition: background 0.3s, transform 0.3s var(--ease); }
.faq__item.is-open .faq__icon { background: var(--crimson); transform: rotate(135deg); }
.faq__icon svg { width: 18px; height: 18px; color: var(--navy-800); transition: color 0.3s; }
.faq__item.is-open .faq__icon svg { color: #fff; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.faq__a-inner { padding: 0 1.4rem 1.25rem; color: var(--ink-600); }

/* ---------------------------- Final CTA -------------------------------- */
.cta { color: #fff; text-align: center; }
.cta__inner { max-width: 760px; margin-inline: auto; }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 3rem); }
.cta p { color: #c9d8ef; font-size: var(--fs-lead); margin-top: 1rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 2rem; }
.cta__promise { margin-top: 1.5rem; font-size: var(--fs-sm); color: var(--brass-300); font-weight: 600; }

/* ------------------------------ Footer --------------------------------- */
.footer { background: var(--navy-900); background-image: var(--grain); color: #9fb3d1; padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid rgba(200, 162, 75, 0.5); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer p { font-size: 0.95rem; margin-top: 1rem; }
.footer h4 { color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer__links { display: grid; gap: 0.6rem; }
.footer__links a { font-size: 0.95rem; transition: color 0.2s; }
.footer__links a:hover { color: var(--brass-300); }
.footer__contact { display: grid; gap: 0.85rem; }
.footer__contact a, .footer__contact span { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.95rem; }
.footer__contact svg { width: 18px; height: 18px; color: var(--brass-500); flex: none; margin-top: 2px; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; transition: background 0.2s, transform 0.2s; }
.footer__social a:hover { background: var(--crimson); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; color: #fff; }
.footer__signoff { color: var(--brass-300); font-family: var(--font-display); font-weight: 700; margin-top: 1.25rem; }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; align-items: center; font-size: var(--fs-sm); }
.footer__credterms { color: var(--brass-300); font-weight: 600; letter-spacing: 0.05em; }
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ------------------------ Mobile sticky call bar ----------------------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; grid-template-columns: 1fr 1fr; box-shadow: var(--sh-float); transform: translateY(110%); transition: transform 0.4s var(--ease); }
.callbar.is-on { transform: none; }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 56px; font-family: var(--font-body); font-weight: 700; font-size: 0.98rem; color: #fff; }
.callbar a svg { width: 20px; height: 20px; }
.callbar__call { background: var(--navy-900); }
.callbar__quote { background: var(--crimson); }
@media (max-width: 768px) { .callbar { display: grid; } }

/* ----------------------------- Back to top ----------------------------- */
.totop { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 65; width: 50px; height: 50px; border-radius: 12px; background: var(--navy-900); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-lg); border: 1px solid rgba(200, 162, 75, 0.4); opacity: 0; transform: translateY(20px) scale(0.85); pointer-events: none; transition: all 0.3s var(--ease); }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--crimson); transform: translateY(-3px); }
.totop svg { width: 24px; height: 24px; }
@media (max-width: 768px) { .totop { bottom: 4.75rem; } }

/* -------------------- Financing calculator ----------------------------- */
.calc { background: var(--cream-100); color: var(--navy-900); border: 1.5px solid var(--brass-500); border-radius: var(--radius-lg); padding: 1.6rem 1.6rem 1.4rem; box-shadow: var(--sh-float); }
.calc__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.calc__row span { font-size: 0.82rem; font-weight: 600; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.08em; }
.calc__row b { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy-900); }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: var(--cloud-100); margin: 0.9rem 0 1.1rem; cursor: pointer; }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--navy-900); border: 3px solid var(--brass-500); cursor: ew-resize; box-shadow: var(--sh-card); }
.calc input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--navy-900); border: 3px solid var(--brass-500); cursor: ew-resize; }
.calc__field { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.calc__field label { font-size: 0.82rem; font-weight: 600; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.08em; }
.calc__field select { min-height: 44px; padding: 0.5rem 0.8rem; border: 1.5px solid var(--cloud-100); border-radius: 10px; background: #fff; color: var(--navy-900); font-weight: 600; }
.calc__out { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; padding: 1rem 0 1.2rem; border-top: 1px solid var(--cloud-100); }
.calc__out span { font-size: 0.82rem; font-weight: 600; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.08em; }
.calc__out b { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--crimson); font-variant-numeric: tabular-nums; }
.calc__out small { color: var(--ink-400); font-weight: 600; }
.calc__fine { font-size: 0.68rem; color: var(--ink-400); margin-top: 0.85rem; line-height: 1.5; }

/* -------------------- Service-area zip checker ------------------------- */
.zipcheck { display: flex; gap: 0.6rem; margin-top: 1.5rem; max-width: 460px; }
.zipcheck input { flex: 1; min-height: 52px; padding: 0 1rem; border: 1.5px solid var(--cloud-100); border-radius: 12px; background: #fff; color: var(--navy-900); }
.zipcheck input:focus { border-color: var(--navy-500); box-shadow: 0 0 0 3px rgba(46, 89, 143, 0.14); }
.zipcheck .btn { flex: none; }
.zipresult { margin-top: 0.9rem; font-weight: 600; font-size: 0.95rem; display: none; align-items: center; gap: 0.55rem; padding: 0.7rem 1rem; border-radius: 12px; }
.zipresult.is-on { display: inline-flex; }
.zipresult svg { width: 20px; height: 20px; flex: none; }
.zipresult--yes { background: rgba(31, 138, 76, 0.12); color: #15663a; }
.zipresult--maybe { background: rgba(200, 162, 75, 0.16); color: var(--brass-700); }
.zipresult--no { background: var(--cloud-50); color: var(--ink-600); }
.zipresult a { color: var(--crimson); font-weight: 700; }
@media (max-width: 480px) { .zipcheck { flex-direction: column; } .zipcheck .btn { width: 100%; } }

/* ------------------------------ Helpers -------------------------------- */
.sr-only { position: absolute; 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: 1rem; top: -100px; z-index: 200; background: #fff; color: var(--navy-900); padding: 0.6rem 1rem; border-radius: 8px; box-shadow: var(--sh-card); transition: top 0.2s; }
.skip-link:focus { top: 1rem; }
