/* ==========================================================================
   Sioux Falls HVAC Repair — site.css
   --------------------------------------------------------------------------
   PERFORMANCE NOTES (why this file looks the way it does):
   - One small stylesheet for the whole site. Cached after the first page view,
     so every subsequent page (service -> location -> contact) is near-instant.
     That matters because the money path is Home -> Location -> Call.
   - No webfonts. System font stack renders on the first paint with zero network
     requests and zero layout shift (protects LCP + CLS in Core Web Vitals).
   - No CSS framework. Tailwind's build step + purge config is a maintenance tax
     on a static lead-gen site the owner will edit by hand. Hand-rolled CSS here
     is ~31KB on disk (heavily commented) but ~8.6KB over the wire with gzip,
     and it does exactly what the conversion layout needs. Strip the comments
     at deploy time if you want it smaller; do not strip them in the repo.
   - Mobile-first: every base rule targets the phone. Desktop is the override.
     70-85% of "hvac repair near me" traffic is mobile, usually on a furnace
     that just quit. The phone layout IS the product.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   Blue-collar trust palette: deep navy (authority/uniform), safety orange
   (the ONLY color used for CTAs, so the eye learns "orange = the action"),
   high-contrast text. Deliberately not flashy — homeowners in a cold house
   are buying reliability, not design.
   -------------------------------------------------------------------------- */
:root {
  --navy-900: #071b33;
  --navy-800: #0b2545;
  --navy-700: #12365f;
  --navy-600: #1b4a7d;
  --navy-050: #eef4fb;

  --orange-600: #c8471a;
  --orange-500: #e2570f; /* accent only — decorative fills, borders, focus ring */
  --orange-400: #f5761f; /* 5.5:1 on navy — safe for text on dark sections */
  --orange-050: #fff3ea;

  /* CTA fills carry white bold text, so they must clear WCAG AA for NORMAL
     text, not just large. Measured white-on-fill ratios:
       --orange-500 #e2570f = 3.75:1  (large text only — NOT used for buttons)
       --cta        #c8471a = 4.80:1  ✓ AA normal
       --cta-hover  #a63a13 = 6.49:1  ✓ AA normal
     Use --cta for every solid button/bar that contains text. */
  --cta: #c8471a;
  --cta-hover: #a63a13;

  --green-700: #1c6b3f; /* used for "verified / licensed" affirmations only */
  --green-050: #ecf7f0;

  --ink-900: #10151c;   /* body copy — 16.8:1 on white */
  --ink-700: #333d4a;
  --ink-500: #5b6674;
  --line: #dbe2ea;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;

  /* Brand colours, taken from the logo. The snowflake blue is now a real
     part of the system: orange = heating/urgency/CTA, blue = cooling. Using
     them consistently is what makes the site read as designed rather than
     assembled. */
  --logo-navy: #1c3557;
  --logo-orange: #f15a22;
  --cool-600: #1c82c8;   /* snowflake blue */
  --cool-700: #15669e;   /* 4.9:1 on white — safe for text */
  --cool-050: #eaf4fb;

  --star: #f0a202;       /* 7.2:1 on navy — hero rating row */
  --star-light: #b8860b; /* 3.25:1 on white — meets the 3:1 non-text minimum */

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(7, 27, 51, .08), 0 2px 6px rgba(7, 27, 51, .06);
  --shadow-md: 0 4px 12px rgba(7, 27, 51, .10), 0 12px 28px rgba(7, 27, 51, .08);

  --wrap: 1140px;
  --gutter: 20px;

  /* SPACING SCALE
     Previously every gap was an ad-hoc number (18, 22, 26, 34…). A fixed
     scale is most of what separates "designed" from "assembled" — the eye
     reads consistent intervals as intentional even when it can't name why. */
  --s1: 4px;   --s2: 8px;   --s3: 12px;  --s4: 16px;
  --s5: 20px;  --s6: 26px;  --s7: 32px;  --s8: 40px;
  --s9: 52px;  --s10: 64px; --s11: 80px; --s12: 104px;

  /* Section rhythm. Bigger than before: the old uniform 44/68px made every
     block the same height, which is exactly what makes a page feel
     machine-generated. Three tiers now, used deliberately. */
  --sec-y: var(--s9);
  --sec-y-tight: var(--s8);
  --sec-y-loose: var(--s11);

  /* Height of the mobile floating call bar. Used to pad the body so the bar
     never covers the final CTA or footer links (a classic lead-killer). */
  --callbar-h: 68px;
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Anchor links (#faq, #quote) must not slide under the sticky header. */
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  /* 17px base on mobile. Bigger than the 16px default on purpose: the average
     "my furnace is out" visitor is stressed and often over 45. Readability
     directly moves scroll depth. */
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 900px) {
  body { font-size: 17px; padding-bottom: 0; }
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--navy-600); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:hover { color: var(--orange-600); }

/* Visible keyboard focus everywhere. Accessibility requirement, and it costs
   nothing — never remove this. */
:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--navy-900);
  text-wrap: balance;
}
/* Tighter tracking and line-height as size goes UP — large text set at body
   metrics looks loose and amateurish. */
h1 { font-size: clamp(2rem, 6.4vw, 3.25rem);  font-weight: 800; line-height: 1.08; letter-spacing: -.028em; }
h2 { font-size: clamp(1.6rem, 4.8vw, 2.3rem); font-weight: 800; line-height: 1.15; letter-spacing: -.022em; }
h3 { font-size: clamp(1.14rem, 3vw, 1.34rem); font-weight: 700; line-height: 1.3;  letter-spacing: -.012em; }
h4 { font-size: 1.06rem; font-weight: 700; line-height: 1.35; letter-spacing: -.008em; }
p  { margin: 0 0 1.05em; max-width: 68ch; }

ul, ol { padding-left: 1.15em; }
li { margin-bottom: .45em; }

/* Screen-reader-only helper for accessible labels we don't want visible. */
.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: -9999px; top: 0; z-index: 999;
  background: var(--navy-900); color: #fff; padding: 12px 18px; font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }

section { padding-block: var(--sec-y); }
@media (min-width: 900px) {
  :root { --sec-y: var(--s11); --sec-y-tight: var(--s9); --sec-y-loose: var(--s12); }
}
.section--tight { padding-block: var(--sec-y-tight); }
.section--loose { padding-block: var(--sec-y-loose); }

/* A hairline at the top of each tonal band. Almost subliminal, but it stops
   adjacent sections from melting into one another on long pages. */
.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid #e6ebf1;
  border-bottom: 1px solid #e6ebf1;
}
.section--navy { background: var(--navy-800); color: #e8eef6; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy a { color: #ffd9c2; }

.section-head { max-width: 760px; margin-bottom: var(--s7); }
@media (min-width: 900px) { .section-head { margin-bottom: var(--s8); } }
.section-head p { color: var(--ink-700); font-size: 1.06rem; margin-bottom: 0; }
.section-head h2 { margin-bottom: .34em; }
.section--navy .section-head p { color: #c2d2e4; }

/* Eyebrow: smaller and more tracked than before, so it reads as a label
   rather than competing with the heading underneath it. */
.eyebrow {
  display: block; font-size: .74rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--orange-600); margin-bottom: var(--s3);
}
.section--navy .eyebrow { color: var(--orange-400); }

.grid { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .grid { gap: var(--s6); } }
@media (min-width: 700px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px)  { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* --------------------------------------------------------------------------
   4. BUTTONS
   Two and only two CTA styles site-wide. A single dominant orange action per
   viewport keeps the decision binary: call, or request the quote.
   Min 52px tall = comfortable thumb target on mobile (WCAG 2.5.5 / real-world).
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 24px;
  font-size: 1.06rem; font-weight: 800; line-height: 1.2; text-align: center;
  border: 2px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background-color .12s ease, box-shadow .12s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--cta); color: #fff; box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--cta-hover); color: #fff; }

.btn--ghost {
  background: #fff; color: var(--navy-800); border-color: var(--navy-800);
}
.btn--ghost:hover { background: var(--navy-050); color: var(--navy-900); }

.btn--ghost-light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.6);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }

.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-direction: column; gap: var(--s3); margin-bottom: var(--s4); }
@media (min-width: 620px) { .btn-row { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 620px) { .btn-row .btn { flex: 1 1 auto; min-width: 210px; } }
/* Between 980–1200px the hero's left column is only ~550px, so long CTA
   labels used to wrap the row and blow both buttons out to full width.
   Slightly tighter padding in that band keeps them shoulder to shoulder. */
@media (min-width: 980px) and (max-width: 1200px) {
  .hero .btn-row .btn { padding-inline: var(--s5); font-size: 1.01rem; min-width: 190px; }
}

/* --------------------------------------------------------------------------
   5. HEADER (sticky, both breakpoints)
   The phone number never scrolls out of reach. On a lead-gen site the header
   is not navigation furniture — it is a permanent conversion surface.
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-900); color: #b9cbe0;
  font-size: .8rem; font-weight: 600; letter-spacing: .01em;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: center;
  gap: var(--s5); min-height: 36px; text-align: center;
}
.topbar strong { color: #fff; }
/* Dot separators between the trust-bar items — without them the three claims
   ran together into one unreadable string on desktop. */
.topbar-item { position: relative; padding-left: var(--s5); }
.topbar-item::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%;
  background: rgba(255,255,255,.38);
}
.topbar-item { display: none; }
@media (min-width: 760px) { .topbar-item { display: inline; } }
.topbar-item--always { display: inline; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(7,27,51,.04);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); min-height: 70px; padding-block: var(--s3);
}
@media (min-width: 900px) { .site-header .wrap { min-height: 80px; } }

/* Brand lockup: inline SVG mark + HTML wordmark.
   The mark is inline rather than an <img> so it inherits currentColor (one
   file works on white and on navy) and costs zero extra requests. The
   wordmark stays as live text in the system stack — crisper than an image at
   every size, and it keeps the header at zero network weight. */
.brand {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--logo-navy);
}
.brand__mark {
  width: 40px; height: 37px; flex: 0 0 40px;
  color: var(--logo-navy);   /* house strokes inherit this */
}
@media (min-width: 900px) { .brand__mark { width: 46px; height: 43px; flex-basis: 46px; } }

.brand__name { display: flex; flex-direction: column; line-height: 1.06; }
.brand__name b {
  font-size: 1.12rem; font-weight: 800; color: var(--logo-navy);
  letter-spacing: -.022em;
}
.brand__name span {
  font-size: .82rem; font-weight: 600; color: var(--logo-navy);
  letter-spacing: .005em; opacity: .82;
}
@media (min-width: 420px) { .brand__name b { font-size: 1.2rem; } .brand__name span { font-size: .88rem; } }
@media (min-width: 900px) { .brand__name b { font-size: 1.34rem; } .brand__name span { font-size: .96rem; } }
.brand:hover .brand__name b { color: var(--navy-900); }

/* Reversed lockup for the navy footer. The mark's house strokes follow
   currentColor, so one inline SVG serves both header and footer. */
.footer-brand { color: #fff; margin-bottom: var(--s5); }
.footer-brand .brand__mark { color: #fff; width: 44px; height: 41px; flex-basis: 44px; }
.footer-brand .brand__name b { color: #fff; }
.footer-brand .brand__name span { color: #cfe0f1; opacity: 1; }
.footer-brand:hover .brand__name b { color: #fff; }
.footer-nap { margin-bottom: var(--s3); }

.header-actions { display: flex; align-items: center; gap: var(--s3); }

/* Desktop-only click-to-call block in the header — shows the number as text
   because on desktop people dial from a landline/cell by reading it. */
.header-phone { display: none; text-decoration: none; text-align: right; }
.header-phone small { display: block; font-size: .72rem; font-weight: 700; color: var(--ink-500); text-transform: uppercase; letter-spacing: .06em; }
.header-phone b { font-size: 1.32rem; font-weight: 800; color: var(--navy-900); letter-spacing: -.02em; }
@media (min-width: 900px) { .header-phone { display: block; } }

/* Compact icon-only call button for mobile header. */
.header-call {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 8px 16px; border-radius: var(--radius);
  background: var(--cta); color: #fff; font-weight: 800; text-decoration: none;
  font-size: .98rem;
}
.header-call:hover { background: var(--cta-hover); color: #fff; }
@media (min-width: 900px) { .header-call { display: none; } }

.header-quote { display: none; }
@media (min-width: 900px) { .header-quote { display: inline-flex; min-height: 48px; padding: 12px 20px; } }

/* Nav: a plain <details> disclosure on mobile = zero JS, no hydration cost,
   works if JS fails. */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; cursor: pointer; list-style: none;
}
.nav-toggle::-webkit-details-marker { display: none; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px; position: relative;
}
.nav-toggle span::before { content: ""; position: absolute; top: -6px; }
.nav-toggle span::after  { content: ""; position: absolute; top: 6px; }

.nav { position: relative; }
.nav[open] .nav__panel { display: block; }
.nav__panel {
  display: none; position: absolute; right: 0; top: calc(100% + 10px);
  width: min(92vw, 320px); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 8px;
}
.nav__panel a {
  display: block; padding: 12px 14px; border-radius: 8px;
  color: var(--navy-900); font-weight: 700; text-decoration: none; font-size: 1rem;
}
.nav__panel a:hover { background: var(--navy-050); }
.nav__panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.nav__panel .nav__label {
  padding: 10px 14px 4px; font-size: .74rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-500);
}

@media (min-width: 1060px) {
  /* On wide desktop the primary links sit inline; the disclosure holds overflow. */
  .nav-inline { display: flex; align-items: center; gap: 4px; }
  .nav-inline a {
    padding: 10px 12px; border-radius: 8px; font-weight: 700; font-size: .96rem;
    color: var(--navy-800); text-decoration: none; white-space: nowrap;
  }
  .nav-inline a:hover { background: var(--navy-050); }
  .nav-inline a[aria-current="page"] { color: var(--orange-600); }
}
.nav-inline { display: none; }

/* --------------------------------------------------------------------------
   6. HERO — the ATTENTION block
   Copy order on mobile is deliberate:
   H1 -> subhead -> CALL BUTTON -> quote button -> star rating -> trust badges.
   The primary CTA appears above ~600px of scroll on every phone, and the
   proof lands immediately underneath it to justify the tap.
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  /* Two off-centre radial washes over the navy. Costs nothing, renders
     instantly, and stops the hero reading as a flat colour block — which is
     the single biggest "template" tell on a page like this. */
  background:
    radial-gradient(120% 85% at 78% 8%,  rgba(28,130,200,.20) 0%, rgba(28,130,200,0) 58%),
    radial-gradient(90% 70% at 6% 96%,   rgba(241,90,34,.15)  0%, rgba(241,90,34,0)  60%),
    linear-gradient(180deg, #0d2a4d 0%, #0b2545 60%, #091f3b 100%);
  color: #eaf1f9;
  padding-block: var(--s8) var(--s9);
}
@media (min-width: 900px) { .hero { padding-block: var(--s10) var(--s11); } }

.hero__grid { display: grid; gap: var(--s8); }
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.06fr .94fr; gap: var(--s10); align-items: start; }
}

.hero h1 { color: #fff; margin-bottom: var(--s5); }
.hero__sub {
  font-size: 1.09rem; line-height: 1.6; color: #c5d8ec;
  margin-bottom: var(--s7); max-width: 54ch;
}
@media (min-width: 900px) { .hero__sub { font-size: 1.19rem; } }

/* Rating row — social proof placed directly under the CTA, not buried. */
.rating {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px;
  padding: 14px 0 4px; font-size: .96rem; color: #d5e3f2;
}
.rating__stars { color: var(--star); font-size: 1.12rem; letter-spacing: 2px; }
.rating b { color: #fff; }
.rating__quote {
  margin: 10px 0 0; font-size: .98rem; color: #cfe0f1; font-style: italic;
  border-left: 3px solid var(--orange-500); padding-left: 12px; max-width: 54ch;
}
.rating__quote cite { display: block; font-style: normal; font-size: .86rem; color: #9fb8d2; margin-top: 4px; }

/* Trust badge strip. Five specific, checkable claims beat one vague one. */
.badges {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4) var(--s5);
  margin-top: var(--s7); padding-top: var(--s6);
  border-top: 1px solid rgba(255,255,255,.15);
}
@media (min-width: 620px) { .badges { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .badges { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px){ .badges { grid-template-columns: repeat(3, 1fr); } }
.badge {
  display: flex; align-items: flex-start; gap: var(--s3);
  font-size: .89rem; font-weight: 700; color: #dde9f5; line-height: 1.35;
}
.badge svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--orange-400); margin-top: 1px; }

/* --------------------------------------------------------------------------
   7. HERO FORM CARD
   4 fields, hard maximum. Every field past 4 measurably drops completion on
   mobile service forms. Name / Phone / ZIP / What's wrong — that's all a
   contractor needs to qualify and call back.
   -------------------------------------------------------------------------- */
.form-card {
  background: #fff; color: var(--ink-900);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: var(--s6) var(--s5) var(--s5); border-top: 5px solid var(--cta);
}
@media (min-width: 900px) { .form-card { padding: var(--s7) var(--s7) var(--s6); } }

.form-card h2 { font-size: 1.34rem; margin-bottom: var(--s1); letter-spacing: -.018em; }
.form-card__sub { font-size: .95rem; color: var(--ink-700); margin-bottom: var(--s5); }

.field { margin-bottom: var(--s4); }
.field label {
  display: block; font-size: .88rem; font-weight: 700; color: var(--ink-900); margin-bottom: 5px;
}
.field .req { color: var(--orange-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px;
  /* 16px minimum prevents iOS Safari from zooming the viewport on focus —
     that zoom is a silent killer of mobile form completion. */
  font-size: 16px; font-family: inherit; color: var(--ink-900);
  border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy-600); outline: 3px solid rgba(27,74,125,.18); outline-offset: 0;
}
.field__hint { font-size: .8rem; color: var(--ink-500); margin-top: 4px; }

/* Honeypot — bots fill it, humans never see it. Keeps lead quality clean,
   which is what buyers actually pay for. */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-reassure {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .82rem; color: var(--ink-500); margin-top: 12px; line-height: 1.45;
}
.form-reassure svg { flex: 0 0 15px; width: 15px; height: 15px; color: var(--green-700); margin-top: 2px; }

/* Shown when a form is submitted before the real endpoint is configured. */
.form-fallback {
  margin-top: 16px; padding: 16px;
  background: var(--orange-050); border: 1px solid var(--orange-400);
  border-radius: var(--radius); font-size: .95rem;
}
.form-fallback strong { display: block; color: var(--navy-900); margin-bottom: 4px; }
.form-fallback span { display: block; color: var(--ink-700); margin-bottom: 12px; }

.form-or {
  display: flex; align-items: center; gap: 12px;
  margin: 16px 0 12px; font-size: .82rem; font-weight: 700; color: var(--ink-500);
  text-transform: uppercase; letter-spacing: .07em;
}
.form-or::before, .form-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* --------------------------------------------------------------------------
   8. 3-STEP PROCESS — the TRANSFORMATION block
   Removes "what happens if I call?" anxiety. Uncertainty is the #1 reason a
   ready-to-buy homeowner closes the tab.
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: var(--s5); counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s6); } }

.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--s6) var(--s5) var(--s5);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) { .step { padding: var(--s7) var(--s6) var(--s6); } }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--s4);
  background: var(--navy-800); color: #fff; border-radius: 50%;
  font-size: 1.18rem; font-weight: 900; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 5px var(--navy-050);
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: .96rem; color: var(--ink-700); margin: 0; }

/* --------------------------------------------------------------------------
   9. CARDS (services, benefits, locations)
   -------------------------------------------------------------------------- */
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--s6) var(--s5); box-shadow: var(--shadow-sm); height: 100%;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
@media (min-width: 900px) { .card { padding: var(--s7) var(--s6); } }
/* Only cards that lead somewhere get the lift — a hover state on a static
   card is a promise the interface doesn't keep. */
.card:has(.card__link):hover {
  border-color: #c3d2e2; box-shadow: var(--shadow-md); transform: translateY(-2px);
}
.card h3 { margin-bottom: var(--s2); }
.card p { font-size: .98rem; color: var(--ink-700); margin-bottom: var(--s4); }
.card ul { margin: 0 0 var(--s5); padding-left: 1.1em; font-size: .96rem; color: var(--ink-700); }
.card ul li { margin-bottom: .38em; }
.card__link {
  margin-top: auto; font-weight: 800; text-decoration: none; color: var(--orange-600);
  display: inline-flex; align-items: center; gap: 6px; font-size: 1rem;
}
.card__link:hover { text-decoration: underline; }
.card__icon {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: var(--orange-050); color: var(--orange-600); margin-bottom: 12px;
}
.card__icon svg { width: 24px; height: 24px; }

/* Secondary card tier. Must stay visible on BOTH white and --bg-alt
   sections, so it keeps a white fill and a visible border and drops only the
   shadow — the previous version used --bg-alt, which made it disappear
   entirely inside .section--alt. */
.card--flat {
  box-shadow: none; background: #fff; border-color: var(--line);
}
.card--flat h3 { font-size: 1.08rem; }
.section--alt .card--flat { background: #fff; }

/* Benefit list with checkmarks — scannable, benefit-before-feature. */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); }
.checklist li { display: flex; gap: 11px; align-items: flex-start; margin: 0; font-size: 1rem; }
.checklist svg { flex: 0 0 21px; width: 21px; height: 21px; color: var(--green-700); margin-top: 3px; }
.checklist b { display: block; color: var(--navy-900); }
.checklist span { color: var(--ink-700); font-size: .96rem; }
/* Checklists on ANY dark band. Previously only .section--navy was covered,
   so the checklist inside .cta-band inherited --navy-900 body colour and
   rendered near-invisible navy-on-navy. Both selectors now, always together. */
.section--navy .checklist b,
.cta-band .checklist b { color: #fff; }
.section--navy .checklist span,
.cta-band .checklist span { color: #c6d8ea; }
.section--navy .checklist svg,
.cta-band .checklist svg { color: #5fd694; }

/* --------------------------------------------------------------------------
   10. STAT BAND — specific numbers beat adjectives
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s7) var(--s5); text-align: center; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat b {
  display: block; font-size: clamp(1.8rem, 6vw, 2.5rem); font-weight: 900;
  color: var(--orange-400); line-height: 1.05; letter-spacing: -.02em;
}
.stat span { display: block; font-size: .89rem; color: #bdd0e4; font-weight: 600; margin-top: var(--s2); line-height: 1.4; }

/* --------------------------------------------------------------------------
   11. TESTIMONIALS — the DESIRE block
   Name + neighborhood/town + the specific job. Vague praise converts nothing;
   "furnace out at 11pm in Harrisburg, back on by 1am" converts.
   -------------------------------------------------------------------------- */
.quotes { display: grid; gap: var(--s5); }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: var(--s6); } }

.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.quote__stars { color: var(--star-light); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 10px; }
.quote p { font-size: .99rem; color: var(--ink-900); margin-bottom: 14px; }
.quote footer { margin-top: auto; font-size: .89rem; color: var(--ink-500); }
.quote footer b { display: block; color: var(--navy-900); font-size: .96rem; }

/* --------------------------------------------------------------------------
   11b. TRUST PANEL
   Replaces the fabricated testimonial blocks removed in the Step 1 cleanup.
   Styled as a deliberate statement rather than a card grid — it should read
   as the company speaking plainly, not as another marketing module.
   -------------------------------------------------------------------------- */
.trust-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--cta);
  border-radius: var(--radius-lg);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 760px) { .trust-panel { padding: 34px 34px 30px; } }

.trust-panel h2 {
  font-size: clamp(1.28rem, 3.6vw, 1.68rem);
  margin-bottom: 12px;
}
.trust-panel__lede {
  font-size: 1.03rem;
  color: var(--ink-700);
  margin-bottom: 22px;
}
.trust-panel .checklist { margin-bottom: 22px; }
.trust-panel .checklist li { align-items: flex-start; }
.trust-panel .checklist b { margin-bottom: 2px; }
.trust-panel__foot {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .97rem;
  color: var(--ink-500);
  max-width: none;
}
.section--alt .trust-panel { background: #fff; }

/* Hero honesty note — sits where the fabricated star rating used to be. */
.hero__note {
  border-left: 3px solid var(--orange-400);
  padding: 2px 0 2px 14px;
  margin: 20px 0 4px;
  font-size: .98rem;
  color: #cfe0f1;
  max-width: 58ch;
}
.hero__note strong { color: #fff; display: block; margin-bottom: 3px; }

/* --------------------------------------------------------------------------
   12. GALLERY / PROJECT CARDS
   -------------------------------------------------------------------------- */
.gallery { display: grid; gap: 18px; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery--3 { grid-template-columns: repeat(3, 1fr); } }

.shot {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-alt); }
.shot__body { padding: 16px 18px 18px; }
.shot__body h3 { font-size: 1.05rem; margin-bottom: 5px; }
.shot__body p { font-size: .93rem; color: var(--ink-700); margin: 0 0 8px; }
.shot__meta {
  font-size: .8rem; font-weight: 700; color: var(--orange-600);
  text-transform: uppercase; letter-spacing: .05em;
}

/* --------------------------------------------------------------------------
   13. FAQ — pure CSS accordion via <details>. No JS, keyboard accessible,
   and the answer text stays in the DOM so Google indexes all of it.
   -------------------------------------------------------------------------- */
.faq { max-width: 820px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; margin-bottom: var(--s3); overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.faq details[open] { border-color: var(--navy-600); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4);
  padding: var(--s4) var(--s5); cursor: pointer; font-weight: 700; font-size: 1.04rem;
  color: var(--navy-900); list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: 0 0 auto; font-size: 1.5rem; font-weight: 700; line-height: 1;
  color: var(--orange-600);
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { background: var(--navy-050); }
.faq .faq__a { padding: 0 var(--s5) var(--s5); }
.faq .faq__a p { font-size: .99rem; color: var(--ink-700); margin-bottom: .8em; }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   14. FINAL CTA BAND — the ACTION block
   -------------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(100% 80% at 88% 12%, rgba(28,130,200,.18) 0%, rgba(28,130,200,0) 60%),
    linear-gradient(160deg, #0d2a4d, #071b33);
  color: #fff;
}
.cta-band__grid { display: grid; gap: var(--s8); }
@media (min-width: 940px) { .cta-band__grid { grid-template-columns: 1fr .85fr; gap: var(--s10); align-items: center; } }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9dbee; }

/* Big tap-the-number block. On mobile the number itself is the button. */
.phone-block {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-lg); padding: 16px 18px; margin-bottom: 14px;
}
.phone-block:hover { background: rgba(255,255,255,.13); }
.phone-block__icon {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--cta); color: #fff; display: grid; place-items: center;
}
.phone-block__icon svg { width: 22px; height: 22px; }
.phone-block small { display: block; font-size: .78rem; font-weight: 700; color: #a9c2dc; text-transform: uppercase; letter-spacing: .07em; }
.phone-block b { font-size: clamp(1.45rem, 6vw, 1.95rem); color: #fff; font-weight: 900; letter-spacing: -.02em; line-height: 1.15; }

/* --------------------------------------------------------------------------
   15. LOCAL CONTENT BLOCKS (location pages)
   -------------------------------------------------------------------------- */
.prose { max-width: 70ch; }
.prose > h2 { margin-top: 1.6em; }
.prose > h3 { margin-top: 1.5em; }
.prose > *:first-child { margin-top: 0; }
.prose ul, .prose ol { margin-bottom: 1.2em; }
.prose ul li { margin-bottom: .55em; }

.callout {
  background: var(--orange-050); border-left: 4px solid var(--orange-500);
  border-radius: 0 var(--radius) var(--radius) 0; padding: var(--s5); margin: var(--s7) 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--navy-900); }

.note {
  background: var(--cool-050); border-left: 4px solid var(--cool-600);
  border-radius: 0 var(--radius) var(--radius) 0; padding: var(--s5); margin: var(--s7) 0;
}
.note p:last-child { margin-bottom: 0; }

/* Pill links between locations — internal linking that users actually click. */
.pills { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.pills li { margin: 0; }
.pills a {
  display: inline-block; padding: 9px 15px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--navy-800);
  font-size: .92rem; font-weight: 700; text-decoration: none;
}
.pills a:hover { border-color: var(--orange-500); color: var(--orange-600); }
.section--navy .pills a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.section--navy .pills a:hover { background: rgba(255,255,255,.16); }

/* Simple 2-col local facts table */
.facts { width: 100%; border-collapse: collapse; font-size: .96rem; margin: 18px 0 24px; }
.facts th, .facts td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 42%; color: var(--navy-900); font-weight: 700; background: var(--bg-alt); }
@media (max-width: 520px) { .facts th { width: 45%; } .facts th, .facts td { padding: 10px 8px; font-size: .9rem; } }

/* --------------------------------------------------------------------------
   16. BREADCRUMBS — helps users AND matches the BreadcrumbList schema
   -------------------------------------------------------------------------- */
.crumbs { font-size: .85rem; color: var(--ink-500); padding-top: 16px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li { margin: 0; display: flex; gap: 6px; align-items: center; }
.crumbs li + li::before { content: "/"; color: var(--line); }
.crumbs a { color: var(--ink-500); text-decoration: none; }
.crumbs a:hover { color: var(--orange-600); text-decoration: underline; }

/* --------------------------------------------------------------------------
   17. FOOTER
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #a9c2dc; padding-block: 40px 26px; font-size: .94rem; }
.site-footer a { color: #d6e4f2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }
.site-footer h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-nap { font-style: normal; line-height: 1.7; }
.footer-nap b { color: #fff; display: block; font-size: 1.05rem; margin-bottom: 6px; }
.footer-phone { font-size: 1.32rem; font-weight: 900; color: #fff !important; letter-spacing: -.02em; }
.footer-bottom {
  margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: .82rem; color: #8ba7c4; display: flex; flex-wrap: wrap; gap: 8px 18px;
}

/* --------------------------------------------------------------------------
   18. MOBILE FLOATING CALL BAR
   Persistent, thumb-height, two choices only. This single element is
   typically the largest source of tracked calls on a mobile HVAC site.
   -------------------------------------------------------------------------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(140%) blur(6px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 14px rgba(7,27,51,.10);
}
@media (min-width: 900px) { .callbar { display: none; } }
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; border-radius: var(--radius); font-weight: 800; font-size: 1.02rem;
  text-decoration: none;
}
.callbar__call { background: var(--cta); color: #fff; }
.callbar__call:hover { color: #fff; }
.callbar__text { background: #fff; color: var(--navy-800); border: 2px solid var(--navy-800); }
.callbar svg { width: 19px; height: 19px; }

/* --------------------------------------------------------------------------
   19. IMAGE PLACEHOLDER STYLING
   Real photos only — see /docs/IMAGE-SHOT-LIST.md. Until the owner supplies
   them, these SVG frames render the required shot description so nobody
   accidentally ships stock photography.
   -------------------------------------------------------------------------- */
.ph {
  display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(45deg, #eef2f7, #eef2f7 12px, #e6ecf3 12px, #e6ecf3 24px);
  border: 2px dashed #b9c7d6; color: var(--ink-500);
  aspect-ratio: 4 / 3; padding: 18px; font-size: .84rem; line-height: 1.45;
}
.ph b { display: block; color: var(--navy-800); font-size: .9rem; margin-bottom: 4px; }
.ph--wide { aspect-ratio: 16 / 9; }

/* --------------------------------------------------------------------------
   20. UTILITIES / MOTION
   -------------------------------------------------------------------------- */
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px; }
.text-center { text-align: center; }
.center-wrap { margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media print {
  .callbar, .site-header, .topbar, .nav { display: none !important; }
  body { padding-bottom: 0; }
}
