/* ============================================================
   V. Tech HVAC Services — Local Service Site CSS
   Mobile-responsive, no build step required
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0c2340;
  --blue:    #1565a8;
  --sky:     #e8f2fb;
  --white:   #ffffff;
  --gray-50: #f8fafc;
  --gray-100:#f1f5f9;
  --gray-200:#e2e8f0;
  --gray-400:#94a3b8;
  --gray-600:#475569;
  --gray-800:#1e293b;
  --gold:    #d4a017;
  --green:   #16a34a;
  --radius:  10px;
  --shadow:  0 4px 20px rgba(0,0,0,.10);
  --font:    -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header h2 { font-size: clamp(1.75rem, 4vw, 2.4rem); font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.section-header p { font-size: 1.05rem; color: var(--gray-600); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark .section-header h2 { color: var(--white); }
.section-dark .section-header p { color: rgba(255,255,255,.7); }
.section-light { background: var(--gray-50); }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 8px rgba(0,0,0,.07);
}
.header-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 24px; height: 64px;
}
.brand {
  font-weight: 800; font-size: 1.05rem; color: var(--navy);
  white-space: nowrap; text-decoration: none; flex-shrink: 0;
}
.brand:hover { text-decoration: none; color: var(--blue); }
.header-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--gray-800); margin-left: auto; padding: 4px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; transition: all .18s; text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--navy); border-color: var(--navy); }
.btn-outline { border-color: var(--gray-400); color: var(--gray-600); background: transparent; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn-phone { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-phone:hover { background: var(--blue); border-color: var(--blue); }
.btn-lg { padding: 13px 26px; font-size: 1rem; }

/* ── Hero ── */
.hero {
  position: relative; min-height: 85vh;
  background-size: cover; background-position: center;
  display: flex; align-items: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,30,65,.82) 0%, rgba(20,70,140,.65) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 680px; padding: 80px 24px;
}
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 16px; }
.hero-tagline { font-size: clamp(1rem, 2.5vw, 1.3rem); color: rgba(255,255,255,.88); margin-bottom: 20px; }
.hero-proof { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.proof-stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 1px; }
.proof-text { color: rgba(255,255,255,.85); font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.75); font-size: 0.85rem;
}

/* ── Proof Bar ── */
.proof-bar { background: var(--navy); color: var(--white); padding: 14px 0; }
.proof-bar-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px;
  font-size: 0.9rem; color: rgba(255,255,255,.85);
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px 28px; border: 1px solid var(--gray-200);
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.service-icon { width: 48px; height: 48px; background: var(--sky); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--blue); margin-bottom: 16px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: 0.92rem; color: var(--gray-600); }

/* ── Split Section ── */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 18px; }
.split-text p { font-size: 1rem; color: rgba(255,255,255,.78); margin-bottom: 14px; line-height: 1.7; }
.proof-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.badge { background: rgba(255,255,255,.12); color: var(--white); padding: 5px 12px; border-radius: 20px; font-size: 0.82rem; font-weight: 600; }

/* ── Reviews Grid ── */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.review-card { background: var(--white); border-radius: var(--radius); padding: 32px; border: 1px solid var(--gray-200); box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.review-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 12px; }
.review-card blockquote { font-size: 0.95rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 16px; font-style: italic; }
.review-card cite { font-size: 0.85rem; font-weight: 700; color: var(--navy); font-style: normal; }

/* ── FAQ ── */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200); overflow: hidden; }
.faq-item summary {
  padding: 18px 24px; font-weight: 600; color: var(--navy); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--blue); font-weight: 700; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 24px 20px; font-size: 0.93rem; color: var(--gray-600); line-height: 1.7; }

/* ── CTA Banner ── */
.cta-banner { background: var(--blue); padding: 80px 0; text-align: center; }
.cta-banner h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; color: var(--white); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ── Contact Grid ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: 1.8rem; font-weight: 800; color: var(--white); margin-bottom: 24px; }
.contact-item { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: rgba(255,255,255,.85); font-size: 0.95rem; }
.contact-item svg { color: rgba(255,255,255,.6); flex-shrink: 0; }
.contact-item a { color: rgba(255,255,255,.9); font-weight: 600; }
.contact-item a:hover { color: var(--white); }

/* ── Footer ── */
.site-footer { background: #061428; padding: 32px 0; text-align: center; }
.site-footer p { color: rgba(255,255,255,.55); font-size: 0.88rem; }
.footer-note { margin-top: 6px; font-size: 0.8rem; }

/* ── Mobile Responsive ── */
@media (max-width: 700px) {
  .header-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--gray-200);
    flex-direction: column; align-items: stretch; padding: 12px 24px; gap: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.08);
  }
  .header-nav.open { display: flex; }
  .mobile-menu-btn { display: flex; }
  .hero-content { padding: 60px 24px; }
  .split-section { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* mobile responsiveness guardrails */
