/* =========================================================================
   UNITED SEASONS HEATING & AIR — SITE STYLESHEET
   -------------------------------------------------------------------------
   Palette matches the live production brand (unitedseasonshvac.com):
     brand-red  #C4362E     brand-blue  #2C6FA6     navy  #173456
   Red and blue are the accent language; navy carries the dark surfaces.
   Fonts: Sora (display, extrabold) + Inter (body) — matching the live site.

   Signature device kept from the prior build: the "seasonal rule," a
   hairline gradient red → blue marking section starts. Everything else —
   buttons, cards, icon badges — now follows the rounder, pill-and-lift
   language of the live site rather than the earlier architectural version.
   ========================================================================= */

/* ---------------------------------------------------------------- TOKENS */
:root {
  --ink:        #0F1E30;   /* near-navy, for body text — softer than pure black */
  --ink-2:      #173456;   /* NAVY — dark surfaces: hero, footer, final CTA */
  --ink-3:      #0F2340;   /* deeper navy for gradients/overlays */
  --paper:      #F7F8FA;
  --paper-2:    #FFFFFF;
  --paper-3:    #EEF1F5;
  --line:       #E2E6EC;
  --line-soft:  #EBEEF2;
  --muted:      #5B6472;
  --muted-2:    #808A98;

  --blue:       #2C6FA6;   /* BRAND_BLUE */
  --blue-deep:  #1E5680;
  --blue-soft:  #EAF2F9;
  --blue-tint:  #2C6FA61F; /* ~12% for icon-badge fills */
  --ember:      #C4362E;   /* BRAND_RED */
  --ember-deep: #A32A23;
  --ember-soft: #FBEBEA;
  --ember-tint: #C4362E1A; /* ~10% for icon-badge fills */
  --ice:        #7FB8E6;   /* light accent, used on dark surfaces */
  --flame:      #FF8A7A;   /* light accent, used on dark surfaces */
  --gold:       #FFC94D;   /* star rating fill */
  --green:      #4C9A6A;   /* third accent for IAQ tone */
  --green-tint: #4C9A6A1A;

  --font-display: 'Sora', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Fluid type scale — 4:5 ratio, clamped so mobile never drops below 16px */
  --t-eyebrow: 0.8125rem;
  --t-small:   0.875rem;
  --t-body:    clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --t-lead:    clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --t-h3:      clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --t-h2:      clamp(1.75rem, 1.45rem + 1.4vw, 2.625rem);
  --t-h1:      clamp(2.125rem, 1.7rem + 2.1vw, 3.5rem);
  --t-hero:    clamp(2.375rem, 1.75rem + 2.8vw, 4rem);

  --sp-section: clamp(3.5rem, 2.4rem + 4.6vw, 7rem);
  --wrap: 1200px;
  --wrap-narrow: 720px;
  --radius: 12px;        /* small controls: inputs, icon badges, menu button */
  --radius-pill: 999px;  /* true pills/circles: chips, avatars, icon badges */
  --radius-btn: 12px;    /* buttons — rounded, but not a full pill */
  --radius-card: 20px;   /* card-level containers */
  --shadow-card: 0 1px 2px rgba(15,30,48,.04), 0 10px 28px -8px rgba(15,30,48,.12);
  --shadow-card-hover: 0 4px 10px rgba(15,30,48,.06), 0 22px 40px -12px rgba(15,30,48,.20);
  --shadow-btn: 0 10px 24px -8px rgba(196,54,46,.35);
  --shadow-btn-blue: 0 10px 24px -8px rgba(44,111,166,.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------------------------------------------ BASE */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
  text-wrap: balance;
  color: var(--ink-2);
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.012em; line-height: 1.2; font-weight: 700; }
h4 { font-size: 1.0625rem; letter-spacing: -0.006em; font-weight: 700; }
p  { margin: 0 0 1.15em; max-width: 68ch; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: 0.4em; }

a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ember); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink-2); color: #fff; padding: 0.75rem 1.25rem;
  font-family: var(--font-display); font-weight: 600; font-size: var(--t-small);
}
.skip-link:focus { left: 0; }

.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;
}

/* --------------------------------------------------------- LAYOUT UTILS */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--sp-section); }
.section--tight { padding-block: clamp(2.5rem, 1.8rem + 3vw, 4.5rem); }
.section--dark { background: var(--ink-2); color: #E9EEF4; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: var(--ice); }
.section--dark a:hover { color: #fff; }
.section--paper2 { background: var(--paper-2); }

/* Split header: label column left, content right. */
.split { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 4rem); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(210px, 4fr) 8fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
}

/* -------------------------------------------------- SIGNATURE: the rule */
.rule {
  height: 3px; border: 0; margin: 0 0 1.25rem; border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--ember) 0%, var(--ember) 35%, var(--blue) 65%, var(--blue) 100%);
}
.rule--short { width: 56px; }
.rule--full  { width: 100%; }
.rule--vert {
  width: 3px; height: 100%; margin: 0; border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--ember) 0%, var(--blue) 100%);
}

/* -------------------------------------------------------------- EYEBROW */
/* Colored, bold, tracked-out sans label — matches the live site's section
   kickers exactly (red uppercase, no monospace treatment). */
.eyebrow {
  font-family: var(--font-display);
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 0.6rem;
  display: block;
}
.section--dark .eyebrow { color: var(--flame); }

.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--ink); max-width: 34ch; }
.prose-lead { font-size: var(--t-lead); line-height: 1.55; color: var(--muted); max-width: 62ch; }
.section--dark .prose-lead { color: #C3CEDB; }

/* -------------------------------------------------------------- BUTTONS */
/* Fully rounded pills, colored lift-shadow, brighten + rise on hover — the
   live site's button language. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 52px; padding: 0.9rem 1.75rem;
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  letter-spacing: -0.005em; text-decoration: none; border: 1.5px solid transparent;
  border-radius: var(--radius-btn); cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease),
              box-shadow .18s var(--ease), filter .18s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--primary { background: var(--ember); color: #fff; border-color: var(--ember); box-shadow: var(--shadow-btn); }
.btn--primary:hover { filter: brightness(1.08); color: #fff; transform: translateY(-1px); }
.btn--dark { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: var(--shadow-btn-blue); }
.btn--dark:hover { filter: brightness(1.08); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-2); color: var(--ink-2); background: var(--paper-3); transform: translateY(-1px); }
.section--dark .btn--ghost,
.hero .btn--ghost,
.cta-band .btn--ghost,
.pagehead--dark .btn--ghost {
  color: #fff; border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.08); backdrop-filter: blur(6px);
}
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover,
.cta-band .btn--ghost:hover,
.pagehead--dark .btn--ghost:hover {
  border-color: #fff; color: #fff; background: rgba(255,255,255,.16);
}
.hero .tlink, .cta-band .tlink, .pagehead--dark .tlink { color: #fff; }
.cta-band a:not(.btn), .pagehead--dark a:not(.btn) { color: var(--ice); }
.pagehead--dark .crumbs a { color: inherit; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
@media (max-width: 560px) { .btn-row .btn { width: 100%; } }

.tlink {
  font-family: var(--font-display); font-weight: 700; text-decoration: none;
  color: var(--ink-2); display: inline-flex; align-items: center; gap: 0.4rem;
  padding-bottom: 2px; background-image: linear-gradient(var(--ember), var(--ember));
  background-repeat: no-repeat; background-size: 0% 1.5px; background-position: 0 100%;
  transition: background-size .3s var(--ease), color .18s var(--ease);
}
.tlink:hover { color: var(--ember); background-size: 100% 1.5px; }
.tlink .arw { transition: transform .25s var(--ease); }
.tlink:hover .arw { transform: translateX(3px); }
.section--dark .tlink { color: #fff; background-image: linear-gradient(var(--ice), var(--ice)); }
.section--dark .tlink:hover { color: var(--ice); }

/* ---------------------------------------------------------- UTILITY BAR */
/* Slim navy strip above the header — service area / hours / phone. Hidden
   on small screens to keep mobile header lean. */
.util-bar { display: none; background: var(--ink-2); color: #C3CEDB; font-size: .8125rem; }
@media (min-width: 780px) { .util-bar { display: block; } }
.util-bar__row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .5rem; }
.util-bar__left { display: flex; align-items: center; gap: 1.5rem; }
.util-bar__item { display: inline-flex; align-items: center; gap: .45rem; }
.util-bar__item svg { width: 14px; height: 14px; color: var(--ice); flex: 0 0 auto; }
.util-bar a.util-bar__phone { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.util-bar a.util-bar__phone svg { color: var(--flame); }
.util-bar a.util-bar__phone:hover { color: var(--flame); }

/* --------------------------------------------------------------- HEADER */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 76px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
@media (max-width: 620px) { .brand img { height: 38px; } }
@media (max-width: 400px) { .brand img { height: 34px; } }

.nav { display: none; }
@media (min-width: 1160px) {
  .nav { display: flex; align-items: center; gap: clamp(.9rem, .3rem + .95vw, 1.75rem); }
  .nav a {
    font-family: var(--font-display); font-size: 0.9375rem; font-weight: 600;
    color: var(--ink-2); text-decoration: none; padding: 0.4rem 0; position: relative;
    white-space: nowrap; transition: color .18s var(--ease);
  }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--ember); }
}
.header__actions { display: flex; align-items: center; gap: 0.75rem; }
.header__phone {
  display: none; font-family: var(--font-display); font-size: 0.9375rem; font-weight: 600;
  color: var(--ink-2); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap;
}
.header__phone:hover { color: var(--ember); }
@media (min-width: 900px) { .header__phone { display: inline-flex; align-items: center; gap: .45rem; } }
.header__phone svg, .actionbar svg, .util-bar svg { flex: 0 0 auto; width: 15px; height: 15px; }
.header__cta { display: none; }
@media (min-width: 640px) { .header__cta { display: inline-flex; min-height: 46px; padding: .65rem 1.4rem; font-size: .9375rem; white-space: nowrap; } }

.menu-btn {
  display: inline-flex; align-items: center; gap: .5rem; background: none;
  border: 1.5px solid var(--line); border-radius: var(--radius-btn);
  padding: .6rem 1rem; min-height: 44px; cursor: pointer;
  font-family: var(--font-display); font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
  color: var(--ink-2);
}
@media (max-width: 620px) {
  .menu-btn { padding: .6rem .75rem; border-radius: var(--radius-btn); }
  .menu-btn [data-menu-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (min-width: 1160px) { .menu-btn { display: none; } }
.menu-btn__ico { display: block; width: 18px; height: 12px; position: relative; }
.menu-btn__ico span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink-2);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.menu-btn__ico span:nth-child(1) { top: 0; }
.menu-btn__ico span:nth-child(2) { top: 5px; }
.menu-btn__ico span:nth-child(3) { top: 10px; }
.menu-btn[aria-expanded="true"] .menu-btn__ico span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__ico span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__ico span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.drawer {
  display: none; background: var(--paper-2); border-top: 1px solid var(--line-soft);
  max-height: calc(100dvh - 78px); overflow-y: auto;
}
.drawer[data-open="true"] { display: block; }
@media (min-width: 1160px) { .drawer { display: none !important; } }
.drawer__inner { padding-block: 1.25rem 2rem; }
.drawer a.drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 700;
  color: var(--ink-2); text-decoration: none; padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.drawer a.drawer__link:hover { color: var(--ember); }
.drawer__cta { margin-top: 1.5rem; display: grid; gap: .75rem; }
.drawer__cta .btn { width: 100%; }

/* ----------------------------------------------------------------- HERO */
.hero { background: var(--ink-2); color: #fff; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(90% 70% at 8% -12%, rgba(196,54,46,.22) 0%, transparent 55%),
    radial-gradient(90% 75% at 100% 112%, rgba(127,184,230,.20) 0%, transparent 55%),
    linear-gradient(180deg, var(--ink-3) 0%, var(--ink-2) 100%);
  pointer-events: none;
}
.hero__inner { position: relative; padding-block: clamp(3rem, 2rem + 6vw, 6.5rem); }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-pill); padding: .5rem 1.1rem;
  font-family: var(--font-display); font-size: .8125rem; font-weight: 600; color: #fff;
  backdrop-filter: blur(6px); margin-bottom: 1.5rem;
}
.hero__badge svg { width: 14px; height: 14px; }
.hero__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: end; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: minmax(0,1fr) 360px; } }
.hero h1 { font-size: var(--t-hero); font-weight: 800; letter-spacing: -0.034em; line-height: 1.05; color: #fff; margin-bottom: 0.45em; max-width: 15ch; text-wrap: pretty; }
.hero h1 .warm { color: var(--flame); }
.hero h1 .cool { color: var(--ice); }
.hero__sub { font-size: var(--t-lead); color: #C3CEDB; max-width: 46ch; margin-bottom: 2rem; }

.hero__card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-card); padding: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 32px -10px rgba(0,0,0,.4);
}
.hero__card h2 { font-size: 1.25rem; color: #fff; margin-bottom: .5rem; }
.hero__card p { color: #C3CEDB; font-size: var(--t-small); margin-bottom: 1.25rem; }
.hero__card .btn { width: 100%; }
.hero__card .btn + .btn { margin-top: .6rem; }

/* Trust row — icon + short claim, pill-shaped chips, wraps under the sub */
.hero__trust { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: -.5rem; margin-bottom: .5rem; }
.hero__trust-item { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--t-small); color: #DCE4EC; font-weight: 500; }
.hero__trust-item svg { width: 16px; height: 16px; color: var(--ice); flex: 0 0 auto; }

/* ------------------------------------------------------------- MARQUEE */
/* Scrolling brand-red ticker — real service/coverage facts, not claims. */
.marquee { background: var(--ember); overflow: hidden; padding-block: .7rem; }
.marquee__track { display: flex; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; }
.marquee__set { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item {
  display: inline-flex; align-items: center; gap: .55rem; margin-inline: 1.5rem;
  font-family: var(--font-display); font-size: .875rem; font-weight: 600; color: #fff; letter-spacing: .01em;
}
.marquee__item svg { width: 14px; height: 14px; flex: 0 0 auto; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* --------------------------------------------------------- STATS STRIP */
.stats { background: var(--paper-2); border-bottom: 1px solid var(--line-soft); }
.stats__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); text-align: center; }
.stats__v { font-family: var(--font-display); font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 800; color: var(--ink-2); line-height: 1; }
.stats__k { margin-top: .5rem; font-size: var(--t-small); color: var(--muted); }

/* -------------------------------------------------------- TRUST STRIP (fact strip on homepage, distinct from stats) */
.trust { background: var(--paper-2); border-bottom: 1px solid var(--line-soft); }
.trust__row { display: grid; gap: 0; }
@media (min-width: 640px) { .trust__row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.trust__item { padding: 1.4rem 0; border-bottom: 1px solid var(--line-soft); }
@media (min-width: 640px) {
  .trust__item { padding: 1.6rem 1.75rem 1.6rem 0; border-bottom: 0; border-right: 1px solid var(--line-soft); }
  .trust__item:last-child { border-right: 0; }
}
.trust__k { font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: .3rem; }
.trust__v { font-family: var(--font-display); font-weight: 700; font-size: .9375rem; line-height: 1.4; color: var(--ink-2); }

/* ------------------------------------------------------------- SERVICES */
.svc-grid { display: grid; gap: clamp(1rem, .7rem + 1.2vw, 1.5rem); }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc {
  background: var(--paper-2); padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem);
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line-soft); border-radius: var(--radius-card);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
  position: relative;
}
.svc:hover { color: var(--ink); box-shadow: var(--shadow-card-hover); transform: translateY(-4px); border-color: transparent; }
.svc__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--accent-tint, var(--blue-tint)); color: var(--accent, var(--blue));
  margin-bottom: 1.25rem; flex: 0 0 auto;
}
.svc__icon svg { width: 24px; height: 24px; }
.svc[data-tone="warm"] { --accent: var(--ember); --accent-tint: var(--ember-tint); }
.svc[data-tone="cool"] { --accent: var(--blue); --accent-tint: var(--blue-tint); }
.svc[data-tone="air"]  { --accent: var(--green); --accent-tint: var(--green-tint); }
.svc[data-tone="care"] { --accent: var(--blue); --accent-tint: var(--blue-tint); }
.svc__n { font-family: var(--font-display); font-size: .6875rem; font-weight: 700; letter-spacing: .1em; color: var(--muted-2); margin-bottom: .75rem; }
.svc h3 { margin-bottom: .5rem; }
.svc p { font-size: var(--t-small); color: var(--muted); margin-bottom: 1.25rem; flex-grow: 1; }
.svc__list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.svc__list li { font-size: var(--t-small); color: var(--muted); padding-left: 1rem; position: relative; margin-bottom: .3rem; }
.svc__list li::before { content: ''; position: absolute; left: 0; top: .7em; width: 5px; height: 1px; background: var(--accent, var(--blue)); }
.svc__go {
  font-family: var(--font-display); font-weight: 700; font-size: .9375rem; color: var(--accent, var(--blue));
  display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; transition: gap .2s var(--ease);
}
.svc:hover .svc__go { gap: .55rem; }

/* ------------------------------------------------ SIGNATURE: DIAGNOSTIC */
.dx { border-top: 2px solid var(--ink-2); }
.dx__row {
  display: grid; gap: .35rem 1.5rem; padding: 1.15rem 0;
  border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
  align-items: baseline; transition: background-color .2s var(--ease), padding-left .25s var(--ease);
}
@media (min-width: 820px) {
  .dx__row { grid-template-columns: 52px 1fr 1fr auto; align-items: center; padding: 1.35rem 0; border-radius: var(--radius); }
}
.dx__row:hover { background: var(--paper-3); color: var(--ink); padding-left: 1rem; }
.dx__code { font-family: var(--font-mono); font-size: .75rem; color: var(--muted-2); letter-spacing: .04em; }
.dx__sym { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.3; letter-spacing: -0.012em; color: var(--ink-2); }
.dx__cause { font-size: var(--t-small); color: var(--muted); }
.dx__go { font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); white-space: nowrap; }
.dx__row:hover .dx__go { color: var(--ember); }

/* --------------------------------------------------------------- STEPS */
.steps { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { text-align: left; }
.step__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--ember); color: #fff; box-shadow: var(--shadow-btn);
  font-family: var(--font-display); font-size: 1.0625rem; font-weight: 800; margin-bottom: 1.1rem;
}
.step:nth-child(2) .step__n { background: var(--blue); box-shadow: var(--shadow-btn-blue); }
.step:nth-child(3) .step__n { background: var(--ember); box-shadow: var(--shadow-btn); }
.step h3 { margin-bottom: .4rem; }
.step p { font-size: var(--t-small); color: var(--muted); margin: 0; }
.section--dark .step p { color: #C3CEDB; }

/* --------------------------------------------------- WHY US (split panel) */
.why-split { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .why-split { grid-template-columns: 1fr 1fr; } }
.why-panel {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-card); overflow: hidden;
  background: linear-gradient(135deg, var(--ink-2) 0%, var(--ink-3) 60%, #0B1A2C 100%);
  box-shadow: var(--shadow-card-hover); display: grid; place-items: center;
}
.why-panel::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(70% 70% at 30% 20%, rgba(196,54,46,.28) 0%, transparent 60%),
              radial-gradient(70% 70% at 80% 85%, rgba(127,184,230,.24) 0%, transparent 60%);
}
.why-panel img { position: relative; width: 46%; opacity: .92; filter: drop-shadow(0 12px 28px rgba(0,0,0,.35)); }
.why-badge {
  position: absolute; right: clamp(1rem, 4vw, 1.75rem); bottom: -1.5rem;
  background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-hover); padding: 1.1rem 1.35rem;
  display: flex; align-items: center; gap: 1rem;
}
.why-badge__icon {
  width: 48px; height: 48px; border-radius: var(--radius-pill); flex: 0 0 auto;
  background: var(--blue-tint); color: var(--blue); display: inline-flex; align-items: center; justify-content: center;
}
.why-badge__icon svg { width: 24px; height: 24px; }
.why-badge__t { font-family: var(--font-display); font-weight: 800; color: var(--ink-2); line-height: 1.1; }
.why-badge__s { font-size: .8125rem; color: var(--muted-2); margin-top: .1rem; }

.why-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
.why-list li { display: flex; gap: 1rem; align-items: flex-start; }
.why-list__icon {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--ember-tint); color: var(--ember);
  display: inline-flex; align-items: center; justify-content: center; margin-top: .1rem;
}
.why-list__icon svg { width: 21px; height: 21px; }
.why-list h3 { font-size: 1.0625rem; margin-bottom: .3rem; color: var(--ink-2); }
.why-list p { font-size: var(--t-small); color: var(--muted); margin: 0; }

/* legacy why__item — retained for backward compatibility, no longer used on home */
.why { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .why { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
.why__item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.5rem; border-radius: var(--radius-card); background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.why__item:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
.why__icon {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: var(--radius);
  background: rgba(196,54,46,.16); color: var(--flame);
  display: inline-flex; align-items: center; justify-content: center;
}
.why__icon svg { width: 21px; height: 21px; }
.why__item h3 { font-size: 1.0625rem; margin-bottom: .35rem; color: #fff; }
.why__item p { font-size: var(--t-small); color: #C3CEDB; margin: 0; }
.section:not(.section--dark) .why__item { background: var(--paper-2); border-color: var(--line-soft); box-shadow: var(--shadow-card); }
.section:not(.section--dark) .why__item h3 { color: var(--ink-2); }
.section:not(.section--dark) .why__item p { color: var(--muted); }
.section:not(.section--dark) .why__icon { background: var(--ember-tint); color: var(--ember); }

/* ------------------------------------------------------------- REVIEWS */
.reviews { display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
/* Scrolling review strip — same marquee mechanism as the ticker, two
   duplicated tracks so it loops seamlessly. Pauses on hover so people can
   actually read one without it running away. */
.reviews-scroll { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.reviews-scroll__track { display: flex; gap: 1.5rem; width: max-content; animation: reviews-scroll 55s linear infinite; }
.reviews-scroll:hover .reviews-scroll__track { animation-play-state: paused; }
@keyframes reviews-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .reviews-scroll__track { animation: none; } }
.reviews-scroll .review { width: min(360px, 82vw); flex: 0 0 auto; }
.review {
  background: var(--paper-2); border: 1px solid var(--line-soft); padding: 1.85rem;
  border-radius: var(--radius-card); box-shadow: var(--shadow-card);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.review:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.review__stars { display: flex; gap: 2px; margin-bottom: 1rem; }
.review__stars svg { width: 16px; height: 16px; color: var(--gold); }
.review p { font-size: var(--t-small); line-height: 1.65; color: var(--ink); }
.review__foot { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; }
.review__avatar {
  width: 38px; height: 38px; border-radius: var(--radius-pill); flex: 0 0 auto;
  background: var(--ink-2); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: .9375rem;
}
.review__by { font-family: var(--font-display); font-weight: 700; font-size: .875rem; color: var(--ink-2); }
.review__sub { font-size: .8125rem; color: var(--muted-2); }
.review-empty {
  max-width: 760px;
  border: 1px dashed var(--line); background: var(--paper-2);
  padding: clamp(1.75rem, 1.2rem + 2vw, 3rem); border-radius: var(--radius-card);
}
.review-empty .eyebrow { color: var(--ember); }

/* ---------------------------------------------------------- AREA CHIPS */
.areas-cols { columns: 2; column-gap: 2rem; }
@media (min-width: 700px) { .areas-cols { columns: 3; } }
@media (min-width: 1000px) { .areas-cols { columns: 4; } }
.areas-cols a {
  display: block; break-inside: avoid; padding: .28rem 0; font-size: var(--t-small);
  color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent;
}
.areas-cols a:hover { color: var(--ember); border-bottom-color: var(--line); }
.county-head { font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 1.5rem 0 .5rem; }
.county-head:first-child { margin-top: 0; }

/* Curated homepage "Where we work" teaser — a neat, even 3x3 grid rather
   than the full 27-city list (which lives on /service-areas/). */
.areas-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius-card);
  overflow: hidden;
}
@media (max-width: 640px) { .areas-grid { grid-template-columns: 1fr; } }
.areas-grid a {
  display: block; background: var(--paper-2); padding: 1.1rem 1.35rem; text-decoration: none;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.areas-grid a:hover { background: var(--paper-3); color: var(--ember); }
.areas-grid__city { font-family: var(--font-display); font-weight: 700; font-size: .9375rem; color: var(--ink-2); }
.areas-grid a:hover .areas-grid__city { color: var(--ember); }
.areas-grid__county { font-size: .8125rem; color: var(--muted-2); margin-top: .1rem; }

/* ------------------------------------------------------------------ FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; font-family: var(--font-display); font-weight: 700;
  font-size: 1.0625rem; line-height: 1.35; letter-spacing: -0.012em; color: var(--ink-2);
}
.faq__q:hover { color: var(--ember); }
.faq__ico {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: var(--radius-pill);
  background: var(--ember-tint); color: var(--ember); position: relative;
}
.faq__ico::before, .faq__ico::after {
  content: ''; position: absolute; background: currentColor; transition: transform .28s var(--ease);
}
.faq__ico::before { top: 13px; left: 8px; width: 12px; height: 1.5px; }
.faq__ico::after  { left: 13px; top: 8px; width: 1.5px; height: 12px; }
.faq__q[aria-expanded="true"] .faq__ico::after { transform: scaleY(0); }
.faq__a { overflow: hidden; height: 0; transition: height .3s var(--ease); }
.faq__a > div { padding-bottom: 1.4rem; }
.faq__a p { font-size: var(--t-small); color: var(--muted); margin: 0; max-width: 62ch; }

/* ----------------------------------------------------------- FINAL CTA */
.cta-band { background: var(--ink-2); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(80% 100% at 90% 20%, rgba(196,54,46,.2) 0%, transparent 55%);
  pointer-events: none;
}
.cta-band > .wrap { position: relative; }
.cta-band h2 { color: #fff; font-size: var(--t-h1); font-weight: 800; letter-spacing: -0.03em; max-width: 16ch; }
.cta-band p { color: #C3CEDB; max-width: 46ch; }
.cta-band__grid { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .cta-band__grid { grid-template-columns: 1.3fr .7fr; } }

/* -------------------------------------------------------------- FOOTER */
.footer { background: var(--ink-2); color: #C3CEDB; font-size: var(--t-small); }
.footer a { color: #DCE4EC; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__top { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__logo { height: 46px; width: auto; margin-bottom: 1.5rem; }
.footer h3 {
  font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ice); margin-bottom: 1rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .5rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  font-size: .8125rem; color: #93A0AF;
}
.footer__bottom a { color: #93A0AF; }
.footer__nap { font-style: normal; line-height: 1.7; }
.footer__nap a { display: inline-block; }

/* ------------------------------------------------- MOBILE ACTION BAR */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
  background: var(--paper-2); border-top: 1px solid var(--line-soft);
  padding: .6rem clamp(1rem, 4vw, 1.5rem); padding-bottom: calc(.6rem + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(15,30,48,.08);
  transform: translateY(100%); transition: transform .3s var(--ease);
}
.actionbar[data-visible="true"] { transform: translateY(0); }
@media (min-width: 900px) { .actionbar { display: none; } }
.actionbar a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; font-family: var(--font-display); font-weight: 700; font-size: .9375rem;
  color: #fff; text-decoration: none; border-radius: var(--radius-btn);
}
.actionbar a:first-child { background: var(--blue); }
.actionbar a:last-child { background: var(--ember); }
body.has-actionbar { padding-bottom: 72px; }
@media (min-width: 900px) { body.has-actionbar { padding-bottom: 0; } }

/* --------------------------------------------------------- BREADCRUMBS */
.crumbs { padding-block: 1rem; border-bottom: 1px solid var(--line-soft); background: var(--paper-2); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0;
  font-family: var(--font-body); font-size: .8125rem; font-weight: 500; color: var(--muted-2); }
.crumbs li::after { content: '/'; margin-left: .4rem; color: var(--line); }
.crumbs li:last-child::after { content: ''; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ember); }

/* ------------------------------------------------------- PAGE HEADERS */
.pagehead { background: var(--paper-2); border-bottom: 1px solid var(--line-soft); }
.pagehead__inner { padding-block: clamp(2.5rem, 1.8rem + 3.4vw, 5rem); }
.pagehead h1 { max-width: 20ch; margin-bottom: .6rem; }
.pagehead .prose-lead { max-width: 56ch; }
.pagehead--dark { background: var(--ink-2); border-bottom: 0; color: #fff; position: relative; overflow: hidden; }
.pagehead--dark::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(70% 100% at 100% 0%, rgba(127,184,230,.16) 0%, transparent 55%);
  pointer-events: none;
}
.pagehead--dark > .wrap { position: relative; }
.pagehead--dark h1 { color: #fff; }
.pagehead--dark .prose-lead { color: #C3CEDB; }
.pagehead--dark .eyebrow { color: var(--flame); }

/* --------------------------------------------------------- ARTICLE BODY */
.body-copy h2 { margin-top: 2.5rem; }
.body-copy h3 { margin-top: 2rem; }
.body-copy > *:first-child { margin-top: 0; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 1.7rem; position: relative; margin-bottom: .6rem; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: var(--radius-pill);
  background: var(--ember-tint);
}
.checklist li::after {
  content: ''; position: absolute; left: 6px; top: .62em; width: 7px; height: 4px;
  border-left: 1.5px solid var(--ember); border-bottom: 1.5px solid var(--ember);
  transform: rotate(-45deg);
}
.callout {
  border-left: 3px solid var(--ember); background: var(--ember-soft);
  padding: 1.25rem 1.5rem; margin: 2rem 0; border-radius: 0 var(--radius-card) var(--radius-card) 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout .eyebrow { color: var(--ember-deep); }
.note-blue { border-left-color: var(--blue); background: var(--blue-soft); }
.note-blue .eyebrow { color: var(--blue-deep); }

.linkgrid { display: grid; gap: clamp(.875rem, .6rem + 1vw, 1.25rem); }
@media (min-width: 620px) { .linkgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .linkgrid--3 { grid-template-columns: repeat(3, 1fr); } }
.linkgrid a {
  background: var(--paper-2); padding: 1.4rem 1.6rem; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; gap: .3rem;
  border: 1px solid var(--line-soft); border-radius: var(--radius-card);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.linkgrid a:hover { color: var(--ember); box-shadow: var(--shadow-card-hover); transform: translateY(-3px); border-color: transparent; }
.linkgrid strong { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; }
.linkgrid span { font-size: var(--t-small); color: var(--muted); }
.linkgrid a:hover span { color: var(--muted); }

/* ------------------------------------------------------------------ FORM */
.form-shell { background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: var(--radius-card); padding: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem); box-shadow: var(--shadow-card); }
.field { margin-bottom: 1.25rem; }
.field label {
  display: block; font-family: var(--font-display); font-size: .8125rem; font-weight: 600;
  color: var(--ink-2); margin-bottom: .45rem;
}
.field .req { color: var(--ember); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: .8rem .95rem; min-height: 50px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235B6472' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: var(--paper-2);
  box-shadow: 0 0 0 3px rgba(44,111,166,.16);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--ember); background: var(--ember-soft);
}
.field__err { display: none; font-size: .8125rem; color: var(--ember-deep); margin-top: .4rem; font-weight: 600; }
.field__err[data-show="true"] { display: block; }
.field__hint { font-size: .8125rem; color: var(--muted-2); margin-top: .35rem; }
.field-row { display: grid; gap: 1.25rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-status { margin-top: 1.25rem; }
.form-alert {
  border-left: 3px solid var(--ember); background: var(--ember-soft); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem; font-size: var(--t-small); color: var(--ember-deep);
}
.btn[data-loading="true"] { opacity: .72; pointer-events: none; }
.spinner {
  width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: none;
}
.btn[data-loading="true"] .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { display: none; }
.form-success[data-show="true"] { display: block; }
.form-success .tick {
  width: 48px; height: 48px; border-radius: var(--radius-pill); background: var(--blue-soft);
  display: grid; place-items: center; margin-bottom: 1.25rem;
}
.form-success .tick svg { width: 22px; height: 22px; }

/* ------------------------------------------------------ SCROLL REVEAL */
.js [data-reveal] { opacity: 0; transform: translateY(14px); }
.js [data-reveal][data-shown="true"] {
  opacity: 1; transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* -------------------------------------------------------------- PRINT */
@media print {
  .header, .util-bar, .marquee, .actionbar, .cta-band, .footer { display: none; }
  body { background: #fff; }
}
