/* Ever Leak Plumbing Washington - Master Stylesheet */
:root {
  --primary-navy: #0b1e36;
  --secondary-navy: #132f54;
  --accent-blue: #0284c7;
  --accent-cyan: #0ea5e9;
  --accent-cyan-light: #e0f2fe;
  --accent-orange: #ea580c;
  --accent-orange-hover: #c2410c;
  --alert-red: #dc2626;
  --bg-slate: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --border-light: #e2e8f0;
  --border-blue: #bae6fd;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(11,30,54,0.15), 0 10px 10px -5px rgba(11,30,54,0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container-width: 1240px;
}

*, *::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-family);
  color: var(--text-dark);
  background-color: var(--bg-slate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px; /* Space for mobile sticky CTA */
}

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

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

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--secondary-navy);
}

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

/* ==========================================================================
   TOP EMERGENCY RIBBON
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #071526 0%, #0b1e36 100%);
  color: #e2e8f0;
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #38bdf8;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseAnimation 1.6s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-phone {
  color: #ffffff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.top-bar-phone:hover {
  color: #38bdf8;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--accent-blue);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

@media (min-width: 1200px) {
  .header-inner {
    height: 82px;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 40px;
  width: auto;
  max-width: 220px;
}

@media (min-width: 768px) {
  .brand-logo img {
    height: 48px;
    max-width: 260px;
  }
}

@media (min-width: 1200px) {
  .brand-logo img {
    height: 52px;
    max-width: 280px;
  }
}

.main-nav {
  display: none;
}

@media (min-width: 1160px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
  }
}

@media (min-width: 1280px) {
  .main-nav {
    gap: 22px;
  }
}

.nav-link {
  font-weight: 700;
  color: var(--primary-navy);
  font-size: 0.95rem;
  padding: 8px 6px;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap; /* Ensures words never break onto multiple lines */
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-blue);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 6px;
  right: 6px;
  height: 3px;
  background-color: var(--accent-blue);
  border-radius: 2px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  background-color: #ffffff;
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 10px 0;
  display: none;
  z-index: 1100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.15s;
  white-space: nowrap;
}

.nav-dropdown-menu a:last-child {
  border-bottom: none;
}

.nav-dropdown-menu a:hover {
  background-color: var(--accent-cyan-light);
  color: var(--accent-blue);
  padding-left: 24px;
}

.header-cta-group {
  display: none;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

@media (min-width: 1160px) {
  .header-cta-group {
    display: flex;
  }
}

.phone-quick-call {
  display: flex;
  flex-direction: column;
  text-align: right;
  white-space: nowrap;
}

.phone-quick-call .sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.phone-quick-call .num {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
}

.phone-quick-call:hover .num {
  color: var(--accent-blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-blue);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #0369a1;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.btn-orange {
  background: linear-gradient(135deg, var(--accent-orange) 0%, #dc2626 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

.btn-orange:hover {
  background: linear-gradient(135deg, #c2410c 0%, #b91c1c 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary-navy);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

/* Mobile & Tablet Header Controls (< 1160px) */
.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (min-width: 1160px) {
  .mobile-header-actions {
    display: none;
  }
}

.mobile-call-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-orange);
  color: #ffffff;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.35);
  white-space: nowrap;
}

.mobile-call-pill:hover {
  background: var(--accent-orange-hover);
  color: #ffffff;
}

.mobile-menu-toggle {
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--primary-navy);
  border-radius: 2px;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 86%;
  max-width: 360px;
  height: 100%;
  background: #ffffff;
  z-index: 2100;
  box-shadow: -8px 0 30px rgba(0,0,0,0.25);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 20px 20px 80px;
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 16px;
}

.mobile-drawer-close {
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-dark);
  cursor: pointer;
  line-height: 1;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-navy);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  transition: all 0.2s;
  white-space: normal;
  word-break: break-word;
}

.mobile-nav-links a:hover, .mobile-nav-links a.active {
  background: var(--accent-cyan-light);
  color: var(--accent-blue);
}

.mobile-nav-dropdown-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-navy);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: none;
  cursor: pointer;
  text-align: left;
}

.mobile-sub-menu {
  list-style: none;
  padding: 6px 0 6px 12px;
  display: none;
  flex-direction: column;
  gap: 4px;
}

.mobile-sub-menu.open {
  display: flex;
}

.mobile-sub-menu a {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 7px 10px;
  background: transparent;
  border-bottom: 1px dashed var(--border-light);
  border-radius: 0;
  color: var(--text-muted);
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  display: none;
}

.mobile-drawer-overlay.active {
  display: block;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, #081628 0%, #0f2746 50%, #16365f 100%);
  color: #ffffff;
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--bg-slate);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

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

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.25rem;
  }
}

.hero-title .highlight {
  color: #38bdf8;
  text-decoration: underline;
  text-decoration-color: var(--accent-orange);
  text-underline-offset: 6px;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 30px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
}

.hero-stat-card {
  text-align: left;
}

.hero-stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 4px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Hero Quick Form Card */
.hero-card-form {
  background: #ffffff;
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-blue);
  position: relative;
}

.form-header {
  margin-bottom: 20px;
  text-align: center;
}

.form-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.form-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

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

.form-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #fafbfc;
}

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

.form-badge-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   TRUST BAR / CREDENTIALS
   ========================================================================== */
.trust-bar {
  background: #ffffff;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.trust-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-cyan-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
}

.trust-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section {
  padding: 70px 0;
}

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

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

.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-blue);
  background: var(--accent-cyan-light);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-dark .section-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

/* ==========================================================================
   SLAB LEAK WARNING SIGNS GRID
   ========================================================================== */
.warning-signs-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

@media (min-width: 640px) {
  .warning-signs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .warning-signs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.warning-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--accent-orange);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.warning-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.warning-card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.warning-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

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

/* ==========================================================================
   SERVICES GRID (10 SERVICES)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

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

.service-card-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.06);
}

.service-badge-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 30, 54, 0.85);
  backdrop-filter: blur(4px);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.service-card-body p {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-card-link {
  font-weight: 700;
  color: var(--accent-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
}

.service-card-link:hover {
  color: #0369a1;
  gap: 10px;
}

/* Primary Highlight Service Card */
.service-card.primary-highlight {
  border: 2px solid var(--accent-blue);
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.service-card.primary-highlight .service-badge-pill {
  background: var(--accent-orange);
  color: #ffffff;
}

/* ==========================================================================
   DIAGNOSTIC PROCESS WORKFLOW
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: step-counter;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px 22px;
  border: 1px solid var(--border-light);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.process-number {
  width: 48px;
  height: 48px;
  background: var(--accent-blue);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 18px;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

.process-step h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   WASHINGTON STATEWIDE COVERAGE DIRECTORY & SEARCH
   ========================================================================== */
.coverage-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.search-bar-wrapper {
  max-width: 650px;
  margin: 0 auto 30px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  font-size: 1.05rem;
  border: 2px solid var(--accent-blue);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
  font-family: inherit;
  outline: none;
}

.search-icon-svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-blue);
  width: 20px;
  height: 20px;
}

.region-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 30px;
}

.region-tab-btn {
  background: var(--bg-slate);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-muted);
}

.region-tab-btn.active, .region-tab-btn:hover {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
}

.cities-grid-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-height: 520px;
  overflow-y: auto;
  padding: 10px;
}

@media (min-width: 640px) {
  .cities-grid-results {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .cities-grid-results {
    grid-template-columns: repeat(4, 1fr);
  }
}

.city-badge-card {
  background: var(--bg-slate);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.city-badge-card:hover {
  background: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.city-badge-card .name {
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--primary-navy);
}

.city-badge-card .meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
}

/* ==========================================================================
   FAQ ACCORDIONS
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-question:hover {
  background-color: var(--accent-cyan-light);
}

.faq-question .toggle-sign {
  font-size: 1.4rem;
  color: var(--accent-blue);
  line-height: 1;
  font-weight: 400;
  transition: transform 0.2s;
}

.faq-item.open .faq-question .toggle-sign {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  padding: 0 24px 20px;
  max-height: 400px;
}

/* ==========================================================================
   EMERGENCY BANNER / CTA CALLOUT
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #071526 0%, #0b1e36 60%, #0284c7 100%);
  color: #ffffff;
  padding: 60px 0;
  border-radius: var(--radius-lg);
  margin: 40px auto;
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.cta-banner-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.1rem;
  color: #e2e8f0;
  margin-bottom: 30px;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   DETAIL PAGE COMPONENTS (Service / Sub-pages)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, #0b1e36 0%, #173b64 100%);
  color: #ffffff;
  padding: 50px 0;
}

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

.breadcrumb-nav a {
  color: #38bdf8;
}

.content-sidebar-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 50px;
}

@media (min-width: 992px) {
  .content-sidebar-layout {
    grid-template-columns: 2fr 1fr;
  }
}

.main-article {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.main-article h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 30px 0 16px;
}

.main-article h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 24px 0 12px;
}

.main-article p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.main-article ul, .main-article ol {
  margin: 0 0 20px 24px;
  color: var(--text-muted);
}

.main-article li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.sidebar-sticky-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 14px;
  border-bottom: 2px solid var(--accent-cyan-light);
  padding-bottom: 8px;
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-slate);
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}

.sidebar-links a:hover {
  background: var(--accent-blue);
  color: #ffffff;
}

/* Feature comparison table */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: 30px 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
}

.comparison-table th {
  background: var(--primary-navy);
  color: #ffffff;
  padding: 12px 16px;
  text-align: left;
}

.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted);
}

.comparison-table tr:nth-child(even) td {
  background: var(--bg-slate);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #081628;
  color: #cbd5e1;
  padding: 70px 0 30px;
  border-top: 4px solid var(--accent-blue);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 32px;
  height: 3px;
  background-color: var(--accent-blue);
  border-radius: 2px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.2s, padding-left 0.2s;
}

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ==========================================================================
   GLOBAL MOBILE-FIRST RESPONSIVE PERFECTION
   ========================================================================== */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

/* Tablet & Mobile Breakpoint (< 1160px) */
@media (max-width: 1159px) {
  .main-nav {
    display: none !important;
  }
  .header-cta-group {
    display: none !important;
  }
  .mobile-header-actions {
    display: flex !important;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }
}

/* Mobile & Small Screen Perfection (< 768px) */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px));
  }

  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* Header & Logo Mobile Fit */
  .site-header {
    height: auto;
    min-height: 60px;
  }

  .header-inner {
    height: 60px;
    gap: 8px;
    justify-content: space-between;
  }

  .brand-logo {
    flex-shrink: 1;
    min-width: 0;
  }

  .brand-logo img {
    height: 32px;
    width: auto;
    max-width: 160px;
  }

  .mobile-header-actions {
    gap: 8px;
  }

  .mobile-call-pill {
    padding: 6px 11px;
    font-size: 0.78rem;
    gap: 5px;
    font-weight: 700;
  }

  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
    padding: 7px;
  }

  /* Top Bar */
  .top-bar {
    padding: 6px 0;
    font-size: 0.75rem;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .top-bar-contact {
    display: none !important;
  }

  .top-bar-badge {
    font-size: 0.72rem;
    line-height: 1.3;
    text-align: center;
    justify-content: center;
  }

  /* Hero adjustments */
  .hero {
    padding: 28px 0 46px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 4px 12px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: clamp(1.55rem, 5.5vw, 2.1rem);
    line-height: 1.22;
    margin-bottom: 12px;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 18px;
    line-height: 1.55;
  }

  .hero-stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
    padding-top: 14px;
  }

  .hero-stat-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 4px;
    border-radius: var(--radius-sm);
  }

  .hero-stat-number {
    font-size: 1.3rem;
  }

  .hero-stat-label {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    min-height: 46px;
  }

  /* Form adjustments */
  .hero-card-form {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  .form-header h3 {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .form-header p {
    font-size: 0.8rem;
  }

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

  .form-input, .form-select, .form-textarea {
    font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
    padding: 10px 12px;
    min-height: 44px;
  }

  /* Trust Bar */
  .trust-bar {
    padding: 16px 0;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .trust-item {
    gap: 10px;
  }

  .trust-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .trust-text h4 {
    font-size: 0.825rem;
    line-height: 1.2;
  }

  .trust-text p {
    font-size: 0.7rem;
  }

  /* Section adjustments */
  .section {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 26px;
  }

  .section-title {
    font-size: clamp(1.4rem, 5vw, 1.85rem);
    margin-bottom: 10px;
    line-height: 1.25;
  }

  .section-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* Grids */
  .warning-signs-grid,
  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card-img {
    height: 175px;
  }

  .service-card-body {
    padding: 18px 16px;
  }

  .service-card-body h3 {
    font-size: 1.15rem;
  }

  .service-card-body p {
    font-size: 0.875rem;
    margin-bottom: 14px;
  }

  .process-step {
    padding: 20px 16px;
  }

  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  /* Coverage Directory */
  .coverage-box {
    padding: 20px 14px;
  }

  .search-input {
    padding: 12px 16px 12px 42px;
    font-size: 0.925rem;
    min-height: 44px;
  }

  .search-icon-svg {
    left: 14px;
    width: 18px;
    height: 18px;
  }

  .region-tabs {
    gap: 6px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .region-tabs::-webkit-scrollbar {
    display: none;
  }

  .region-tab-btn {
    flex-shrink: 0;
    padding: 6px 12px;
    font-size: 0.8rem;
    min-height: 36px;
  }

  .cities-grid-results {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-height: 400px;
    padding: 4px;
  }

  .city-badge-card {
    padding: 8px 10px;
  }

  .city-badge-card .name {
    font-size: 0.85rem;
  }

  .city-badge-card .meta {
    font-size: 0.7rem;
  }

  /* CTA Banner */
  .cta-banner {
    padding: 34px 16px;
    margin: 22px 0;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
    line-height: 1.25;
  }

  .cta-banner p {
    font-size: 0.9rem;
  }

  .cta-banner-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .cta-banner-buttons .btn {
    width: 100%;
    min-height: 46px;
  }

  /* Article & Subpages */
  .content-sidebar-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
  }

  .main-article {
    padding: 20px 14px;
  }

  .main-article h2 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin: 20px 0 10px;
  }

  .main-article h3 {
    font-size: 1.15rem;
    line-height: 1.3;
    margin: 16px 0 8px;
  }

  .main-article p {
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 14px;
  }

  .sidebar-card {
    padding: 18px 14px;
  }

  .sidebar-links a {
    padding: 10px 12px;
    min-height: 44px;
    font-size: 0.85rem;
  }

  .page-hero {
    padding: 30px 0;
  }

  .page-hero h1 {
    font-size: clamp(1.5rem, 5.5vw, 2rem) !important;
    line-height: 1.22;
  }

  /* Table responsiveness */
  .comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    width: 100%;
  }

  .comparison-table {
    min-width: 480px;
    font-size: 0.825rem;
  }

  .comparison-table th, .comparison-table td {
    padding: 10px 10px;
  }

  /* Footer */
  .site-footer {
    padding: 45px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 0.78rem;
  }
}

/* Extra Small Phones (< 420px) */
@media (max-width: 419px) {
  .header-inner {
    height: 56px;
    gap: 6px;
  }

  .brand-logo img {
    height: 28px;
    max-width: 135px;
  }

  .mobile-call-pill {
    padding: 5px 8px;
    font-size: 0.72rem;
    gap: 4px;
  }

  .mobile-menu-toggle {
    width: 36px;
    height: 36px;
    padding: 6px;
  }

  .cities-grid-results {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* Ultra Small Phones (< 350px) */
@media (max-width: 349px) {
  .brand-logo img {
    height: 25px;
    max-width: 115px;
  }

  .mobile-call-pill {
    font-size: 0.68rem;
    padding: 4px 6px;
  }
}

/* ==========================================================================
   MOBILE STICKY BOTTOM CALL BAR
   ========================================================================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #081628;
  padding: 8px 10px;
  padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  display: flex;
  gap: 8px;
  border-top: 2px solid var(--accent-orange);
}

@media (min-width: 992px) {
  .mobile-sticky-bar {
    display: none !important;
  }
}

.mobile-sticky-btn {
  flex: 1;
  min-height: 46px;
  padding: 10px 8px;
  font-size: 0.88rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none;
}

