/* ============================================================
   Edmond Slab Leak Pros — design system
   Navy #0B2545 + Orange #F97316 · Sora + Inter · mobile-first
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --primary-50: #F0F5FA;
  --primary-100: #DCE8F4;
  --primary-200: #B9D0E8;
  --primary-300: #8FB1D9;
  --primary-400: #5E87BE;
  --primary-500: #35619B;
  --primary-600: #1E467E;
  --primary-700: #12325F;
  --primary-800: #0B2545;
  --primary-900: #071A36;

  --accent-50: #FFF4EC;
  --accent-100: #FFE6D3;
  --accent-200: #FDC9A3;
  --accent-300: #FBA46E;
  --accent-400: #F87B3C;
  --accent-500: #F97316;
  --accent-600: #EA5F0A;
  --accent-700: #C24D08;   /* AA-safe CTA background with white text (4.8:1) */
  --accent-800: #9A3E09;
  --accent-900: #7C340B;

  --ink: #0B2545;
  --body-ink: #33475F;
  --muted: #5B6B82;
  --dark: #050D1A;
  --off-white: #F7F9FC;
  --border: #E2E8F0;
  --white: #FFFFFF;

  --radius: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 6px 18px -6px rgba(11, 37, 69, 0.14), 0 2px 6px -2px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 24px 48px -16px rgba(11, 37, 69, 0.22), 0 8px 20px -8px rgba(11, 37, 69, 0.12);
  --shadow-glow: 0 8px 28px -6px rgba(249, 115, 22, 0.55), 0 2px 8px rgba(194, 77, 8, 0.35);

  --font-heading: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --section-pad-y: 64px;
  --header-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);
  line-height: 1.7;
  color: var(--body-ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-600); }
p { max-width: 68ch; }
p + p { margin-top: 1em; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}
h1 { font-size: clamp(2.125rem, 1.625rem + 2.5vw, 3.5rem); font-weight: 800; max-width: 60ch; }
h2 { font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem); font-weight: 700; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--primary-800); color: #fff; padding: 12px 20px;
  border-radius: 999px; text-decoration: none; font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent-500); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout utilities ---------- */
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding-block: var(--section-pad-y); position: relative; }
.section--offwhite { background: var(--off-white); }
.section--tint { background: var(--primary-50); }
.section--dark { background: var(--dark); color: #DCE8F4; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #B9D0E8; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent-700); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--accent-500); }
.section--dark .eyebrow { color: var(--accent-300); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p.lead { font-size: 1.125rem; color: var(--muted); margin-top: 12px; }
.section--dark .section-head p.lead { color: #8FB1D9; }

/* Angled divider */
.divider-wrap { line-height: 0; margin-bottom: -1px; }
.divider-wrap--on-white { background: var(--white); }
.divider-angle { height: 56px; width: 100%; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 30px; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.0625rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--accent { background: var(--accent-700); color: #fff; box-shadow: var(--shadow-glow); }
.btn--accent:hover { background: var(--accent-800); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--primary-800); border-color: var(--primary-200); }
.btn--outline:hover { border-color: var(--primary-400); background: var(--primary-50); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--primary-800); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost-light { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.25); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.16); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-logo img { height: 44px; width: auto; }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: 6px; list-style: none; padding: 0; }
.main-nav a {
  display: inline-block; padding: 10px 14px; border-radius: 10px;
  color: var(--ink); font-weight: 600; font-size: 0.9875rem; text-decoration: none;
}
.main-nav a:hover { background: var(--primary-50); }
.header-cta { display: none; }
.header-cta .btn { min-height: 48px; padding: 10px 22px; font-size: 1rem; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-50); border: 1px solid var(--border); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--ink); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.mobile-panel {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--primary-900); padding: 24px 20px 40px;
  transform: translateX(100%); transition: transform 0.28s ease;
  overflow-y: auto;
}
.mobile-panel.is-open { transform: translateX(0); }
.mobile-panel ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.mobile-panel a {
  display: block; padding: 14px 12px; border-radius: 12px;
  color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem;
  text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-panel a:hover { background: rgba(255,255,255,0.08); }
.mobile-panel .btn { width: 100%; margin-top: 20px; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 12% 8%, rgba(94, 135, 190, 0.35), transparent 60%),
    radial-gradient(760px 520px at 88% 18%, rgba(249, 115, 22, 0.16), transparent 60%),
    radial-gradient(1000px 700px at 50% 110%, rgba(18, 50, 95, 0.55), transparent 65%),
    linear-gradient(160deg, var(--primary-900) 0%, var(--primary-800) 55%, #0A1F3D 100%);
  color: #fff;
  padding: calc(var(--section-pad-y) + 20px) 0 90px;
}
.hero::after { /* grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.10'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; display: grid; gap: 48px; }
.hero-copy .eyebrow { color: var(--accent-300); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .hl { color: var(--accent-400); white-space: nowrap; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .hl {
    background: linear-gradient(120deg, var(--accent-400), var(--accent-500));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
}
.hero-lead { font-size: 1.1875rem; color: #C9DCF1; max-width: 60ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-smallprint { margin-top: 18px; font-size: 0.8125rem; color: #8FB1D9; max-width: 60ch; }

.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; list-style: none; padding: 0; }
.trust-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.875rem; font-weight: 600; color: #DCE8F4;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 14px; border-radius: 999px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.trust-chips svg { width: 16px; height: 16px; stroke: var(--accent-400); }

.hero-visual { position: relative; }
.hero-scene {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(150deg, #0E2A52, #12325F);
}
.glass-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px; padding: 12px 16px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.45);
  font-size: 0.875rem; font-weight: 600; color: #fff;
  max-width: 230px;
}
.glass-card svg { width: 28px; height: 28px; flex: none; stroke: var(--accent-400); }
.glass-card small { display: block; font-weight: 400; color: #B9D0E8; font-size: 0.75rem; }
.glass-card--1 { top: 6%; left: -8px; }
.glass-card--2 { bottom: 22%; right: -6px; }
.glass-card--3 { bottom: -18px; left: 12%; }

/* ---------- Cards / bento ---------- */
.bento { display: grid; gap: 18px; grid-template-columns: 1fr; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.icon-chip {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-50); border: 1px solid var(--primary-100);
}
.icon-chip svg { width: 26px; height: 26px; stroke: var(--primary-700); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.25rem; }
.card p { font-size: 1rem; color: var(--muted); margin: 0; }
.card-arrow { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-700); font-size: 0.9875rem; }
.card-arrow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.18s ease; }
a.card:hover .card-arrow svg { transform: translateX(5px); }

/* ---------- Split sections ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split-visual {
  border-radius: var(--radius); border: 1px solid var(--border);
  background: linear-gradient(150deg, var(--primary-50), #fff);
  padding: 28px; box-shadow: var(--shadow-md);
}
.split-copy > * + * { margin-top: 16px; }
.intro-visual { max-width: 840px; margin: 0 auto 40px; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(150deg, var(--primary-50), #fff); padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow-md); }
.intro-copy { max-width: 68ch; margin-inline: auto; }
.intro-copy > * + * { margin-top: 16px; }
.check-list { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 20px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; flex: none; stroke: #15803d; margin-top: 4px; }

/* ---------- Process ---------- */
.process { list-style: none; padding: 0; margin-top: 8px; display: grid; gap: 0; position: relative; }
.process li { position: relative; padding: 0 0 36px 92px; }
.process li::before {
  content: ""; position: absolute; left: 34px; top: 78px; bottom: 0; width: 2px;
  background: linear-gradient(var(--primary-200), var(--accent-300));
}
.process li:last-child::before { display: none; }
.process-num {
  position: absolute; left: 0; top: 0;
  font-family: var(--font-heading); font-weight: 800; font-size: 4.25rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--primary-300);
}
.process h3 { margin-bottom: 8px; }
.process p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- Symptom checker ---------- */
.symptom-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.symptom {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.symptom.is-open { border-color: var(--accent-400); box-shadow: var(--shadow-md); }
.symptom-btn {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  background: none; border: 0; padding: 20px; cursor: pointer; min-height: 76px;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.0625rem; color: var(--ink);
}
.symptom-btn .icon-chip { width: 44px; height: 44px; }
.symptom-btn .icon-chip svg { width: 22px; height: 22px; }
.symptom-plus { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; background: var(--primary-50); display: inline-flex; align-items: center; justify-content: center; flex: none; transition: transform 0.25s ease, background 0.2s ease; }
.symptom-plus svg { width: 18px; height: 18px; stroke: var(--primary-700); }
.symptom.is-open .symptom-plus { transform: rotate(45deg); background: var(--accent-100); }
.symptom-body { display: none; padding: 0 20px 22px 78px; }
.symptom.is-open .symptom-body { display: block; }
.symptom-body p { font-size: 0.9875rem; margin: 0 0 12px; }
.symptom-body a { font-weight: 700; color: var(--accent-700); }

/* ---------- Callouts ---------- */
.callout {
  border-radius: var(--radius-sm); padding: 20px 22px 20px 24px;
  background: #fff; border: 1px solid var(--border); border-left: 5px solid;
  display: flex; gap: 14px; align-items: flex-start; margin: 26px 0;
  box-shadow: var(--shadow-sm); max-width: 68ch;
}
.callout svg { width: 26px; height: 26px; flex: none; margin-top: 2px; }
.callout strong { display: block; font-family: var(--font-heading); margin-bottom: 4px; }
.callout p { margin: 0; font-size: 0.9875rem; }
.callout--tip { border-left-color: #15803d; }
.callout--tip svg { stroke: #15803d; }
.callout--tip strong { color: #166534; }
.callout--warning { border-left-color: var(--accent-600); background: var(--accent-50); }
.callout--warning svg { stroke: var(--accent-700); }
.callout--warning strong { color: var(--accent-800); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--border); box-shadow: var(--shadow-sm); margin: 26px 0; max-width: 100%; }
table.data { width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; font-size: 0.9875rem; }
table.data th, table.data td { padding: 14px 18px; text-align: left; vertical-align: top; }
table.data thead th { background: var(--primary-800); color: #fff; font-family: var(--font-heading); font-size: 0.9375rem; }
table.data tbody tr + tr { border-top: 1px solid var(--border); }
table.data tbody tr:nth-child(even) { background: var(--off-white); }
table.data td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: 14px; max-width: 860px; }
.faq {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; transition: box-shadow 0.2s ease;
}
.faq[open] { box-shadow: var(--shadow-md); border-color: var(--primary-200); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px;
  padding: 20px 22px; font-family: var(--font-heading); font-weight: 700;
  font-size: 1.0625rem; color: var(--ink); min-height: 64px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-plus {
  margin-left: auto; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary-50); display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease, background 0.2s ease;
}
.faq-plus svg { width: 18px; height: 18px; stroke: var(--primary-700); }
.faq[open] .faq-plus { transform: rotate(135deg); background: var(--accent-100); }
.faq-body { padding: 0 22px 24px; }
.faq-body p { margin: 0; font-size: 1rem; }
.faq-body p + p { margin-top: 12px; }

/* ---------- Areas ---------- */
.area-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.area-card { display: flex; flex-direction: column; gap: 10px; }
.area-card h3 { display: flex; align-items: center; gap: 10px; }
.area-card h3 svg { width: 22px; height: 22px; stroke: var(--accent-600); flex: none; }
.area-card p { font-size: 0.9875rem; margin: 0; }

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; gap: 18px; grid-template-columns: 1fr; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.step::after {
  content: counter(step, decimal-leading-zero); counter-increment: step;
  position: absolute; right: 18px; top: 6px;
  font-family: var(--font-heading); font-weight: 800; font-size: 4.5rem; line-height: 1;
  color: var(--primary-50); z-index: 0;
}
.step > * { position: relative; z-index: 1; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; font-size: 0.9875rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(700px 340px at 50% 120%, rgba(249, 115, 22, 0.28), transparent 65%),
    radial-gradient(900px 500px at 50% -20%, rgba(94, 135, 190, 0.25), transparent 60%),
    linear-gradient(165deg, var(--primary-900), var(--dark));
  color: #fff;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.10'/%3E%3C/svg%3E");
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #B9D0E8; margin: 0 auto 30px; max-width: 60ch; }
.phone-huge {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--font-heading); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(2rem, 1.4rem + 4vw, 3.75rem); color: #fff; text-decoration: none;
  padding: 18px 36px; border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  border: 2px solid rgba(249, 115, 22, 0.45);
  box-shadow: 0 0 60px -8px rgba(249, 115, 22, 0.5), inset 0 0 30px rgba(249, 115, 22, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  margin-bottom: 26px;
}
.phone-huge:hover { transform: scale(1.03); box-shadow: 0 0 80px -6px rgba(249, 115, 22, 0.65); }
.phone-huge svg { width: clamp(28px, 24px + 2vw, 44px); height: auto; stroke: var(--accent-400); }
.cta-note { font-size: 0.875rem; color: #8FB1D9; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #B9D0E8; padding: 72px 0 0; font-size: 0.9875rem; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; margin-bottom: 48px; }
.footer-brand .logo-badge { display: inline-block; background: #fff; border-radius: 14px; padding: 8px 12px; margin-bottom: 18px; }
.footer-brand .logo-badge img { height: 40px; }
.footer-brand p { font-size: 0.9375rem; max-width: 38ch; }
.site-footer h4 { color: #fff; font-size: 1.0625rem; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: #B9D0E8; text-decoration: none; font-size: 0.9375rem; }
.footer-links a:hover { color: var(--accent-300); text-decoration: underline; }
.footer-contact p { margin: 0 0 10px; font-size: 0.9375rem; }
.footer-contact a { color: #fff; font-weight: 700; text-decoration: none; }
.footer-contact a:hover { color: var(--accent-300); }
.footer-disclosure { border-top: 1px solid rgba(255,255,255,0.1); padding: 28px 0; font-size: 0.8125rem; color: #8FB1D9; }
.footer-disclosure p { max-width: 100ch; margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.8125rem; color: #8FB1D9; }

/* ---------- Sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(5, 13, 26, 0.96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.3s ease;
}
.callbar.is-hidden { transform: translateY(110%); }
.callbar .btn { width: 100%; }
body { padding-bottom: 76px; } /* room for callbar */

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 1; }
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  :root { --section-pad-y: 88px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .symptom-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas .btn { width: auto; }
  .btn { width: auto; }
}
@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split--flip .split-visual { order: 2; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .steps { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  :root { --section-pad-y: 112px; }
  .nav-toggle { display: none; }
  .main-nav { display: block; }
  .header-cta { display: block; }
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
  .callbar { display: none; }
  body { padding-bottom: 0; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .symptom-grid { grid-template-columns: repeat(3, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .glass-card--1 { left: -24px; }
  .glass-card--2 { right: -18px; }
}
@media (min-width: 1280px) {
  .hero-inner { gap: 72px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Small-screen hero cards ---------- */
@media (max-width: 1023px) {
  .glass-card { position: static; max-width: none; margin-top: 10px; }
  .hero-visual { display: grid; gap: 4px; }
  .glass-card--3 { display: none; }
}
@media (max-width: 639px) {
  .btn { width: 100%; }
  .header-cta { display: none; }
  .process li { padding-left: 76px; }
  .process li::before { left: 27px; }
  .process-num { font-size: 3.4rem; }
  .phone-huge { width: 100%; justify-content: center; font-size: 1.75rem; padding: 16px 20px; }
}

/* ============ Service / inner pages ============ */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 12% 8%, rgba(94, 135, 190, 0.35), transparent 60%),
    radial-gradient(760px 520px at 88% 18%, rgba(249, 115, 22, 0.16), transparent 60%),
    radial-gradient(1000px 700px at 50% 110%, rgba(18, 50, 95, 0.55), transparent 65%),
    linear-gradient(160deg, var(--primary-900) 0%, var(--primary-800) 55%, #0A1F3D 100%);
  color: #fff;
  padding: 56px 0 64px;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.10'/%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin: 14px 0 18px; font-size: clamp(2.25rem, 5vw, 3.5rem); }
.page-hero .eyebrow { color: var(--accent-300); }
.page-lead { font-size: 1.125rem; color: #C9DCF1; max-width: 68ch; }
.page-hero .hero-ctas { margin-top: 26px; }
.breadcrumbs { margin: 0 0 6px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; color: #8FB1D9; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: #5E87BE; }
.breadcrumbs a { color: #B9D0E8; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: #fff; }

.page-layout { display: grid; gap: 40px; }
.page-content { min-width: 0; }
.page-content section { scroll-margin-top: 96px; }
.page-aside { display: grid; gap: 24px; align-content: start; }
@media (min-width: 1024px) {
  .page-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .page-aside { grid-column: 2; grid-row: 1; position: sticky; top: 96px; }
  .page-content { grid-column: 1; grid-row: 1; }
}
.toc { background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-sm, 0 1px 3px rgba(11,37,69,.08)); overflow: hidden; }
.toc summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-family: Sora, sans-serif; color: var(--primary-800); list-style: none; display: flex; align-items: center; justify-content: space-between; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary .toc-toggle { transition: transform .25s ease; color: var(--accent-700); }
.toc[open] summary .toc-toggle { transform: rotate(45deg); }
.toc ol { margin: 0; padding: 0 22px 20px; list-style: none; display: grid; gap: 2px; }
.toc ol a { display: block; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 0.9375rem; }
.toc ol a:hover { background: var(--primary-50); color: var(--primary-700); }
@media (min-width: 1024px) {
  .toc summary { cursor: default; }
  .toc summary .toc-toggle { display: none; }
}
.call-card { background: var(--dark); color: #DCE8F4; border-radius: 20px; padding: 28px 26px; border: 1px solid rgba(143,177,217,.25); box-shadow: 0 12px 32px rgba(5,13,26,.35); }
.call-card h3 { color: #fff; font-size: 1.25rem; margin-bottom: 10px; }
.call-card p { color: #B9D0E8; font-size: 0.9375rem; }
.call-card .btn { width: 100%; margin-top: 16px; }
.call-card .call-card-num { display: block; text-align: center; font-family: Sora, sans-serif; font-weight: 800; font-size: 1.5rem; color: #fff; margin-top: 12px; text-decoration: none; }
.call-card .call-card-num:hover { color: var(--accent-400); }
.call-card small { display: block; text-align: center; color: #8FB1D9; font-size: 0.8125rem; margin-top: 8px; }
