/* Precision Comfort — site styles */
:root {
  --navy: #05142b;
  --navy-2: #0b2142;
  --navy-3: #12305c;
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --paper: #f6f4ef;
  --paper-2: #edeae2;
  --white: #ffffff;
  --blue: #1f6fd6;
  --blue-2: #1557ad;
  --red: #c8372d;
  --gold: #c9a24a;
  --line: rgba(5, 20, 43, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);

  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', Arial, sans-serif;

  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.15vw, 0.9375rem);
  --text-base: clamp(1rem, 0.97rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  --text-hero: clamp(2.5rem, 1.5rem + 3.8vw, 4.25rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 14px;
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 0.5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.on-dark .eyebrow { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: var(--text-sm); font-weight: 700;
  text-decoration: none; border: 1px solid transparent;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #b02e25; }
.btn-secondary { background: transparent; color: var(--navy); border-color: rgba(5, 20, 43, 0.3); }
.btn-secondary:hover { border-color: var(--navy); background: rgba(5, 20, 43, 0.04); }
.on-dark .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.35); }
.on-dark .btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-ghost { background: transparent; color: #fff; padding-inline: 0.6rem; }
.btn-ghost:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Top bar */
.topbar {
  background: var(--navy-2); color: rgba(255,255,255,0.85);
  font-size: var(--text-xs); letter-spacing: 0.02em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 1rem; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.topbar a:hover { color: var(--gold); }
.topbar .hours { display: none; }
@media (min-width: 720px) { .topbar .hours { display: inline; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: #fff;
  border-bottom: 1px solid var(--line-light);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: #fff; }
.brand-mark { height: 48px; width: auto; flex: none; margin-left: -6px; }
.site-footer .brand-mark { height: 56px; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1; }
.brand-sub { display: block; font-family: var(--font-body); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 4px; }
.nav { display: none; align-items: center; gap: 1.75rem; }
.nav a { color: rgba(255,255,255,0.82); text-decoration: none; font-size: var(--text-sm); font-weight: 600; }
.nav a:hover { color: #fff; }
.header-cta { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: transparent; border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm); color: #fff; cursor: pointer;
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}
.mobile-nav {
  display: none; background: var(--navy-2); border-top: 1px solid var(--line-light);
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 0.9rem var(--gutter); color: #fff; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line-light); }
.mobile-nav .mobile-cta { padding: 1rem var(--gutter); }

/* Hero */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero-grid { display: grid; gap: var(--space-10); padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2.5rem, 5vw, 4rem); }
.hero h1 { font-size: var(--text-hero); font-weight: 800; letter-spacing: -0.025em; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lede { font-size: var(--text-lg); color: rgba(255,255,255,0.78); max-width: 46ch; margin-top: var(--space-6); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--space-8); }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #fff; border-radius: var(--radius-lg); }
.hero-badge {
  position: absolute; left: 1rem; bottom: 1rem;
  background: var(--paper); color: var(--navy); border-radius: var(--radius-md);
  padding: 0.8rem 1rem; font-size: var(--text-xs); line-height: 1.35; max-width: 260px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.hero-badge strong { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; }
.hero-media .hero-badge { position: static; margin-top: 0.75rem; max-width: none; box-shadow: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.75rem; }
.hero-media .hero-badge strong { font-size: 1rem; }
.hero-proof { display: grid; grid-template-columns: 1fr; gap: 1.25rem 2rem; margin-top: var(--space-10); padding-top: var(--space-6); border-top: 1px solid var(--line-light); }
@media (min-width: 560px) { .hero-proof { grid-template-columns: repeat(3, 1fr); } }
.hero-proof div { font-size: var(--text-sm); color: rgba(255,255,255,0.72); }
.hero-proof strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; white-space: nowrap; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; }
}
/* airflow ribbons behind hero */
.hero-ribbons { position: absolute; inset: 0; pointer-events: none; opacity: 0.55; }

/* Trust strip */
.trust { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 2rem; padding-block: var(--space-6); }
.trust-item { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--text-sm); color: var(--ink-2); }
.trust-item svg { flex: none; width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.trust-item strong { color: var(--ink); display: block; }
@media (min-width: 900px) { .trust .container { grid-template-columns: repeat(4, 1fr); } }

/* Section basics */
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section-tight { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { font-size: var(--text-2xl); font-weight: 800; margin-top: var(--space-3); }
.section-head p { margin-top: var(--space-4); color: var(--ink-2); font-size: var(--text-base); }

/* Services — asymmetric layout */
.services-grid { display: grid; gap: 1.25rem; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: 0.75rem;
}
.service h3 { font-size: var(--text-lg); font-weight: 800; }
.service p { color: var(--ink-2); font-size: var(--text-sm); }
.service ul { margin-top: 0.25rem; display: grid; gap: 0.35rem; }
.service li { font-size: var(--text-sm); color: var(--ink-2); padding-left: 1.1rem; position: relative; }
.service li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.service .num { font-family: var(--font-display); font-size: var(--text-xs); font-weight: 700; color: var(--ink-3); letter-spacing: 0.1em; }
.service-feature { background: var(--navy); color: #fff; border-color: transparent; }
.service-feature h3 { font-size: var(--text-xl); }
.service-feature p, .service-feature li { color: rgba(255,255,255,0.78); }
.service-feature li::before { background: var(--gold); }
.service-feature .num { color: var(--gold); }
.service-feature .feature-media { position: relative; margin-top: 0.5rem; }
.service-feature img { border-radius: var(--radius-md); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.service-feature .hero-badge { left: 0.75rem; bottom: 0.75rem; max-width: 240px; }
.service-feature .btn { align-self: flex-start; margin-top: 0.5rem; }
@media (min-width: 760px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-feature { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; }
  .service-feature .feature-copy { display: flex; flex-direction: column; gap: 0.75rem; }
  .service-feature .feature-media { margin: 0; height: 100%; }
  .service-feature img { height: 100%; }
}
@media (min-width: 1000px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .service-feature { grid-column: span 3; }
  .service-wide { grid-column: span 2; }
  .service-wide p { max-width: 60ch; }
  .service-wide ul { grid-template-columns: 1fr 1fr; }
}

/* Why / approach — split with image */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split img { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.split h2 { font-size: var(--text-2xl); font-weight: 800; margin-top: var(--space-3); }
.split .lede { margin-top: var(--space-4); color: var(--ink-2); }
.steps { margin-top: var(--space-8); display: grid; gap: 1.25rem; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: start; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; color: var(--red); font-size: var(--text-lg); line-height: 1.25;
}
.steps strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: var(--text-base); }
.steps p { color: var(--ink-2); font-size: var(--text-sm); margin-top: 0.15rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse > :first-child { order: 2; }
}

/* Equipment (American Standard) */
.equipment { background: var(--navy); color: #fff; }
.equipment .section-head p { color: rgba(255,255,255,0.75); }
.equip-grid { display: grid; gap: 1rem; }
.equip-card { background: var(--navy-2); border: 1px solid var(--line-light); border-radius: var(--radius-lg); padding: clamp(1.5rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: 0.6rem; }
.equip-card .num { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.equip-card h3 { font-size: var(--text-lg); font-weight: 800; }
.equip-card p { color: rgba(255,255,255,0.72); font-size: var(--text-sm); }
.equip-card ul { margin-top: 0.4rem; display: grid; gap: 0.35rem; }
.equip-card li { font-size: var(--text-sm); color: rgba(255,255,255,0.72); padding-left: 1.1rem; position: relative; }
.equip-card li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.equip-card.highlight { background: var(--paper); color: var(--navy); border-color: transparent; }
.equip-card.highlight .num { color: var(--red); }
.equip-card.highlight p, .equip-card.highlight li { color: var(--ink-2); }
.equip-card.highlight li::before { background: var(--blue); }
.equip-note { margin-top: var(--space-6); font-size: var(--text-xs); color: rgba(255,255,255,0.55); max-width: 70ch; }
@media (min-width: 720px) { .equip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .equip-grid { grid-template-columns: repeat(4, 1fr); } }

/* Service area */
.area .container { display: grid; gap: 2.5rem; }
.area h2 { font-size: var(--text-2xl); font-weight: 800; margin-top: var(--space-3); }
.area p { color: var(--ink-2); margin-top: var(--space-4); }
.towns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem 1.5rem; margin-top: var(--space-6); }
.towns li { font-size: var(--text-sm); color: var(--ink-2); padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.towns li strong { color: var(--ink); font-weight: 700; }
@media (min-width: 900px) { .area .container { grid-template-columns: 1fr 1fr; align-items: start; } .towns { grid-template-columns: repeat(3, 1fr); } }

/* Testimonial-style quote block */
.quote { background: var(--paper-2); border-block: 1px solid var(--line); }
.quote .container { padding-block: clamp(2.5rem, 6vw, 5rem); display: grid; gap: 1.5rem; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; max-width: 26ch; }
.quote blockquote span { color: var(--red); }
.quote-side { font-size: var(--text-sm); color: var(--ink-2); max-width: 44ch; }
.quote-side strong { display: block; color: var(--ink); font-weight: 700; }
@media (min-width: 900px) { .quote .container { grid-template-columns: 1.2fr 1fr; align-items: end; } }

/* Contact */
.contact .container { display: grid; gap: 2.5rem; }
.contact h2 { font-size: var(--text-2xl); font-weight: 800; margin-top: var(--space-3); }
.contact .lede { color: var(--ink-2); margin-top: var(--space-4); }
.contact-details { margin-top: var(--space-8); display: grid; gap: 1rem; }
.contact-details div { display: grid; gap: 0.15rem; }
.contact-details span { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); }
.contact-details a, .contact-details p { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; color: var(--navy); text-decoration: none; }
.contact-details a:hover { color: var(--blue); }
.hours-list { margin: 0.25rem 0 0; display: grid; gap: 0.3rem; max-width: 320px; }
.hours-list div { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--text-sm); color: var(--ink-2); border-bottom: 1px dashed var(--line); padding-bottom: 0.3rem; }
.hours-list dt { font-weight: 600; color: var(--ink); }
.hours-list dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours-list .emergency dt, .hours-list .emergency dd { color: var(--red); font-weight: 700; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--text-sm); padding: 0.8rem 0.9rem; border: 1px solid rgba(5,20,43,0.2);
  border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.form .fine { font-size: var(--text-xs); color: var(--ink-3); }
.form-error { display: none; background: #fbeae8; color: #7a1f17; border-radius: var(--radius-md); padding: 1rem; font-size: var(--text-sm); }
.form-error.show { display: block; }
.form-error a { color: inherit; font-weight: 700; }
.form-success { display: none; background: #e9f3ea; color: #1d4d27; border-radius: var(--radius-md); padding: 1rem; font-size: var(--text-sm); }
.form-success.show { display: block; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .contact .container { grid-template-columns: 1fr 1.1fr; align-items: start; } }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); font-size: var(--text-sm); }
.site-footer .container { padding-block: var(--space-12) var(--space-8); display: grid; gap: 2rem; }
.site-footer h4 { font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-family: var(--font-body); font-weight: 700; margin-bottom: 0.75rem; }
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { display: grid; gap: 0.4rem; }
.footer-brand p { margin-top: 0.75rem; max-width: 36ch; }
.footer-bottom { border-top: 1px solid var(--line-light); }
.photo-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.photo-credit { flex-basis: 100%; }
.footer-bottom .container { padding-block: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; font-size: var(--text-xs); color: rgba(255,255,255,0.5); }
@media (min-width: 760px) { .site-footer .container { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* Sticky mobile call bar */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
  border-top: 1px solid var(--line);
}
.call-bar a { display: flex; justify-content: center; align-items: center; gap: 0.5rem; padding: 0.95rem; font-weight: 700; font-size: var(--text-sm); text-decoration: none; }
.call-bar .call { background: var(--red); color: #fff; }
.call-bar .quote-link { background: var(--navy); color: #fff; }
body { padding-bottom: 56px; }
@media (min-width: 900px) { .call-bar { display: none; } body { padding-bottom: 0; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Mobile refinements */
@media (max-width: 719px) {
  .topbar .container { justify-content: center; }
  .topbar .serving { display: none; }
  .topbar a { white-space: nowrap; }
}
@media (max-width: 479px) {
  .brand-sub { display: none; }
}

/* FAQ */
.faq { background: var(--paper-2); border-top: 1px solid var(--line); }
.faq-list { display: grid; gap: 0.75rem; max-width: 72ch; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0 1.25rem; }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-weight: 700; font-size: var(--text-base); position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; color: var(--blue); font-weight: 400; }
.faq-list details[open] summary::after { content: "\2013"; }
.faq-list details p { color: var(--ink-2); padding-bottom: 1.25rem; margin: 0; }

/* Closing CTA band */
.cta-band { background: var(--navy); color: #fff; padding-block: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--line-light); }
.cta-band .container { display: grid; gap: 1.75rem; align-items: center; }
.cta-band h2 { font-size: var(--text-xl); font-weight: 800; margin-top: var(--space-3); max-width: 28ch; line-height: 1.2; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
@media (min-width: 900px) { .cta-band .container { grid-template-columns: 1.4fr 1fr; } .cta-band-actions { justify-content: flex-end; } }
