/* =========================================================
   CENTRAL HVAC — CLEANED STYLESHEET
   Preserves the current desktop, tablet, and mobile layout.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --navy: #0b1f33;
  --navy-2: #122f4c;
  --blue: #1976d2;
  --blue-2: #0d5eaf;
  --ice: #eaf5ff;
  --orange: #f28c28;
  --ink: #172230;
  --muted: #5f6f7f;
  --line: #dce4eb;
  --white: #ffffff;
  --off-white: #f7f9fb;
  --success: #16845b;
  --shadow: 0 18px 50px rgba(11, 31, 51, 0.12);
  --radius: 18px;
  --max: 1180px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(calc(100% - 36px), var(--max));
  margin-inline: auto;
}
.section { padding: 88px 0; }
.section-sm { padding: 60px 0; }
.bg-light { background: var(--off-white); }
.bg-navy { background: var(--navy); color: var(--white); }
.center { text-align: center; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 99px;
  background: var(--orange);
}
h1, h2, h3 {
  line-height: 1.12;
  margin: 0 0 18px;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.7rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 20px; }
.lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--muted);
}
.text-white-muted { color: rgba(255, 255, 255, 0.76); }

/* ---------- Header and navigation ---------- */
.topbar { display: none; }
.topbar-inner {
  min-height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.topbar a:hover { color: white; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(220, 228, 235, 0.85);
}
.navbar {
  height: 95px;
  min-height: 95px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  color: var(--navy);
}
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  box-shadow: 0 8px 20px rgba(25, 118, 210, 0.25);
}
.brand-logo {
  width: 480px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  object-position: left center;
  display: block;
  flex: 0 0 auto;
}
.brand-copy {
  line-height: 1;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.brand-copy small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.60rem;
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.94rem;
  font-weight: 700;
}
.nav-links a { position: relative; }
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--blue);
  transition: 0.2s;
}
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.header-phone {
  color: var(--navy);
  font-weight: 900;
  white-space: nowrap;
}
.header-phone::after { display: none !important; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 24px rgba(25, 118, 210, 0.25);
}
.btn-primary:hover { background: var(--blue-2); }
.btn-secondary {
  background: var(--orange);
  color: #1c1308;
  box-shadow: 0 10px 24px rgba(242, 140, 40, 0.22);
}
.btn-outline { border-color: rgba(255, 255, 255, 0.7); color: white; }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); }
.btn-sm { min-height: 42px; padding: 0 17px; font-size: 0.9rem; }
.button-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--navy);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 77% 38%, rgba(25, 118, 210, 0.42), transparent 28%),
    radial-gradient(circle at 64% 82%, rgba(242, 140, 40, 0.16), transparent 26%),
    linear-gradient(120deg, #081827 0%, #0b1f33 48%, #153a5e 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -110px;
  top: -140px;
  width: 500px;
  height: 500px;
  border: 70px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
}
.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 590px;
  padding: 62px 0;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 60px;
}
.hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 6.3vw, 5.3rem);
}
.hero h1 span { color: #78c5ff; }
.hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}
.hero-copy .lead { max-width: 730px; }
.hero-card {
  position: relative;
  padding: 34px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}
.compact-card { padding: 34px; }
.compact-card h3 { font-size: 1.6rem; color: var(--navy); }
.compact-card > p { color: var(--muted); }
.hero-logo {
  width: 112px;
  height: 92px;
  margin-bottom: 20px;
  object-fit: contain;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
}
.hero-trust span::before {
  content: "✓";
  margin-right: 7px;
  color: #83d1ff;
}

.system-visual {
  height: 290px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #eaf5ff, #f9fbfd);
  border-radius: 20px;
}
.unit {
  width: 165px;
  height: 190px;
  position: relative;
  background: linear-gradient(145deg, #fdfefe, #d7e1e8);
  border: 1px solid #c4d0d9;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(11, 31, 51, 0.16);
}
.unit::before {
  content: "";
  position: absolute;
  inset: 20px auto auto 26px;
  width: 112px;
  height: 112px;
  border: 12px solid #6f8496;
  border-radius: 50%;
  box-shadow: inset 0 0 0 9px #c7d3dc;
}
.unit::after {
  content: "CENTRAL HVAC";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 19px;
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
}
.air-lines {
  position: absolute;
  width: 420px;
  height: 420px;
  border: 2px solid rgba(25, 118, 210, 0.15);
  border-radius: 50%;
}
.air-lines::before,
.air-lines::after {
  content: "";
  position: absolute;
  inset: 55px;
  border: 2px solid rgba(25, 118, 210, 0.15);
  border-radius: 50%;
}
.air-lines::after { inset: 110px; }
.hero-badge {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 22px;
  padding: 16px;
  background: var(--ice);
  border-radius: 14px;
}
.hero-badge strong { display: block; color: var(--navy); }
.hero-badge span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Trust row ---------- */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-item {
  padding: 24px 20px;
  background: white;
  color: var(--navy);
  text-align: center;
  font-weight: 800;
}
.trust-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- Layouts and cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(11, 31, 51, 0.06);
}
.card-hover { transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.card-hover:hover {
  transform: translateY(-5px);
  border-color: #bfd8ed;
  box-shadow: var(--shadow);
}
.icon-box {
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--ice);
  border-radius: 14px;
  font-size: 1.45rem;
}
.service-card p { color: var(--muted); }
.text-link { color: var(--blue-2); font-weight: 800; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  display: grid;
  gap: 13px;
}
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 900;
}
.feature-panel {
  padding: 44px;
  color: white;
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.stat {
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 15px;
}
.stat strong { display: block; font-size: 1.65rem; }
.stat span { color: rgba(255, 255, 255, 0.72); font-size: 0.9rem; }

/* ---------- Process, testimonials, CTA ---------- */
.process { counter-reset: steps; }
.process-card { position: relative; padding-top: 72px; }
.process-card::before {
  counter-increment: steps;
  content: "0" counter(steps);
  position: absolute;
  top: 24px;
  left: 28px;
  color: #b6d7f2;
  font-size: 2rem;
  font-weight: 900;
}
.testimonial blockquote { margin: 0 0 18px; color: #344352; font-size: 1.06rem; }
.stars { margin-bottom: 14px; color: #f2a11f; letter-spacing: 2px; }
.cta-band {
  padding: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: white;
  background: linear-gradient(120deg, var(--blue-2), var(--blue));
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }

/* ---------- Interior pages ---------- */
.page-hero {
  padding: 92px 0 76px;
  color: white;
  background: linear-gradient(120deg, #081827, var(--navy-2));
}
.page-hero p { max-width: 700px; color: rgba(255, 255, 255, 0.76); }
.breadcrumb { margin-bottom: 24px; color: #a8c7df; font-size: 0.88rem; }
.breadcrumb a { color: white; }
.sidebar { position: sticky; top: 112px; }
.sidebar-card {
  padding: 24px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.sidebar-card a {
  display: block;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  transition: all 0.2s ease;
}
.sidebar-card a:hover {
  background: #eef6ff;
}
.sidebar-card a:last-child { border-bottom: 0; }
.content h2 { margin-top: 44px; font-size: 2rem; }
.content h3 { margin-top: 30px; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 42px; }
.contact-list { display: grid; gap: 16px; margin-top: 28px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .icon-box {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  margin: 0;
  font-size: 1.1rem;
}
.form-card {
  padding: 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { color: var(--navy); font-size: 0.9rem; font-weight: 800; }
input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcfd;
  border: 1px solid #cbd7e1;
  border-radius: 10px;
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(25, 118, 210, 0.14);
  border-color: var(--blue);
}
textarea { min-height: 145px; resize: vertical; }
.form-note { color: var(--muted); font-size: 0.82rem; }
.form-success {
  display: none;
  padding: 15px;
  margin-top: 16px;
  color: #116342;
  background: #e9f8f1;
  border-radius: 10px;
  font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 24px; color: white; background: #071725; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; }
.site-footer h3 { font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; }
.site-footer p, .site-footer li, .site-footer a { color: rgba(255, 255, 255, 0.68); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: white; }
.footer-logo {
  display: block;
  width: min(100%, 330px);
  height: auto;
  border-radius: 10px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  margin-top: 42px;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
}
.license { font-size: 0.8rem; }

/* ---------- Mobile call bar ---------- */
.mobile-call {
  display: none;
  position: fixed;
  z-index: 1200;
  left: 14px;
  right: 14px;
  bottom: 14px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  color: #1c1308;
  background: var(--orange);
  border-radius: 14px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
  font-weight: 900;
}

/* ---------- Responsive: compact desktop ---------- */
@media (max-width: 1100px) {
  .header-phone { display: none; }
  .nav-links { gap: 18px; }
}

/* ---------- Responsive: tablet ---------- */
@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    inset: 84px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .header-phone { display: block; }

  .hero-grid,
  .grid-2,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding: 60px 0; }
  .hero-card { max-width: 620px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4,
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar { position: static; }
}

/* ---------- Responsive: mobile ---------- */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
    padding-bottom: 78px;
  }
  .container {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .navbar {
    width: 100%;
    height: 72px;
    min-height: 72px;
  }
  .brand-logo {
    width: 76px !important;
    max-width: 76px !important;
    height: auto !important;
    max-height: 60px !important;
  }
  .hero-grid,
  .hero-copy,
  .hero-card {
    width: 100% !important;
    max-width: none !important;
  }
  .mobile-call {
    display: flex !important;
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    min-width: 0 !important;
    padding: 12px 8px !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow: visible !important;
  }
}

/* ---------- Responsive: small mobile ---------- */
@media (max-width: 650px) {
  .topbar-inner { justify-content: center; }
  .topbar-inner span:first-child { display: none; }
  .brand-copy { font-size: 0.95rem; }
  .brand-copy small { display: none; }
  .nav-links { inset: 76px 12px auto; }
  .section { padding: 64px 0; }
  .grid-3,
  .grid-4,
  .trust-row,
  .footer-grid,
  .form-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 48px 0; }
  .hero h1 { font-size: clamp(2.6rem, 14vw, 4rem); }
  .hero-card { padding: 24px; }
  .hero-logo { width: 88px; height: 70px; }
  .system-visual { height: 230px; }
  .cta-band {
    padding: 32px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .feature-panel { padding: 30px 24px; }
  .footer-bottom { flex-direction: column; padding-bottom: 70px; }
  .desktop-cta { display: none; }
}
/* Highlight the current service page */
.sidebar-card a.active {
    background: #eef6ff;
    color: #0b5ed7;
    font-weight: 700;
    border-left: 4px solid #0b5ed7;
    padding-left: 12px;
    border-radius: 0 6px 6px 0;
}

.sidebar-card a.active:hover {
    background: #e3f1ff;
    color: #0b5ed7;
}