/* ============================================================
   MiniSplit Gurus — Design System
   Colors: Dark Charcoal + Electric Teal + White
   ============================================================ */

:root {
  --bg-primary:    #0f1117;
  --bg-secondary:  #161b25;
  --bg-card:       #1c2333;
  --bg-card-hover: #212840;
  --teal:          #00c4a7;
  --teal-dark:     #009e86;
  --teal-light:    #00e5c3;
  --teal-muted:    rgba(0, 196, 167, 0.12);
  --white:         #ffffff;
  --text-primary:  #f0f4f8;
  --text-secondary:#a0aec0;
  --text-muted:    #6b7a99;
  --border:        rgba(255,255,255,0.07);
  --border-teal:   rgba(0,196,167,0.3);
  --shadow:        0 4px 24px rgba(0,0,0,0.4);
  --shadow-teal:   0 0 30px rgba(0,196,167,0.15);
  --radius:        12px;
  --radius-sm:     8px;
  --radius-lg:     20px;
  --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w:         1200px;
  --transition:    all 0.2s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--teal-light); }

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

ul { list-style: none; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text-secondary); line-height: 1.75; }

.text-teal { color: var(--teal); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ============================================================
   Layout
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-muted);
  border: 1px solid var(--border-teal);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header p {
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: 1.05rem;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: #0f1117;
}
.btn-primary:hover {
  background: var(--teal-light);
  color: #0f1117;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,196,167,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal-muted);
  color: var(--teal-light);
  transform: translateY(-2px);
}

.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.9rem; }

/* ============================================================
   Header / Nav
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,17,23,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}

.nav-logo span { color: var(--teal); }

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links li a:hover {
  color: var(--white);
  background: var(--bg-card);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
}

.phone-link:hover { color: var(--teal) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  z-index: 99;
}

.mobile-menu.open { display: block; }

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu ul li a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-menu ul li a:hover {
  background: var(--bg-card);
  color: var(--white);
}

header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.5); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0a0e1a 0%, #0f1117 40%, #0d1a1a 100%);
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,196,167,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,196,167,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal-muted);
  border: 1px solid var(--border-teal);
  color: var(--teal);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 3rem;
}

.hero-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}

.hero-phone svg { color: var(--teal); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-item svg { color: var(--teal); flex-shrink: 0; }

/* ============================================================
   Stats Bar
   ============================================================ */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ============================================================
   Services Grid
   ============================================================ */
.services { background: var(--bg-primary); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-teal);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-muted);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.service-card h3 { margin-bottom: 0.75rem; }

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 600;
}

.service-link:hover { gap: 0.7rem; }

/* ============================================================
   How It Works
   ============================================================ */
.how-it-works { background: var(--bg-secondary); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--teal-muted);
  border: 2px solid var(--border-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--teal);
}

.step h3 { margin-bottom: 0.75rem; }
.step p { font-size: 0.95rem; }

/* ============================================================
   Why Us
   ============================================================ */
.why-us { background: var(--bg-primary); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.why-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--border-teal);
  background: var(--bg-card-hover);
}

.why-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-muted);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.why-text h4 { margin-bottom: 0.4rem; }
.why-text p { font-size: 0.9rem; }

/* ============================================================
   Local Content Block
   ============================================================ */
.local-block {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.local-block-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.local-facts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fact-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.fact-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.fact-text strong { display: block; color: var(--white); margin-bottom: 0.2rem; font-size: 0.95rem; }
.fact-text span { font-size: 0.85rem; color: var(--text-muted); }

/* ============================================================
   Coverage / States
   ============================================================ */
.coverage { background: var(--bg-secondary); }

.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.state-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.state-link:hover {
  background: var(--teal-muted);
  border-color: var(--border-teal);
  color: var(--teal);
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.6rem;
}

.city-link {
  display: block;
  padding: 0.6rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition);
}

.city-link:hover {
  background: var(--teal-muted);
  border-color: var(--border-teal);
  color: var(--teal);
}

/* ============================================================
   Reviews
   ============================================================ */
.reviews { background: var(--bg-primary); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--border-teal);
  transform: translateY(-3px);
}

.review-stars {
  color: #f6ad55;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  background: var(--teal-muted);
  border: 2px solid var(--border-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--teal);
  flex-shrink: 0;
}

.reviewer-name { font-weight: 600; font-size: 0.9rem; color: var(--white); }
.reviewer-loc { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-secondary); }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  transition: var(--transition);
  gap: 1rem;
}

.faq-question:hover { color: var(--teal); }

.faq-icon {
  width: 24px;
  height: 24px;
  background: var(--teal-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
  font-size: 1rem;
  transition: var(--transition);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
}

.faq-item.open .faq-answer { display: block; }
.faq-answer p { font-size: 0.95rem; }

/* ============================================================
   CTA Banner
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, #0a1a18 0%, #0d2420 50%, #091510 100%);
  border-top: 1px solid var(--border-teal);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,196,167,0.08) 0%, transparent 70%);
}

.cta-banner .container { position: relative; z-index: 1; }

.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { font-size: 1.1rem; margin-bottom: 2rem; }

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  list-style: none;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb li a { color: var(--text-muted); }
.breadcrumb li a:hover { color: var(--teal); }
.breadcrumb li:last-child { color: var(--teal); }
.breadcrumb li:not(:last-child)::after { content: '›'; }

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: #090c12;
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 300px;
}

.footer-col h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-col ul li a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: 0.85rem; }

/* ============================================================
   Sticky Mobile Call Bar
   ============================================================ */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--teal);
  padding: 1rem;
  text-align: center;
  box-shadow: 0 -4px 20px rgba(0,196,167,0.3);
}

.sticky-call a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: #0f1117;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
}

/* ============================================================
   Nearby Cities
   ============================================================ */
.nearby { background: var(--bg-primary); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .hero { padding: 4rem 0 3rem; }

  .local-block-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sticky-call { display: block; }

  body { padding-bottom: 70px; }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .phone-link { display: none; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ============================================================
   Utilities
   ============================================================ */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--teal-muted);
  color: var(--teal);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.zip-list {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.8;
}
