/* ==========================================================================
   HYDROSHIELD 24/7 EMERGENCY RESTORATION - ENTERPRISE DESIGN SYSTEM
   Ultra-High Conversion • Elite Agency Polish • 100% Responsive Mobile-First
   ========================================================================== */

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

:root {
  /* Brand Core */
  --primary: #0a192f;
  --primary-dark: #050d18;
  --primary-surface: #0f233d;
  --primary-border: #1e3a5f;
  
  /* Accents & Signals */
  --brand-blue: #0284c7;
  --brand-blue-hover: #0369a1;
  --brand-blue-light: #e0f2fe;
  --brand-cyan: #38bdf8;
  --brand-amber: #f59e0b;
  --brand-amber-hover: #d97706;
  --brand-amber-light: #fef3c7;
  --emergency-red: #e11d48;
  --emergency-red-hover: #be123c;
  --emergency-red-light: #ffe4e6;
  --success: #10b981;
  --success-light: #d1fae5;
  
  /* Neutrals */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-alt: #f1f5f9;
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  
  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 12px -2px rgba(15, 23, 42, 0.08), 0 3px 6px -3px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.1), 0 6px 12px -4px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 20px 32px -6px rgba(15, 23, 42, 0.14), 0 10px 16px -5px rgba(15, 23, 42, 0.08);
  --shadow-emergency: 0 8px 20px -3px rgba(225, 29, 72, 0.4);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: 74px; /* Space for mobile sticky bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--brand-blue-hover);
}

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

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.22;
  color: var(--primary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 4vw + 1rem, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 2.5vw + 0.5rem, 2.35rem); }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.25rem, 1.55rem); }
h4 { font-size: 1.15rem; font-weight: 700; }

p {
  margin-bottom: 1.15rem;
  color: var(--text-secondary);
}

p.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #475569;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  max-width: 860px;
}

/* ==========================================================================
   BADGES & CHIPS
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge-emergency {
  background-color: #fee2e2;
  color: #be123c;
  border: 1px solid #fca5a5;
}

.badge-trust {
  background-color: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.badge-accent {
  background-color: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #e11d48;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(225, 29, 72, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-emergency {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff !important;
  box-shadow: var(--shadow-emergency);
}

.btn-emergency:hover {
  background: linear-gradient(135deg, #be123c 0%, #9f1239 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -2px rgba(225, 29, 72, 0.5);
}

.btn-accent {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary) !important;
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-card-alt);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.12rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   TOP EMERGENCY BAR & HEADER NAVIGATION
   ========================================================================== */
.top-emergency-banner {
  background: linear-gradient(90deg, #050d18 0%, #0a192f 100%);
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-emergency-banner .banner-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.banner-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  gap: 20px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #0284c7 0%, #0a192f 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-logo-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand-logo-name span {
  color: var(--brand-blue);
}

.brand-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 1px;
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-blue);
  background-color: var(--bg-card-alt);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 270px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.dropdown-link:hover {
  background-color: var(--bg-card-alt);
  color: var(--brand-blue);
  padding-left: 22px;
}

/* Header Call / CTA Area */
.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.phone-badge-wrap {
  text-align: right;
  line-height: 1.15;
}

.phone-badge-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--emergency-red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
}

.phone-badge-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

.phone-badge-number:hover {
  color: var(--brand-blue);
}

.mobile-nav-toggle {
  display: none;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #162c4e 0%, #0a192f 60%, #050d18 100%);
  color: #ffffff;
  padding: 56px 0 80px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 24px;
  background: linear-gradient(to top, var(--bg-page), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  color: #ffffff;
  margin: 14px 0 16px;
  line-height: 1.18;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #38bdf8 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.68;
  color: #cbd5e1;
  margin-bottom: 24px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: #38bdf8;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.stat-item span {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* Dispatch Lead Card */
.dispatch-card {
  background: #ffffff;
  color: var(--text-primary);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

.dispatch-header {
  margin-bottom: 18px;
  text-align: center;
}

.dispatch-header h3 {
  color: var(--primary);
  font-size: 1.35rem;
  margin: 8px 0 4px;
}

.dispatch-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 12px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.form-control, .form-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-primary);
  background-color: #f8fafc;
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--brand-blue);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

/* ==========================================================================
   KEY TAKEAWAYS & SUMMARY CARD (CLEAN MODERN ENTERPRISE DESIGN)
   ========================================================================== */
.aio-answer-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 32px 0 40px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.aio-answer-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.aio-tag {
  display: inline-flex;
  align-items: center;
  background: var(--brand-blue-light);
  color: var(--brand-blue-hover);
  border: 1px solid #bae6fd;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.aio-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
  margin: 0;
}

.aio-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.aio-key-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.aio-fact-item {
  background: var(--bg-card-alt);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.aio-fact-item strong {
  display: block;
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

/* GEO Geographic Entity Box */
.geo-entity-box {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 24px 0;
  box-shadow: var(--shadow-xs);
}

.geo-entity-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.geo-grid-data {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.geo-data-point {
  background: var(--bg-card-alt);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.geo-data-point span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.geo-data-point strong {
  color: var(--primary);
  font-size: 0.9rem;
}

/* Comparison Tables */
.data-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.data-table th {
  background-color: var(--primary);
  color: #ffffff;
  padding: 14px 18px;
  font-weight: 700;
  font-family: var(--font-heading);
}

.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:nth-child(even) {
  background-color: #f8fafc;
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
  background-color: #ffffff;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

.trust-flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon-box {
  width: 42px;
  height: 42px;
  background-color: #f0f9ff;
  color: var(--brand-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid #bae6fd;
}

.trust-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--primary);
}

.trust-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTIONS & GRIDS
   ========================================================================== */
.section {
  padding: 64px 0;
}

.section-alt {
  background-color: var(--bg-card-alt);
}

.section-dark {
  background-color: var(--primary-dark);
  color: #ffffff;
}

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: #ffffff;
}

.section-dark p {
  color: #cbd5e1;
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 44px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #93c5fd;
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: var(--brand-blue-hover);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-card h3 {
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  margin: 14px 0 20px;
  padding: 0;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

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

.service-features-list li svg {
  color: var(--success);
  flex-shrink: 0;
}

.service-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-blue);
  margin-top: auto;
}

.service-link:hover {
  color: var(--brand-blue-hover);
  padding-left: 4px;
}

/* Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.process-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.process-step-num {
  position: absolute;
  top: -14px;
  left: 20px;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.process-card h4 {
  margin-top: 10px;
  font-size: 1.12rem;
}

.process-card p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* Calculator Card */
.calc-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
}

.calc-output-box {
  background: linear-gradient(135deg, #091526 0%, #132644 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-output-box h4 {
  color: #38bdf8;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.calc-metric {
  margin-bottom: 14px;
}

.calc-metric span {
  font-size: 0.8rem;
  color: #94a3b8;
  display: block;
}

.calc-metric strong {
  font-size: 1.35rem;
  color: #ffffff;
  font-family: var(--font-heading);
}

/* Location Grid */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.location-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
}

.location-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.location-badge {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 10px;
  width: fit-content;
}

.location-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.location-features {
  list-style: none;
  margin-bottom: 18px;
  flex-grow: 1;
}

.location-features li {
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

/* Insurance Banner */
.insurance-banner {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1.5px dashed #7dd3fc;
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  margin: 32px 0;
}

.insurance-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  align-items: center;
  text-align: center;
  margin-top: 20px;
}

.ins-pill {
  background: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xs);
}

.review-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 10px;
}

.review-text {
  font-style: italic;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.6;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.review-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
}

.review-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question svg {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   CONTENT PAGE LAYOUT & SIDEBAR
   ========================================================================== */
.page-header {
  background: radial-gradient(circle at 85% 20%, #162c4e 0%, #0a192f 100%);
  color: #ffffff;
  padding: 44px 0;
}

.page-header h1 {
  color: #ffffff;
  margin: 8px 0 10px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

.breadcrumb a {
  color: #38bdf8;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.article-content h2 {
  margin-top: 32px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-subtle);
}

.article-content h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}

.article-content ul, .article-content ol {
  margin-bottom: 18px;
  padding-left: 20px;
}

.article-content li {
  margin-bottom: 6px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.highlight-box {
  background-color: #f0fdf4;
  border-left: 4px solid var(--success);
  padding: 18px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 20px 0;
}

.warning-box {
  background-color: #fef2f2;
  border-left: 4px solid var(--emergency-red);
  padding: 18px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 20px 0;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 96px;
}

.widget-title {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-subtle);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #050d18;
  color: #cbd5e1;
  padding: 60px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 44px;
}

.footer h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
}

.footer-contact-item svg {
  color: var(--brand-amber);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #64748b;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & STICKY CALL BAR
   ========================================================================== */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #050d18;
  padding: 10px 16px;
  z-index: 9999;
  border-top: 2px solid var(--emergency-red);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
}

.mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff !important;
  padding: 13px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.02rem;
  text-align: center;
  box-shadow: var(--shadow-emergency);
  text-decoration: none;
}

/* Breakpoints */
@media (max-width: 1100px) {
  .nav-list { gap: 2px; }
  .nav-link { padding: 6px 10px; font-size: 0.86rem; }
}

@media (max-width: 991px) {
  .nav-wrapper { height: 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .article-layout { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 16px 20px 24px;
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    align-items: stretch;
    border-bottom: 2px solid var(--border-subtle);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  
  .main-nav.active {
    display: flex;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }
  
  .nav-link {
    padding: 11px 14px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card-alt);
    margin: 4px 0 8px 12px;
    width: auto;
    display: none;
  }

  .nav-item.open-dropdown .dropdown-menu {
    display: block;
  }

  .mobile-nav-toggle {
    display: flex;
  }
  
  .header-cta .phone-badge-wrap {
    display: none;
  }
  
  .mobile-call-bar {
    display: block;
  }
}

@media (max-width: 640px) {
  .hero { padding: 36px 0 60px; }
  .hero-stats-row { grid-template-columns: 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .top-emergency-banner .banner-right { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .calc-card { padding: 20px 16px; }
  .dispatch-card { padding: 22px 18px; }
}
