/* Honest Heating & Cooling — Site Styles */
:root {
  --c-bg: #f1eef0;
  --c-text: #1a1a1a;
  --c-muted: #555;
  --c-accent: #1f1f1f;
  --c-cta: #000;
  --c-cta-text: #fff;
  --c-blue: #9bb8d6;
  --c-blue-dark: #2c5282;
  --c-border: #ddd;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Helvetica Neue", "Arial Black", Arial, sans-serif;
  --max-w: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  color: var(--c-text);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  background: var(--c-bg);
  padding: 18px 24px;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo { display: block; max-height: 80px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--c-text); font-weight: 600; font-size: 1.05rem; }
.nav a:hover { text-decoration: underline; }
.nav-cta {
  background: var(--c-cta); color: var(--c-cta-text) !important;
  padding: 12px 22px; border-radius: 999px;
  text-decoration: none !important;
  font-weight: 700;
}
.nav-cta:hover { background: #333; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--c-text); margin: 5px 0; border-radius: 2px; }

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav { display: none; flex-direction: column; align-items: flex-start; width: 100%; padding: 16px 0; }
  .nav.open { display: flex; }
  .site-header-inner { flex-wrap: wrap; }
}

/* Hero */
.hero {
  background: var(--c-bg);
  padding: 60px 0 80px;
  text-align: center;
}
.hero .eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero h1 { max-width: 900px; margin: 0 auto 1rem; }
.hero .subhead {
  max-width: 720px;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
  color: var(--c-muted);
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  border: 2px solid var(--c-cta);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary { background: var(--c-cta); color: var(--c-cta-text); }
.btn-primary:hover { background: #333; }
.btn-secondary { background: transparent; color: var(--c-cta); }
.btn-secondary:hover { background: var(--c-cta); color: var(--c-cta-text); }

/* Trust strip */
.trust-strip {
  background: #fff;
  padding: 14px 24px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--c-muted);
  border-bottom: 1px solid var(--c-border);
}
.trust-strip strong { color: var(--c-text); }

/* Section */
section { padding: 60px 0; }
section.alt { background: var(--c-bg); }
section.cta-section { background: var(--c-blue); padding: 70px 0; text-align: center; }
section.cta-section h2 { color: var(--c-text); }

.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 0.5em; }
.section-head .subhead { color: var(--c-muted); font-size: 1.05rem; }

/* Two-col split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
@media (max-width: 800px) { .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}
.split img { border-radius: 12px; }

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.card h3 { margin-bottom: 0.5em; }
.card p { color: var(--c-muted); margin-bottom: 1em; }
.card a { font-weight: 700; }

/* Trust block (3-col) */
.trust-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  text-align: center;
}
.trust-block > div { padding: 0 16px; }
.trust-block h3 { font-size: 1.15rem; }
.trust-block p { color: var(--c-muted); font-size: 0.98rem; }

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--c-border);
  padding: 18px 0;
}
.faq details summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  color: var(--c-muted);
  font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--c-muted); margin-top: 12px; margin-bottom: 0; }

/* Footer */
footer.site-footer {
  background: #1a1a1a;
  color: #d0d0d0;
  padding: 50px 0 30px;
  font-size: 0.95rem;
}
footer.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
footer.site-footer a { color: #d0d0d0; }
footer.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #888;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Utility */
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--c-muted); }
.tag {
  display: inline-block;
  background: var(--c-blue);
  color: var(--c-text);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Phone link styling */
.phone-link {
  font-weight: 800;
  white-space: nowrap;
}

/* Bullet list */
.checklist { list-style: none; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-blue-dark);
  font-weight: 800;
}

/* Pill list */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.92rem;
  color: var(--c-text);
}
