/* Sanitary HVAC — static site styles */
:root {
  --navy: #13294b;
  --navy-deep: #0b1a33;
  --red: #c8362b;
  --red-dark: #a62a21;
  --cream: #f7f3ec;
  --ink: #1d2433;
  --muted: #5b6475;
  --line: #e3ddd2;
  --white: #ffffff;
  --radius: 10px;
  --max: 1120px;
  --font-head: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--red); color: var(--white); padding: 0.6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; }

/* ---------- Top bar & header ---------- */
.topbar {
  background: var(--navy-deep);
  color: #cfd6e4;
  font-size: 0.9rem;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding-block: 0.45rem; flex-wrap: wrap;
}
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 0.9rem;
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: var(--navy);
}
.brand-mark { width: 42px; height: 42px; flex: none; }

.brand-name {
  font-family: var(--font-head); font-size: 1.45rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.brand-sub {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin-top: 0.25rem;
}

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 600;
  padding: 0.5rem 0.85rem; border-radius: 6px;
}
.nav a:hover { background: var(--cream); }
.nav a[aria-current="page"] { color: var(--red); }
.nav .btn { margin-left: 0.5rem; }

.menu-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 6px; padding: 0.45rem 0.6rem; cursor: pointer;
}
.menu-toggle svg { width: 24px; height: 24px; display: block; }

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.8rem 0.25rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 0.8rem 0 0; text-align: center; border-bottom: 0; }
  .topbar .hide-sm { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 0.75rem 1.3rem; border-radius: 6px;
  background: var(--red); color: var(--white) !important;
  border: 2px solid var(--red); transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.8); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-lg { font-size: 1.1rem; padding: 0.9rem 1.6rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white);
  background:
    linear-gradient(100deg, rgba(11,26,51,0.92) 0%, rgba(19,41,75,0.7) 50%, rgba(19,41,75,0.25) 100%),
    url("images/hero.jpg") center / cover no-repeat,
    var(--navy);
  padding-block: clamp(4rem, 10vw, 7.5rem);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -80px; bottom: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  border: 40px solid rgba(200,54,43,0.18);
}
.hero .container { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #ffd2cc; margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem); text-transform: uppercase; margin-bottom: 0.3em;
}
.hero h1 span { color: #ff8a7d; }
.hero p.lead { font-size: 1.2rem; max-width: 36rem; color: #e3e8f1; margin: 0 0 2rem; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.since-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: 2.5rem; padding: 0.55rem 1rem;
  border: 1px solid rgba(255,255,255,0.3); border-radius: 999px;
  font-size: 0.95rem; color: #e3e8f1;
}
.since-badge strong { color: var(--white); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 5.5rem); }
.section-alt { background: var(--cream); }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--navy); }
.section-head p { color: var(--muted); margin: 0; }
.kicker {
  color: var(--red); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.18em; text-transform: uppercase; display: block; margin-bottom: 0.5rem;
}

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.75rem;
}
.card h3 { font-size: 1.4rem; color: var(--navy); }
.card p { margin: 0 0 1rem; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: #fbe9e7; color: var(--red);
}
.icon svg { width: 28px; height: 28px; }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  padding-left: 1.7rem; position: relative; margin-bottom: 0.55rem;
}
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 0.85rem; height: 0.45rem;
  border-left: 3px solid var(--red); border-bottom: 3px solid var(--red);
  transform: rotate(-45deg);
}

/* Service blocks with optional photo */
.service-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
}
.service-block + .service-block { margin-top: 4rem; }
.service-block.flip .service-media { order: 2; }
.service-media {
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #2c4a7a 100%);
  display: grid; place-items: center; color: rgba(255,255,255,0.85);
}
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-media svg { width: 34%; height: auto; }
.service-copy h2 { font-size: clamp(1.8rem, 3.5vw, 2.3rem); color: var(--navy); }
.service-copy p { color: var(--muted); }
@media (max-width: 760px) {
  .service-block { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-block.flip .service-media { order: 0; }
}

/* Reviews */
.review {
  display: flex; flex-direction: column; height: 100%;
}
.review-quote-mark {
  font-family: Georgia, serif; font-size: 4rem; line-height: 0.6;
  color: var(--red); height: 1.6rem; margin-bottom: 0.6rem;
}
.review-body { color: var(--ink); flex: 1; }
.review-body p { color: var(--ink); }
.review-meta {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); margin-top: 1.25rem; padding-top: 1rem;
  font-size: 0.95rem;
}
.review-meta strong { color: var(--navy); }
.source-tag {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--cream); color: var(--muted); padding: 0.25rem 0.6rem; border-radius: 999px;
}

/* Stats strip */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem; text-align: center;
}
.stat strong {
  display: block; font-family: var(--font-head); font-size: 2.4rem; color: var(--red); line-height: 1.1;
}
.stat span { color: var(--muted); font-weight: 600; }

/* CTA band */
.cta-band { background: var(--red); color: var(--white); padding-block: 3rem; }
.cta-band .container {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 0.25rem; }
.cta-band p { margin: 0; color: #ffe3df; }
.cta-band .btn { background: var(--white); color: var(--red) !important; border-color: var(--white); }
.cta-band .btn:hover { background: #ffe9e6; }

/* Page header (inner pages) */
.page-hero {
  background: var(--navy); color: var(--white); padding-block: 3.5rem 3rem;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); text-transform: uppercase; margin: 0; }
.page-hero p { color: #cfd6e4; margin: 0.5rem 0 0; max-width: 38rem; }

/* ---------- Footer / info ---------- */
.info-strip { background: var(--navy-deep); color: #cfd6e4; padding-block: 3rem; }
.info-strip h3 {
  color: var(--white); font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.info-strip p { margin: 0; }
.info-strip a { color: var(--white); }
.info-strip .grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2rem; }

.site-footer {
  background: #07122a; color: #8f9ab0; font-size: 0.9rem; padding-block: 1.25rem;
}
.site-footer .container {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.site-footer a { color: #cfd6e4; text-decoration: none; margin-left: 1rem; }
.site-footer a:first-child { margin-left: 0; }

/* Floating call button on phones */
.call-fab {
  display: none; position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  background: var(--red); color: var(--white); text-decoration: none; font-weight: 700;
  padding: 0.85rem 1.2rem; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.call-fab svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 0.35rem; }
@media (max-width: 760px) { .call-fab { display: inline-block; } }

/* Map */
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Real logo */
.brand-logo { height: 58px; width: auto; }
@media (max-width: 760px) { .brand-logo { height: 46px; } }
.hero-logo { width: clamp(180px, 28vw, 280px); height: auto; margin-bottom: 1.75rem; }
blockquote.review-body { margin: 0; }
.review-body p + p { margin-top: 0.75rem; }
