/* Ridgeview Heating & Air — contractor-trust design. Square corners, steel blue + safety orange, split hero with quote card. */
:root {
  --navy: #0b2e4f;
  --navy-deep: #081f36;
  --steel: #123c63;
  --orange: #f07818;
  --orange-dark: #d9660c;
  --paper: #f5f7fa;
  --ink: #16222e;
  --muted: #5b6b7a;
  --line: #dde4ec;
  --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

a { text-decoration: none; color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.015em; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---- top utility bar ---- */
.topbar {
  background: var(--navy-deep);
  color: #b9c8d8;
  font-size: 0.82rem;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.04em;
}
.topbar a { color: var(--orange); font-weight: 700; }

/* ---- header ---- */
.header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 40;
}
.header-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.logo { color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em; }
.logo span { color: var(--orange); }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: #c9d6e2; font-size: 0.9rem; font-weight: 600; }
.nav a:hover { color: #fff; }
.nav .cta {
  background: var(--orange); color: #fff; padding: 9px 18px;
  font-weight: 700; font-size: 0.88rem; letter-spacing: 0.02em;
}
.nav .cta:hover { background: var(--orange-dark); }

/* ---- hero: split ---- */
.hero {
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 55%, var(--steel) 100%);
  color: #fff;
  padding: 72px 0 64px;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}
.kicker {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.76rem; font-weight: 700;
  color: var(--orange); margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); font-weight: 800; margin-bottom: 16px; }
.lede { color: #c9d6e2; font-size: 1.05rem; max-width: 30em; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.btn-orange {
  background: var(--orange); color: #fff; padding: 13px 26px; font-weight: 700;
  border: 2px solid var(--orange); font-size: 0.95rem;
}
.btn-orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-ghost {
  background: transparent; color: #fff; padding: 13px 26px; font-weight: 700;
  border: 2px solid rgba(255,255,255,.45); font-size: 0.95rem;
}
.btn-ghost:hover { border-color: #fff; }
.hero-trust { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
.hero-trust li { color: #aebfd0; font-size: 0.85rem; font-weight: 600; }
.hero-trust li::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--orange); margin-right: 8px; }

/* ---- quote card ---- */
.quote-card {
  background: var(--white); color: var(--ink);
  border-radius: 6px; padding: 28px;
  box-shadow: 0 18px 44px rgba(3, 12, 22, .35);
}
.quote-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.quote-card .fine { font-size: 0.82rem; color: var(--muted); margin-top: 12px; }
.quote-card input, .quote-card select {
  width: 100%; padding: 12px 14px; margin-top: 10px;
  border: 1px solid var(--line); border-radius: 4px;
  font: inherit; font-size: 0.92rem; background: var(--paper);
}
.quote-card button {
  width: 100%; margin-top: 14px; padding: 13px;
  background: var(--orange); color: #fff; border: 0; border-radius: 4px;
  font: inherit; font-weight: 700; font-size: 0.95rem; cursor: pointer;
}
.quote-card button:hover { background: var(--orange-dark); }
.quote-card a { color: var(--orange-dark); font-weight: 700; }

/* ---- stats band ---- */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-inner {
  max-width: 1100px; margin: 0 auto; padding: 26px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
}
.stats strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--navy); }
.stats span { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---- services: numbered rows ---- */
.section { padding: 76px 0; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 34px; }
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 22px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.service-row .num { color: var(--orange); font-weight: 800; font-size: 1.1rem; }
.service-row h3 { font-size: 1.12rem; margin-bottom: 4px; }
.service-row p { color: var(--muted); font-size: 0.92rem; }
.service-row .price { font-weight: 800; color: var(--navy); white-space: nowrap; }

/* ---- why: plain grid, no cards ---- */
.why { background: var(--paper); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.why-item .mark {
  width: 30px; height: 30px; border: 2px solid var(--orange);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange-dark); font-weight: 800; margin-bottom: 14px;
}
.why-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 0.9rem; }

/* ---- CTA band ---- */
.cta-band {
  background: var(--navy-deep); color: #fff; text-align: center; padding: 64px 24px;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 20px; }
.cta-band .fine { color: #93a6b8; margin-top: 14px; font-size: 0.85rem; }

/* ---- footer ---- */
.footer { background: #0a1520; color: #7d8ea0; padding: 30px 0; text-align: center; font-size: 0.85rem; }
.footer a { color: #aebfd0; }

/* ---- mobile sticky call bar ---- */
.mobile-call {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: var(--orange); color: #fff; text-align: center;
  padding: 15px; font-weight: 800; letter-spacing: 0.02em;
}
.mobile-call:hover { background: var(--orange-dark); }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 26px; }
  .service-row { grid-template-columns: 44px 1fr; }
  .service-row .price { grid-column: 2; }
  .nav a:not(.cta) { display: none; }
  .mobile-call { display: block; }
  body { padding-bottom: 52px; }
}
