/* ============================================================
   Central Elite Cooling & Heating — Main Stylesheet
   Redesigned 2025 — Professional, clean, conversion-focused
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --color-primary:     #1B3A6B;
  --color-primary-dk:  #0D2447;
  --color-primary-mid: #2E6AAF;
  --color-accent:      #E8820A;
  --color-accent-dk:   #C96E00;
  --color-accent-text: #A85A00; /* small text on white / #F0F6FF / #FFF8EE */
  --color-text:        #1A1A2E;
  --color-text-muted:  #5A6478;
  --color-bg:          #FFFFFF;
  --color-bg-alt:      #F0F6FF;
  --color-border:      #DDE3EF;
  --color-success:     #2E7D32;
  --color-white:       #FFFFFF;

  /* Display is Zilla Slab, text is Rethink Sans. Both fallbacks are
     metric-matched local faces declared next to the @font-face blocks, so the
     webfont swap does not move a line. */
  --font-heading: 'Zilla Slab', 'Zilla Fallback', Georgia, 'Times New Roman', serif;
  --font-sans:    'Rethink Sans', 'Rethink Fallback', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* ---- Type scale ----
     One ratio, six roles. Nothing on the page picks a size outside this list.
     Zilla needs less negative tracking than a geometric sans, and it needs
     tighter leading at display sizes because its slabs already fill the line. */
  --t-display: clamp(2.5rem, 5.2vw, 4rem);
  --t-h2:      clamp(1.95rem, 3.4vw, 2.85rem);
  --t-h3:      clamp(1.16rem, 1.4vw, 1.38rem);
  --t-h4:      1.05rem;
  --t-lead:    clamp(1.08rem, 1.3vw, 1.2rem);
  --t-body:    1rem;
  --t-sm:      0.9rem;
  --t-xs:      0.8rem;    /* 12.8px */
  --t-label:   0.75rem;   /* 12px — the floor for any UI text */

  --track-display: -0.024em;
  --track-h2:      -0.022em;
  --track-h3:      -0.015em;
  --track-body:     0em;
  --track-label:    0.085em;

  --lh-display: 1.03;
  --lh-h2:      1.07;
  --lh-h3:      1.24;
  --lh-lead:    1.55;
  --lh-body:    1.62;

  --measure:      68ch;   /* body copy */
  --measure-lead: 52ch;

  /* ---- Spacing rhythm ----
     A heading gets more air above it than below, so it binds to the text it
     introduces rather than floating between two blocks. */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.75rem;
  --sp-8: 4rem;
  --sp-9: 5.5rem;
  --band: clamp(3.5rem, 7.5vw, 6.5rem);

  /* ---- Surface + ink roles ----
     Raw hex stays above for compatibility; new work uses these. */
  --paper:         #FFFFFF;
  --paper-warm:    #F7F4EF;
  --paper-tint:    #FFFBF4;
  --paper-ink:     #0B1F3D;
  --ink-1:         #121A2B;
  --ink-2:         #4C566B;
  --ink-3:         #636D87;   /* 5.2:1 on white, 4.7:1 on the warm paper */
  --edge:          #E6DFD4;
  --edge-cool:     #DDE3EF;
  --mark:          #FFD270;
  --notch:         10px;   /* the corner cut shared by buttons and callouts */

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-pill: 100px;

  /* Navy-tinted and two-layer: a close contact shadow plus the cast one, so
     cards sit on the page instead of hovering over a grey smudge. */
  --shadow-sm:   0 1px 2px rgba(13,36,71,.06), 0 2px 6px rgba(13,36,71,.05);
  --shadow-md:   0 2px 4px rgba(13,36,71,.05), 0 10px 26px rgba(13,36,71,.09);
  --shadow-lg:   0 4px 10px rgba(13,36,71,.06), 0 20px 50px rgba(13,36,71,.13);

  --container: 1200px;
  --gap:       clamp(1rem, 4vw, 2rem);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: proportional-nums;
}

img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--alt { background: var(--color-bg-alt); }

.grid-2 { display: grid; gap: var(--gap); }
.grid-3 { display: grid; gap: var(--gap); }
.grid-4 { display: grid; gap: var(--gap); }

@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }

/* ---------- Typography ---------- */
h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--t-display);
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  color: var(--color-primary-dk);
}

h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--t-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--track-h2);
  color: var(--color-primary-dk);
}

h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--lh-h3);
  letter-spacing: var(--track-h3);
  color: var(--color-primary);
}

h3 { font-size: var(--t-h3); }
h4 { font-size: var(--t-h4); }

.section-label {
  display: inline-block;
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--color-accent-text);
  margin-bottom: var(--sp-2);
}

.section-title { margin-bottom: 1rem; }

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--color-text-muted);
  max-width: 58ch;
}

.section-header { margin-bottom: clamp(2rem, 5vw, 3.5rem); }

.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.85rem;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  transition: background .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary-dk);
  box-shadow: 0 1px 2px rgba(13,36,71,.18), 0 6px 16px rgba(13,36,71,.18);
}
.btn-primary:hover { background: #D67000; color: var(--color-primary-dk); box-shadow: 0 2px 4px rgba(13,36,71,.2), 0 10px 24px rgba(13,36,71,.22); }

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: white; }

.btn-hero-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-hero-outline:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.8); }

.btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline-dark:hover { background: var(--color-primary); color: var(--color-white); }

.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: .55rem 2.6rem .55rem 1rem;
  font-size: .85rem;
  font-weight: 500;
  position: relative;
  overflow-wrap: anywhere;
}

.announcement-bar a {
  color: #FFD270;
  font-weight: 700;
  text-decoration: underline;
}

.announcement-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 1.2rem;
  cursor: pointer;
  padding: .25rem;
  line-height: 1;
  transition: color .2s;
}

.announcement-close:hover { color: white; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: 0 1px 0 var(--color-border), var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .9rem;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.logo-img {
  width: auto;
  height: 50px;
  object-fit: contain;
}

/* Primary Nav */
.primary-nav {
  display: none;
  align-items: center;
  gap: .15rem;
}

@media (min-width: 900px) { .primary-nav { display: flex; } }

/* About + Reviews plus the phone button need more than 900px.
   The same breakpoint is inlined in ce-critical (scripts/stable-critical.mjs)
   so the header does not change height when this file finishes loading. */
@media (min-width: 900px) and (max-width: 1179px) {
  .site-header .primary-nav { display: none; }
  .site-header .menu-toggle { display: flex; }
}
@media (min-width: 1180px) {
  .site-header .primary-nav { display: flex; }
  .site-header .menu-toggle { display: none; }
  .site-header .nav-link { padding: .45rem .5rem; font-size: .8rem; }
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 600;
  color: var(--color-text);
  transition: color .2s, background .2s;
}

.nav-link:hover { color: var(--color-primary); background: var(--color-bg-alt); }
.nav-link .chevron { font-size: .6rem; transition: transform .2s; }
.nav-item:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  max-height: min(70vh, 28rem);
  overflow-y: auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility 0s .25s;
  pointer-events: none;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
  transition: opacity .18s, transform .18s, visibility 0s 0s;
}

.dropdown a {
  display: block;
  padding: .6rem 1rem;
  font-size: .875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  transition: background .15s, color .15s;
}

.dropdown a:hover { background: var(--color-bg-alt); color: var(--color-primary); }

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.header-phone {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

@media (min-width: 768px) { .header-phone { display: flex; } }

.header-phone .phone-label {
  font-size: var(--t-label);
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--ink-3);
  font-weight: 700;
}

.header-phone a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -.02em;
}

.header-phone a:hover { color: var(--color-accent); }

/* Mobile tap-to-call. The full number stays in .header-phone from 768px up. */
.header-call {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  flex: none;
  min-height: 36px;
  padding: .45rem .65rem;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: .78rem;
  line-height: 1;
  white-space: nowrap;
}
.header-call .ico { width: .95rem; height: .95rem; color: #fff; }
.sched-short { display: none; }
@media (max-width: 767px) {
  .header-call { display: inline-flex; min-height: 44px; }
  .header-inner { gap: .4rem; min-width: 0; }
  .header-cta { gap: .35rem; min-width: 0; }
  .header-cta > .btn { padding: .55rem .7rem; font-size: .82rem; white-space: nowrap; min-height: 44px; }
  .logo-link { display: inline-flex; align-items: center; min-height: 44px; }
  .logo-img { height: 44px; }
  .menu-toggle { width: 44px; height: 44px; flex: none; }
  .sched-long { display: none; }
  .sched-short { display: inline; }
}

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

@media (min-width: 900px) { .menu-toggle { display: none; } }

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Panel */
.mobile-nav {
  display: none;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 1rem;
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  padding: .75rem 1rem;
  font-size: .95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { background: var(--color-bg-alt); color: var(--color-primary); }

.mobile-nav .sub-link {
  padding-left: 2rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.mobile-nav-cta {
  margin-top: 1rem;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
  position: relative;
  background: linear-gradient(155deg, #4A88C8 0%, #2562A8 35%, #1B3A6B 65%, #0D2447 100%);
  color: var(--color-white);
  overflow: hidden;
  padding-block: clamp(4rem, 10vw, 7rem);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,255,255,.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Homepage hero — full-bleed truck photo with legibility overlay.
   The photo is an <img> (see .hero-bg) so the browser can preload a sized AVIF/WebP. */
.hero--home {
  background: #0d2447;
  padding-block: clamp(4.5rem, 12vw, 8.5rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  pointer-events: none;
}

.hero-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 22%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,20,42,.92) 0%, rgba(11,28,58,.82) 42%, rgba(13,36,71,.55) 72%, rgba(13,36,71,.35) 100%),
    linear-gradient(180deg, rgba(8,20,42,.30) 0%, rgba(8,20,42,.55) 100%);
}

.hero--home::before { z-index: 1; }
.hero--home .hero-inner { position: relative; z-index: 2; }

@media (min-width: 900px) {
  .hero--home .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero--home .hero-content { max-width: 640px; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.95);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 1.4rem;
  line-height: 1.22;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.hero h1 em {
  font-style: italic;
  color: #FFD270;
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: rgba(255,255,255,.88);
  margin-bottom: 1.85rem;
  max-width: 52ch;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 1.75rem;
}

/* Homepage hero: badge breathing room + even vertical rhythm */
.hero--home .google-badge { margin-bottom: 1.6rem; }

/* Trust Pills */
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.92);
  font-size: .78rem;
  font-weight: 600;
  padding: .38rem .85rem;
  border-radius: var(--radius-pill);
}

/* ---------- Google Reviews Trust Badge ---------- */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: .5rem .95rem .5rem .65rem;
  box-shadow: 0 6px 20px rgba(13,36,71,.18);
  text-decoration: none;
  transition: transform .15s, box-shadow .2s;
}
.google-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(13,36,71,.24); }

.google-badge .gb-g {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
}

.google-badge .gb-body { display: flex; flex-direction: column; line-height: 1.1; }

.google-badge .gb-top {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--color-text-muted);
  text-transform: none;
}
.google-badge .gb-top b { color: var(--color-text); font-weight: 700; }

.google-badge .gb-rating {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1px;
}
.google-badge .gb-score {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
}
.google-badge .gb-stars {
  color: #FBBC04;
  font-size: .92rem;
  letter-spacing: .04em;
}
.google-badge .gb-count {
  font-size: .74rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* On dark hero, lift the badge slightly */
.hero .google-badge { box-shadow: 0 8px 26px rgba(0,0,0,.32); }

/* Centered badge variant for light sections */
.google-badge--center { margin-inline: auto; }

/* Hero image side */
.hero-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding-block: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  text-align: center;
}

@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-item {
  padding: .5rem;
  border-right: 1px solid var(--color-border);
}

.stat-item:last-child { border-right: none; }
@media (max-width: 639px) { .stat-item:nth-child(even) { border-right: none; } }

.stat-number {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: .3rem;
  font-family: var(--font-sans);
}

.stat-label {
  font-size: .75rem;
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ===========================================
   DIAGNOSTIC SECTION
   =========================================== */
.diagnostic-section {
  background: var(--color-bg-alt);
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 560px)  { .diagnostic-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .diagnostic-grid { grid-template-columns: repeat(5, 1fr); } }

.diagnostic-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: default;
  transition: box-shadow .22s, transform .22s;
}

.diagnostic-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.diag-icon {
  font-size: 2.2rem;
  margin-bottom: .85rem;
  display: block;
}

.diagnostic-card h3 {
  font-size: .9rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: .35rem;
}

.diagnostic-card p {
  font-size: .78rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

.diagnostic-alert {
  margin-top: 1.75rem;
  background: #FFF8EE;
  border: 1px solid rgba(232,130,10,.35);
  border-radius: var(--radius-sm);
  padding: .9rem 1.5rem;
  text-align: center;
  font-size: .88rem;
  font-weight: 500;
  color: #6B3A00;
}

.diagnostic-alert a { color: var(--color-accent-text); font-weight: 700; text-decoration: underline; }

/* ===========================================
   SERVICES SHOWCASE
   =========================================== */
.services-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .services-layout { grid-template-columns: 1fr 1fr; }
}

.services-list-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.services-cat-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--color-text-muted);
  margin-bottom: .6rem;
  margin-top: 1.5rem;
  font-family: var(--font-sans);
}

.services-cat-title:first-child { margin-top: 0; }

.service-list-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .85rem .75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--color-text);
  transition: background .18s;
  border-bottom: 1px solid var(--color-border);
}

.service-list-item:last-of-type,
.services-list-card .service-list-item:last-child { border-bottom: none; }

.service-list-item:hover { background: var(--color-bg-alt); }

.sli-icon {
  font-size: 1.3rem;
  width: 2.2rem;
  text-align: center;
  flex-shrink: 0;
}

.sli-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.sli-text strong {
  font-size: .9rem;
  color: var(--color-primary);
  font-weight: 700;
}

.sli-text span {
  font-size: .78rem;
  color: var(--color-text-muted);
}

.sli-arrow {
  color: var(--color-accent);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform .18s;
}

.service-list-item:hover .sli-arrow { transform: translateX(4px); }

.services-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.services-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.services-photo-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--color-accent);
  color: var(--color-primary-dk);
  padding: .85rem 1.35rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.services-photo-badge strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  font-family: var(--font-sans);
}

.services-photo-badge span {
  font-size: .75rem;
  font-weight: 600;
  opacity: .9;
}

/* Legacy service cards (used on sub-pages) */
.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}

.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card h3 { font-size: 1.05rem; margin-bottom: .6rem; color: var(--color-primary); }
.service-card p { font-size: 1rem; color: var(--color-text-muted); margin-bottom: 1.25rem; flex: 1; line-height: 1.6; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--color-accent-text);
  transition: gap .2s;
}
.service-link:hover { gap: .65rem; }

/* ===========================================
   WHY CHOOSE US — 6-BOX GRID
   =========================================== */
.whyus-section { background: var(--color-bg-alt); }

.whyus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px)  { .whyus-grid { grid-template-columns: repeat(3, 1fr); } }

.whyus-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: box-shadow .22s, transform .22s;
}

.whyus-box:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.whyus-box-icon {
  font-size: 2rem;
  margin-bottom: .85rem;
  display: block;
}

.whyus-box h3 {
  font-size: .92rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  line-height: 1.4;
}

/* Legacy why-us (sub-pages) */
.whyus-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
  align-items: center;
}

@media (min-width: 768px) { .whyus-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.whyus-img-wrap { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.whyus-img { width: 100%; height: 420px; object-fit: cover; }

.whyus-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--color-accent);
  color: var(--color-white);
  padding: .75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.whyus-badge .badge-number { font-size: 1.8rem; font-weight: 700; line-height: 1; }
.whyus-badge .badge-text { font-size: .78rem; font-weight: 600; }

.whyus-list { display: flex; flex-direction: column; gap: 1.25rem; margin: 1.5rem 0 2rem; }

.whyus-item { display: flex; gap: 1rem; }

.whyus-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(27,58,107,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.whyus-item-text h4 { margin-bottom: .25rem; font-size: 1rem; }
.whyus-item-text p { font-size: 1rem; color: var(--color-text-muted); margin: 0; line-height: 1.6; }

/* ===========================================
   HOW IT WORKS
   =========================================== */
.hiw-layout {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hiw-layout { grid-template-columns: 1.15fr 1fr; }
}

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
}

.hiw-steps::before {
  content: '';
  position: absolute;
  left: 1.15rem;
  top: 2.5rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
}

.hiw-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
}

.step-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-accent);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(13,36,71,.18), 0 6px 16px rgba(13,36,71,.18);
  font-family: var(--font-sans);
}

.step-text h3 {
  font-size: 1.05rem;
  margin-bottom: .35rem;
  padding-top: .35rem;
}

.step-text p {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

.hiw-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hiw-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

/* ===========================================
   SERVICE AREA FINDER (dark section)
   =========================================== */
.zip-finder {
  background: linear-gradient(135deg, var(--color-primary-dk) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  padding-block: clamp(3rem, 7vw, 5rem);
  text-align: center;
}

.zip-finder h2 {
  color: var(--color-white);
  margin-bottom: .85rem;
}

.zip-finder-intro {
  color: rgba(255,255,255,.72);
  margin-bottom: 2.25rem;
  max-width: 56ch;
  margin-inline: auto;
  font-size: 1.05rem;
}

.zip-areas {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  justify-content: center;
  margin-bottom: .75rem;
}

.zip-areas a {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--color-white);
  padding: .5rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}

.zip-areas a:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.4);
}

.zip-finder-note {
  margin-top: 1.25rem;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}

.zip-finder-note a { color: var(--color-accent-text); text-decoration: underline; }

/* ===========================================
   TESTIMONIALS SLIDER
   =========================================== */
.testimonials-section { background: var(--color-bg-alt); }

.testimonial-slider {
  max-width: 820px;
  margin: 0 auto;
}

.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; }

.ts-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  box-shadow: var(--shadow-md);
}

@media (max-width: 600px) {
  .ts-card { flex-direction: column; gap: 1.25rem; padding: 1.75rem; }
}

.ts-photo { flex-shrink: 0; }

.ts-avatar {
  width: 74px;
  height: 74px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-mid) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.ts-content { flex: 1; }

.ts-content .stars {
  color: #F5A623;
  font-size: 1.15rem;
  letter-spacing: .05em;
  margin-bottom: .85rem;
}

.ts-content blockquote {
  font-size: 1.02rem;
  color: var(--color-text);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.ts-author {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.ts-author strong { font-size: .92rem; color: var(--color-primary); }
.ts-author span { font-size: .78rem; color: var(--color-text-muted); }

.ts-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.ts-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
}

.ts-btn:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(27,58,107,.3);
}

.ts-dots {
  display: flex;
  gap: .55rem;
}

.ts-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  border: none;
  padding: 0;
  position: relative;
}
.ts-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.ts-dot.active::after { background: var(--color-primary); }

/* ===========================================
   MAINTENANCE PLANS (sub-pages & homepage)
   =========================================== */
.plans-grid { display: grid; gap: var(--gap); }
@media (min-width: 768px) { .plans-grid { grid-template-columns: repeat(3, 1fr); } }

.plan-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color .25s, box-shadow .25s;
  position: relative;
}

.plan-card.featured { border-color: var(--color-accent); }

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-primary-dk);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.plan-name {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-text-muted);
  margin-bottom: .5rem;
}

.plan-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }

.plan-price {
  margin: 1rem 0;
  display: flex;
  align-items: baseline;
  gap: .25rem;
}

.plan-price .currency { font-size: 1.1rem; font-weight: 700; color: var(--color-primary); }
.plan-price .amount { font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--color-primary); font-family: var(--font-sans); }
.plan-price .period { font-size: .85rem; color: var(--color-text-muted); }

.plan-desc { font-size: 1rem; color: var(--color-text-muted); margin-bottom: 1.5rem; line-height: 1.6; }

.plan-features { flex: 1; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.75rem; }

.plan-feature { display: flex; align-items: flex-start; gap: .6rem; font-size: 1rem; line-height: 1.6; }
.plan-feature .check { color: var(--color-success); font-size: 1rem; flex-shrink: 0; }

.plan-card .btn { justify-content: center; }

/* ===========================================
   FAQ SECTION
   =========================================== */
.faq-list { max-width: 800px; margin-inline: auto; }

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: .75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.15rem 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .95rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-white);
  transition: background .2s;
  gap: 1rem;
}

.faq-question:hover { background: var(--color-bg-alt); }
.faq-question.active { background: var(--color-bg-alt); color: var(--color-primary); }

.faq-icon {
  font-size: 1.2rem;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform .3s;
}

.faq-question.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}

.faq-answer.open { max-height: 48rem; padding: 0 1.35rem 1.35rem; }

.faq-answer p { font-size: 1rem; color: var(--color-text-muted); line-height: 1.6; max-width: 46ch; }

/* ===========================================
   CTA BANNER
   =========================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dk) 100%);
  color: var(--color-white);
  padding-block: clamp(3.5rem, 8vw, 6rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero/tech-roof-768.webp') center/cover no-repeat;
  opacity: .06;
}

.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--color-white); margin-bottom: .85rem; }
.cta-banner p {
  color: rgba(255,255,255,.8);
  margin-bottom: 2.25rem;
  font-size: 1.05rem;
  max-width: 52ch;
  margin-inline: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cta-phone { display: flex; flex-direction: column; align-items: center; }

.cta-phone .phone-number {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -.02em;
  font-family: var(--font-sans);
}

.cta-phone .phone-sub { font-size: .8rem; color: rgba(255,255,255,.65); }

/* ===========================================
   FOOTER
   =========================================== */
.site-footer {
  background: #0A1E3D;
  color: rgba(255,255,255,.8);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer-brand .logo-img { height: 52px; width: auto; margin-bottom: 1rem; }

.footer-tagline {
  font-size: .875rem;
  line-height: 1.65;
  margin-bottom: 1.35rem;
  color: rgba(255,255,255,.6);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: .6rem;
  font-size: .875rem;
}

.footer-contact-item .icon { font-size: .95rem; margin-top: .1rem; }
.footer-contact-item a { color: rgba(255,255,255,.8); transition: color .2s; }
.footer-contact-item a:hover { color: var(--color-accent); }

.footer-col h3,
.footer-col h4 {
  color: var(--color-white);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}

.footer-links li { margin-bottom: .5rem; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-links a:hover { color: var(--color-accent); }

.footer-hours { font-size: .875rem; }
.footer-hours li { margin-bottom: .4rem; display: flex; justify-content: space-between; gap: 1rem; }
.footer-hours .day { color: rgba(255,255,255,.5); }
.footer-hours .time { color: var(--color-white); font-weight: 600; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(255,255,255,.72);
}

.footer-bottom-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,.72); transition: color .2s; }
.footer-bottom-links a:hover { color: var(--color-accent); }

.footer-license { font-size: .76rem; color: rgba(255,255,255,.72); padding-bottom: 1.25rem; }

/* Social Icons */
.social-links { display: flex; gap: .6rem; margin-top: 1rem; }

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  transition: background .2s, color .2s;
}

.social-link:hover { background: var(--color-accent); color: var(--color-white); }

/* ===========================================
   MISC COMPONENTS
   =========================================== */
/* Emergency Banner */
.emergency-banner {
  background: #B71C1C;
  color: var(--color-white);
  text-align: center;
  padding: .6rem 1rem;
  font-size: .85rem;
  font-weight: 600;
}

.emergency-banner a { color: #FFD740; font-weight: 700; text-decoration: underline; }

/* Testimonials grid (sub-pages) */
.testimonials-grid { display: grid; gap: var(--gap); }
@media (min-width: 640px)  { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stars { color: #F5A623; letter-spacing: .1em; font-size: 1rem; }
.testimonial-text { font-size: 1rem; color: var(--color-text-muted); font-style: italic; line-height: 1.6; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }

.author-avatar {
  width: 42px;
  height: 42px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}

.author-name { font-weight: 700; font-size: .9rem; }
.author-location { font-size: .78rem; color: var(--color-text-muted); }

/* Service Areas grid */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}

@media (min-width: 480px) { .areas-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .areas-grid { grid-template-columns: repeat(4, 1fr); } }

.area-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: background .2s, color .2s;
  text-align: center;
}

.area-card:hover { background: var(--color-primary); color: var(--color-white); }
.area-card a { display: block; }

/* Form elements */
.form-group { display: flex; flex-direction: column; gap: .3rem; }

.form-group label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .72rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27,58,107,.08);
}

.form-group textarea { resize: vertical; min-height: 80px; }

.hero-form { display: flex; flex-direction: column; gap: .75rem; }

.hero-card {
  background: var(--color-white);
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.hero-card h2 { font-size: 1.25rem; margin-bottom: .5rem; color: var(--color-primary); }
.hero-card .btn { width: 100%; justify-content: center; margin-top: .25rem; }

.card-guarantee {
  margin-top: .75rem;
  text-align: center;
  font-size: .77rem;
  color: var(--color-text-muted);
}

/* Sticky Mobile CTA */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: var(--color-primary);
  padding: .85rem 1rem;
  padding-bottom: calc(.85rem + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: .5rem;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
}

@media (min-width: 900px) { .mobile-cta-bar { display: none; } }

.mobile-cta-bar .btn {
  font-size: .85rem;
  padding: .7rem .5rem;
  justify-content: center;
  border-radius: var(--radius-sm);
  min-height: 48px;
}

@media (max-width: 899px) { body { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); } }

/* The unified booking label is longer than "Quote". The sticky bar carries it on phones. */
@media (max-width: 767px) {
  .header-cta > .btn { display: none; }
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 9999;
  transition: top .2s;
}

.skip-link:focus { top: 1rem; }

/* Utility Classes */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }

/* Breadcrumb */
.breadcrumb { background: var(--color-bg-alt); padding: .6rem 0; border-bottom: 1px solid var(--color-border); }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  font-size: .82rem;
  color: var(--color-text-muted);
}

.breadcrumb li + li::before { content: '/'; margin-right: .4rem; color: var(--color-border); }
.breadcrumb a { color: var(--color-primary); font-weight: 500; }
.breadcrumb [aria-current] { font-weight: 600; color: var(--color-text); }

/* ===========================================
   YETI MASCOT / WINTER ELEMENTS
   =========================================== */
.mascot-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #3D7FBE 0%, #2E6AAF 35%, #1B3A6B 70%, #0D2447 100%);
  color: var(--color-white);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.mascot-band .container { position: relative; z-index: 2; }
.mascot-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
@media (min-width: 820px) { .mascot-inner { flex-direction: row; gap: 2.5rem; text-align: left; justify-content: center; } }

.mascot-yeti {
  width: clamp(190px, 34vw, 300px);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.4));
  animation: yeti-float 5s ease-in-out infinite;
}
@keyframes yeti-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .mascot-yeti { animation: none; } }

.mascot-copy { max-width: 560px; }
.mascot-copy h2 { color: var(--color-white); margin: 0 0 .6rem; }
.mascot-copy p { color: rgba(255,255,255,.88); font-size: 1.05rem; margin-bottom: 1.5rem; }
.mascot-cta { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }
@media (min-width: 820px) { .mascot-cta { justify-content: flex-start; } }

.speech-bubble {
  display: inline-block; position: relative;
  background: var(--color-white); color: var(--color-primary);
  font-family: var(--font-heading); font-weight: 700; font-size: 1.02rem;
  padding: .65rem 1.1rem; border-radius: 14px; margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
}
.speech-bubble::after {
  content: ""; position: absolute; left: 30px; bottom: -9px;
  border: 10px solid transparent; border-top-color: var(--color-white); border-bottom: 0;
}

/* Drifting snowflakes (contained, decorative) */
.snow { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.snow span { position: absolute; top: -24px; color: rgba(255,255,255,.85); line-height: 1; animation: snowfall linear infinite; }
@keyframes snowfall {
  0%   { transform: translateY(-24px) translateX(0) rotate(0); opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: translateY(440px) translateX(24px) rotate(360deg); opacity: .15; }
}
@media (prefers-reduced-motion: reduce) { .snow { display: none; } }

/* Yeti accent (peeking into a section) */
.yeti-accent { position: absolute; bottom: 0; right: clamp(1rem, 4vw, 4rem); width: 150px; height: auto; z-index: 1; pointer-events: none; opacity: .96; filter: drop-shadow(0 8px 16px rgba(0,0,0,.25)); }
@media (max-width: 1099px) { .yeti-accent { display: none; } }

/* Trust badges */
/* Site-wide navy credentials strip (matches .trust-strip-section on install pages) */
.trust-strip { background: var(--color-primary-dk); padding: 1rem 0; border-block: 0; }
.trust-badges { display: flex; flex-wrap: wrap; gap: .35rem 1.35rem; justify-content: center; align-items: center; }
.trust-badge { display: inline-flex; align-items: center; gap: .5rem; background: transparent; border: 0; border-radius: 0; padding: .35rem .25rem; font-size: .86rem; font-weight: 700; color: #fff; box-shadow: none; letter-spacing: -.005em; }
.trust-badge .tb-ico { font-size: 1rem; line-height: 1; display: inline-flex; }
.trust-badge .tb-ico .ico { width: 1.25rem; height: 1.25rem; color: var(--color-accent); }
.trust-badge .tb-ico .ico--star { color: #F5B301; }
.trust-badge a { color: inherit; }
.trust-badge a:hover { color: #FFC56B; }
@media (max-width: 640px) { .trust-badges { gap: .2rem .9rem; } .trust-badge { font-size: .78rem; } }

/* Reviews */
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1.25rem; text-align: center; margin-bottom: 2rem; }
.rating-summary .rs-score { font-family: var(--font-heading); font-weight: 700; font-size: 2.6rem; color: var(--color-primary); line-height: 1; }
.rating-summary .rs-stars { color: #FBBC04; font-size: 1.3rem; letter-spacing: .05em; }
.rating-summary .rs-meta { font-size: .9rem; color: var(--color-text-muted); }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 700px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .reviews-grid { grid-template-columns: 1fr 1fr 1fr; } }
.review-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.review-card .rv-stars { color: #FBBC04; font-size: 1rem; margin-bottom: .5rem; letter-spacing: .03em; }
.review-card p { font-size: 1rem; line-height: 1.6; color: var(--color-text); margin-bottom: 1rem; }
.review-card .rv-author { display: flex; align-items: center; gap: .6rem; }
.review-card .rv-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.review-card .rv-name { font-weight: 700; font-size: .88rem; color: var(--color-primary); }
.review-card .rv-meta { font-size: .75rem; color: var(--color-text-muted); }

/* Brands */
.brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .75rem; }
.brand-chip { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1rem .75rem; text-align: center; font-weight: 700; color: var(--color-primary); font-size: .9rem; }

/* Blog featured image */
.blog-feature { margin: 0 0 1.75rem; }
.blog-feature img { width: 100%; height: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); display: block; }
.blog-feature figcaption { font-size: .8rem; color: var(--color-text-muted); margin-top: .55rem; text-align: center; font-style: italic; }

/* Print Styles */
@media print {
  .site-header, .mobile-cta-bar, .emergency-banner, .announcement-bar, .snow, .yeti-accent { display: none; }
  .hero { background: var(--color-primary) !important; }
  body { padding-bottom: 0; }
}

/* ===== Custom SVG icon system (external sprite: /images/icons.svg) ===== */
.ico {
  width: 1em; height: 1em;
  display: inline-block; vertical-align: -0.14em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; overflow: visible;
}
.ico--accent { color: var(--color-accent); }
.ico--star { fill: currentColor; stroke: none; color: #F5A623; }
.ico--fill { fill: currentColor; stroke: none; }

/* ===== AEO/GEO: quick-answer + comparison tables + review sentiment ===== */
.quick-answer { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; }
.quick-answer h2 { font-size: 1.05rem; color: var(--color-primary); margin-bottom: .5rem; }
.quick-answer p { color: var(--color-text); line-height: 1.6; margin: 0; font-size: 1rem; max-width: 46ch; }
.cmp-wrap { overflow-x: auto; margin: 1rem 0; max-width: 100%; min-width: 0; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .9rem; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; min-width: 480px; }
.cmp-table caption { text-align: left; font-weight: 700; color: var(--color-primary); padding: 0 0 .6rem; }
.cmp-table th, .cmp-table td { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.cmp-table thead th { background: var(--color-primary); color: #fff; font-weight: 700; }
.cmp-table tbody th { color: var(--color-primary); font-weight: 700; white-space: nowrap; }
.cmp-table tr:last-child td, .cmp-table tr:last-child th { border-bottom: 0; }
.review-sentiment { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; }
.review-sentiment .rs-quotes { display: grid; gap: .75rem; margin-top: .75rem; }
.review-sentiment blockquote { margin: 0; padding: .6rem .9rem; background: var(--color-bg-alt); border-left: 1px solid var(--color-accent); border-radius: 0 8px 8px 0; padding-left: 1rem; font-size: 1rem; color: var(--color-text); line-height: 1.6; }
.review-sentiment blockquote cite { display: block; margin-top: .3rem; font-style: normal; font-weight: 700; font-size: .78rem; color: var(--color-text-muted); }

/* ===== BBB Accredited badge ===== */
.bbb-badge { display:inline-flex; align-items:center; gap:.5rem; text-decoration:none; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.2); border-radius:8px; padding:.4rem .65rem; line-height:1; transition:background .15s ease; }
.bbb-badge:hover { background:rgba(255,255,255,.15); }
.bbb-badge .bbb-mark { background:#00457c; color:#fff; font-weight:700; font-style:italic; font-size:.82rem; letter-spacing:.02em; padding:.28rem .42rem; border-radius:4px; }
.bbb-badge .bbb-txt { display:flex; flex-direction:column; gap:.1rem; color:rgba(255,255,255,.82); font-size:.6rem; font-weight:600; text-transform:uppercase; letter-spacing:.06em; text-align:left; }
.bbb-badge .bbb-txt strong { color:#fff; font-size:.78rem; letter-spacing:.02em; }
.footer-bbb { margin:.75rem 0 0; }
/* On light trust strips, render a compact chip variant */
.trust-badge .bbb-chip { color:#fff; background:#00457c; border-radius:4px; padding:.1rem .4rem; font-weight:700; font-style:italic; font-size:.78rem; line-height:1.2; margin-right:.15rem; }

/* Service-page hero trust list (was unstyled — render as an inline row) */
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; margin-top: 1.25rem; }
.hero-trust .trust-item { display: inline-flex; align-items: center; gap: .4rem; font-size: .92rem; font-weight: 600; color: rgba(255,255,255,.92); }
.hero-trust .trust-icon { display: inline-flex; align-items: center; }
.hero-trust .trust-icon .ico { width: 1.1em; height: 1.1em; color: var(--color-accent); }
.hero-trust .trust-icon .ico--star { color: #F5A623; }

/* ── Trust credentials strip (installation pages) ───────────────────────── */
.trust-strip-section { background: var(--color-primary-dk); padding: 1rem 0; }
.trust-strip-section .trust-strip { background: none; border: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem 1.5rem; align-items: center; }
.trust-strip-section .trust-badge { background: none; border: 0; border-radius: 0; box-shadow: none; display: flex; align-items: center; gap: .6rem; color: #fff; padding: .3rem .35rem; font-size: inherit; font-weight: inherit; }
.trust-strip-section .trust-badge .ico { width: 1.7rem; height: 1.7rem; color: var(--color-accent); flex: none; }
.trust-strip-section .trust-badge .ico--star { color: #F5B301; }
.trust-strip-section .trust-badge span { display: flex; flex-direction: column; line-height: 1.15; font-size: .78rem; color: rgba(255,255,255,.68); }
.trust-strip-section .trust-badge strong { color: #fff; font-size: .95rem; font-weight: 700; letter-spacing: -.01em; }
@media (max-width: 640px) { .trust-strip-section .trust-strip { gap: .5rem 1rem; } .trust-strip-section .trust-badge .ico { width: 1.4rem; height: 1.4rem; } .trust-strip-section .trust-badge span { font-size: .68rem; } .trust-strip-section .trust-badge strong { font-size: .8rem; } }

/* ── "What's included" guarantee grid ───────────────────────────────────── */
.included-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; margin-top: 1.75rem; }
.included-item { background: var(--color-white); border: 1px solid var(--color-border); border-radius: 14px; padding: 1.35rem 1.25rem; box-shadow: 0 4px 18px rgba(13,36,71,.05); transition: transform .15s ease, box-shadow .15s ease; }
.included-item:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(13,36,71,.1); }
.included-item .ico { width: 2rem; height: 2rem; color: var(--color-accent); margin-bottom: .55rem; }
.included-item h3 { font-size: 1.02rem; color: var(--color-primary); margin: 0 0 .35rem; }
.included-item p { font-size: 1rem; color: var(--color-text-muted); line-height: 1.6; margin: 0; }

/* ── Services showcase (homepage): blue band + photo cards w/ wave divider + icon badge ── */
.svc-showcase { position: relative; padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); background-color: #F3F6FB; background-image: linear-gradient(rgba(27,58,107,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(27,58,107,.07) 1px, transparent 1px); background-size: 28px 28px; overflow: hidden; }
.svc-showcase::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 540px; background: linear-gradient(180deg, var(--color-primary-dk) 0%, var(--color-primary) 55%, var(--color-primary-mid) 100%); }
.svc-showcase::after { content: ""; position: absolute; left: 0; right: 0; top: 540px; height: 120px; background: linear-gradient(180deg, rgba(46,106,175,.35), rgba(46,106,175,0)); pointer-events: none; }
.svc-showcase > .container { position: relative; z-index: 1; max-width: 1480px; }
.svc-showcase .section-header { margin-bottom: 2.25rem; }
.svc-showcase .section-label { color: #FFC56B; }
.svc-showcase .section-title { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); text-shadow: 0 2px 12px rgba(0,0,0,.18); }
.svc-showcase .section-subtitle { color: rgba(255,255,255,.88); max-width: 64ch; }
.svc-showcase .svc-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; }
.svc-showcase .svc-card { position: relative; display: flex; flex-direction: column; width: calc(25% - 1.2rem); min-width: 0; background: var(--color-white); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(13,36,71,.16); text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.svc-showcase .svc-card:hover, .svc-showcase .svc-card:focus-visible { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(13,36,71,.22); outline: none; }
.svc-card-media { position: relative; height: 200px; background: var(--color-bg-alt); }
.svc-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 28px; display: block; color: var(--color-primary-mid); }
.svc-card--heat .svc-wave { color: var(--color-accent); }
.svc-card-icon { position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); width: 62px; height: 62px; border-radius: 50%; background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px #fff, 0 6px 16px rgba(13,36,71,.28); z-index: 2; }
.svc-card--heat .svc-card-icon { background: var(--color-accent); }
.svc-card-icon .ico { width: 1.65rem; height: 1.65rem; color: #fff; }
.svc-card-body { display: flex; flex-direction: column; flex: 1; padding: 2.8rem 1.6rem 1.6rem; }
.svc-card-body h3 { font-size: 1.32rem; color: var(--color-primary-dk); margin: 0 0 .6rem; line-height: 1.25; }
.svc-card-body p { font-size: .97rem; color: var(--color-text-muted); line-height: 1.65; margin: 0 0 1.5rem; flex: 1; }
.svc-card-link { font-weight: 700; color: var(--color-primary-mid); font-size: .95rem; }
.svc-showcase .svc-card:hover .svc-card-link { color: var(--color-accent); }
.svc-cta { text-align: center; margin-top: 2.6rem; }
@media (max-width: 1100px) { .svc-showcase .svc-card { width: calc(50% - .8rem); max-width: 520px; } .svc-showcase::before { height: 520px; } .svc-showcase::after { top: 520px; } }
@media (max-width: 600px) { .svc-showcase .svc-card { width: 100%; max-width: 420px; } .svc-showcase::before { height: 470px; } .svc-showcase::after { top: 470px; } }

/* ── Hero third (low-commitment) CTA ── */
.hero-thirdcta { font-size: 1rem; color: rgba(255,255,255,.8); margin: -.9rem 0 1.6rem; max-width: 46ch; line-height: 1.6; }
.hero-thirdcta a { color: #ffd270; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.hero-thirdcta a:hover { color: #fff; }

/* ── Named guarantees ── */
.promises-section { background: var(--color-white); }
.promises-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.promise-card { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: 14px; padding: 1.4rem 1.35rem; }
.promise-card .ico { width: 1.9rem; height: 1.9rem; color: var(--color-accent); margin-bottom: .6rem; }
.promise-card h3 { font-size: var(--t-h3); color: var(--color-primary); margin: 0 0 .45rem; line-height: var(--lh-h3); letter-spacing: var(--track-h3); }
.promise-card p { font-size: var(--t-sm); color: var(--color-text-muted); line-height: 1.6; margin: 0; }
.promises-foot { text-align: center; margin-top: 1.9rem; font-size: 1rem; color: var(--color-text-muted); line-height: 1.6; max-width: 46ch; margin-inline: auto; }
.promises-foot a { color: var(--color-accent-text); font-weight: 700; }
.promises-foot a:hover { text-decoration: underline; }

/* ── Published fee ladder ── */
.fee-ladder { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.fee-item { background: var(--color-white); border: 1px solid var(--color-border); border-radius: 14px; padding: 1.35rem 1.1rem; text-align: center; box-shadow: 0 4px 18px rgba(13,36,71,.05); display: flex; flex-direction: column; gap: .5rem; }
.fee-amt { font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; color: var(--color-primary); line-height: 1; letter-spacing: -.02em; }
.fee-amt small { font-size: .85rem; font-weight: 700; color: var(--color-text-muted); letter-spacing: 0; }
.fee-label { font-size: .85rem; color: var(--color-text-muted); line-height: 1.5; }

/* ── Symptom picker (homepage) ── */
button.diagnostic-card { width: 100%; text-align: left; cursor: pointer; position: relative; font: inherit; border: 1px solid var(--color-border); background: var(--color-white); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
button.diagnostic-card:hover { border-color: var(--color-primary-mid); transform: translateY(-2px); }
button.diagnostic-card:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.symptom-check { position: absolute; top: .7rem; right: .8rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--color-accent); color: #fff; font-size: .85rem; font-weight: 700; display: none; align-items: center; justify-content: center; line-height: 1; }
button.diagnostic-card[aria-pressed="true"] { border-color: var(--color-accent); box-shadow: 0 0 0 2px var(--color-accent) inset, 0 8px 22px rgba(232,130,10,.15); background: #FFF9F2; }
button.diagnostic-card[aria-pressed="true"] .symptom-check { display: flex; }
.symptom-tray { margin-top: 1.75rem; background: var(--color-white); border: 1px solid var(--color-border); border-radius: 14px; padding: 1.25rem 1.4rem; box-shadow: 0 8px 26px rgba(13,36,71,.08); }
.symptom-tray-list { margin: 0 0 1rem; color: var(--color-text); font-size: .95rem; line-height: 1.6; }
.symptom-tray-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.safety-interrupt { margin-top: 1.1rem; background: #FFF3E0; border: 1px solid #FFB300; border-radius: 12px; padding: 1rem 1.25rem; display: flex; gap: .85rem; align-items: flex-start; }
.safety-interrupt .ico { width: 1.6rem; height: 1.6rem; color: #B3261E; flex: none; }
.safety-interrupt p { margin: 0; font-size: .92rem; line-height: 1.65; color: #7A1C14; }
.safety-interrupt a { color: #7A1C14; font-weight: 700; text-decoration: underline; }

/* ── AC running-cost calculator ── */
.calc-section { background: var(--color-white); }
.calc-wrap { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; min-width: 0; max-width: 100%; }
@media (min-width: 900px) { .calc-wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2rem; } }
.calc-controls, .calc-result, .calc-field { min-width: 0; max-width: 100%; }
.calc-controls { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: 16px; padding: 1.5rem; box-sizing: border-box; }
.calc-field + .calc-field { margin-top: 1.5rem; }
.calc-field label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; min-width: 0; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--color-text-muted); margin-bottom: .55rem; }
.calc-field output { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--color-primary); text-transform: none; letter-spacing: -.01em; }
.calc-field input[type="range"] { display: block; width: 100%; max-width: 100%; min-width: 0; accent-color: var(--color-accent); height: 1.6rem; box-sizing: border-box; }
.calc-hint { font-size: .8rem; color: var(--color-text-muted); margin: .4rem 0 0; line-height: 1.5; }
.calc-result { background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-dk) 100%); color: #fff; border-radius: 16px; padding: 1.75rem 1.6rem; box-shadow: 0 10px 30px rgba(13,36,71,.22); }
.calc-result-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.72); margin: 0; }
.calc-amount { font-family: var(--font-heading); font-size: clamp(2.1rem, 5vw, 2.9rem); font-weight: 700; line-height: 1.05; margin: .35rem 0 .3rem; letter-spacing: -.02em; color: #fff; }
.calc-amount small { font-size: .95rem; font-weight: 600; color: rgba(255,255,255,.7); letter-spacing: 0; }
.calc-sub { font-size: .88rem; color: rgba(255,255,255,.78); margin: 0 0 1.1rem; }
.calc-upgrade { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: .9rem 1rem; margin-bottom: 1.25rem; }
.calc-upgrade p { margin: 0; font-size: .9rem; line-height: 1.6; color: rgba(255,255,255,.9); }
.calc-upgrade strong { color: #ffd270; }
.calc-result .btn { width: 100%; justify-content: center; }
.calc-noemail { font-size: .78rem; color: rgba(255,255,255,.62); margin: .7rem 0 0; text-align: center; }
.calc-myth { margin-top: 1.75rem; background: var(--color-bg-alt); border-radius: 0 12px 12px 0; padding: 1.2rem 1.4rem; }
.calc-myth h3 { font-size: 1rem; color: var(--color-primary); margin: 0 0 .4rem; }
.calc-myth p { font-size: 1rem; color: var(--color-text-muted); line-height: 1.6; margin: 0; max-width: 46ch; }
.calc-basis { font-size: .8rem; color: var(--color-text-muted); line-height: 1.65; margin-top: 1.25rem; max-width: 80ch; }
.calc-basis a { color: var(--color-accent-text); font-weight: 600; text-decoration: underline; }
.blog-byline { margin: .85rem 0 0; font-size: .92rem; font-weight: 700; color: var(--color-primary); }
.job-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem .45rem;
  margin-top: .9rem;
}
.job-photo { margin: 0; min-width: 0; }
.job-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(13,36,71,.25);
  background: var(--color-primary-dk);
}
.job-photo figcaption {
  margin-top: .32rem;
  font-size: .75rem;
  line-height: 1.35;
  color: var(--color-text-muted);
}
@media (min-width: 768px) {
  .service-card:has(.job-photos:not(.job-photos--quad)) { grid-column: span 2; }
  .service-card:has(.job-photos:not(.job-photos--quad)) .job-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.city-quotes { display: grid; gap: 1rem; margin-top: 1.25rem; }
.city-quote {
  margin: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
}
.city-quote p { margin: 0 0 .65rem; color: var(--color-text); line-height: 1.7; }
.city-quote footer { font-size: .85rem; font-weight: 700; color: var(--color-text-muted); }

/* ── Price distribution bars (pricing page) ── */
.price-dist { max-width: 780px; margin-inline: auto; display: grid; gap: .85rem; }
.price-dist-row { display: grid; grid-template-columns: 1fr; gap: .35rem; background: var(--color-white); border: 1px solid var(--color-border); border-radius: 12px; padding: .9rem 1.1rem; }
@media (min-width: 720px) { .price-dist-row { grid-template-columns: 15rem 1fr 7rem; align-items: center; gap: 1rem; } }
.price-dist-label { font-size: .9rem; color: var(--color-text); font-weight: 600; line-height: 1.4; }
.price-dist-bar { display: block; height: .7rem; background: var(--color-bg-alt); border-radius: 100px; overflow: hidden; }
.price-dist-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--color-primary-mid), var(--color-accent)); border-radius: 100px; }
.price-dist-val { font-family: var(--font-heading); font-weight: 700; color: var(--color-primary); font-size: 1rem; letter-spacing: -.01em; }
@media (min-width: 720px) { .price-dist-val { text-align: right; } }

/* Recent-job photo rows on city pages. Below the fold; thumbs only. */
.jobs-grid { align-items: start; }
.job-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem .45rem;
  margin-top: .9rem;
}
.job-photo { margin: 0; min-width: 0; }
.job-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(13,36,71,.25);
  background: var(--color-primary-dk);
}
.job-photo figcaption {
  margin-top: .32rem;
  font-size: .75rem;
  line-height: 1.35;
  color: var(--color-text-muted);
}
@media (min-width: 768px) {
  .service-card:has(.job-photos:not(.job-photos--quad)) { grid-column: span 2; }
  .service-card:has(.job-photos:not(.job-photos--quad)) .job-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.lang-pair { background: var(--color-bg-alt); text-align: right; padding: .45rem clamp(1rem, 5vw, 2.5rem); font-size: .9rem; font-weight: 700; }
.lang-pair a { color: var(--color-accent-text); text-decoration: underline; }
.offer-callout { background: #FFF8EE; margin: 1.25rem auto; padding: .9rem 1.1rem; max-width: 840px; }

/* Keep form cards, blog articles, and tables inside the viewport. */
.contact-grid { grid-template-columns: minmax(0, 1fr); }
.contact-form-card, .contact-info-card, .map-embed { min-width: 0; max-width: 100%; }
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 899px) {
  .article-wrap { grid-template-columns: minmax(0, 1fr) !important; min-width: 0; }
  .article-body, .blog-feature { min-width: 0; max-width: 100%; }
  .article-body { overflow-x: auto; }
}
.offer-callout p { margin: 0; color: var(--color-text); font-size: 1rem; line-height: 1.6; max-width: 46ch; }
.offer-callout a { color: var(--color-accent-text); font-weight: 700; text-decoration: underline; }

/* Small orange text on light backgrounds. Backgrounds and large text stay #E8820A. */
.warning-box strong { color: #A85A00; }
.whyus-badge { color: #0D2447; }

/* 46ch in Plus Jakarta Sans lands near 65–75 rendered characters. */
main .container > p,
.section-prose p,
.seo-a,
.article-body p,
.blog-intro,
main li {
  max-width: 46ch;
}
main .container > p {
  margin-inline: auto;
}

/* SMS opt-in: 44px tap target, with a normal-size visible box. */
label.sms-consent {
  min-height: 44px !important;
  align-items: center !important;
}
label.sms-consent input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  margin: 0 !important;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  display: grid !important;
  place-items: center;
  cursor: pointer;
}
label.sms-consent input[type="checkbox"]::before {
  content: "";
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  background: #fff;
}
label.sms-consent input[type="checkbox"]:checked::before {
  border-color: var(--color-accent);
  background: var(--color-accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%231B3A6B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.2 6.4 11.1 12.5 4.8'/></svg>") center / 14px 14px no-repeat;
}
label.sms-consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Hide the sticky bar until the in-page booking button scrolls away. */
@media (max-width: 899px) {
  .defer-mobile-bar .mobile-cta-bar { transform: translateY(110%); }
  .defer-mobile-bar .mobile-cta-bar.is-shown { transform: none; }
  .defer-mobile-bar .hero-actions a[href^="tel"] { display: none; }
  .defer-mobile-bar .hero-actions a.btn-outline[data-primary-cta] {
    background: var(--color-accent);
    color: var(--color-primary-dk);
    border-color: transparent;
    box-shadow: 0 1px 2px rgba(13,36,71,.18), 0 6px 16px rgba(13,36,71,.18);
  }
}

/* AC repair desktop: the hero Request Service button is the one orange control. */
@media (min-width: 900px) {
  .page-ac-repair .header-cta > .btn-primary,
  .page-ac-repair .hero-card .btn-primary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: none;
  }
}

/* ── Maintenance plan panel (homepage pricing band) ── */
.plan-panel { display:grid; gap:1.25rem; grid-template-columns:1fr; background:var(--color-white); border:1px solid var(--color-border); border-radius:16px; padding:1.5rem; margin-top:1.5rem; box-shadow:0 6px 24px rgba(13,36,71,.06); }
@media (min-width:860px){ .plan-panel{ grid-template-columns:1fr 15rem; gap:2rem; align-items:center; } }
.plan-panel h3 { font-family:var(--font-heading); font-size:1.15rem; color:var(--color-primary); margin:0 0 .3rem; }
.plan-panel-main > p { color:var(--color-text-muted); font-size:.92rem; margin:0 0 1.1rem; }
.plan-cols { display:grid; gap:1.1rem; grid-template-columns:1fr; }
@media (min-width:600px){ .plan-cols{ grid-template-columns:1fr 1fr; gap:1.5rem; } }
.plan-col-head { font-size:.74rem; font-weight:700; text-transform:uppercase; letter-spacing:.07em; color:var(--color-text-muted); margin:0 0 .45rem; }
.plan-list { list-style:none; margin:0; padding:0; }
.plan-list li { position:relative; padding-left:1.5rem; font-size:.9rem; line-height:1.6; color:var(--color-text); margin-bottom:.45rem; }
.plan-list li::before { position:absolute; left:0; top:0; font-weight:700; }
.plan-list--yes li::before { content:"\2713"; color:var(--color-success,#2E7D32); }
.plan-list--no li::before { content:"\2013"; color:var(--color-text-muted); }
.plan-list--no li { color:var(--color-text-muted); }
.plan-math { margin:1.1rem 0 0; font-size:.88rem; color:var(--color-text-muted); line-height:1.65; }
.plan-panel-cta { text-align:center; background:var(--color-bg-alt); border-radius:14px; padding:1.35rem 1rem; }
.plan-price { display:block; font-family:var(--font-heading); font-size:2.1rem; font-weight:700; color:var(--color-primary); line-height:1; letter-spacing:-.02em; margin-bottom:.9rem; }
.plan-price small { font-size:.9rem; font-weight:700; color:var(--color-text-muted); letter-spacing:0; }
.plan-panel-cta .btn { width:100%; justify-content:center; margin-bottom:.6rem; }

/* ── Comparison table ── */
.cmp-scroll { overflow-x:auto; -webkit-overflow-scrolling:touch; border:1px solid var(--color-border); border-radius:14px; background:var(--color-white); }
.cmp { width:100%; min-width:760px; border-collapse:collapse; font-size:.88rem; }
.cmp th, .cmp td { padding:.75rem .9rem; text-align:left; vertical-align:top; border-bottom:1px solid var(--color-border); }
.cmp thead th { background:var(--color-primary); color:#fff; font-weight:700; font-size:.82rem; position:sticky; top:0; }
.cmp tbody th { font-weight:700; color:var(--color-primary); width:15rem; }
.cmp td { color:var(--color-text-muted); }
.cmp .cmp-us { background:#FFF7EE; color:var(--color-text); font-weight:600; }
/* White on #E8820A is 2.8:1. Navy on the same orange is 5.6:1 and matches
   the primary button, which already sets navy on orange. */
.cmp thead .cmp-us { background:var(--color-accent); color:var(--color-primary-dk); }
.cmp .cmp-us a { color:var(--color-accent-text); font-weight:700; text-decoration:underline; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom:0; }
.cmp-note { font-size:.8rem; color:var(--color-text-muted); margin-top:.9rem; line-height:1.6; max-width:70ch; }

/* ============================================================
   Typographic system — November 2026
   Appended last so it corrects the older component rules above it.
   Three jobs: theme the browser's own surfaces, give every "step forward"
   block one shared treatment, and make numerals behave on a site that leads
   with prices.
   ============================================================ */

/* ---------- The browser's own surfaces ----------
   Selection, caret, scrollbar and focus ring are part of the design. Left
   at their defaults they are the one place a careful page still looks
   generic. */
::selection { background: var(--mark); color: var(--color-primary-dk); }

html {
  color-scheme: light;
  scrollbar-color: #A4AEC2 #ECEFF5;
  scrollbar-width: thin;
}

input, textarea, select, [contenteditable] { caret-color: var(--color-accent); }

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

/* Orange on navy is not enough separation; the highlight yellow is. */
.hero :focus-visible,
.hl-band--navy :focus-visible,
.site-footer :focus-visible,
.mobile-cta-bar :focus-visible,
.announcement-bar :focus-visible { outline-color: var(--mark); }

a:not(.btn) {
  text-underline-offset: 0.16em;
  text-decoration-thickness: from-font;
  text-decoration-skip-ink: auto;
}

/* ---------- Numerals ----------
   Tabular figures wherever numbers sit in a column or get compared: prices,
   phone numbers, stats, table cells. Running prose keeps proportional
   figures, which read better inside a sentence. */
.fee-price, .plan-price, .price-dist-value, .stat-number,
.cmp th, .cmp td, .calc-result, .calc-figure,
.header-phone a, a[href^="tel"], time,
.hl-stat strong, .stat-item strong, .est-range, .price-range {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ---------- Measure ----------
   Body copy stops at a readable line length instead of running the full
   width of a 1200px container. */
p { max-width: var(--measure); }

.hero-description, .hl-lead, .section-subtitle, .lead { max-width: var(--measure-lead); }

.text-center p,
.section-header p,
.section-title + p { margin-inline: auto; }

/* Footnotes stay on the left rag of the thing they annotate. An older blanket
   rule (main .container > p) was centring them, which only became visible once
   they were capped to a reading measure. */
main .container > p.calc-basis,
main .container > p.cmp-note,
main .container > p.fee-note { margin-inline: 0; max-width: 78ch; }

/* Blocks where a paragraph is a cell, not a column, and must fill it. */
td p, th p, li p, figcaption p, label p,
.cmp p, .form-group p, .faq-answer p,
.footer-col p, .btn p { max-width: none; }

/* ---------- One callout treatment ----------
   These blocks all carried a 4px orange stripe down the left edge (removed
   from their own rules above). The stripe was carrying the emphasis on its
   own, and it is the single most recognisable template default on the web.
   The warm tint, the hairline and the same corner cut the buttons already use
   do that work, and they tie the callouts to the rest of the page instead of
   standing apart from it. */
.quick-answer,
.calc-myth,
.offer-callout,
.city-quote {
  background: var(--paper-tint);
  border: 1px solid #EFD9BB;
  border-radius: 0;
  clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, 0 100%, 0 var(--notch));
  padding: 1.15rem 1.4rem;
}

/* Shadowed cards cannot be clipped, so they take the hairline only. */
.symptom-tray {
  border: 1px solid var(--edge);
  border-radius: 3px;
}

.promise-card {
  background: var(--paper-tint);
  border: 1px solid #EFD9BB;
  border-radius: 3px;
  padding: 1.5rem 1.4rem 1.4rem;
}

.promise-card h3 { margin-bottom: var(--sp-2); }

/* A footnote under a price, not a pull quote. */
.plan-math {
  border-left: 0;
  padding-left: 0;
  margin-top: var(--sp-5);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--color-border);
  font-size: var(--t-xs);
}

.review-sentiment blockquote {
  border-left: 1px solid var(--color-accent);
  padding-left: 1rem;
}

/* ---------- Heading rhythm ----------
   Air above a heading, less below it, so the heading belongs to the text it
   introduces rather than floating between two blocks. */
h2 + p, h2 + ul, h2 + ol, h2 + .section-subtitle { margin-top: var(--sp-3); }
h3 + p, h3 + ul, h3 + ol { margin-top: var(--sp-2); }
* + h2 { margin-top: var(--sp-7); }
* + h3 { margin-top: var(--sp-6); }
.section > :first-child, .container > :first-child,
.section-header h2, .section-title, .card h3, .card h2,
.faq-question h3, .service-card h3, .promise-card h3,
.hl-head h2, .hl-head h3 { margin-top: 0; }

/* ---------- Small-text floor ----------
   Nothing on the page is set below 12px. Below that it stops being text and
   becomes texture. */
.trust-pill, .cmp-note, .fee-note, .plan-price small,
.hl-foot, .footer-legal, .badge, .pill { font-size: max(var(--t-label), .75rem); }

/* ---------- Second pass: what the first render showed ---------- */

/* The myth block was stretching the full column while its text stopped at the
   reading measure, leaving half the box empty. */
.calc-myth { max-width: calc(var(--measure) + 3rem); }
.calc-myth h3 { font-size: var(--t-h4); margin: 0 0 var(--sp-2); }
.calc-myth p { font-size: var(--t-sm); margin: 0; }

/* Five steps, five headings that were the same size as their own body copy. */
.hl-step h3 { font-size: 1.06rem; letter-spacing: var(--track-h3); }
.hl-step p { font-size: var(--t-sm); }

/* ---------- Nothing under 12px ---------- */
.plan-col-head { font-size: var(--t-label); letter-spacing: var(--track-label); }
.page-home .hl-map-pin { font-size: var(--t-label); }

/* The dropdown arrow was a ▼ character at 9.6px: a glyph standing in for an
   icon, at a size where it renders as a smudge. Drawn in CSS instead, so it
   scales with the link and has no text size at all. */
.nav-link .chevron {
  font-size: 0;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: .55;
  flex: none;
  transition: transform .2s;
  margin-top: .1em;
}
.nav-item:hover .chevron { transform: rotate(180deg); opacity: 1; }

/* A drop shadow on a dark surface is a coloured halo, not a shadow: there is
   nothing for the button to cast onto. Elevation on navy comes from the
   button's own fill. */
.hero .btn.btn-primary,
.hl-band--navy .btn.btn-primary,
.hl-panel .btn.btn-primary,
.hl-close .btn.btn-primary,
.calc-out .btn.btn-primary,
.mobile-cta-bar .btn.btn-primary,
.site-footer .btn.btn-primary,
.hl-band--navy .btn,
.hl-panel .btn,
.mobile-cta-bar .btn { box-shadow: none; }
