/* Sacramento HVAC Contractor — single stylesheet, mobile-first */
:root {
  --navy: #0d3b66;
  --navy-dark: #092c4d;
  --orange: #f26522;
  --orange-dark: #d4520f;
  --blue: #2f9be3;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --text: #22313f;
  --muted: #5a6b7b;
  --border: #e3e9ef;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(13, 59, 102, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  /* room for the sticky mobile call bar */
  padding-bottom: 64px;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); }

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

h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); line-height: 1.2; color: var(--navy-dark); }
h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); color: var(--navy-dark); margin-bottom: 0.6rem; }
h3 { font-size: 1.15rem; color: var(--navy-dark); }

p { margin-bottom: 1rem; }

section { padding: 44px 0; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.15;
}
.logo svg { width: 34px; height: 34px; flex: none; }
.logo span small { display: block; font-weight: 500; color: var(--muted); font-size: 0.7rem; letter-spacing: 0.04em; }

.nav-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1.15rem;
  color: var(--navy);
  cursor: pointer;
}

.site-nav { display: none; }
.site-nav.open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.site-nav ul { list-style: none; }
.site-nav a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
}
.site-nav a:hover { background: var(--bg-alt); }

.header-call {
  display: none;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  white-space: nowrap;
}
.header-call:hover { background: var(--orange-dark); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #14538c 100%);
  color: #fff;
  padding: 56px 0;
}
.hero h1 { color: #fff; margin-bottom: 0.75rem; }
.hero .sub { font-size: 1.1rem; color: #d6e4f0; max-width: 640px; margin-bottom: 1.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.4rem; }
.trust-bullets { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #cfe0ee; font-size: 0.92rem; }
.trust-bullets li::before { content: "✓ "; color: #7fc97f; font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 1.02rem;
}
.btn-call { background: var(--orange); color: #fff; }
.btn-call:hover { background: var(--orange-dark); }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 18px; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.6rem; }
.card .more { font-weight: 600; font-size: 0.92rem; text-decoration: none; color: var(--orange-dark); }
.card .more:hover { text-decoration: underline; }

.alt { background: var(--bg-alt); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 54px; margin-bottom: 18px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 0.95rem; }
th, td { text-align: left; padding: 10px 14px; border: 1px solid var(--border); }
th { background: var(--navy); color: #fff; }
tr:nth-child(even) td { background: var(--bg-alt); }
.price-note { font-size: 0.85rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 10px;
  background: #fff;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 18px;
  color: var(--navy-dark);
  list-style: none;
  position: relative;
  padding-right: 40px;
}
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.2rem; color: var(--orange); }
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 18px 14px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  border-radius: var(--radius);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe4d3; max-width: 560px; margin: 0 auto 1.2rem; }
.cta-band .btn { background: #fff; color: var(--orange-dark); }

/* ---------- Inline callout ---------- */
.callout {
  border-left: 4px solid var(--orange);
  background: var(--bg-alt);
  padding: 16px 18px;
  border-radius: 0 8px 8px 0;
  margin: 1.2rem 0;
}
.callout strong a { color: var(--orange-dark); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 0.85rem; color: var(--muted); padding: 14px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }

/* ---------- Areas strip ---------- */
.areas-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.areas-list a {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.areas-list a:hover { border-color: var(--navy); }

/* ---------- Article / long-form content ---------- */
.content ul, .content ol { margin: 0 0 1rem 1.4rem; }
.content li { margin-bottom: 0.4rem; }
.content h2 { margin-top: 2rem; }
.content h3 { margin-top: 1.4rem; margin-bottom: 0.5rem; }
.lead { font-size: 1.08rem; }

.placeholder-img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 1.2rem 0;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #b9cbdb; font-size: 0.92rem; margin-top: 40px; }
.footer-grid { display: grid; gap: 28px; padding: 44px 0 24px; }
.site-footer h4 { color: #fff; margin-bottom: 0.7rem; font-size: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #b9cbdb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-phone { font-size: 1.15rem; font-weight: 700; color: #fff !important; }
.disclosure {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 18px 0;
  font-size: 0.8rem;
  color: #8fa6ba;
  line-height: 1.6;
}
.copyright { padding-bottom: 20px; font-size: 0.8rem; color: #8fa6ba; }

/* ---------- Sticky mobile call bar ---------- */
.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--orange);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 10px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}
.sticky-call:active { background: var(--orange-dark); }

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .sticky-call { display: none; }
  .nav-toggle { display: none; }
  .site-nav { display: block !important; position: static; box-shadow: none; border: none; }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav a { border: none; padding: 8px 11px; border-radius: 6px; font-size: 0.88rem; }
  .header-call { display: inline-block; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; }
  section { padding: 60px 0; }
}
