/* ==========================================================================
   NJ LEAK DETECTION - PREMIUM ARCHITECTURAL DESIGN SYSTEM
   Editorial, Sophisticated, Mobile-First, Highly Crafted
   ========================================================================== */

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

:root {
  /* Architectural Palette */
  --color-primary: #0a1120;         /* Deep Midnight Ink */
  --color-primary-light: #132238;   /* Deep Slate Navy */
  --color-primary-surface: #1e293b; /* Elevated Dark Surface */
  --color-primary-dark: #040811;    /* Obsidian Abyss */
  
  --color-accent: #0284c7;          /* High-Precision Cyan-Blue */
  --color-accent-hover: #0369a1;    /* Deep Cobalt */
  --color-accent-light: #e0f2fe;    /* Sky Ice Wash */
  --color-accent-subtle: #f0f9ff;   /* Frost Tint */
  --color-accent-glow: rgba(2, 132, 199, 0.16);
  --color-accent-cyan: #06b6d4;     /* Electric Cyan Highlight */

  --color-emergency: #dc2626;       /* Urgent Crimson */
  --color-emergency-hover: #b91c1c; /* Deep Crimson */
  --color-emergency-bg: #fef2f2;
  --color-emergency-border: #fecaca;
  
  --color-success: #059669;
  --color-success-bg: #ecfdf5;
  
  /* Crisp Editorial Surfaces */
  --color-bg-body: #f8fafc;
  --color-bg-surface: #ffffff;
  --color-bg-surface-alt: #f1f5f9;
  --color-bg-subtle: #e2e8f0;
  
  --color-text-main: #0f172a;       /* Rich Slate Ink */
  --color-text-muted: #475569;      /* Clear Editorial Gray */
  --color-text-light: #94a3b8;      /* Structural Annotation */
  --color-text-inverse: #ffffff;
  
  /* Modern Editorial Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing Scale */
  --space-3xs: 0.125rem; /* 2px */
  --space-2xs: 0.25rem;  /* 4px */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 0.75rem;   /* 12px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4.5rem;   /* 72px */
  --space-4xl: 6rem;     /* 96px */
  --space-5xl: 8rem;     /* 128px */

  /* Architectural Elevation & Soft Gradients */
  --shadow-sm: 0 1px 3px 0 rgba(10, 17, 32, 0.04), 0 1px 2px -1px rgba(10, 17, 32, 0.03);
  --shadow-md: 0 4px 8px -2px rgba(10, 17, 32, 0.06), 0 2px 4px -2px rgba(10, 17, 32, 0.03);
  --shadow-lg: 0 12px 20px -4px rgba(10, 17, 32, 0.08), 0 4px 6px -2px rgba(10, 17, 32, 0.04);
  --shadow-xl: 0 24px 38px -8px rgba(10, 17, 32, 0.12), 0 10px 16px -4px rgba(10, 17, 32, 0.04);
  --shadow-card-hover: 0 20px 35px -8px rgba(2, 132, 199, 0.15), 0 8px 16px -4px rgba(10, 17, 32, 0.06);

  /* Borders & Radius */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --border-subtle: 1px solid #e2e8f0;
  --border-accent: 1px solid #bae6fd;
  --border-dark: 1px solid rgba(255, 255, 255, 0.1);

  /* Containers */
  --container-max: 1240px;
  --container-editorial: 1080px;
  --container-narrow: 840px;
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-main);
  background-color: var(--color-bg-body);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

a:hover {
  color: var(--color-accent-hover);
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.2rem, 4.2vw + 1rem, 3.65rem); }
h2 { font-size: clamp(1.75rem, 2.6vw + 0.8rem, 2.5rem); }
h3 { font-size: clamp(1.3rem, 1.6vw + 0.5rem, 1.65rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-main);
}

p.lead {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* ==========================================================================
   LAYOUT STRUCTURES & EDITORIAL UTILITIES
   ========================================================================== */

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

.container-editorial {
  max-width: var(--container-editorial);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  position: relative;
}

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

.section-dark {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-text-inverse);
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.section-dark h1, .section-dark h2, .section-dark h3 {
  color: var(--color-text-inverse);
}
.section-dark p {
  color: #cbd5e1;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-2xl);
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background-color: var(--color-accent-subtle);
  color: var(--color-accent);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
  box-shadow: 0 1px 2px rgba(2, 132, 199, 0.06);
}

.section-tag-dark {
  background-color: rgba(2, 132, 199, 0.18);
  border-color: rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
}

.grid {
  display: grid;
  gap: var(--space-xl);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   TOPBAR & HEADER
   ========================================================================== */

.header-topbar {
  background: linear-gradient(90deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #94a3b8;
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}
.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #e2e8f0;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
  flex-shrink: 0;
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: var(--border-subtle);
  transition: all 0.25s ease;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 78px;
  gap: var(--space-md);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--color-primary);
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo svg {
  color: var(--color-accent);
  background: var(--color-accent-subtle);
  border: 1px solid var(--border-accent);
  padding: 6px;
  border-radius: var(--radius-md);
  box-sizing: content-box;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.brand-logo:hover svg {
  transform: scale(1.05);
  background-color: var(--color-accent-light);
}
.brand-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--color-primary);
}
.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  display: block;
  margin-top: 2px;
}

/* Desktop Navigation */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item {
  position: relative;
}
.nav-link,
.nav-dropdown-trigger {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.18s ease;
}
.nav-link:hover,
.nav-dropdown-trigger:hover,
.nav-item:hover > .nav-dropdown-trigger,
.nav-item.is-open > .nav-dropdown-trigger {
  color: var(--color-accent);
  background-color: var(--color-accent-subtle);
}
.dropdown-arrow {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-item:hover .dropdown-arrow,
.nav-item.is-open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 320px;
  background-color: #ffffff;
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px -6px rgba(10, 17, 32, 0.16), 0 6px 16px -2px rgba(10, 17, 32, 0.06);
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
  list-style: none;
  margin: 0;
}
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0; right: 0;
  height: 12px;
}
.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu,
.nav-item.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item a {
  display: block;
  padding: 0.65rem 1.15rem;
  color: var(--color-text-main);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.dropdown-item a:hover,
.dropdown-item a:focus {
  background-color: var(--color-accent-subtle);
  color: var(--color-accent-hover);
  outline: none;
}
.dropdown-item-title {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: inherit;
}
.dropdown-item-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 2px;
  line-height: 1.35;
}
.dropdown-divider {
  height: 1px;
  background-color: var(--color-bg-subtle);
  margin: 0.4rem 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}
.phone-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #ffffff;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.phone-cta-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(10, 17, 32, 0.25);
  color: #ffffff;
}
.phone-cta-link svg {
  color: #38bdf8;
}

.mobile-toggle {
  display: none;
  background: var(--color-bg-surface-alt);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 0.6rem;
  min-width: 44px;
  min-height: 44px;
  color: var(--color-primary);
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.mobile-toggle:hover {
  background-color: #e2e8f0;
}

/* ==========================================================================
   MOBILE DRAWER NAVIGATION
   ========================================================================== */

.mobile-nav-backdrop {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(10, 17, 32, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1090;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mobile-nav-backdrop.is-open {
  display: block;
  opacity: 1;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 88%;
  max-width: 380px;
  background-color: #ffffff;
  z-index: 1100;
  box-shadow: -8px 0 32px rgba(10, 17, 32, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
.mobile-nav-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.4rem;
  border-bottom: var(--border-subtle);
  background-color: var(--color-bg-surface-alt);
}
.mobile-close-btn {
  background: transparent;
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-primary);
}
.mobile-drawer-body {
  padding: 1.25rem 1.4rem;
  flex: 1;
}
.mobile-nav-list {
  list-style: none;
  padding: 0; margin: 0;
}
.mobile-nav-item {
  border-bottom: 1px solid var(--color-bg-surface-alt);
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0.75rem 0;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.mobile-nav-link:hover {
  color: var(--color-accent);
}
.mobile-submenu-trigger svg {
  transition: transform 0.2s ease;
}
.mobile-submenu-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.mobile-submenu {
  list-style: none;
  padding: 0.4rem 0 0.6rem 1rem;
  margin: 0;
  background-color: var(--color-bg-surface-alt);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
}
.mobile-submenu-item a {
  display: block;
  min-height: 44px;
  padding: 0.55rem 0.5rem;
  font-size: 0.92rem;
  color: var(--color-text-main);
  text-decoration: none;
  font-weight: 500;
}
.mobile-submenu-item a:hover {
  color: var(--color-accent);
}
.mobile-drawer-footer {
  padding: 1.25rem 1.4rem;
  border-top: var(--border-subtle);
  background-color: var(--color-bg-surface-alt);
}
.mobile-drawer-footer .btn {
  width: 100%;
  min-height: 48px;
  margin-bottom: 0.65rem;
}

/* ==========================================================================
   BUTTON SYSTEM
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
  color: #ffffff;
}

.btn-emergency {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}
.btn-emergency:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.4);
  color: #ffffff;
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--color-primary);
  border: 1.5px solid #cbd5e1;
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background-color: var(--color-bg-surface-alt);
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.btn-dark {
  background-color: var(--color-primary);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.btn-dark:hover {
  background-color: var(--color-primary-light);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   CARDS & ARCHITECTURAL SURFACES
   ========================================================================== */

.card {
  background-color: var(--color-bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: #bae6fd;
  transform: translateY(-4px);
}

/* Architectural Service Cards */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.service-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-accent-subtle) 0%, var(--color-accent-light) 100%);
  border: 1px solid var(--border-accent);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.service-card:hover .service-card-icon {
  background: var(--color-accent);
  color: #ffffff;
  transform: scale(1.05);
}
.service-card h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.3rem;
}
.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  flex-grow: 1;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-accent);
  margin-top: var(--space-md);
}
.card-link:hover {
  color: var(--color-accent-hover);
  gap: 0.65rem;
}

/* Diagnostic Symptom Selector Cards */
.problem-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.problem-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.problem-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}
.problem-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-accent-subtle) 0%, var(--color-accent-light) 100%);
  border: 1px solid var(--border-accent);
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.problem-card:hover .problem-card-icon {
  background: var(--color-accent);
  color: #ffffff;
}
.problem-card h4 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--color-primary);
  font-family: var(--font-display);
}

/* ==========================================================================
   HOMEPAGE HERO COMPOSITION & EDITORIAL ACCENTS
   ========================================================================== */

.hero-editorial {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg-body) 100%);
  position: relative;
  overflow: hidden;
}

.hero-editorial::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: var(--space-3xl);
}

.hero-trust-bar {
  display: flex;
  gap: var(--space-lg);
  border-top: var(--border-subtle);
  padding-top: var(--space-lg);
  margin-top: var(--space-xl);
  font-size: 0.88rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-trust-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.hero-image-wrap {
  position: relative;
}
.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: calc(var(--radius-xl) + 12px);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(15, 23, 42, 0.05) 100%);
  z-index: 0;
}
.hero-image-card {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: #ffffff;
}
.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hero-image-card:hover img {
  transform: scale(1.02);
}

.hero-float-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.hero-float-badge .badge-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background-color: var(--color-accent-subtle);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-float-badge .badge-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.hero-float-badge .badge-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary);
}

/* ==========================================================================
   SPLIT EDITORIAL CONTENT & TIMELINES
   ========================================================================== */

.editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.feature-pill-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.feature-pill-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background-color: #ffffff;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  border: var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.feature-pill-item:hover {
  border-color: var(--color-accent);
  transform: translateX(4px);
}
.feature-pill-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Process Timeline */
.process-step {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}
.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(10, 17, 32, 0.2);
}

/* Proof & Stats Banner */
.proof-box {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-light) 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.proof-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 10% 20%, rgba(6, 182, 212, 0.18) 0%, transparent 50%);
  pointer-events: none;
}
.proof-stat {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.proof-label {
  font-size: 0.95rem;
  color: #cbd5e1;
}

/* ==========================================================================
   EDITORIAL ARTICLE LAYOUTS & RICH CONTENT PRESENTATION
   ========================================================================== */

article.section {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-4xl);
}

.article-content {
  line-height: 1.85;
  font-size: 1.0625rem;
  color: var(--color-text-main);
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw + 0.6rem, 1.85rem);
  color: var(--color-primary);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--color-bg-subtle);
  letter-spacing: -0.02em;
}

.article-content h3 {
  font-size: 1.25rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--color-primary-light);
}

.article-content p {
  margin-bottom: var(--space-lg);
}

.article-content ol,
.article-content ul {
  padding-left: 1.6rem;
  margin-bottom: var(--space-xl);
  color: var(--color-text-main);
}

.article-content li {
  margin-bottom: 0.65rem;
  line-height: 1.7;
}

.article-content strong {
  color: var(--color-primary);
  font-weight: 700;
}

.article-callout {
  background-color: var(--color-accent-subtle);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-2xl) 0;
}
.article-callout p:last-child {
  margin-bottom: 0;
}

.article-hero-media {
  margin-bottom: var(--space-3xl);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
}
.article-hero-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* FAQ Accordion */
.faq-item {
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  background-color: var(--color-bg-surface);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-lg);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}
.faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   FORM SYSTEM (TOUCH-OPTIMIZED & ACCESSIBLE)
   ========================================================================== */

form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-primary);
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}

form input[type="text"],
form input[type="tel"],
form input[type="email"],
form select,
form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.85rem 1.15rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text-main);
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 2px rgba(10, 17, 32, 0.04);
  transition: all 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230284c7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.15rem center;
  padding-right: 2.85rem;
  cursor: pointer;
}

form textarea {
  min-height: 128px;
  resize: vertical;
  line-height: 1.6;
}

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

form input::placeholder,
form textarea::placeholder {
  color: #94a3b8;
}

.form-group {
  margin-bottom: var(--space-lg);
}
.form-hint {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 0.35rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background-color: var(--color-primary);
  color: #94a3b8;
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}
.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
  font-family: var(--font-display);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.6rem;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
}
.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(2px);
  display: inline-block;
}
.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
}

/* ==========================================================================
   PERSISTENT MOBILE ACTION BAR (HIGH-END GLASSMORPHISM)
   ========================================================================== */

.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 -6px 24px rgba(10, 17, 32, 0.12);
  padding: 0.75rem var(--space-md);
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 999;
  border-top: 1px solid rgba(2, 132, 199, 0.18);
}
.mobile-action-bar .btn {
  width: 100%;
  font-size: 1.02rem;
  padding: 0.85rem 1rem;
  min-height: 48px;
}

/* ==========================================================================
   RESPONSIVE QUERIES (MOBILE-FIRST BREAKPOINTS)
   Deliberate compositions for 360px, 390px, 768px, 1024px, 1440px
   ========================================================================== */

@media (max-width: 1100px) {
  .nav-desktop {
    gap: 0.4rem;
  }
  .nav-link,
  .nav-dropdown-trigger {
    font-size: 0.86rem;
    padding: 0.45rem 0.4rem;
  }
}

@media (max-width: 992px) {
  .nav-desktop {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .editorial-split {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .mobile-action-bar {
    display: block;
  }
  body {
    padding-bottom: 76px; /* Space for sticky bar + safe area */
  }
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .section {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }
  .hero-editorial {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }
  .hero-float-badge {
    position: static;
    margin-top: var(--space-md);
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .hero-trust-bar {
    flex-direction: column;
    gap: 0.65rem;
  }
}

@media (max-width: 540px) {
  .header-main {
    height: 66px;
  }
  .brand-logo svg {
    width: 24px;
    height: 24px;
    padding: 4px;
  }
  .brand-title {
    font-size: 0.95rem;
  }
  .brand-subtitle {
    display: none;
  }
  .phone-cta-link span {
    display: none;
  }
  .phone-cta-link {
    padding: 0.6rem;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .btn-lg {
    padding: 0.85rem 1.4rem;
    font-size: 1rem;
    width: 100%;
  }
  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  h2 {
    font-size: 1.5rem;
    line-height: 1.25;
  }
}

@media (max-width: 375px) {
  h1 {
    font-size: 1.8rem;
  }
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
