/* ==========================================================================
   ELK GROVE SEO COMPANY - MASTER STYLESHEET
   Domain: elkgroveseocompany.com
   Ultra-Premium Modern Dark Theme with Glassmorphism & High-Converting CRO
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Core Color Palette */
  --bg-dark: #070B14;
  --bg-surface: #0E1526;
  --bg-card: rgba(16, 24, 43, 0.75);
  --bg-card-hover: rgba(22, 33, 58, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  
  /* Accents */
  --emerald-400: #34D399;
  --emerald-500: #10B981;
  --emerald-600: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  --cyan-400: #38BDF8;
  --cyan-500: #0EA5E9;
  --indigo-500: #6366F1;
  --amber-400: #FBBF24;
  --rose-500: #EF4444;

  /* Text Hierarchy */
  --text-white: #FFFFFF;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  /* Borders & Shadows */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(16, 185, 129, 0.4);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 35px -5px var(--emerald-glow);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Subtle Ambient Gradient Background */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: 20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(99, 102, 241, 0.05) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

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

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); letter-spacing: -0.02em; }
h3 { font-size: 1.45rem; letter-spacing: -0.01em; }
p { color: var(--text-secondary); font-size: 1.05rem; }

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--emerald-400) 60%, var(--cyan-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-emerald { color: var(--emerald-400); }
.text-amber { color: var(--amber-400); }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-400);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--emerald-400);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--emerald-400);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-500) 0%, var(--emerald-600) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, var(--emerald-400) 0%, var(--emerald-500) 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-call {
  background: rgba(56, 189, 248, 0.1);
  color: var(--cyan-400);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.btn-call:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--cyan-400);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-fast);
  /* Needed for mobile dropdown to anchor correctly */
  position: sticky;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-white);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--emerald-500), var(--indigo-500));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--emerald-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--emerald-400);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  margin-top: 0.5rem;
}

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

/* Instant Local Audit Box */
.audit-box {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  margin-top: 0.5rem;
}

.audit-box-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.audit-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.75rem;
}

.input-field {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(7, 11, 20, 0.7);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.input-field:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.audit-guarantee {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Hero Proof Metrics */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.metric-item h4 {
  font-size: 1.8rem;
  color: var(--emerald-400);
}

.metric-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero Visual Card */
.hero-visual-wrapper {
  position: relative;
}

.hero-dashboard-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-glow), 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: block;
}

.floating-pill {
  position: absolute;
  background: rgba(14, 21, 38, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 4s ease-in-out infinite;
}

.pill-top-left {
  top: -20px;
  left: -20px;
}

.pill-bottom-right {
  bottom: -20px;
  right: -20px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================================================
   SECTION COMMON HEADERS
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  margin: 0.75rem 0 1rem;
}

/* ==========================================================================
   GEO-GRID INTERACTIVE SIMULATOR (THE WOW FACTOR)
   ========================================================================== */
.geogrid-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.geogrid-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

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

.geogrid-status-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.geogrid-toggle-controls {
  display: flex;
  background: rgba(7, 11, 20, 0.8);
  padding: 0.35rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.toggle-btn {
  padding: 0.6rem 1.25rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.toggle-btn.active {
  background: var(--emerald-500);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
}

.geogrid-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

/* Map Simulation 5x5 Grid */
.map-canvas-mockup {
  position: relative;
  background: #0B1120;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}

.map-grid-5x5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.grid-pin {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  margin: 0 auto;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.pin-green {
  background: #10B981;
  color: #070B14;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.7);
}

.pin-red {
  background: #EF4444;
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.pin-orange {
  background: #F59E0B;
  color: #070B14;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.grid-intel-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.intel-stat-card {
  background: rgba(7, 11, 20, 0.6);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.25rem;
}

.intel-stat-card h4 {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.intel-stat-card .stat-val {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

/* ==========================================================================
   CORE SERVICES GRID
   ========================================================================== */
.services-section {
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2rem;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--emerald-500), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

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

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--emerald-400);
}

.service-icon-wrap svg {
  width: 28px;
  height: 28px;
}

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

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.service-features-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features-list li svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-400);
  flex-shrink: 0;
}

.service-link {
  color: var(--emerald-400);
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition-fast);
}

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

/* ==========================================================================
   LOCAL ROI CALCULATOR (INTERACTIVE TOOL)
   ========================================================================== */
.calculator-section {
  padding: 5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--emerald-400);
}

.range-slider {
  width: 100%;
  height: 8px;
  background: #1E293B;
  border-radius: 5px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--emerald-500);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
  transition: transform var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Calculator Output Box */
.calc-results-box {
  background: rgba(7, 11, 20, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  padding: 2.25rem;
  text-align: center;
  position: relative;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.15);
}

.calc-results-box h4 {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.calc-grand-total {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--emerald-400);
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
}

.calc-breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  margin-bottom: 1.75rem;
}

.calc-stat-label { font-size: 0.8rem; color: var(--text-muted); }
.calc-stat-value { font-size: 1.25rem; font-weight: 700; color: var(--text-white); }

/* ==========================================================================
   INDUSTRIES / NICHES WE SERVE
   ========================================================================== */
.industries-section {
  padding: 5rem 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition-smooth);
}

.industry-card:hover {
  border-color: var(--emerald-500);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.industry-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.industry-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.industry-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   GEO-LOCATIONS / SERVICE AREAS
   ========================================================================== */
.locations-section {
  padding: 5rem 0;
  background: var(--bg-surface);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.location-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1.75rem;
}

.location-box h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.zip-tag {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  color: var(--emerald-400);
}

.neighborhood-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.neighborhood-list span {
  font-size: 0.8rem;
  padding: 0.25rem 0.65rem;
  background: rgba(7, 11, 20, 0.7);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  color: var(--text-secondary);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
}

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

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

.faq-item.active {
  border-color: var(--emerald-500);
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-smooth);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--emerald-400);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

/* ==========================================================================
   FINAL CTA & AUDIT MODAL
   ========================================================================== */
.cta-banner {
  padding: 5rem 0;
  position: relative;
}

.cta-card {
  background: linear-gradient(135deg, rgba(16, 24, 43, 0.95) 0%, rgba(13, 33, 55, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 24px;
  padding: 3.5rem;
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #04070D;
  border-top: 1px solid var(--border-light);
  padding: 4.5rem 0 2rem;
}

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

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--emerald-400);
}

.footer-nap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(7, 11, 20, 0.95);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-light);
  padding: 0.75rem 1rem;
  z-index: 99;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .geogrid-layout { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(7, 11, 20, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
    z-index: 99;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  }
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-menu li:last-child { border-bottom: none; }
  .nav-link {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
    color: var(--text-primary);
  }
  .nav-menu.open { display: flex; }
  .mobile-toggle { display: block; }
  .header-actions .btn-call,
  .header-actions .btn-primary { display: none; }
  #header-admin-btn { display: none !important; }
  .audit-form-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-sticky-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .hero-metrics { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* Make site-header position relative so absolute mobile menu drops down correctly */
.site-header { position: sticky; top: 0; z-index: 100; }

