/* ============================================================
   ClearLine Leak Detection — styles.css
   Premium Design System | Manrope + Source Sans 3
   Colors: Deep Slate #1B3A5C + Pacific Teal #0EA5A0
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Source+Sans+3:wght@300;400;500;600&display=swap');

/* ── CSS Custom Properties ───────────────────────────────── */
:root {
  /* Primary Palette */
  --primary-900: #0D2136;
  --primary-800: #1B3A5C;
  --primary-700: #244d7a;
  --primary-600: #2d6098;
  --primary-500: #3a7dc0;
  --primary-300: #7aafd8;
  --primary-200: #b8d4ed;
  --primary-100: #ddeaf7;
  --primary-50:  #f0f6fc;

  /* Accent */
  --accent:       #0EA5A0;
  --accent-dark:  #0b7d79;
  --accent-light: #ccf0ef;
  --accent-50:    #f0fafa;

  /* Neutrals */
  --white:        #ffffff;
  --off-white:    #f7f9fb;
  --border:       #e2ecf5;
  --border-dark:  #c5d9ec;

  /* Text */
  --text-dark:    #111827;
  --text-mid:     #374151;
  --text-muted:   #6b7280;
  --text-light:   #9ca3af;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(27,58,92,0.08), 0 1px 2px rgba(27,58,92,0.06);
  --shadow-md:    0 4px 16px rgba(27,58,92,0.10), 0 2px 6px rgba(27,58,92,0.06);
  --shadow-lg:    0 12px 40px rgba(27,58,92,0.13), 0 4px 12px rgba(27,58,92,0.08);
  --shadow-xl:    0 24px 64px rgba(27,58,92,0.16), 0 8px 24px rgba(27,58,92,0.10);

  /* Radius */
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --radius-full:  9999px;

  /* Spacing */
  --section-py:   clamp(4rem, 7vw, 7rem);
  --section-px:   clamp(1.25rem, 5vw, 2rem);
  --container:    1240px;

  /* Typography */
  --font-head:    'Manrope', system-ui, sans-serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1.5vw, 1.125rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* Mobile sticky bar padding */
body.has-sticky-bar { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }

/* ── Skip Link ───────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ── Container ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--section-px);
}

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.875rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.25rem); font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

p { max-width: 68ch; }
p + p { margin-top: 1rem; }

a { color: var(--primary-600); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

strong { font-weight: 600; }

/* ── Section Rhythm ──────────────────────────────────────── */
.section { padding: var(--section-py) 0; }
.section--white   { background: var(--white); }
.section--off-white { background: var(--off-white); }
.section--tint    { background: var(--primary-50); }
.section--dark    { background: var(--primary-800); color: var(--white); }
.section--darkest { background: var(--primary-900); color: var(--white); }

.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--darkest h2,
.section--darkest h3 { color: var(--white); }

.section--dark .eyebrow,
.section--darkest .eyebrow { color: var(--accent-light); }

.section--dark p,
.section--darkest p { color: var(--primary-200); }

.section-header { margin-bottom: 3rem; }
.section-header p { color: var(--text-mid); margin-top: 0.75rem; }
.section-header--center { text-align: center; }
.section-header--center p { margin-inline: auto; }

/* ── Wave Dividers ───────────────────────────────────────── */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -2px;
}
.wave-divider svg { display: block; width: 100%; }

/* ── Scan-Line Pattern (signature element) ───────────────── */
.scan-bg {
  position: relative;
}
.scan-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60L60 0' stroke='%230EA5A0' stroke-width='0.4' stroke-opacity='0.12'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.scan-bg > * { position: relative; z-index: 1; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  padding: 0.875rem 1.75rem;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(14,165,160,0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  box-shadow: 0 6px 28px rgba(14,165,160,0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-800);
  border-color: var(--primary-200);
}
.btn-secondary:hover {
  background: var(--primary-50);
  border-color: var(--primary-300);
  color: var(--primary-800);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}

.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.9rem; }
.btn-lg { padding: 1.125rem 2.25rem; font-size: 1.125rem; }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-lg svg { width: 20px; height: 20px; }

/* Full width on mobile */
@media (max-width: 480px) {
  .btn-full-mobile { width: 100%; justify-content: center; }
}

/* ── Icon Squares ────────────────────────────────────────── */
.icon-sq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-50);
  flex-shrink: 0;
}
.icon-sq svg { width: 24px; height: 24px; stroke: var(--accent); }
.icon-sq--lg { width: 60px; height: 60px; border-radius: var(--radius-md); }
.icon-sq--lg svg { width: 30px; height: 30px; }
.icon-sq--dark { background: rgba(14,165,160,0.15); }
.icon-sq--dark svg { stroke: var(--accent-light); }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card--dark {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}

.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  margin-top: 1.25rem;
}
.card-arrow:hover { color: var(--accent-dark); gap: 0.6rem; }
.card-arrow svg { width: 16px; height: 16px; }

/* ── Navigation ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img, .nav-logo svg { height: 38px; width: auto; }
.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary-800);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.nav-logo-text span { display: block; font-size: 0.65rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.125rem;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--primary-800); background: var(--primary-50); }
.nav-links a.active { color: var(--accent); }

.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ''; display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor; margin-left: 0.35rem; vertical-align: middle; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem;
  min-width: 240px;
  z-index: 200;
}
.nav-dropdown.open .dropdown-menu { display: block; }
/* Pure CSS hover for mouse/trackpad — most reliable, no JS needed */
@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .dropdown-menu { display: block; }
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-mid);
}
.dropdown-menu a:hover { background: var(--primary-50); color: var(--primary-800); }
.dropdown-menu a svg { width: 16px; height: 16px; stroke: var(--accent); flex-shrink: 0; }
.dropdown-menu--areas { min-width: 540px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.dropdown-menu--areas li { min-width: 0; }

.nav-cta { margin-left: 0.5rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.hamburger:hover { background: var(--primary-50); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary-800);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.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); }

/* Mobile nav panel */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 72px;
  background: var(--white);
  z-index: 99;
  overflow-y: auto;
  padding: 1.5rem var(--section-px) 2rem;
}
.mobile-nav.open { display: block; }
.mobile-nav-links { list-style: none; }
.mobile-nav-links > li { border-bottom: 1px solid var(--border); }
.mobile-nav-links > li > a, .mobile-nav-links > li > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text-dark);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.mobile-submenu { display: none; padding-bottom: 1rem; }
.mobile-submenu.open { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; }
.mobile-submenu a { font-size: 0.875rem; color: var(--text-mid); text-decoration: none; padding: 0.4rem 0.5rem; border-radius: var(--radius-sm); display: block; }
.mobile-submenu a:hover { background: var(--primary-50); color: var(--primary-800); }
.mobile-nav-cta { margin-top: 1.5rem; }
.mobile-nav-cta .btn { width: 100%; justify-content: center; }

@media (max-width: 1023px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}
@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--primary-800);
  padding: clamp(4rem, 8vw, 7rem) 0 0;
  min-height: 600px;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(14,165,160,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(14,165,160,0.12) 0%, transparent 50%),
    linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 50%, var(--primary-700) 100%);
  z-index: 0;
}

.hero-noise {
  position: absolute;
  inset: 0;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content { padding-bottom: clamp(3rem, 6vw, 5rem); }

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-content h1 .highlight {
  position: relative;
  color: var(--accent-light);
  display: inline;
}
.hero-content h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.hero-content p.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--primary-200);
  max-width: 52ch;
  margin-bottom: 2rem;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-200);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-full);
  padding: 0.375rem 0.875rem;
}
.trust-chip svg { width: 14px; height: 14px; stroke: var(--accent-light); }

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

.hero-referral-note {
  font-size: 0.75rem;
  color: var(--primary-300);
  margin-top: 0.875rem;
}

/* Glass cards */
.hero-visual { position: relative; padding-bottom: clamp(3rem, 6vw, 5rem); }

.glass-cards {
  position: absolute;
  top: 0; right: 0; left: 0;
  pointer-events: none;
}

.glass-card {
  position: absolute;
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.glass-card .gc-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(14,165,160,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.glass-card .gc-icon svg { width: 18px; height: 18px; stroke: var(--accent-light); }
.glass-card .gc-label { font-family: var(--font-head); font-size: 0.8rem; font-weight: 700; color: var(--white); line-height: 1.3; }
.glass-card .gc-sub { font-size: 0.7rem; color: var(--primary-300); }

.gc-1 { top: 8%; left: 5%; }
.gc-2 { top: 38%; right: 4%; }
.gc-3 { bottom: 18%; left: 12%; }

.hero-svg-wrap { width: 100%; max-width: 560px; }
.hero-svg-wrap svg { width: 100%; height: auto; display: block; }

@media (max-width: 1023px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-content { padding-bottom: clamp(3rem, 6vw, 5rem); }
}

/* ── Hero Wave ───────────────────────────────────────────── */
.hero-wave {
  position: relative;
  z-index: 1;
  margin-top: -2px;
  background: var(--primary-800);
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; }

/* ── Bento Grid (Services) ───────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.bento-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.bento-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  color: inherit;
}

.bento-card--wide { grid-column: span 2; }
.bento-card--tall { grid-row: span 2; }

.bento-card h3 { margin: 1rem 0 0.5rem; font-size: 1.125rem; }
.bento-card p { font-size: 0.9375rem; color: var(--text-mid); margin-top: 0; }
.bento-card p.wide-desc { font-size: 1.0625rem; }

.bento-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-50);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--accent-light);
  align-self: flex-start;
}

@media (max-width: 767px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card--wide { grid-column: span 1; }
  .bento-card--tall { grid-row: span 1; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card--wide { grid-column: span 2; }
}

/* ── Symptom Checker ─────────────────────────────────────── */
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.symptom-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.symptom-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
  transform: translateY(-2px);
  color: inherit;
}

.symptom-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-50);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.symptom-icon svg { width: 20px; height: 20px; stroke: var(--accent); }

.symptom-text .st-label { font-family: var(--font-head); font-weight: 700; font-size: 0.9375rem; color: var(--text-dark); display: block; }
.symptom-text .st-link { font-size: 0.825rem; color: var(--accent); font-family: var(--font-head); font-weight: 600; }

/* ── Process Steps ───────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
}

.process-step { position: relative; }

.process-num {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--primary-200);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
}

.process-step h3 { font-size: 1.125rem; margin-bottom: 0.5rem; color: var(--primary-800); }
.process-step p { font-size: 0.9375rem; color: var(--text-mid); }

/* Connector line */
@media (min-width: 768px) {
  .process-steps::after {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: calc(100% / 8);
    right: calc(100% / 8);
    height: 1px;
    background: linear-gradient(to right, var(--primary-200), var(--accent-light), var(--primary-200));
    z-index: 0;
  }
  .process-step { z-index: 1; }
}

/* ── Callout Boxes ───────────────────────────────────────── */
.callout {
  border-left: 4px solid;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.125rem 1.5rem;
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  margin: 1.5rem 0;
}
.callout svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 0.125rem; }
.callout-body .callout-title { font-family: var(--font-head); font-weight: 700; font-size: 0.9375rem; margin-bottom: 0.25rem; }
.callout-body p { font-size: 0.9375rem; margin: 0; max-width: 100%; }

.callout--tip { background: rgba(14,165,160,0.07); border-color: var(--accent); }
.callout--tip svg { stroke: var(--accent); }
.callout--tip .callout-title { color: var(--accent-dark); }

.callout--warn { background: rgba(245,158,11,0.08); border-color: #f59e0b; }
.callout--warn svg { stroke: #d97706; }
.callout--warn .callout-title { color: #b45309; }

.callout--urgent { background: rgba(239,68,68,0.07); border-color: #ef4444; }
.callout--urgent svg { stroke: #ef4444; }
.callout--urgent .callout-title { color: #dc2626; }

/* ── Dark CTA Band ───────────────────────────────────────── */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--primary-900);
  padding: clamp(4rem, 7vw, 6rem) 0;
  text-align: center;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(14,165,160,0.18) 0%, transparent 70%);
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-band p { color: var(--primary-200); margin-inline: auto; margin-bottom: 2rem; }

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.15s;
}
.cta-phone:hover { color: var(--accent-light); }
.cta-phone svg { width: clamp(1.75rem, 3vw, 2.5rem); height: clamp(1.75rem, 3vw, 2.5rem); stroke: var(--accent); }

.cta-sub { font-size: 0.875rem; color: var(--primary-300); margin-top: 0.625rem; }

/* ── FAQ Accordion ───────────────────────────────────────── */
.faq-list { border-top: 1px solid var(--border); }

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

details.faq-item summary {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 1.25rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: var(--radius-full);
  background: var(--primary-50);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.25s;
}
.faq-icon svg { width: 14px; height: 14px; stroke: var(--primary-600); transition: transform 0.25s ease; }

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

.faq-body { padding: 0 0 1.25rem; }
.faq-body p { font-size: 0.9375rem; color: var(--text-mid); max-width: 72ch; }
.faq-body p + p { margin-top: 0.75rem; }

/* ── Areas Grid ──────────────────────────────────────────── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.area-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.375rem 1.5rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.area-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
  transform: translateY(-2px);
  color: inherit;
}
.area-card h3 { font-size: 1.0625rem; color: var(--primary-800); margin-bottom: 0.375rem; }
.area-card p { font-size: 0.875rem; color: var(--text-muted); margin: 0; max-width: 100%; }

/* ── Cost Table ──────────────────────────────────────────── */
.cost-table-wrap { overflow-x: auto; }

table.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.cost-table th {
  background: var(--primary-800);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  padding: 0.875rem 1.125rem;
  text-align: left;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}
.cost-table td {
  padding: 0.875rem 1.125rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
  vertical-align: top;
}
.cost-table tr:nth-child(even) td { background: var(--off-white); }
.cost-table tr:last-child td { border-bottom: none; }
.cost-table td:first-child { font-weight: 600; color: var(--text-dark); }

/* ── Split Section ───────────────────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-content h2 { margin-bottom: 1rem; }
.split-content p + p { margin-top: 0.875rem; }

.split-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-visual svg { width: 100%; max-width: 460px; height: auto; }

@media (max-width: 767px) {
  .split-section, .split-section.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .split-visual { order: -1; }
}

/* ── Inner Page Layout (Service / Location) ──────────────── */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.page-content h2 { margin-top: 2rem; margin-bottom: 0.75rem; }
.page-content h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.page-content p { margin-bottom: 1rem; }
.page-content ul, .page-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.page-content li { margin-bottom: 0.4rem; font-size: 0.9375rem; color: var(--text-mid); }
.page-content li strong { color: var(--text-dark); }

/* Sidebar */
.page-sidebar { position: sticky; top: 88px; }

.sidebar-call-card {
  background: var(--primary-800);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.sidebar-call-card h3 { color: var(--white); font-size: 1.125rem; margin-bottom: 0.5rem; }
.sidebar-call-card p { color: var(--primary-200); font-size: 0.875rem; margin-bottom: 1.25rem; max-width: 100%; }
.sidebar-call-card .btn { width: 100%; justify-content: center; }
.sidebar-phone { font-family: var(--font-head); font-size: 1.375rem; font-weight: 800; color: var(--white); text-decoration: none; display: block; margin-top: 0.75rem; }
.sidebar-phone:hover { color: var(--accent-light); }

.toc-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.toc-card h4 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.875rem; font-weight: 600; }
.toc-list { list-style: none; }
.toc-list li + li { border-top: 1px solid var(--border); }
.toc-list a {
  display: block;
  font-size: 0.875rem;
  color: var(--primary-700);
  text-decoration: none;
  padding: 0.5rem 0;
  font-family: var(--font-head);
  font-weight: 500;
  transition: color 0.15s;
}
.toc-list a:hover { color: var(--accent); }

@media (max-width: 1023px) {
  .page-layout { grid-template-columns: 1fr; }
  .page-sidebar { position: static; }
  .toc-card { display: none; }
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
  font-size: 0.825rem;
  color: var(--text-muted);
  padding: 1rem 0;
  list-style: none;
}
.breadcrumb a { color: var(--primary-600); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li + li::before { content: '/'; margin-right: 0.25rem; color: var(--border-dark); }

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--primary-800);
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60L60 0' stroke='%230EA5A0' stroke-width='0.4' stroke-opacity='0.12'/%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.page-hero p.lead { color: var(--primary-200); font-size: 1.0625rem; max-width: 60ch; }

/* ── Related Links ───────────────────────────────────────── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.875rem;
}
.related-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--primary-700);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.125rem;
  transition: all 0.2s;
}
.related-link:hover { border-color: var(--accent-light); color: var(--accent-dark); background: var(--accent-50); transform: translateY(-1px); }
.related-link svg { width: 16px; height: 16px; stroke: var(--accent); flex-shrink: 0; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--primary-900);
  padding: clamp(3.5rem, 6vw, 5rem) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { color: var(--primary-300); font-size: 0.9rem; max-width: 36ch; }
.footer-brand .footer-address { color: var(--primary-300); font-size: 0.85rem; font-style: normal; margin-top: 1rem; line-height: 1.6; }

.footer-col h4 { color: var(--white); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li + li { margin-top: 0.5rem; }
.footer-col a { color: var(--primary-300); font-size: 0.875rem; text-decoration: none; transition: color 0.15s; }
.footer-col a:hover { color: var(--accent-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-bottom p { font-size: 0.8rem; color: var(--primary-300); max-width: 80ch; }
.footer-bottom .footer-legal { font-size: 0.75rem; color: var(--primary-300); opacity: 0.7; max-width: 100%; }

@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Sticky Mobile Call CTA ────────────────────────────── */
.sticky-call-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,0.96);
  border-top: 1px solid rgba(13,33,54,0.10);
  box-shadow: 0 -8px 28px rgba(13,33,54,0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.sticky-call-bar a {
  width: min(100%, 560px);
  min-height: 54px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  box-shadow: 0 8px 20px rgba(14,165,160,0.25);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.sticky-call-bar a:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(14,165,160,0.30);
}
.sticky-call-bar a:active { transform: translateY(0); }
.sticky-call-bar svg { width: 21px; height: 21px; flex: 0 0 auto; stroke: currentColor; }
.sticky-call-bar .sticky-call-label { opacity: 0.92; font-weight: 600; }
@media (max-width: 639px) {
  .sticky-call-bar a { min-height: 52px; border-radius: 14px; font-size: 0.98rem; }
}
@media (max-width: 1023px) { .sticky-call-bar { display: flex; align-items: center; } }

/* ── Fade-up Animation ───────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .fade-up.visible {
    opacity: 1;
    transform: none;
  }
}

/* ── Utilities ───────────────────────────────────────────── */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.items-center { align-items: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Callout Box ─────────────────────────────────────────── */
.callout {
  border-left: 4px solid var(--accent);
  background: var(--accent-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.callout h4 { color: var(--accent-dark); margin-bottom: 0.375rem; font-size: 1rem; }
.callout p { margin-bottom: 0; max-width: 100%; font-size: 0.9375rem; }
.callout--warn {
  border-left-color: #d97706;
  background: #fffbeb;
}
.callout--warn h4 { color: #92400e; }

/* ── Warning Signs Grid ──────────────────────────────────── */
.warning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.warning-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.125rem;
}
.warning-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--accent-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.warning-icon svg { width: 18px; height: 18px; stroke: var(--accent); }
.warning-item strong { display: block; font-size: 0.9rem; margin-bottom: 0.2rem; }
.warning-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0; max-width: 100%; }

/* ── Steps List ──────────────────────────────────────────── */
.steps-list {
  list-style: none;
  counter-reset: steps;
  margin-top: 1.25rem;
}
.steps-list li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-mid);
}
.steps-list li:last-child { border-bottom: none; }
.steps-list li::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--primary-800);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* ── FAQ Accordion ───────────────────────────────────────── */
.faq-list { margin-top: 1.25rem; }
.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.625rem;
  overflow: hidden;
}
.faq-list details[open] { border-color: var(--accent-light); }
.faq-list summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--text-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list details[open] summary { color: var(--accent-dark); }
.faq-answer {
  padding: 0 1.25rem 1rem;
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.faq-answer p { margin-bottom: 0.625rem; max-width: 100%; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ── Location Hero ───────────────────────────────────────── */
.location-checklist { list-style: none; margin-top: 1.25rem; }
.location-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-mid);
}
.location-checklist li:last-child { border-bottom: none; }
.location-checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* ── Service Summary Boxes ───────────────────────────────── */
.service-box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.125rem;
  margin-top: 1.25rem;
}
.service-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-box:hover { border-color: var(--accent-light); box-shadow: var(--shadow-md); }
.service-box h4 { font-size: 0.975rem; margin-bottom: 0.5rem; }
.service-box p { font-size: 0.875rem; color: var(--text-muted); margin: 0; max-width: 100%; }

/* ── Cost Table ──────────────────────────────────────────── */
.cost-table-wrap { overflow-x: auto; margin-top: 1.25rem; }
.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.cost-table th {
  background: var(--primary-800);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.cost-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
}
.cost-table tr:last-child td { border-bottom: none; }
.cost-table tr:nth-child(even) td { background: var(--off-white); }

/* ── Page CTA Banner ─────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-900) 100%);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60L60 0' stroke='%230EA5A0' stroke-width='0.5' stroke-opacity='0.15'/%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 0.75rem; }
.cta-banner p { color: var(--primary-200); max-width: 52ch; margin: 0 auto 1.5rem; }
