/* ============================================================
   VOLT CREST ELECTRIC — "The Split Screen"
   Near-black + electric blue + volt yellow. Split hero (text |
   photo), header corner CTA, status ticker, full-width CTA band.
   Palette: black #0a0a0c · electric blue #2563eb · volt yellow #facc15
   (NO navy, NO orange — HVAC site owns those)
   ============================================================ */
:root {
  --bg: #0a0a0c;             /* near-black */
  --bg-soft: #121216;
  --panel: #17171c;
  --accent: #2563eb;         /* electric blue */
  --accent-light: #60a5fa;
  --brand: #facc15;          /* volt yellow */
  --ink: #e6e8ee;            /* light text */
  --muted: #9aa0ad;
  --line: #26262e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Sticky glass header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10,10,12,0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand {
  font-size: 1.55rem; font-weight: 700; color: #fff;
  text-decoration: none; letter-spacing: 0.01em;
}
.brand span { color: var(--accent-light); }
.main-nav { display: flex; gap: 26px; align-items: center; }
.main-nav a { color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.main-nav a:hover { color: #fff; }

.btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 13px 30px; text-decoration: none;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 600;
  border-radius: 6px; box-shadow: 0 0 22px rgba(37,99,235,0.4);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 30px rgba(37,99,235,0.6); }
.btn-small { padding: 9px 20px; font-size: 0.85rem; }
.btn-volt {
  background: var(--brand); color: #0a0a0c;
  box-shadow: 0 0 22px rgba(250,204,21,0.35);
}
.btn-volt:hover { box-shadow: 0 0 30px rgba(250,204,21,0.55); }

/* Status ticker — thin strip under header */
.ticker {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); overflow: hidden;
}
.ticker-inner {
  max-width: 1140px; margin: 0 auto; padding: 7px 24px;
  display: flex; gap: 36px; white-space: nowrap;
}
.ticker-inner span::before { content: "⚡ "; color: var(--brand); }
.ticker-inner b { color: var(--accent-light); font-weight: 600; }

/* HERO — split screen: text left, photo right */
.hero-split {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch; min-height: 600px;
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 70px 24px 70px 0;
}
.hero-copy .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 18px;
}
.hero-copy .eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); }
.hero-copy h1 {
  font-size: 2.9rem; line-height: 1.08; font-weight: 700;
  color: #fff; margin-bottom: 18px; letter-spacing: -0.01em;
}
.hero-copy h1 em { color: var(--accent-light); font-style: normal; }
.hero-copy p { font-size: 1.08rem; color: var(--muted); max-width: 480px; margin-bottom: 30px; }
.hero-copy .btn { margin-right: 12px; }
.hero-copy .btn-outline {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line); box-shadow: none;
}
.hero-copy .btn-outline:hover { border-color: var(--accent); color: #fff; box-shadow: none; }

.hero-photo { position: relative; min-height: 520px; }
.hero-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: saturate(1.05);
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 30%),
              linear-gradient(0deg, var(--bg) 0%, transparent 22%);
}

/* Full-width CTA band */
.cta-band {
  background: var(--brand); color: #0a0a0c;
  padding: 22px 0; text-align: center;
  font-size: 1.1rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cta-band a { color: #0a0a0c; text-decoration: underline; text-underline-offset: 4px; }

.section { padding: 68px 0; }
.section h2 { font-size: 1.9rem; color: #fff; margin-bottom: 10px; font-weight: 700; }
.section .lead { color: var(--muted); margin-bottom: 34px; max-width: 640px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.service-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 26px 24px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.service-card h3 { font-size: 1.1rem; color: #fff; margin-bottom: 8px; font-weight: 600; }
.service-card p { font-size: 0.93rem; color: var(--muted); }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.why-item {
  background: var(--panel); border-left: 3px solid var(--accent);
  padding: 22px 20px; border-radius: 8px;
}
.why-item h3 { font-size: 1rem; color: #fff; margin-bottom: 6px; font-weight: 600; }
.why-item p { font-size: 0.92rem; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft); color: var(--muted);
  padding: 44px 0; margin-top: 40px; font-size: 0.92rem;
}
.site-footer a { color: var(--accent-light); }
.site-footer .footer-note { margin-top: 12px; font-size: 0.85rem; color: #6d7280; }

/* Blog */
.post-list { list-style: none; }
.post-list li { border-bottom: 1px solid var(--line); padding: 22px 0; }
.post-list a { color: #fff; text-decoration: none; font-size: 1.2rem; font-weight: 600; }
.post-list a:hover { color: var(--accent-light); }
.post-list .meta { color: var(--muted); font-size: 0.88rem; margin-top: 4px; }
.post-body { max-width: 720px; }
.post-body h2 { font-size: 1.5rem; margin-top: 34px; color: #fff; }
.post-body p { margin: 16px 0; }
.post-body ul, .post-body ol { margin: 16px 0 16px 24px; }
.post-body blockquote { border-left: 4px solid var(--brand); padding-left: 18px; color: var(--muted); margin: 20px 0; }

table { width: 100%; border-collapse: collapse; margin: 20px 0; }
th, td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; font-size: 0.95rem; }
th { background: var(--bg-soft); color: #fff; }

@media (max-width: 640px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-copy { padding: 60px 0 40px; }
  .hero-copy h1 { font-size: 2.1rem; }
  .hero-photo { min-height: 300px; order: -1; }
  .main-nav { gap: 14px; }
  .main-nav a:nth-child(3) { display: none; }
  .ticker-inner { gap: 18px; }
}
