/* =========================================================
   Beamers Heating & Cooling — site styles
   Tokens first; components below. No framework.
   ========================================================= */

:root {
  --navy-950: #061021;
  --navy-900: #08162b;
  --navy-800: #0e2240;
  --navy-700: #1a3358;
  --navy-600: #2b4a78;
  --mist: #eef2f6;
  --line: #d6dee8;
  --steel: #4d5e76;
  --ink: #0e1a2c;
  --white: #ffffff;
  --ember: #f06a1d;
  --ember-hover: #ff7f36;
  --ember-text: #b9470a;        /* orange that passes AA on white */
  --cool: #47b0e8;
  --ok: #1d7a4a;
  --err: #b42318;

  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4rem);

  --wrap: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --radius-sm: 6px;
  --radius-lg: 18px;
  --shadow-lift: 0 18px 40px -18px rgba(6, 16, 33, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  padding-bottom: 76px; /* room for mobile action bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--ember-text); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 112%;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  color: var(--navy-900);
}
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 800; }
h3 { font-size: var(--step-1); font-weight: 700; font-stretch: 105%; }
p { margin: 0 0 1em; max-width: 68ch; }

:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ember); color: var(--navy-950); padding: 0.6rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy-900); color: #dce5f0; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.lede { font-size: var(--step-1); color: var(--steel); max-width: 60ch; }
.section--navy .lede { color: #b8c6d8; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 52px; padding: 0.8rem 1.4rem;
  font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 1.05rem;
  border-radius: var(--radius-sm); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.1;
  transition: background-color .15s ease, transform .15s ease, border-color .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--call { background: var(--ember); color: var(--navy-950); }
.btn--call:hover { background: var(--ember-hover); color: var(--navy-950); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.btn--navy { background: var(--navy-800); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); color: var(--white); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: var(--white); }
.btn--lg { min-height: 60px; font-size: 1.15rem; padding: 0.9rem 1.7rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* ---------- Setup banner (only renders when config is incomplete) ---------- */
.setup-banner {
  background: #fff4d6; color: #5a3d00; border-bottom: 2px solid #e8b100;
  font-size: var(--step--1); padding: 0.55rem 0;
}
.setup-banner strong { font-weight: 700; }
.ph {
  outline: 2px dashed #e8b100; outline-offset: 2px; background: #fff4d6; color: #5a3d00;
  padding: 0 0.3em; border-radius: 3px; font-weight: 600;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-900); color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--white); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--white); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 1.15rem; line-height: 1; }
.brand-name small { display: block; font-weight: 500; font-stretch: 100%; font-family: var(--font-body); font-size: 0.82rem; color: #9fb2c9; margin-top: 4px; letter-spacing: 0.01em; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-sm); color: var(--white); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.site-nav a {
  display: block; padding: 0.6rem 0.75rem; color: #d5dfec; text-decoration: none; font-weight: 600; font-size: 0.98rem; border-radius: var(--radius-sm);
}
.site-nav a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.site-nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -3px 0 var(--ember); border-radius: 0; }
.header-call { display: none; }

.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.1); padding: 0.5rem var(--gutter) 1.2rem;
  box-shadow: var(--shadow-lift);
}
.site-nav.is-open ul { flex-direction: column; }
.site-nav.is-open a { padding: 0.9rem 0.5rem; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.07); border-radius: 0; }
.site-nav.is-open a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--ember); padding-left: 1rem; }

@media (min-width: 1060px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; padding: 0; box-shadow: none; border: 0; background: none; }
  .site-nav.is-open ul { flex-direction: row; }
  .site-nav.is-open a { padding: 0.6rem 0.75rem; font-size: 0.98rem; border: 0; }
  .header-call { display: inline-flex; min-height: 46px; padding: 0.6rem 1.1rem; }
}

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--navy-950); border-top: 1px solid rgba(255,255,255,.12);
}
.action-bar .btn { min-height: 52px; padding: 0.6rem; font-size: 1rem; }
@media (min-width: 900px) { .action-bar { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: #cfdaea;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}
.hero::before { /* faint supply-register louvers */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px);
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
}
.hero-grid { position: relative; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; } }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero .lede { color: #b8c6d8; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 1.8rem; padding: 0; list-style: none; font-size: var(--step--1); color: #9fb2c9; }
.hero-meta li { display: flex; align-items: center; gap: 0.45rem; }
.hero-meta svg { width: 18px; height: 18px; color: var(--ember); }

/* Page hero (interior pages) */
.page-hero { background: var(--navy-900); color: #cfdaea; padding: clamp(2.6rem, 6vw, 4.5rem) 0; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px);
  -webkit-mask-image: linear-gradient(90deg, transparent 50%, #000 100%); mask-image: linear-gradient(90deg, transparent 50%, #000 100%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero .lede { color: #b8c6d8; }
.crumbs { font-size: var(--step--1); margin-bottom: 1rem; color: #9fb2c9; }
.crumbs a { color: #c9d6e6; }

/* ---------- Thermostat triage (signature element) ---------- */
.stat {
  --mode: var(--ember);
  position: relative; background: linear-gradient(160deg, #13294b, var(--navy-950));
  border: 1px solid rgba(255,255,255,.1); border-radius: 28px; padding: 1.6rem;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08);
  max-width: 440px; width: 100%; justify-self: center;
}
.stat[data-mode="cool"] { --mode: var(--cool); }
.stat-q { font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 1.15rem; color: var(--white); margin: 0 0 1.1rem; }
.stat-dial { position: relative; width: min(240px, 70%); margin: 0 auto 1.3rem; aspect-ratio: 1; }
.stat-dial svg { width: 100%; height: 100%; }
.stat-track { stroke: rgba(255,255,255,.1); }
.stat-arc { stroke: var(--mode); transition: stroke-dashoffset .6s cubic-bezier(.2,.7,.2,1), stroke .3s ease; }
.stat-readout { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.stat-big { font-family: var(--font-display); font-stretch: 120%; font-weight: 800; font-size: clamp(1.5rem, 5vw, 1.9rem); color: var(--white); line-height: 1.05; }
.stat-small { font-size: 0.9rem; color: #9fb2c9; margin-top: 0.35rem; }
.stat-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 1rem; }
.stat-mode {
  min-height: 64px; padding: 0.5rem 0.3rem; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); color: #d5dfec;
  font: 600 0.92rem/1.15 var(--font-body); cursor: pointer; display: grid; justify-items: center; gap: 0.3rem;
}
.stat-mode svg { width: 22px; height: 22px; }
.stat-mode:hover { border-color: rgba(255,255,255,.35); color: var(--white); }
.stat-mode[aria-pressed="true"] { border-color: var(--mode); color: var(--white); background: rgba(255,255,255,.08); box-shadow: inset 0 -3px 0 var(--mode); }
.stat-go { width: 100%; }
.stat-note { font-size: 0.85rem; color: #8ea2bb; margin: 0.8rem 0 0; text-align: center; max-width: none; }

/* ---------- Services (home) ---------- */
.services-head { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
@media (min-width: 900px) { .services-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.service-list { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .service-list { grid-template-columns: repeat(2, 1fr); } }
.service {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start;
  padding: 1.6rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
.service--feature { background: var(--navy-800); border-color: var(--navy-800); color: #c9d6e6; }
.service--feature h3 { color: var(--white); }
.service:hover { border-color: var(--navy-600); color: inherit; }
.service--feature:hover { color: #c9d6e6; border-color: var(--ember); }
.service-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--mist); color: var(--navy-800); }
.service--feature .service-icon { background: rgba(255,255,255,.08); color: var(--ember); }
.service-icon svg { width: 28px; height: 28px; }
.service h3 { margin-bottom: 0.35rem; }
.service p { margin: 0 0 0.8rem; font-size: 1rem; }
.service-link { font-weight: 700; color: var(--ember-text); }
.service--feature .service-link { color: var(--ember); }

/* ---------- Why us ---------- */
.why-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.why-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list svg { width: 30px; height: 30px; color: var(--ember-text); margin-top: 2px; }
.why-list h3 { margin-bottom: 0.25rem; }
.why-list p { margin: 0; color: var(--steel); }

/* ---------- Financing band ---------- */
.fin-band { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .fin-band { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }
.fin-options { display: grid; gap: 1rem; }
.fin-opt { padding: 1.3rem 1.4rem; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); }
.fin-opt h3 { margin-bottom: 0.3rem; font-size: 1.15rem; }
.fin-opt p { margin: 0; color: #b8c6d8; font-size: 1rem; }
.pill { display: inline-block; font-size: 0.8rem; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 99px; margin-left: 0.4rem; vertical-align: middle; font-family: var(--font-body); font-stretch: 100%; }
.pill--soon { background: rgba(240,106,29,.15); color: #ffb48a; }
.pill--live { background: rgba(29,122,74,.2); color: #8fe0b4; }
.fine { font-size: 0.88rem; color: var(--steel); }
.section--navy .fine { color: #8ea2bb; }

/* ---------- Area ---------- */
.area-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .area-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; } }
.area-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.area-list li { padding: 0.45rem 0.9rem; background: var(--white); border: 1px solid var(--line); border-radius: 99px; font-weight: 600; font-size: 0.98rem; }
.area-graphic { border-radius: var(--radius-lg); background: var(--navy-800); color: #b8c6d8; padding: 2rem; aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; }
.area-graphic > svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.area-graphic .pin { position: relative; z-index: 1; }
.area-graphic .pin svg { width: 36px; height: 36px; margin: 0 auto 0.5rem; color: var(--ember); }
.area-graphic strong { display: block; color: var(--white); font-family: var(--font-display); font-stretch: 115%; font-size: var(--step-2); }

/* ---------- Testimonials ---------- */
.reviews { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .reviews { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
.review { margin: 0; padding: 1.6rem; border-left: 4px solid var(--ember); background: var(--white); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.review blockquote { margin: 0 0 1rem; font-size: 1.1rem; }
.review figcaption { font-weight: 700; color: var(--navy-800); }
.review figcaption span { font-weight: 400; color: var(--steel); }
.reviews-empty { padding: 2rem; border: 2px dashed var(--line); border-radius: var(--radius-lg); background: var(--white); }
.reviews-empty p:last-child { margin-bottom: 0; }

/* ---------- Final CTA ---------- */
.cta-final { background: var(--ember); color: var(--navy-950); padding: clamp(3rem, 7vw, 5rem) 0; }
.cta-final h2 { color: var(--navy-950); max-width: 20ch; }
.cta-final p { font-size: var(--step-1); }
.cta-final .btn--call { background: var(--navy-950); color: var(--white); }
.cta-final .btn--call:hover { background: var(--navy-800); color: var(--white); }
.cta-final .btn--outline { border-color: var(--navy-950); color: var(--navy-950); }
.cta-final .btn--outline:hover { background: var(--navy-950); color: var(--white); }
.cta-final a:not(.btn) { color: var(--navy-950); }

/* ---------- Interior content ---------- */
.two-col { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .two-col { grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: start; } }
.prose h2 { margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.7rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--ember) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308162b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.cols-2 { columns: 2 220px; column-gap: 2rem; }
.cols-2 li { break-inside: avoid; }

.signs { display: grid; gap: 1rem; margin: 1.5rem 0 2rem; }
@media (min-width: 640px) { .signs { grid-template-columns: 1fr 1fr; } }
.sign { padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.sign h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.sign p { margin: 0; font-size: 0.98rem; color: var(--steel); }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.5rem 0; display: grid; gap: 1.2rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3.4rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -0.1rem; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy-800); color: var(--white); font-family: var(--font-display); font-weight: 800;
}
.steps h3 { margin-bottom: 0.2rem; }
.steps p { margin: 0; color: var(--steel); }

.aside-card { position: sticky; top: 96px; padding: 1.6rem; border-radius: var(--radius-lg); background: var(--navy-800); color: #c9d6e6; }
.aside-card h2 { color: var(--white); font-size: var(--step-2); }
.aside-card .btn { width: 100%; margin-top: 0.7rem; }
.aside-card .btn--outline { border-color: rgba(255,255,255,.5); color: var(--white); }
.aside-card .btn--outline:hover { background: rgba(255,255,255,.1); }

.callout { padding: 1.3rem 1.5rem; border-radius: var(--radius-sm); background: var(--mist); border-left: 4px solid var(--navy-700); margin: 1.5rem 0; }
.callout p:last-child { margin-bottom: 0; }
.callout--warn { border-left-color: var(--ember); }

/* Financing page */
.plans { display: grid; gap: 1.5rem; margin: 2rem 0; }
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { padding: 1.8rem; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; }
.plan h3 { font-size: var(--step-2); }
.plan .checks { flex: 1; }
.plan-status { font-weight: 700; font-size: 0.92rem; margin-bottom: 1rem; }
.plan-status--soon { color: var(--ember-text); }
.plan-status--live { color: var(--ok); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.1rem 2.2rem 1.1rem 0; font-weight: 700; font-size: 1.08rem; list-style: none; position: relative; color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.3rem; top: 0.85rem; font-size: 1.5rem; font-weight: 400; color: var(--ember-text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.2rem; color: var(--steel); }

/* About */
.about-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: start; } }
.photo-slot {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: var(--mist); border: 2px dashed var(--line);
  display: grid; place-items: center; text-align: center; padding: 2rem; color: var(--steel);
}
.photo-slot svg { width: 48px; height: 48px; margin: 0 auto 0.6rem; color: var(--navy-600); }
.owner-photo { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: 78% center; width: 100%; }
.values { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value h3 { display: flex; gap: 0.6rem; align-items: center; }
.value svg { width: 24px; height: 24px; color: var(--ember-text); }
.value p { color: var(--steel); margin: 0; }
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery img { border-radius: var(--radius-sm); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* ---------- Form ---------- */
.form-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); padding: clamp(1.3rem, 4vw, 2.2rem); box-shadow: var(--shadow-lift); }
.form-card h2 { font-size: var(--step-2); }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 0.35rem; color: var(--navy-900); font-size: 1rem; }
.field .opt { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink);
  padding: 0.75rem 0.85rem; min-height: 50px; border: 1.5px solid #b7c3d3; border-radius: var(--radius-sm); background: var(--white);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(240,106,29,.35); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field-error { color: var(--err); font-size: 0.92rem; margin-top: 0.3rem; font-weight: 600; }
.field-error:empty { display: none; }
.field-hint { font-size: 0.9rem; color: var(--steel); margin-top: 0.3rem; }
.check-field { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.98rem; color: var(--steel); }
.check-field input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--navy-800); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 1.4rem; display: grid; gap: 0.8rem; }
.form-actions .btn { width: 100%; }
@media (min-width: 640px) { .form-actions .btn { width: auto; justify-self: start; } }
.form-status { padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-status:empty { display: none; }
.form-status--err { background: #fdecea; color: var(--err); border: 1px solid #f5c2bd; }
.form-success { text-align: left; padding: 1rem 0; }
.form-success svg { width: 56px; height: 56px; color: var(--ok); margin-bottom: 0.8rem; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.privacy-note { font-size: 0.88rem; color: var(--steel); margin: 0; }

/* Contact page layout */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.4fr 0.8fr; gap: 3.5rem; align-items: start; } }
.contact-methods { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.contact-methods li { display: grid; grid-template-columns: 40px 1fr; gap: 0.9rem; }
.contact-methods svg { width: 26px; height: 26px; color: var(--ember-text); margin-top: 3px; }
.contact-methods strong { display: block; color: var(--navy-900); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #9fb2c9; padding: 3.5rem 0 2rem; font-size: 0.98rem; }
.site-footer a { color: #d5dfec; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.site-footer h2 { font-size: 1.05rem; color: var(--white); margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-phone { font-family: var(--font-display); font-stretch: 112%; font-size: 1.6rem; font-weight: 800; color: var(--white) !important; display: inline-block; margin: 0.5rem 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.88rem; }

/* ---------- One orchestrated load moment: hero only ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lede, .hero .btn-row, .hero .stat { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero .lede { animation-delay: .08s; }
  .hero .btn-row { animation-delay: .16s; }
  .hero .stat { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* Grouped town lists (service area) */
.town-groups { display: grid; gap: 2rem; }
@media (min-width: 900px) { .town-groups { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.town-group h3 { padding-bottom: 0.6rem; border-bottom: 3px solid var(--ember); display: inline-block; }
.town-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1.2rem; }
.town-list li { padding: 0.2rem 0; break-inside: avoid; font-size: 0.98rem; }
.why-photo { margin-top: 1.8rem; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; object-position: 30% 35%; width: 100%; }
