/* Relaxed Heating & Air — "Navy Standard"
   White + deep navy, one ember accent. Archivo display, Inter Tight body. */

:root {
  --bg: #ffffff;
  --band: #f4f6f8;
  --ink: #122a44;
  --muted: #5b6b7d;
  --line: #dbe2e9;
  --ember: #c96f3b;
  --ember-deep: #b05e2f;
  --radius: 14px;
  --display: "Archivo", sans-serif;
  --body: "Inter Tight", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.04; }
h1 { font-weight: 800; font-size: clamp(3rem, 8.5vw, 6.5rem); }
h2 { font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }

a { color: inherit; text-decoration: none; }
::selection { background: #122a44; color: #fff; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1.25rem, 4vw, 3.5rem);
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-name {
  font-family: var(--display); font-weight: 800; font-size: 1.15rem;
  letter-spacing: -0.02em; display: flex; flex-direction: column; line-height: 1;
}
.brand-sub {
  font-family: var(--body); font-weight: 500; font-size: 0.62rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  margin-top: 3px;
}
.nav-links { display: flex; gap: 1.75rem; font-size: 0.9rem; font-weight: 500; }
.nav-links a { position: relative; padding: 0.25rem 0; }
.nav-links a:not(.soon)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.nav-links a:not(.soon):hover::after { transform: scaleX(1); }
.soon { color: var(--muted); cursor: default; }
.soon sup {
  font-size: 0.5rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ember); margin-left: 3px;
}
.nav-cta { display: flex; align-items: center; gap: 1.25rem; }
.nav-phone { font-weight: 600; font-size: 0.9rem; font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--body); font-weight: 600; font-size: 0.92rem;
  padding: 0.85rem 1.7rem; border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--ink); color: #fff; padding: 0.7rem 1.4rem; font-size: 0.85rem; }
.btn-solid:hover { background: #0c1e33; }
.btn-ember { background: var(--ember); color: #fff; }
.btn-ember:hover { background: var(--ember-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-full { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 10vh, 8rem) clamp(1.25rem, 4vw, 3.5rem) clamp(5rem, 12vh, 9rem);
}
.hero-air {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.hero-air path {
  fill: none; stroke: var(--ink); stroke-width: 1.1; opacity: 0.10;
  stroke-linecap: round;
}
.air-drift { animation: drift 42s linear infinite alternate; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-140px); } }
.hero-inner { position: relative; max-width: 880px; }
.hero-sub {
  max-width: 34rem; margin-top: 1.75rem;
  font-size: 1.08rem; color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.5rem; }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  max-width: 1200px; margin: 0 auto;
}
.stat {
  padding: 2rem 1rem; text-align: center;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num {
  font-family: var(--display); font-weight: 800; font-size: 2rem;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.72rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--muted);
}

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 10vh, 7.5rem) clamp(1.25rem, 4vw, 3.5rem); }
.band { background: var(--band); }
.section-head { max-width: 1200px; margin: 0 auto 3.25rem; }

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
  max-width: 1200px; margin: 0 auto;
}
.service {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.75rem 1.9rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  background: var(--bg);
}
.service:hover {
  border-color: var(--ink); transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(18, 42, 68, 0.35);
}
.service svg {
  width: 40px; height: 40px; stroke: var(--ink); stroke-width: 1.6;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 1.2rem;
}
.service h3 { margin-bottom: 0.5rem; }
.service p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Why us ---------- */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 4rem);
  max-width: 1200px; margin: 0 auto;
}
.why-index {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--ember); margin-bottom: 0.9rem;
}
.why h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.why p { font-size: 0.95rem; color: var(--muted); }

/* ---------- Reviews marquee ---------- */
.reviews { padding-left: 0; padding-right: 0; }
.reviews .section-head, .reviews-note { padding: 0 clamp(1.25rem, 4vw, 3.5rem); }
.marquee { display: grid; gap: 1rem; overflow: hidden; }
.marquee-row {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 1rem; padding-right: 1rem;
  flex: none;
  animation: scroll-left 55s linear infinite;
}
.marquee-right .marquee-track { animation-name: scroll-right; animation-duration: 62s; }
.marquee-row:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-left { to { transform: translateX(-100%); } }
@keyframes scroll-right { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.review {
  width: 380px; flex: none;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.6rem; background: var(--bg);
}
.stars { color: var(--ember); font-size: 0.85rem; letter-spacing: 0.2em; }
.review blockquote { font-size: 0.95rem; margin: 0.7rem 0 0.9rem; }
.review figcaption {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--muted);
}
.reviews-note { margin-top: 2.25rem; font-size: 0.8rem; color: var(--muted); }

/* ---------- Estimate ---------- */
.estimate-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 6rem);
  max-width: 1200px; margin: 0 auto; align-items: start;
  position: relative;
}
.estimate-copy p { color: var(--muted); max-width: 26rem; margin-top: 1rem; }
.estimate-phone {
  display: inline-block; margin-top: 2rem;
  font-family: var(--display); font-weight: 800; font-size: 2rem;
  letter-spacing: -0.02em;
  border-bottom: 2px solid var(--ember);
  transition: color 0.25s;
}
.estimate-phone:hover { color: var(--ember); }
.estimate-hours { font-size: 0.9rem; margin-top: 1.25rem; }

.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label {
  display: grid; gap: 0.4rem;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--muted);
}
.form input, .form select, .form textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  padding: 0.85rem 1rem;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); width: 100%;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(18, 42, 68, 0.12);
}
.form input.invalid { border-color: var(--ember-deep); }
.form textarea { resize: vertical; }
.form-fine { font-size: 0.72rem; color: var(--muted); text-align: center; }
.form-thanks {
  grid-column: 2; align-self: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); padding: 3rem;
}
.form-thanks h3 { font-size: 1.8rem; margin-bottom: 0.75rem; }
.form-thanks a { font-weight: 600; border-bottom: 2px solid var(--ember); }

/* ---------- Areas ---------- */
.areas-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem);
  max-width: 1200px; margin: 0 auto; align-items: start;
}
.areas-sub { margin-top: 1.25rem; color: var(--muted); font-size: 0.95rem; }
.areas-list {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.areas-list li {
  font-size: 0.85rem; font-weight: 500;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.45rem 1rem;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.areas-list li:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink); color: rgba(255,255,255,0.85);
  padding: 4rem clamp(1.25rem, 4vw, 3.5rem) 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem;
  max-width: 1200px; margin: 0 auto 3.5rem;
}
.footer-brand { color: #fff; }
.footer-brand .brand-sub { color: rgba(255,255,255,0.55); }
.footer p { font-size: 0.88rem; margin-top: 1rem; color: rgba(255,255,255,0.6); }
.footer-links { display: grid; gap: 0.6rem; font-size: 0.9rem; align-content: start; }
.footer-links a:hover:not(.soon) { color: #fff; }
.footer-links .soon { color: rgba(255,255,255,0.45); }
.footer-contact a {
  font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: #fff;
}
.disclaimer {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.5rem;
  font-size: 0.75rem; color: rgba(255,255,255,0.5);
}

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.45s ease, transform 0.45s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .air-drift, .marquee-track { animation: none; }
  .btn:hover, .service:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .services-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: none; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+3) { border-top: none; }
  .estimate-grid, .areas-grid { grid-template-columns: 1fr; }
  .form-thanks { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .nav-phone { display: none; }
  .services-grid, .why-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-left: none; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:nth-child(-n+3) { border-top: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .form-row { grid-template-columns: 1fr; }
  .review { width: 300px; }
}
