/* Texas Heat & Air — basic service site styles.
   Plain CSS, no framework. Mobile-first. */

:root {
  --navy: #0b2a5b;
  --navy-dark: #071d40;
  --red: #c8352a;
  --red-dark: #a82a21;
  --gold: #e8a33d;
  --ink: #1c2430;
  --muted: #5b6472;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --radius: 10px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

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

a { color: var(--navy); }
a:hover { color: var(--red); }

h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 0.6em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.2rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

section { padding: 52px 0; }
.section-soft { background: var(--bg-soft); }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand img { height: 52px; width: auto; }
.main-nav { display: none; gap: 4px; margin-left: auto; }
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
}
.main-nav a[aria-current="page"] { color: var(--navy); background: var(--bg-soft); }
.main-nav a:hover { color: var(--red); }
.header-contact { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-phone { font-weight: 800; color: var(--navy); text-decoration: none; font-size: 1.05rem; white-space: nowrap; }
.header-phone:hover { color: var(--red); }

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
}
.btn:hover { background: var(--red-dark); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-navy { background: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); }
.btn-call { white-space: nowrap; padding: 10px 18px; }

.nav-toggle {
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--navy);
}

/* Mobile dropdown nav */
@media (max-width: 759px) {
  .header-inner { flex-wrap: wrap; }
  .hero-media img { object-position: 22% center; }
  .main-nav.nav-open {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    order: 5;
    border-top: 1px solid var(--line);
    padding: 8px 0 4px;
  }
}

/* Floating call button (mobile) */
.float-call {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 22px 14px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.float-call:hover { background: var(--red-dark); color: #fff; }
.float-call svg { width: 20px; height: 20px; flex: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--navy-dark);
  overflow: hidden;
  padding: 0;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,29,64,0.92) 30%, rgba(7,29,64,0.55) 65%, rgba(7,29,64,0.25));
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 20px;
  max-width: var(--max);
  margin: 0 auto;
}
.hero h1 { color: #fff; font-size: 2.2rem; max-width: 16em; }
.hero p.lede { font-size: 1.15rem; max-width: 34em; color: #eef1f6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero .btn-outline { color: #fff; border-color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--navy); }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 28px; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); margin: 0 0 1.1em; flex: 1; }

/* ---------- Trust / lists ---------- */
.trust-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.trust-list li { padding-left: 30px; position: relative; }
.trust-list li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 800; }
.two-col { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
.two-col img { border-radius: var(--radius); }

.checklist { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: "•"; position: absolute; left: 8px; color: var(--red); font-weight: 800; }

/* ---------- Reviews ---------- */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; max-width: 720px; }
.stars { color: var(--gold); font-size: 1.25rem; letter-spacing: 2px; }
.review footer { margin-top: 10px; font-weight: 700; color: var(--navy); }

/* ---------- Service area ---------- */
.area-list { columns: 2; column-gap: 32px; list-style: none; padding: 0; margin: 14px 0 0; }
.area-list li { padding: 4px 0; break-inside: avoid; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe3f0; }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .btn-outline { color: #fff; border-color: #fff; background: transparent; }
.cta-band .btn-outline:hover { background: #fff; color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #c9d3e4; padding: 44px 0; font-size: 0.95rem; }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer a { color: #eef1f6; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.85rem; color: #93a1bb; }

/* ---------- Services page ---------- */
.service-block { border-top: 1px solid var(--line); padding: 44px 0; }
.service-block:first-of-type { border-top: 0; }
.service-block img { border-radius: var(--radius); margin-bottom: 20px; }
.anchor-offset { scroll-margin-top: 90px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.contact-card { background: var(--bg-soft); border-radius: var(--radius); padding: 26px; }
.contact-card h2 { font-size: 1.15rem; margin-bottom: 0.3em; }
.contact-card p { margin: 0.2em 0; }
.contact-card a.big { font-size: 1.35rem; font-weight: 800; text-decoration: none; }

form.service-form { display: grid; gap: 14px; max-width: 640px; }
.field label { display: block; font-weight: 600; margin-bottom: 4px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #b9c2d0;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; gap: 14px; grid-template-columns: 1fr; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-ok, .form-err {
  border-radius: 8px; padding: 16px 18px; margin-bottom: 18px; font-weight: 600;
}
.form-ok { background: #e8f5e9; color: #1b5e20; border: 1px solid #a5d6a7; }
.form-err { background: #fdecea; color: #7f1d1d; border: 1px solid #f5c6c2; }

/* ---------- 404 ---------- */
.page-404 { text-align: center; padding: 90px 0; }
.page-404 h1 { font-size: 3rem; }

/* ---------- Desktop ---------- */
@media (min-width: 760px) {
  h1 { font-size: 2.6rem; }
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .header-contact { margin-left: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1.4fr; align-items: start; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .area-list { columns: 3; }
  .float-call { display: none; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
@media (min-width: 1020px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Reference design (2026-10-06) ---------- */

/* Top bar */
.topbar { background: var(--navy-dark); color: #fff; font-size: 0.85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.topbar-loc { display: inline-flex; align-items: center; gap: 6px; }
.topbar-nav { display: none; gap: 20px; }
.topbar-nav a { color: #fff; text-decoration: none; }
.topbar-nav a:hover { color: var(--gold); }
@media (min-width: 760px) { .topbar-nav { display: flex; } }

/* Header */
.site-header .brand img { width: 210px; height: auto; }
.main-nav a { text-decoration: none; color: var(--navy); font-weight: 600; padding: 6px 2px; }
.main-nav a:hover { color: var(--red); }
.main-nav a.active { border-bottom: 3px solid var(--red); }
.nav-drop { position: relative; }
.nav-drop > a { display: inline-block; }
.drop-menu { display: none; position: absolute; top: 100%; left: -12px; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 28px rgba(7,29,64,.14); padding: 8px; z-index: 60; }
.drop-menu a { display: block; padding: 9px 12px; border-bottom: 0; font-weight: 500; white-space: nowrap; }
.drop-menu a:hover { background: var(--bg-soft); }
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { display: block; }
.header-contact { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.1rem; color: var(--navy); text-decoration: none; white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; }
.btn-red { background: var(--red); color: #fff; border: 1px solid var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

/* Hero (new) */
.hero-new .hero-panel { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 64px 20px; }
.hero-new .hero-panel > * { max-width: 600px; }
.eyebrow-gold { color: #f5b301; font-weight: 700; letter-spacing: .06em; font-size: .85rem; margin: 0 0 12px; }
.hero-new h1 { color: #fff; font-size: 2.6rem; margin-bottom: 14px; }
.hero-rule { width: 64px; height: 5px; background: var(--red); margin: 0 0 18px; border: 0; }
.hero-new .lede { color: #eef1f6; font-size: 1.08rem; }
.hero-new .hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.hero-new .btn-outline { color: #fff; border-color: #fff; background: transparent; }
.hero-new .btn-outline:hover { background: #fff; color: var(--navy); }
.hero-trust { color: #cfd6e2; font-size: .85rem; margin: 20px 0 0; }

/* Trust bar */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); padding: 0; }
.trustbar-grid { display: grid; grid-template-columns: 1fr 1fr; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 22px 18px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item:nth-child(3) { border-left: 0; }
.trust-item:nth-child(5) { border-left: 0; }
.trust-item svg { width: 38px; height: 38px; color: var(--red); flex: none; }
.trust-item strong { display: block; color: var(--navy); font-size: 1rem; line-height: 1.3; overflow-wrap: break-word; }
.trust-item span { font-size: .83rem; color: var(--muted); line-height: 1.45; display: block; margin-top: 4px; overflow-wrap: break-word; }
.trust-item > div { min-width: 0; }
@media (min-width: 900px) {
  .trustbar-grid { grid-template-columns: repeat(5, 1fr); }
  .trust-item:nth-child(3) { border-left: 1px solid var(--line); }
  .trust-item:nth-child(5) { border-left: 1px solid var(--line); }
}

/* Eyebrows */
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 800; letter-spacing: .05em; font-size: .95rem; margin: 0 0 10px; }
.eyebrow .dash { display: inline-block; width: 34px; height: 4px; background: var(--red); }
.eyebrow-center { justify-content: center; }

/* FAQ */
.faq { max-width: 780px; margin: 28px auto 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--red); flex: none; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq .faq-a { padding: 0 20px 18px; }
.faq .faq-a p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* Comfort section */
.comfort-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .comfort-grid { grid-template-columns: 1fr 1fr; } }
.comfort-copy h2 { font-size: 1.9rem; text-transform: uppercase; }
.comfort-media img { border-radius: var(--radius); box-shadow: 0 12px 32px rgba(7,29,64,.14); }
.check-list { list-style: none; margin: 26px 0 0; padding: 0; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.check-ico { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; }
.check-ico svg { width: 26px; height: 26px; }
.check-list strong { display: block; color: var(--navy); }
.check-list span { color: var(--muted); font-size: .95rem; }

/* What we do */
.whatwedo .center { text-align: center; }
.whatwedo .sub { max-width: 640px; margin: 0 auto 34px; color: var(--muted); }
.svc-cards { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .svc-cards { grid-template-columns: repeat(4, 1fr); } }
.svc-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 3px 16px rgba(7,29,64,.09); display: flex; flex-direction: column; }
.svc-card > img { width: 100%; height: 168px; object-fit: cover; }
.svc-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 1.08rem; display: flex; align-items: center; gap: 8px; }
.svc-ico { color: var(--red); }
.svc-body p { font-size: .93rem; color: var(--muted); flex: 1; }
.svc-body .btn { margin-top: 16px; }

/* Mobile nav: dropdowns stack inline */
@media (max-width: 759px) {
  .main-nav.nav-open .drop-menu { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .header-contact .btn-red { display: none; }
  .hero-new h1 { font-size: 2rem; }
  .hero-new .hero-panel { padding: 52px 20px; }
}

/* Contact form result states */
.form-success {
  background: #EDF7EE; border: 1px solid #BFE3C4; border-radius: 8px;
  padding: 22px; color: #1E4620; font-size: 1.02rem;
}

/* BBB accredited — emphasized */
.trust-item-bbb { background: var(--navy); justify-content: center; text-align: center; }
.trust-item-bbb strong { color: #fff; font-size: 1.05rem; }
.trust-item-bbb span { color: #dbe3f0; }
.trust-item-bbb span a { color: #fff; }
.trust-item-bbb svg { color: var(--gold); }
@media (max-width: 899px) {
  /* Compact swipeable pill row (replaces the grid on small screens) */
  .trustbar { padding: 10px 0; }
  .trustbar-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 6px 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .trustbar-grid::-webkit-scrollbar { display: none; }
  .trustbar-grid .trust-item {
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
  }
  .trustbar-grid .trust-item svg { width: 24px; height: 24px; }
  .trustbar-grid .trust-item strong { font-size: .85rem; white-space: nowrap; }
  .trustbar-grid .trust-item strong br { display: none; }
  .trustbar-grid .trust-item span { display: none; }
  .trustbar-grid .trust-item.trust-item-bbb { background: var(--navy); border-color: var(--navy); }
}

/* ---------- Footer facts strip ---------- */
.facts-strip { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.15); }
.facts-strip p { margin: 0.35em 0; }

/* ===== Agent 07 staged fixes (2026-10-25) — presentation layer only ===== */

/* F1 [finding M1] Header dead zone 760-1099px: the desktop flex row needs ~1020px
   (brand 210 + nav ~422 + contact ~316 + gaps/padding). Below that the brand flex
   item collapses to 0 wide (logo invisible 760-~830px, crushed to ~1150px) and the
   header CTA clips off-canvas. Fix: keep the hamburger pattern until 1100px, and
   never let the brand flex item shrink. */
.brand { flex: 0 0 auto; }
@media (min-width: 760px) and (max-width: 1099px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-contact { margin-left: auto; }
  .header-inner { flex-wrap: wrap; }
  .main-nav.nav-open {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    order: 5;
    border-top: 1px solid var(--line);
    padding: 8px 0 4px;
  }
  .main-nav.nav-open .drop-menu { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .header-contact .btn-red { display: none; }
}

/* F2 [finding M2] Mobile first viewport: topbar (38px) + two-row header (179px) +
   hero padding pushed the homepage "Request Service" button to y=740 on a 360x740
   phone — exactly at/below the fold on all pages checked. Tighten mobile chrome
   and hero top spacing (~49px recovered) without touching copy or layout order. */
@media (max-width: 759px) {
  .site-header .brand img { width: 168px; height: auto; }
  .topbar-inner { padding-top: 5px; padding-bottom: 5px; }
  .header-inner { padding-top: 8px; padding-bottom: 8px; }
  .hero-new .hero-panel { padding-top: 38px; }
  .hero-new .hero-ctas { margin-top: 18px; }
  .eyebrow-gold { margin-bottom: 8px; }
}

/* F3 [finding M4] Tap targets: bring primary touch controls to the 44px guideline
   (measured: nav-toggle 42x39, header phone link 28 tall, open-menu links 39 tall,
   .btn incl. form submit 43 tall). Inline text links are unchanged (WCAG 2.5.8
   inline/spacing exceptions); this covers buttons and navigation controls. */
.btn { min-height: 44px; }
.nav-toggle { min-width: 44px; min-height: 44px; }
.header-phone { padding-top: 9px; padding-bottom: 9px; }
@media (max-width: 1099px) {
  .main-nav.nav-open a { padding-top: 11px; padding-bottom: 11px; }
}

/* F4 [finding M3] Floating call pill (fixed, bottom-right) can cover end-of-page
   footer content on phones, and sits over the hero call button in the first
   viewport. Keep the pill (it is the persistent call path) but give the footer
   clearance on mobile and respect the iPhone home-indicator safe area. */
.float-call { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 759px) {
  .site-footer { padding-bottom: 104px; }
}

/* F8 [a11y] Visible keyboard focus: the stylesheet defined no :focus-visible
   style, so focus indication depended entirely on UA defaults and is lost on
   the red/navy buttons. One global rule, no visual change for mouse/touch. */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* F2b [finding M2, addendum] Second tightening pass: after F2 the homepage hero
   "Request Service" button top sat at y=702 on a 360x740 viewport, leaving its
   bottom 15px below the fold (partly offset by F3's taller header phone link).
   These final ~20px put the full button inside the first viewport at 360x740. */
@media (max-width: 759px) {
  .hero-new .hero-panel { padding-top: 30px; }
  .hero-new .hero-ctas { margin-top: 12px; }
  .hero-new h1 { margin-bottom: 10px; }
  .eyebrow-gold { margin-bottom: 6px; }
}

/* ===== REV2 Option A [CS-4 revision 02 staging variant] — header call control.
   On phone widths the floating pill is removed entirely and the call action
   moves into the site header: the existing .header-phone link (present in the
   shared header markup on all 13 pages, previously a plain text link) becomes
   a bordered pill button >=44px tall, and the header itself becomes sticky so
   the call control stays reachable at every scroll position. position:sticky
   is in-flow — the header keeps its layout space, it does not overlay a
   reserved band the way the fixed pill did. No .wrap gutter: content margins
   stay symmetric (20px each side) exactly as the current candidate. CSS-only;
   no markup changes on any page. Desktop/tablet (>=760px) is untouched. */
@media (max-width: 759px) {
  .float-call { display: none; }
  .site-header { position: sticky; top: 0; z-index: 80; }
  .header-phone {
    border: 2px solid var(--red);
    border-radius: 999px;
    /* 7px vertical padding: with the 2px border the control is 46px tall —
       exactly the height the F3 padding produced — so the header keeps the
       current candidate's 170px height and the F2 hero fold is unchanged. */
    padding: 7px 18px;
    min-height: 44px;
    box-sizing: border-box;
  }
  /* F5 under a sticky header: anchor targets must land below the 170px bar
     (the base 90px margin was sized for a static header that scrolls away). */
  .anchor-offset, section[id] { scroll-margin-top: 186px; }
}

/* ===== CORRECTION 1 [final corrections round, 2026-10-25] — extreme-narrow
   (high-zoom) header compaction. At viewport widths <=300px (e.g. a 360px
   phone at 200% zoom = 180 CSS px) the v1 Option A header breaks two ways:
   the 186px call pill starts at x=20 and clips up to ~26px off the right
   edge (final digit of the number cut at 180px), and the header wraps to
   three rows (230px tall), which also leaves anchor targets ~44px under the
   sticky band despite the 186px scroll-margin. This block applies ONLY at
   <=300px — phone widths >=320px keep the exact v1 Option A geometry —
   and it: (a) narrows the header's side padding and flex gap, (b) shrinks
   the brand mark so logo + menu toggle share one row again, (c) compacts
   the call pill (smaller type, tighter padding, smaller glyph) so the FULL
   number and both borders fit inside the viewport while the control stays
   >=44px tall. The sticky band drops to ~124px, so the unchanged
   scroll-margin-top: 186px once again lands anchors fully uncovered.
   No markup changes; no other rules touched. */
@media (max-width: 300px) {
  .header-inner { padding-left: 10px; padding-right: 10px; gap: 10px; }
  .site-header .brand img { width: 100px; }
  .header-phone {
    font-size: 0.92rem;
    padding: 7px 10px;
    gap: 6px;
  }
  .header-phone svg { width: 15px; height: 15px; flex: 0 0 auto; }
}

/* ---------- Privacy page + form disclosure (D-07, pending owner approval) ---------- */
.policy-body { max-width: 780px; }
.form-disclosure {
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 0;
}
.form-disclosure a { padding: 2px 0; }
/* Scoped D-Reviews editorial theme component — additive-only */
.tha-review-themes{--tha-ink:#18384c;--tha-muted:#526675;--tha-teal:#076f73;--tha-line:#d9e5e9;--tha-surface:#f7fafb;color:var(--tha-ink);margin:clamp(2rem,5vw,4rem) auto;max-width:1160px;padding:0 clamp(16px,3vw,28px)}
.tha-review-themes *{box-sizing:border-box}
.tha-review-themes__eyebrow{color:var(--tha-teal);font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin:0 0 .5rem}
.tha-review-themes h2{font-size:clamp(1.75rem,3.8vw,2.45rem);line-height:1.2;margin:0 0 .85rem}
.tha-review-themes__intro{color:var(--tha-muted);max-width:760px;line-height:1.65;margin:0 0 1.6rem}
.tha-review-themes__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tha-review-themes__card{border:1px solid var(--tha-line);border-radius:16px;padding:24px;background:#fff;box-shadow:0 6px 18px rgba(18,44,62,.055)}
.tha-review-themes__card h3{font-size:1.1rem;line-height:1.25;margin:.65rem 0 .5rem}
.tha-review-themes__card p{margin:0;color:var(--tha-muted);line-height:1.6;font-size:.96rem}
.tha-review-themes__icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e4f4f3;color:#075b61;font-size:1.2rem;font-weight:900}
.tha-review-themes__actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:24px 0 0}
.tha-review-themes__btn{display:inline-block;border-radius:10px;padding:13px 20px;background:#086d72;color:#fff!important;text-decoration:none;font-weight:750;min-height:44px}
.tha-review-themes__btn:hover,.tha-review-themes__btn:focus-visible{background:#07565a;color:white!important}
.tha-review-themes__link{color:var(--tha-teal)!important;font-weight:650;text-underline-offset:3px}
.tha-review-themes a:focus-visible{outline:3px solid #0c8990;outline-offset:4px}
.tha-review-themes__note{font-size:.88rem;line-height:1.6;color:var(--tha-muted);margin:16px 0 0;max-width:870px}
@media(max-width:860px){.tha-review-themes__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.tha-review-themes__grid{grid-template-columns:1fr}.tha-review-themes__card{padding:20px}.tha-review-themes__actions{align-items:stretch}.tha-review-themes__btn{text-align:center}}

/* ===== Homepage hero staging (2026-10-27) — HERO STAGING ONLY, not a
   release candidate. Rules are scoped to homepage-only classes
   (.hero-new, .trustbar, .second-look); no shared page styles change.
   The Second Look offer shown on the staged homepage is a PROPOSAL —
   PENDING TIM'S APPROVAL — NOT APPROVED FOR PRODUCTION. ===== */

/* Strong navy overlay: the base hero gradient fades to 0.25 alpha, which
   left text sitting over bright photo detail. The redesign holds hero
   text on a consistently deep navy field at every width. */
.hero-new .hero-media::after {
  background: linear-gradient(100deg, rgba(7,29,64,.96) 0%, rgba(7,29,64,.90) 48%, rgba(7,29,64,.70) 78%, rgba(7,29,64,.55) 100%);
}
@media (max-width: 759px) {
  /* Refinement (owner direction, 2026-10-27): on phones the old 22% crop
     pushed the kneeling technician out of the visible window entirely and
     the near-uniform .85-.94 vertical overlay ghosted what photo remained.
     Reframe on the technician (object-position 70% shows the homeowner, the
     technician, and the unit) and ease the overlay diagonally toward his
     corner (bottom-right: photo contribution 15% -> 32%) while the text
     field stays deep navy. Worst-case text contrast re-measured with the
     original method: H1 white 8.42:1 full-frame (target >= 7:1); every
     text element >= 6.3:1 over its own band in the visible window.
     See homepage-hero-staging/refinement/ACCESSIBILITY-UPDATE.md. */
  .hero-new .hero-media img { object-position: 70% center; }
  .hero-new .hero-media::after {
    background: linear-gradient(100deg, rgba(7,29,64,.95) 0%, rgba(7,29,64,.92) 50%, rgba(7,29,64,.82) 80%, rgba(7,29,64,.68) 100%);
  }
}

/* Type scale tuned for the longer H1: readable without eating the fold. */
.hero-new h1 { line-height: 1.14; }
.hero-new .lede { margin: 0 0 6px; }
.hero-new .lede + .lede { margin: 0; }
.hero-new .hero-ctas .btn { min-height: 48px; }
@media (max-width: 759px) {
  .hero-new .hero-panel { padding: 30px 20px 36px; }
  .hero-new h1 { font-size: 1.82rem; margin-bottom: 10px; }
  .hero-new .lede { font-size: 1rem; line-height: 1.5; }
  .hero-new .hero-ctas { margin-top: 18px; }
}
@media (max-width: 360px) {
  .hero-new h1 { font-size: 1.66rem; }
}
@media (max-width: 560px) {
  .hero-new .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-new .hero-ctas .btn { width: 100%; }
}

/* Second Look promotional section (proposal copy — see staging docs) */
.second-look { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.second-look .sl-intro { max-width: 46em; font-size: 1.05rem; }
.sl-cols { display: grid; gap: 8px; margin-top: 24px; }
@media (min-width: 900px) { .sl-cols { grid-template-columns: 1fr 1fr; gap: 48px; } }
.second-look .sl-steps { margin: 16px 0 0; padding-left: 1.35em; }
.second-look .sl-steps li { margin-bottom: 10px; }
.second-look .sl-steps li:last-child { margin-bottom: 0; }
.second-look .check-list { margin-top: 16px; }
.second-look .check-list li { margin-bottom: 16px; }
.second-look .hero-ctas { margin-top: 20px; }

/* Mobile trust badges: the <=899px swipe strip (a ~1,195px flex row in a
   320-390px viewport, labels nowrap, sub-text hidden) clipped most badges
   off-canvas. Replace with a wrapping card grid: every badge fully
   visible, sub-text restored, no horizontal scrolling. */
@media (max-width: 899px) {
  .trustbar { padding: 14px 0; }
  .trustbar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    overflow: visible;
    padding: 2px 20px;
  }
  .trustbar-grid .trust-item {
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    min-width: 0;
  }
  .trustbar-grid .trust-item:last-child { grid-column: 1 / -1; }
  .trustbar-grid .trust-item svg { width: 28px; height: 28px; }
  .trustbar-grid .trust-item strong { font-size: .92rem; white-space: normal; overflow-wrap: anywhere; }
  .trustbar-grid .trust-item strong br { display: initial; }
  .trustbar-grid .trust-item span { display: block; }
  .trustbar-grid .trust-item.trust-item-bbb { background: var(--navy); border-color: var(--navy); }
}
@media (max-width: 380px) {
  .trustbar-grid .trust-item { flex-direction: column; gap: 8px; }
}

/* ===== Unified navigation + Help Center integration (2026-10-27 nav release) =====
   Desktop two-row header: the 8-item unified nav cannot share one row with the
   brand + phone + CTA inside the 1120px container, so at desktop widths the nav
   takes its own full-width row beneath them (hamburger pattern unchanged below
   1100px, per the F1 fix). */
@media (min-width: 1100px) {
  .header-inner { flex-wrap: wrap; }
  .main-nav { order: 5; flex-basis: 100%; margin-left: 0; justify-content: flex-start; border-top: 1px solid var(--line); padding-top: 8px; }
}

/* Knowledge Center topic strip (KC pages only) */
.kc-topics { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.kc-topics-inner { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px; }
.kc-topics-label { font-weight: 800; color: var(--navy); font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.kc-topics a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 4px 2px; white-space: nowrap; }
.kc-topics a:hover { color: var(--red); }
.kc-topics a.active { color: var(--red); border-bottom: 3px solid var(--red); }
@media (max-width: 759px) {
  .kc-topics-inner { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .kc-topics-inner::-webkit-scrollbar { display: none; }
}

/* Homepage HVAC Help Center section */
.help-center .center { text-align: center; }
.help-center .sub { max-width: 640px; margin: 0 auto 34px; color: var(--muted); }
.help-cards { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .help-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .help-cards { grid-template-columns: repeat(3, 1fr); } }
.help-explore { text-align: center; margin: 30px 0 0; }

/* Staff Login footer link: enlarge tap target, layout-neutral (feature release 2026-10-27) */
.footer-bottom a.staff-login { display: inline-block; padding: 11px 6px; margin: -11px 0; }

/* === NAV FIX (2026-11-19): Service Areas drop-down lists all 11 city hubs.
   Two columns at desktop widths so the 11-item menu stays compact; below
   760px the existing open-menu rules stack it as a static sub-list. === */
@media (min-width: 760px) {
  .drop-menu--areas { min-width: 330px; column-count: 2; column-gap: 10px; }
  .drop-menu--areas a { break-inside: avoid; }
}

/* === SERVICE AREAS PANEL (2026-11-19): the Service Areas item now opens a
   full-width mega panel directly under the header bar, replacing the
   narrow two-column drop-down from the NAV FIX above. The Service Areas
   .nav-drop is made static and .site-header becomes the positioning
   anchor, so the panel stretches left:0 / right:0 at top:100% (the full
   width of the header) and the 11 city hubs lay out ACROSS it in a
   6-across grid — two rows, 6 + 5 — inside the 1120px container measure.
   A ::before bridge keeps hover alive across the header's bottom
   padding, so the panel behaves exactly like the drop-down it replaces
   (hover / focus-within, closes on mouse-leave / focus-out). Below
   1100px the standard header uses the hamburger pattern and the cities
   stay a stacked sub-list in the open menu (unchanged). The Services
   and About Us drop-downs are untouched. === */
@media (min-width: 1100px) {
  .site-header { position: relative; }
  .nav-drop:has(> .drop-menu--areas) { position: static; }
  .drop-menu--areas {
    left: 0;
    right: 0;
    top: 100%;
    min-width: 0;
    column-count: auto;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: 0 18px 30px rgba(7, 29, 64, .12);
    padding: 20px max(20px, calc((100% - var(--max)) / 2 + 20px)) 24px;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px 18px;
  }
  .nav-drop:hover .drop-menu--areas,
  .nav-drop:focus-within .drop-menu--areas { display: grid; }
  .drop-menu--areas::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -16px;
    height: 16px;
  }
  .drop-menu--areas a {
    white-space: normal;
    font-size: 1.02rem;
    font-weight: 600;
    padding: 11px 14px;
    border-radius: 6px;
  }
}
/* === VISIBLE BAR (2026-11-19): always-visible bar directly under the
   header, at every width. The six main items (Home, Services, Service
   Areas, Help Center, Reviews, Contact) live on this bar so they are
   reachable on a phone with NO hamburger interaction: below 760px the
   bar is a compact 3-across grid (two rows, every item >=44px tall,
   nothing hidden, nothing to swipe); from 760px it is a single row
   spread across the container. Service Areas is a toggle button: its
   first tap/click opens the city band (it never navigates); the band
   lays all 11 city hubs ACROSS the full width under the bar — 3-across
   on phones, 4-across at tablet widths, 6-across (two rows, 6 + 5) on
   desktops — in-flow, so it behaves identically at every width.
   Behaviour (open/close/hover-pin/Escape) lives in main.js. The old
   drop-downs in the main nav are untouched. text-size-adjust is pinned
   inside the bar so Android font boosting cannot break the fit. === */
.vbar {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-dark);
}
.vbar__bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.vbar__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 9px 4px;
  background: none;
  border: 0;
  border-radius: 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.vbar__link:hover { color: #fff; background: rgba(255, 255, 255, .13); }
.vbar__link:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.vbar__toggle[aria-expanded="true"] { background: rgba(255, 255, 255, .16); }
.vbar__caret { font-size: .68em; display: inline-block; transition: transform .15s ease; }
.vbar--open .vbar__caret { transform: rotate(180deg); }
.vbar__band {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px rgba(7, 29, 64, .12);
}
.vbar__band[hidden] { display: none; }
.vbar__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 16px 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 12px;
}
.vbar__grid a {
  display: block;
  padding: 11px 10px;
  border-radius: 6px;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
  text-decoration: none;
}
.vbar__grid a:hover { background: var(--bg-soft); color: var(--red); }
@media (min-width: 760px) {
  .vbar__bar { display: flex; justify-content: space-between; padding: 0 20px; }
  .vbar__link { font-size: 16px; padding: 11px 10px; }
  .vbar__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1100px) {
  .vbar__grid { grid-template-columns: repeat(6, 1fr); }
}
