/* ==========================================================================
   SEWER LINE REPAIR PROS — Design System
   Primary: Deep Harbor Blue #1A3F5C · Accent: Burnished Copper #D4772A
   Fonts: Outfit (headings) + DM Sans (body)
   Mobile-first · 360px base · Breakpoints: 640 / 768 / 1024 / 1280
   ========================================================================== */

/* ---------- 1. CUSTOM PROPERTIES ---------- */
:root {
  /* Primary scale */
  --primary-50:  #EFF4F8;
  --primary-100: #D8E4EE;
  --primary-200: #B1C9DD;
  --primary-300: #8AAECC;
  --primary-400: #6393BB;
  --primary-500: #3C78AA;
  --primary-600: #1A3F5C;
  --primary-700: #153347;
  --primary-800: #102733;
  --primary-900: #0B1B22;
  --primary:     #1A3F5C;

  /* Accent */
  --accent:       #D4772A;
  --accent-light: #FDF0E6;
  --accent-dark:  #B5621E;
  --accent-glow:  rgba(212, 119, 42, 0.25);
  --accent-glow-strong: rgba(212, 119, 42, 0.45);

  /* Neutrals */
  --dark:       #0B1B22;
  --off-white:  #F8F6F3;
  --white:      #FFFFFF;
  --border:     #DDD8D2;
  --border-light: #EDEAE6;
  --text:       #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-on-dark: #E2E8F0;
  --text-on-dark-muted: #94A3B8;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --h1:    clamp(2.5rem, 5vw, 4.5rem);
  --h2:    clamp(2rem, 4vw, 3rem);
  --h3:    clamp(1.25rem, 2.5vw, 1.5rem);
  --body:  clamp(1.0625rem, 1.5vw, 1.125rem);
  --small: 0.875rem;
  --eyebrow: 0.8125rem;

  /* Spacing */
  --section-py: 64px;
  --container-px: 20px;
  --container-max: 1200px;
  --gap: 24px;

  /* Radii */
  --radius:    20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(11,27,34,0.06), 0 1px 2px rgba(11,27,34,0.04);
  --shadow:      0 4px 6px rgba(11,27,34,0.05), 0 10px 20px rgba(11,27,34,0.04);
  --shadow-lg:   0 10px 25px rgba(11,27,34,0.07), 0 20px 48px rgba(11,27,34,0.05);
  --shadow-card: 0 2px 8px rgba(11,27,34,0.04), 0 8px 24px rgba(11,27,34,0.06), 0 0 0 1px var(--border-light);
  --shadow-lift: 0 12px 32px rgba(11,27,34,0.1), 0 4px 12px rgba(11,27,34,0.06);
  --shadow-glow: 0 0 20px var(--accent-glow), 0 0 60px var(--accent-glow);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.3s var(--ease);
  --transition-fast: 0.15s var(--ease);
}

@media (min-width: 1024px) {
  :root {
    --section-py: 112px;
    --container-px: 40px;
    --gap: 32px;
  }
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Padding so sticky mobile bar never covers content */
body.has-mobile-bar { padding-bottom: 72px; }
@media (min-width: 1024px) { body.has-mobile-bar { padding-bottom: 0; } }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-500); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---------- 3. ACCESSIBILITY ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-xs);
  font-weight: 500;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- 4. TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: var(--h1); font-weight: 800; }
h2 { font-size: var(--h2); font-weight: 700; }
h3 { font-size: var(--h3); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 700; }

p { max-width: 68ch; }
p + p { margin-top: 1.25em; }
strong { font-weight: 500; color: var(--text); }

.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }

/* Accent highlight for H1 keyword phrase */
.highlight {
  position: relative;
  display: inline;
  color: var(--accent);
}
.highlight::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 0.18em;
  background: var(--accent);
  opacity: 0.25;
  border-radius: 2px;
}

/* Gradient text alternative */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Eyebrow labels */
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section--dark .eyebrow { color: var(--accent); }

/* Section heading group */
.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--text-muted);
  max-width: 60ch;
}
.section-header--center { text-align: center; }
.section-header--center p { margin-inline: auto; }

/* ---------- 5. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}
.container--narrow { max-width: 860px; }
.container--wide { max-width: 1400px; }

/* ---------- 6. SECTIONS ---------- */
.section {
  position: relative;
  padding-block: var(--section-py);
}
.section--white { background: var(--white); }
.section--off-white { background: var(--off-white); }
.section--tint { background: var(--primary-50); }
.section--dark {
  background: var(--dark);
  color: var(--text-on-dark);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: var(--text-on-dark-muted); max-width: 68ch; }
.section--dark a { color: var(--accent); }
.section--dark a:hover { color: #E8944D; }

/* Wave dividers */
.section--wave-top::before,
.section--wave-bottom::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 48px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 2;
}
.section--wave-top::before {
  top: -1px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 48' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0 48L0 16Q360 0 720 16T1440 16V48Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
}
.section--off-white + .section--white .section--wave-top::before,
.section--off-white.section--wave-bottom::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 48' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0 48L0 16Q360 0 720 16T1440 16V48Z' fill='%23F8F6F3'/%3E%3C/svg%3E");
}
.section--wave-bottom::after {
  bottom: -1px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 48' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0 0V32Q360 48 720 32T1440 32V0Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
}

/* Angled divider */
.section--angle-top::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 48px;
  background: inherit;
  transform: skewY(-1.5deg);
  z-index: 1;
}

@media (min-width: 1024px) {
  .section--wave-top::before,
  .section--wave-bottom::after { height: 64px; }
}

/* ---------- 7. HEADER & NAV ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  border-bottom-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.header__logo { display: flex; align-items: center; gap: 0; }
.header__logo img, .header__logo svg { height: 36px; width: auto; }

/* Desktop nav */
.nav { display: none; align-items: center; gap: 8px; }
@media (min-width: 1024px) { .nav { display: flex; } }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-xs);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav__link:hover { color: var(--primary); background: var(--primary-50); }

/* Dropdown */
.nav__dropdown {
  position: relative;
}
.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-xs);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav__dropdown-toggle:hover { color: var(--primary); background: var(--primary-50); }
.nav__dropdown-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}
.nav__dropdown:hover .nav__dropdown-toggle svg,
.nav__dropdown:focus-within .nav__dropdown-toggle svg { transform: rotate(180deg); }

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-item {
  display: block;
  padding: 10px 16px;
  font-size: 0.9375rem;
  color: var(--text);
  border-radius: var(--radius-xs);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.nav__dropdown-item:hover { background: var(--primary-50); color: var(--primary); }

/* Header CTA (desktop) */
.header__cta {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 12px var(--accent-glow);
  transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}
.header__cta:hover {
  background: var(--accent-dark);
  color: var(--white);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}
.header__cta svg { width: 18px; height: 18px; }
@media (min-width: 1024px) { .header__cta { display: inline-flex; } }

/* Mobile hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition-fast);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: 72px 0 0 0;
  z-index: 999;
  background: var(--white);
  padding: 32px var(--container-px);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu__link {
  display: block;
  padding: 14px 0;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}
.mobile-menu__link:hover { color: var(--accent); }

.mobile-menu__group-title {
  display: block;
  padding: 14px 0 6px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.mobile-menu__sublink {
  display: block;
  padding: 10px 0 10px 16px;
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}
.mobile-menu__sublink:hover { color: var(--accent); }

.mobile-menu__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 24px;
  padding: 16px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px var(--accent-glow);
}

/* Header spacer */
.header-spacer { height: 72px; }

/* ---------- 8. HERO ---------- */
.hero {
  position: relative;
  padding: 80px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(26,63,92,0.85) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(212,119,42,0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 60% 90%, rgba(26,63,92,0.6) 0%, transparent 50%),
    var(--primary-900);
  color: var(--text-on-dark);
}
@media (min-width: 1024px) { .hero { padding: 120px 0 100px; } }

/* Grain overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr 1fr; gap: 64px; }
}

.hero__content { order: 1; }
@media (min-width: 1024px) { .hero__content { order: 0; } }

.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 .highlight { color: var(--accent); }
.hero h1 .highlight::after { background: var(--accent); opacity: 0.3; }

.hero__subtitle {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--text-on-dark-muted);
  margin-bottom: 32px;
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero__disclaimer {
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
  opacity: 0.7;
  max-width: 50ch;
}

/* Hero illustration area */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  order: 0;
}
@media (min-width: 1024px) { .hero__visual { order: 1; } }

.hero__illustration {
  width: 100%;
  max-width: 480px;
}

/* Floating glass cards */
.glass-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.glass-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(212, 119, 42, 0.2);
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}
.glass-card__icon svg { width: 20px; height: 20px; stroke: var(--accent); }

/* Position glass cards — hide on mobile for cleanliness */
.glass-card--1 { top: 5%; right: -5%; }
.glass-card--2 { bottom: 15%; left: -5%; }
.glass-card--3 { bottom: -5%; right: 10%; }

@media (max-width: 1023px) {
  .glass-card { display: none; }
}

/* Trust chip row */
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-on-dark);
}
.trust-chip svg { width: 16px; height: 16px; stroke: var(--accent); flex-shrink: 0; }

/* ---------- 9. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  min-height: 48px;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn--primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 2px 16px var(--accent-glow);
}
.btn--primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn--outline {
  color: var(--white);
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.btn--outline-dark {
  color: var(--primary);
  background: transparent;
  border: 2px solid var(--border);
}
.btn--outline-dark:hover {
  border-color: var(--primary);
  background: var(--primary-50);
  color: var(--primary);
}

.btn--lg { padding: 18px 40px; font-size: 1.125rem; }
.btn--sm { padding: 10px 20px; font-size: 0.875rem; }

@media (max-width: 639px) {
  .btn--full-mobile { width: 100%; }
}

/* ---------- 10. BENTO GRID ---------- */
.bento {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__item--large { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento__item--large { grid-column: span 2; }
}

/* ---------- 11. CARDS ---------- */
.card {
  position: relative;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  background: var(--primary-50);
  border-radius: var(--radius-sm);
}
.card__icon svg { width: 26px; height: 26px; stroke: var(--primary); stroke-width: 2; fill: none; }

.card__title {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.card__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition-fast);
}
.card__link:hover { gap: 10px; color: var(--accent-dark); }
.card__link svg { width: 18px; height: 18px; }

/* Large card variant */
.card--large { padding: 40px; }
.card--large .card__icon { width: 64px; height: 64px; }
.card--large .card__icon svg { width: 32px; height: 32px; }
.card--large .card__title { font-size: 1.375rem; }

/* Dark card */
.card--dark {
  background: var(--primary-800);
  border-color: rgba(255,255,255,0.08);
}
.card--dark .card__title { color: var(--white); }
.card--dark .card__text { color: var(--text-on-dark-muted); }
.card--dark .card__icon { background: rgba(255,255,255,0.08); }
.card--dark .card__icon svg { stroke: var(--accent); }

/* ---------- 12. PROCESS / TIMELINE ---------- */
.process { position: relative; }
.process__steps {
  display: grid;
  gap: 48px;
  position: relative;
}
@media (min-width: 768px) {
  .process__steps { gap: 0; }
}

.process__step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
  position: relative;
}
@media (min-width: 768px) {
  .process__step { padding-bottom: 48px; }
}

.process__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-200);
  border: 2px solid var(--primary-200);
  border-radius: 50%;
  background: var(--white);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* Connecting line */
.process__step:not(:last-child) .process__number::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 48px);
  background: var(--primary-100);
}
@media (max-width: 767px) {
  .process__step:not(:last-child) .process__number::after { height: 48px; }
}

.process__content h3 { margin-bottom: 8px; }
.process__content p { color: var(--text-muted); }

/* ---------- 13. SYMPTOM CHECKER ---------- */
.symptom-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .symptom-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .symptom-grid { grid-template-columns: repeat(3, 1fr); } }

.symptom-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.symptom-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.symptom-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}
.symptom-card__icon svg { width: 22px; height: 22px; stroke: var(--accent); stroke-width: 2; fill: none; }
.symptom-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.symptom-card__text { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }
.symptom-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 8px;
}

/* ---------- 14. SPLIT SECTIONS ---------- */
.split {
  display: grid;
  gap: 48px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.split--reverse .split__content { order: 1; }
@media (min-width: 768px) {
  .split--reverse .split__content { order: 0; }
  .split--reverse .split__visual { order: 1; }
}
.split__visual { display: flex; justify-content: center; }
.split__visual svg { max-width: 420px; width: 100%; }

/* ---------- 15. CALLOUT BOXES ---------- */
.callout {
  position: relative;
  padding: 24px 24px 24px 32px;
  margin: 32px 0;
  border-radius: var(--radius-sm);
  border-left: 4px solid;
}
.callout__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.callout__title svg { width: 20px; height: 20px; flex-shrink: 0; }
.callout p { font-size: 0.9375rem; color: var(--text-muted); }

.callout--tip {
  background: #F0FDF4;
  border-left-color: #22C55E;
}
.callout--tip .callout__title { color: #15803D; }
.callout--tip .callout__title svg { stroke: #22C55E; fill: none; }

.callout--warning {
  background: #FFF7ED;
  border-left-color: var(--accent);
}
.callout--warning .callout__title { color: var(--accent-dark); }
.callout--warning .callout__title svg { stroke: var(--accent); fill: none; }

.callout--info {
  background: var(--primary-50);
  border-left-color: var(--primary-400);
}
.callout--info .callout__title { color: var(--primary); }

/* ---------- 16. DARK CTA BAND ---------- */
.cta-band {
  position: relative;
  padding: 80px 0;
  background: var(--dark);
  text-align: center;
  overflow: hidden;
}
@media (min-width: 1024px) { .cta-band { padding: 112px 0; } }

/* Glow effect */
.cta-band::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band__inner { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: var(--text-on-dark-muted); margin-inline: auto; margin-bottom: 32px; }

.cta-band__phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  transition: color var(--transition-fast);
}
.cta-band__phone:hover { color: var(--accent); }
.cta-band__phone svg { width: 36px; height: 36px; stroke: var(--accent); }

/* ---------- 17. FAQ ACCORDION ---------- */
.faq-list { max-width: 800px; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition-fast);
}
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .faq-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary-50);
  transition: transform var(--transition), background var(--transition-fast);
}
.faq-item summary .faq-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--primary);
  stroke-width: 2;
  fill: none;
}

.faq-item[open] summary .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-light);
}
.faq-item[open] summary .faq-icon svg { stroke: var(--accent); }

.faq-item__body {
  padding: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.faq-item__body p + p { margin-top: 12px; }

/* ---------- 18. TABLE OF CONTENTS (service pages) ---------- */
.toc {
  position: sticky;
  top: 96px;
  padding: 24px;
  background: var(--primary-50);
  border-radius: var(--radius);
  border: 1px solid var(--primary-100);
}
.toc__title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--primary-100);
}
.toc__list { display: flex; flex-direction: column; gap: 4px; }
.toc__link {
  display: block;
  padding: 8px 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-radius: var(--radius-xs);
  border-left: 2px solid transparent;
  transition: all var(--transition-fast);
}
.toc__link:hover { color: var(--primary); background: var(--white); }
.toc__link.active {
  color: var(--accent);
  background: var(--white);
  border-left-color: var(--accent);
  font-weight: 500;
}

/* TOC collapses on mobile */
@media (max-width: 1023px) {
  .toc {
    position: static;
    margin-bottom: 32px;
  }
}

/* ---------- 19. SIDEBAR CALL CARD ---------- */
.sidebar-card {
  position: sticky;
  top: 96px;
  padding: 28px;
  background: var(--primary);
  border-radius: var(--radius);
  color: var(--white);
  text-align: center;
}
.sidebar-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.sidebar-card__text {
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 20px;
}
.sidebar-card .btn { width: 100%; }

@media (max-width: 1023px) {
  .sidebar-card { position: static; margin-bottom: 32px; }
}

/* Service page layout */
.service-layout {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .service-layout { grid-template-columns: 1fr 300px; }
}
.service-layout__sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 1023px) {
  .service-layout { display: flex; flex-direction: column; }
  .content-body { order: 1; }
  .service-layout__sidebar { order: 2; }
}

/* ---------- 20. BREADCRUMBS ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs__sep { color: var(--border); }

/* ---------- 21. TABLES ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
thead { background: var(--primary-50); }
th {
  padding: 14px 20px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary);
  border-bottom: 2px solid var(--primary-100);
}
td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--primary-50); }

/* Stacked table cards on mobile */
@media (max-width: 639px) {
  .table-wrap--stack table,
  .table-wrap--stack thead,
  .table-wrap--stack tbody,
  .table-wrap--stack tr,
  .table-wrap--stack th,
  .table-wrap--stack td {
    display: block;
    width: 100%;
  }
  .table-wrap--stack thead { display: none; }
  .table-wrap--stack tr {
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--white);
  }
  .table-wrap--stack td {
    padding: 4px 0;
    border: none;
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
  .table-wrap--stack td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    min-width: 120px;
  }
}

/* ---------- 22. ICON SQUARES ---------- */
.icon-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary-50);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.icon-square svg { width: 24px; height: 24px; stroke: var(--primary); stroke-width: 2; fill: none; }
.icon-square--accent { background: var(--accent-light); }
.icon-square--accent svg { stroke: var(--accent); }
.icon-square--sm { width: 40px; height: 40px; }
.icon-square--sm svg { width: 20px; height: 20px; }
.icon-square--lg { width: 56px; height: 56px; }
.icon-square--lg svg { width: 28px; height: 28px; }

/* ---------- 23. AREAS GRID ---------- */
.areas-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .areas-grid { grid-template-columns: repeat(3, 1fr); } }

.area-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: border-color var(--transition-fast), box-shadow var(--transition);
}
.area-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.area-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary);
}
.area-card__name:hover { color: var(--accent); }
.area-card svg { width: 20px; height: 20px; stroke: var(--accent); flex-shrink: 0; }

/* ---------- 24. FOOTER ---------- */
.footer {
  background: var(--dark);
  color: var(--text-on-dark-muted);
  padding: 80px 0 0;
}
.footer__grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link {
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
  transition: color var(--transition-fast);
}
.footer__link:hover { color: var(--accent); }

.footer__brand-text {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 16px;
}
.footer__brand-logo { height: 32px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1) brightness(0.85); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-size: 0.8125rem;
}
.footer__disclaimer {
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
  opacity: 0.6;
  max-width: 80ch;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ---------- 25. MOBILE STICKY CALL BAR ---------- */
.mobile-call-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 14px 20px;
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  text-align: center;
}
.mobile-call-bar:hover { color: var(--white); background: var(--accent-dark); }
.mobile-call-bar svg { width: 22px; height: 22px; flex-shrink: 0; }
@media (min-width: 1024px) { .mobile-call-bar { display: none; } }

/* ---------- 26. CHECKLIST ---------- */
.checklist { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
}
.checklist__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  flex-shrink: 0;
}
.checklist__icon svg { width: 18px; height: 18px; stroke: #22C55E; stroke-width: 2.5; fill: none; }

/* ---------- 27. INLINE LISTS ---------- */
.content-body ul, .content-body ol {
  padding-left: 0;
  margin: 20px 0;
}
.content-body ul li, .content-body ol li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.7;
}
.content-body ul li::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
}
.content-body ol { counter-reset: list-counter; }
.content-body ol li { counter-increment: list-counter; }
.content-body ol li::before {
  content: counter(list-counter) ".";
  position: absolute;
  left: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
}

/* ---------- 28. ANIMATIONS ---------- */
/* Content is ALWAYS visible by default so it never renders blank */
.fade-up {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.content-body {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  display: block !important;
}

/* Stagger children */
.fade-up-stagger > .fade-up:nth-child(1) { transition-delay: 0ms; }
.fade-up-stagger > .fade-up:nth-child(2) { transition-delay: 80ms; }
.fade-up-stagger > .fade-up:nth-child(3) { transition-delay: 160ms; }
.fade-up-stagger > .fade-up:nth-child(4) { transition-delay: 240ms; }
.fade-up-stagger > .fade-up:nth-child(5) { transition-delay: 320ms; }
.fade-up-stagger > .fade-up:nth-child(6) { transition-delay: 400ms; }

/* Ensure content visible without JS */
.no-js .fade-up { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- 29. PAGE-SPECIFIC CONTENT ---------- */
.content-body h2 {
  margin-top: 48px;
  margin-bottom: 16px;
}
.content-body h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}
.content-body p { margin-bottom: 16px; }
.content-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent-glow);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--transition-fast);
}
.content-body a:hover { text-decoration-color: var(--accent); }

/* Related services strip */
.related-services {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}
.related-service-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  transition: all var(--transition-fast);
}
.related-service-tag:hover {
  background: var(--primary-100);
  color: var(--primary);
  border-color: var(--primary-200);
}

/* Nearby areas strip */
.nearby-areas { margin: 32px 0; }
.nearby-areas__title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nearby-areas__links { display: flex; flex-wrap: wrap; gap: 8px; }

/* Cost factors table heading */
.cost-table-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}

/* Warning signs numbered list */
.warning-signs { counter-reset: warning; margin: 24px 0; }
.warning-sign {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  counter-increment: warning;
}
.warning-sign::before {
  content: counter(warning);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- 30. UTILITY CLASSES ---------- */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.hidden { display: none; }

@media (min-width: 1024px) {
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
  .lg\:flex { display: flex; }
}
@media (max-width: 1023px) {
  .mobile\:hidden { display: none; }
}
