/* ==========================================================================
   Ridgeline Slab Pros — Design System
   Mobile-first. Breakpoints: 640 / 768 / 1024 / 1280
   Fonts: Manrope (headings) + Source Sans 3 (body)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Primary: Abyssal Navy scale */
  --p-50:  #EEF3FA;
  --p-100: #D9E3F2;
  --p-200: #B3C6E3;
  --p-300: #829FCB;
  --p-400: #5577AE;
  --p-500: #345790;
  --p-600: #234174;
  --p-700: #173058;
  --p-800: #0F2547;
  --p-900: #091E3A;

  /* Accent: Vivid Tangerine (CTAs + highlights only) */
  --accent:     #FF6B00;
  --accent-600: #E85F00;
  --accent-300: #FFA35C;
  --accent-50:  #FFF2E8;

  /* Neutrals */
  --dark:     #050F1F;
  --ink:      #0B1B33;
  --muted:    #4A5A72;
  --offwhite: #F7F8FA;
  --white:    #FFFFFF;
  --border:   #E2E7EF;
  --border-dark: rgba(255,255,255,.12);

  /* Semantic */
  --warn:     #B42318;
  --warn-50:  #FEF3F2;
  --tip:      #0E7A55;
  --tip-50:   #ECFDF5;

  /* Type */
  --font-head: "Manrope", "Source Sans 3", sans-serif;
  --font-body: "Source Sans 3", "Manrope", sans-serif;
  --fs-h1: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.6rem + 1.6vw, 3rem);
  --fs-h3: clamp(1.25rem, 1.15rem + .4vw, 1.5rem);
  --fs-body: clamp(1.0625rem, 1.03rem + .15vw, 1.125rem);
  --fs-small: .9375rem;
  --lh: 1.7;
  --measure: 68ch;

  /* Shape + depth */
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --pill: 999px;
  --shadow-1: 0 1px 2px rgba(9,30,58,.06), 0 2px 6px rgba(9,30,58,.05);
  --shadow-2: 0 2px 4px rgba(9,30,58,.05), 0 8px 24px rgba(9,30,58,.08), 0 24px 48px -12px rgba(9,30,58,.12);
  --shadow-3: 0 4px 8px rgba(9,30,58,.06), 0 16px 40px rgba(9,30,58,.12), 0 40px 80px -20px rgba(9,30,58,.22);
  --glow: 0 6px 20px -4px rgba(255,107,0,.55), 0 0 0 1px rgba(255,107,0,.25);

  /* Layout */
  --gutter: 20px;
  --container: 1240px;
  --section-y: 64px;
  --header-h: 68px;
  --callbar-h: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);

  /* Grain texture */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (min-width: 768px)  { :root { --gutter: 32px; --header-h: 76px; } }
@media (min-width: 1024px) { :root { --section-y: 112px; } }

/* ---------- 2. Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom));
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }

img, svg, video { max-width: 100%; height: auto; display: block; }
svg { overflow: visible; }
a { color: var(--p-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--p-900); text-decoration-thickness: 2px; }
p { margin: 0 0 1.1em; max-width: var(--measure); }
ul, ol { padding-left: 1.25em; margin: 0 0 1.2em; max-width: var(--measure); }
li { margin-bottom: .45em; }
strong { font-weight: 600; color: var(--p-900); }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--p-900);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 .55em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.04; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--p-900); font-weight: 700;
  padding: 12px 18px; border-radius: var(--pill); text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }

.section { position: relative; padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--off   { background: var(--offwhite); }
.section--tint  { background: var(--p-50); }
.section--dark  {
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(52,87,144,.45), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(255,107,0,.10), transparent 60%),
    var(--p-900);
  color: var(--p-100);
}
.section--dark h2, .section--dark h3, .section--dark h4, .section--dark strong { color: var(--white); }
.section--dark a:not(.btn) { color: var(--accent-300); }
.section--dark p { color: var(--p-200); }

/* Dividers (place <svg class="divider ..."> as first/last child of section) */
.divider { position: absolute; left: 0; width: 100%; height: 48px; pointer-events: none; z-index: 1; }
.divider--top { top: -1px; }
.divider--bottom { bottom: -1px; transform: scaleY(-1); }
@media (min-width: 1024px) { .divider { height: 80px; } }
.section--angle-top { clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); margin-top: -40px; padding-top: calc(var(--section-y) + 40px); }
@media (min-width: 1024px) {
  .section--angle-top { clip-path: polygon(0 80px, 100% 0, 100% 100%, 0 100%); margin-top: -80px; padding-top: calc(var(--section-y) + 60px); }
}

/* Section heading block */
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }
@media (min-width: 1024px) { .section-head { margin-bottom: 56px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--p-600);
  margin: 0 0 16px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--accent);
}
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--accent-300); }

.lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3rem); line-height: 1.6; color: var(--muted); }
.section--dark .lead { color: var(--p-200); }

/* Highlighted phrase in H1/H2 */
.hl {
  position: relative; white-space: nowrap;
  background: linear-gradient(100deg, var(--accent) 0%, #FF9A3D 55%, var(--accent-300) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--accent);
}
.hl--underline {
  -webkit-text-fill-color: currentColor; background: none; color: inherit;
  background-image: linear-gradient(90deg, var(--accent), var(--accent-300));
  background-repeat: no-repeat; background-size: 100% .14em; background-position: 0 92%;
  padding-bottom: .02em;
}

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h); padding: 0 26px;
  border-radius: var(--pill); border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
  width: 100%;
}
@media (min-width: 640px) { .btn { width: auto; } }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--accent); color: var(--p-900); box-shadow: var(--glow); }
.btn--primary:hover { background: #FF7A1A; color: var(--p-900); transform: translateY(-2px); box-shadow: 0 10px 28px -6px rgba(255,107,0,.65), 0 0 0 1px rgba(255,107,0,.35); text-decoration: none; }
.btn--outline { background: transparent; color: var(--p-900); border-color: var(--p-900); }
.btn--outline:hover { background: var(--p-900); color: var(--white); text-decoration: none; }
.btn--outline-light { background: rgba(255,255,255,.04); color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { background: var(--white); color: var(--p-900); text-decoration: none; }
.btn--lg { --btn-h: 60px; padding: 0 32px; font-size: 1.0625rem; }
.btn--sm { --btn-h: 44px; padding: 0 18px; font-size: .9375rem; width: auto; }
.btn-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .btn-row { flex-direction: row; flex-wrap: wrap; } }

/* Icon tile (Lucide-style line icons in tinted rounded squares) */
.icon-tile {
  display: inline-grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--p-50); color: var(--p-700);
  border: 1px solid var(--p-100);
}
.icon-tile svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-tile--accent { background: var(--accent-50); color: var(--accent-600); border-color: #FFDCC2; }
.icon-tile--dark { background: rgba(255,255,255,.06); color: var(--accent-300); border-color: var(--border-dark); }
.icon-tile--sm { width: 40px; height: 40px; border-radius: 11px; }
.icon-tile--sm svg { width: 20px; height: 20px; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- 5. Header + nav ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: var(--shadow-1); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--p-900); flex: none; }
.logo svg { height: 40px; width: auto; }
.logo:hover { text-decoration: none; color: var(--p-900); }
@media (min-width: 768px) { .logo svg { height: 44px; } }

.nav__menu { display: none; }
.nav__cta { display: none; }
.nav__toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  border-radius: 14px; border: 1px solid var(--border); background: var(--white);
  color: var(--p-900); cursor: pointer;
}
.nav__toggle svg { width: 24px; height: 24px; }
.nav__toggle .i-close { display: none; }
.nav__toggle[aria-expanded="true"] .i-close { display: block; }
.nav__toggle[aria-expanded="true"] .i-menu { display: none; }

/* Mobile full-screen panel */
.nav__panel {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  background: var(--p-900); color: var(--white);
  padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav__panel.is-open { opacity: 1; visibility: visible; transform: none; }
.nav__panel h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-300); margin: 28px 0 10px; }
.nav__panel ul { list-style: none; padding: 0; margin: 0; max-width: none; }
.nav__panel li { margin: 0; border-bottom: 1px solid var(--border-dark); }
.nav__panel a { display: flex; align-items: center; min-height: 52px; color: var(--white); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; }
.nav__panel a:hover { color: var(--accent-300); }
.nav__panel .btn { margin-top: 28px; }
.nav__panel-cols { display: grid; gap: 0 24px; }
@media (min-width: 640px) { .nav__panel-cols { grid-template-columns: 1fr 1fr; } }
body.nav-open { overflow: hidden; }
/* Mobile menu list (panel lives outside the header) */
.mnav > li > a, .mnav summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; color: var(--white);
  text-decoration: none; cursor: pointer; list-style: none;
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary .chev { width: 20px; height: 20px; color: var(--accent-300); transition: transform .2s var(--ease); }
.mnav details[open] summary .chev { transform: rotate(180deg); }
.mnav details ul { margin: 0 0 14px; padding: 2px 0 2px 16px; border-left: 2px solid rgba(255,107,0,.45); }
.mnav details li { border-bottom: 0; }
.nav__panel .mnav details a { min-height: 44px; font-family: var(--font-body); font-weight: 500; font-size: 1rem; color: var(--p-200); }
.nav__panel .mnav details a:hover { color: var(--accent-300); }
/* backdrop-filter on the header would make it the containing block of the fixed panel
   (collapsing it to header height), so drop it while the menu is open. */
body.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--white); }

@media (min-width: 1024px) {
  .nav__toggle, .nav__panel { display: none; }
  .nav__menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; max-width: none; }
  .nav__menu > li { position: relative; margin: 0; }
  .nav__link {
    display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
    border-radius: var(--pill); border: 0; background: none; cursor: pointer;
    font-family: var(--font-head); font-weight: 700; font-size: .975rem; color: var(--p-800); text-decoration: none;
  }
  .nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--p-50); color: var(--p-900); text-decoration: none; }
  .nav__link .chev { width: 16px; height: 16px; transition: transform .2s; }
  .nav__link[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .nav__cta { display: inline-flex; }
  .dropdown {
    position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
    width: 560px; padding: 14px; border-radius: var(--r);
    background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-3);
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .dropdown.is-open, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
  .dropdown a {
    display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px;
    border-radius: 12px; text-decoration: none; color: var(--p-800); font-weight: 500; font-size: .975rem;
  }
  .dropdown a:hover { background: var(--p-50); color: var(--p-900); }
  .dropdown .dropdown__all { grid-column: 1 / -1; font-weight: 700; color: var(--p-700); border-bottom: 1px solid var(--border); border-radius: 12px 12px 0 0; }
  .nav__link { padding: 0 12px; white-space: nowrap; }
  .nav__menu { gap: 2px; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .nav__link { padding: 0 9px; font-size: .925rem; }
  .logo svg { height: 38px; }
  .nav__cta { padding: 0 14px; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--p-100);
  padding: 48px 0 72px;
  background: var(--p-900);
}
.hero__mesh {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(52,87,144,.85) 0%, transparent 60%),
    radial-gradient(45% 55% at 70% 95%, rgba(255,107,0,.28) 0%, transparent 65%),
    radial-gradient(50% 60% at 0% 0%, rgba(35,65,116,.9) 0%, transparent 60%),
    radial-gradient(40% 40% at 30% 80%, rgba(23,48,88,.9) 0%, transparent 70%),
    linear-gradient(160deg, #0B2346 0%, var(--p-900) 50%, var(--dark) 100%);
}
.hero__grain, .grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); background-size: 160px; opacity: .09; mix-blend-mode: overlay;
}
.hero__grid-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(70% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero__inner { display: grid; gap: 40px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero__sub { font-size: clamp(1.125rem, 1.05rem + .4vw, 1.3rem); line-height: 1.6; color: var(--p-200); max-width: 56ch; }
.hero .btn-row { margin: 28px 0 18px; }
.hero__fine { font-size: .875rem; line-height: 1.55; color: var(--p-300); max-width: 60ch; margin: 0; }
.hero__art { position: relative; max-width: 560px; width: 100%; margin-inline: auto; }
.hero__art > svg { width: 100%; filter: drop-shadow(0 30px 60px rgba(0,0,0,.35)); }

@media (min-width: 1024px) {
  .hero { padding: 72px 0 120px; }
  .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .hero__art { max-width: none; margin-right: -40px; }
}
@media (min-width: 1280px) { .hero__art { margin-right: -80px; } }

/* Glass cards floating over hero art */
.glass-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 18px;
  background: rgba(255,255,255,.10);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 12px 32px -8px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.18);
  color: var(--white); font-family: var(--font-head); font-size: .875rem; line-height: 1.3;
  max-width: 230px;
}
.glass-card strong { display: block; color: var(--white); font-weight: 800; font-size: .95rem; }
.glass-card span { color: var(--p-200); font-weight: 500; font-size: .8rem; }
.glass-card .icon-tile { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,107,0,.18); border-color: rgba(255,107,0,.4); color: var(--accent-300); }
.glass-card .icon-tile svg { width: 20px; height: 20px; }
.glass-card--1 { top: 4%; left: -2%; }
.glass-card--2 { bottom: 16%; right: -2%; }
.glass-card--3 { bottom: -2%; left: 8%; }
@media (max-width: 639px) {
  .glass-card { padding: 8px 12px 8px 8px; max-width: 170px; font-size: .78rem; }
  .glass-card .icon-tile { width: 32px; height: 32px; }
  .glass-card span { display: none; }
  .glass-card--3 { display: none; }
}
@media (min-width: 1024px) {
  .glass-card { animation: float 7s ease-in-out infinite; }
  .glass-card--2 { animation-delay: -2.5s; }
  .glass-card--3 { animation-delay: -5s; }
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Trust chips */
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; max-width: none; }
.trust-row li { margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px 6px 10px;
  border-radius: var(--pill); font-family: var(--font-head); font-size: .84rem; font-weight: 700;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: var(--p-100);
}
.chip svg { width: 16px; height: 16px; color: var(--accent-300); }
.chip--light { background: var(--white); border-color: var(--border); color: var(--p-800); }
.chip--light svg { color: var(--p-600); }

/* Signature ring motif */
.rings { position: absolute; pointer-events: none; z-index: 0; color: var(--accent); opacity: .5; }
.rings circle { fill: none; stroke: currentColor; stroke-width: 1.5; }
.pulse-ring { transform-origin: center; transform-box: fill-box; animation: pulse 3.2s ease-out infinite; }
.pulse-ring:nth-of-type(2) { animation-delay: 1.05s; }
.pulse-ring:nth-of-type(3) { animation-delay: 2.1s; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.drip { animation: drip 2.4s ease-in infinite; }
@keyframes drip { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }

/* ---------- 7. Inner page hero + breadcrumbs ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 36px 0 64px; color: var(--p-100); background: var(--p-900);
}
.page-hero .hero__mesh { z-index: -2; }
.page-hero h1 { color: var(--white); font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); max-width: 18ch; }
.page-hero__inner { display: grid; gap: 32px; align-items: end; }
.page-hero__art { max-width: 420px; }
.page-hero__inner > * { min-width: 0; }
.page-hero__art svg { width: 100%; height: auto; }
@media (max-width: 767px) { .page-hero .hl { white-space: normal; } }
@media (min-width: 1024px) {
  .page-hero { padding: 48px 0 96px; }
  .page-hero__inner { grid-template-columns: 1.4fr 1fr; }
  .page-hero__art { justify-self: end; }
}
.breadcrumbs { margin-bottom: 28px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; padding: 0; margin: 0; max-width: none; font-size: .875rem; }
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 6px; color: var(--p-300); }
.breadcrumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--p-400); border-top: 1.5px solid var(--p-400); transform: rotate(45deg); margin-right: 4px; }
.breadcrumbs a { color: var(--p-200); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--accent-300); font-weight: 600; }

/* ---------- 8. Cards + bento ---------- */
.card {
  position: relative; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: var(--shadow-1); padding: 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); border-color: var(--p-200); }
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: 1.0625rem; margin-bottom: 16px; }
.card--dark { background: rgba(255,255,255,.04); border-color: var(--border-dark); box-shadow: none; }
.card--dark:hover { border-color: rgba(255,107,0,.45); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.card--dark p { color: var(--p-200); }

.card-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-family: var(--font-head); font-weight: 800; font-size: .975rem; color: var(--p-700); text-decoration: none;
}
.card-link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.card-link:hover { color: var(--p-900); text-decoration: none; }
.card:hover .card-link svg, .card-link:hover svg { transform: translateX(4px); }
.card-link--stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.section--dark .card-link { color: var(--accent-300); }

.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.bento__card { display: flex; flex-direction: column; }
.bento__card .card-link { margin-top: auto; }
.bento__card--feature {
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(52,87,144,.55), transparent 60%),
    linear-gradient(160deg, var(--p-800), var(--p-900));
  border-color: var(--p-800); color: var(--p-100); overflow: hidden;
}
.bento__card--feature h3 { color: var(--white); font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); }
.bento__card--feature p { color: var(--p-200); }
.bento__card--feature .card-link { color: var(--accent-300); }
.bento__card--feature .icon-tile { background: rgba(255,107,0,.14); border-color: rgba(255,107,0,.35); color: var(--accent-300); }
.bento__card--feature .bento__art { margin: 8px -28px -28px auto; width: 80%; max-width: 360px; opacity: .95; }
.bento__card--tint { background: var(--p-50); border-color: var(--p-100); }
.bento__card--accent { background: var(--accent-50); border-color: #FFDCC2; }
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--feature { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(220px, auto); gap: 20px; }
  .bento__card { grid-column: span 2; }
  .bento__card--feature { grid-column: span 4; grid-row: span 2; padding: 40px; }
  .bento__card--feature p { max-width: 52ch; }
  .bento__card--wide { grid-column: span 2; }
  .bento__card--tall { grid-row: span 2; }
}

/* Generic grids */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid { gap: 24px; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 9. Symptom checker ---------- */
.checker { display: grid; gap: 24px; }
.checker__list { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; max-width: none; }
.checker__list li { margin: 0; }
.checker__btn {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  min-height: 64px; padding: 12px 16px; border-radius: 16px; cursor: pointer;
  background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-1);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--p-900);
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.checker__btn:hover { border-color: var(--p-300); transform: translateY(-2px); }
.checker__btn[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,107,0,.18), var(--shadow-2); }
.checker__btn .icon-tile { width: 40px; height: 40px; border-radius: 12px; }
.checker__btn .icon-tile svg { width: 20px; height: 20px; }
.checker__panel {
  border-radius: var(--r-lg); padding: 28px; background: var(--p-900); color: var(--p-200);
  position: relative; overflow: hidden; isolation: isolate;
}
.checker__panel h3 { color: var(--white); }
.checker__panel a:not(.btn) { color: var(--accent-300); }
.checker__result + .checker__result { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border-dark); }
.js .checker__result[hidden] { display: none; }
.checker__meta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-300); margin-bottom: 8px; }
@media (min-width: 1024px) {
  .checker { grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
  .checker__list { grid-template-columns: 1fr 1fr; }
  .checker__panel { position: sticky; top: calc(var(--header-h) + 24px); padding: 40px; }
  .js .checker__result + .checker__result { margin-top: 0; padding-top: 0; border-top: 0; }
}

/* ---------- 10. Split sections ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split__art { position: relative; max-width: 520px; width: 100%; margin-inline: auto; }
.split__art > svg { width: 100%; }
.split__art--card { padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-2); }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .split--reverse .split__art { order: -1; }
}

/* ---------- 11. Process ---------- */
.process { position: relative; display: grid; gap: 32px; list-style: none; padding: 0; margin: 0; max-width: none; counter-reset: step; }
.process::before {
  content: ""; position: absolute; left: 34px; top: 20px; bottom: 20px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--p-200) 0 8px, transparent 8px 14px);
}
.process__step { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 20px; margin: 0; }
.process__num {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 70px; height: 70px; border-radius: 50%; background: var(--white);
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--p-700);
  border: 1px solid var(--border); box-shadow: var(--shadow-1);
}
.process__step:first-child .process__num { -webkit-text-stroke-color: var(--accent); }
.process__step h3 { margin: 10px 0 6px; }
.process__step p { color: var(--muted); margin: 0; }
.section--tint .process__num { background: var(--p-50); }
.section--dark .process__num { background: var(--p-900); border-color: var(--border-dark); -webkit-text-stroke-color: var(--p-300); }
.section--dark .process::before { background: repeating-linear-gradient(to bottom, var(--p-600) 0 8px, transparent 8px 14px); }
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .process::before { left: 10%; right: 10%; top: 56px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(to right, var(--p-200) 0 8px, transparent 8px 14px); }
  .section--dark .process::before { background: repeating-linear-gradient(to right, var(--p-600) 0 8px, transparent 8px 14px); }
  .process__step { grid-template-columns: 1fr; gap: 0; text-align: left; }
  .process__num { width: 112px; height: 112px; font-size: 4.5rem; -webkit-text-stroke-width: 2px; }
  .process__step h3 { margin-top: 24px; }
}

/* ---------- 12. Callouts ---------- */
.callout {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  margin: 28px 0; padding: 20px 22px; border-radius: 16px;
  border: 1px solid var(--border); border-left: 5px solid var(--p-600);
  background: var(--p-50); max-width: var(--measure);
}
.callout__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--white); color: var(--p-700); }
.callout__icon svg { width: 20px; height: 20px; }
.callout__title { display: block; font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; color: var(--p-800); }
.callout p { margin: 0; font-size: 1.0625rem; }
.callout p + p { margin-top: .6em; }
.callout--tip { border-left-color: var(--tip); background: var(--tip-50); border-color: #BDE8D3; border-left-color: var(--tip); }
.callout--tip .callout__icon, .callout--tip .callout__title { color: var(--tip); }
.callout--warn { border-left-color: var(--warn); background: var(--warn-50); border-color: #F8CFCB; border-left-color: var(--warn); }
.callout--warn .callout__icon, .callout--warn .callout__title { color: var(--warn); }

/* ---------- 13. Tables ---------- */
.table-wrap { margin: 24px 0; border: 1px solid var(--border); border-radius: var(--r); background: var(--white); box-shadow: var(--shadow-1); overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.data-table caption { text-align: left; padding: 16px 20px 0; font-family: var(--font-head); font-weight: 800; color: var(--p-900); }
.data-table th, .data-table td { padding: 14px 20px; text-align: left; vertical-align: top; }
.data-table thead th { font-family: var(--font-head); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--p-600); background: var(--p-50); border-bottom: 1px solid var(--border); }
.data-table tbody tr + tr { border-top: 1px solid var(--border); }
.data-table tbody th { font-family: var(--font-head); font-weight: 700; color: var(--p-900); }
.data-table td { color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: var(--pill); font-family: var(--font-head); font-size: .78rem; font-weight: 800; white-space: nowrap; }
.tag--high { background: var(--accent-50); color: #9A3A00; }
.tag--med  { background: var(--p-50); color: var(--p-700); }
.tag--low  { background: var(--tip-50); color: var(--tip); }
/* Stacked cards below 640px */
@media (max-width: 639px) {
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; width: 100%; }
  .data-table tbody tr { padding: 14px 18px; }
  .data-table tbody th { padding: 0 0 6px; font-size: 1.0625rem; }
  .data-table td { padding: 4px 0; display: grid; grid-template-columns: 7.5rem 1fr; gap: 10px; }
  .data-table td::before { content: attr(data-label); font-family: var(--font-head); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--p-500); padding-top: 3px; }
  .data-table--kv caption { display: block; padding: 16px 18px 4px; }
  .data-table--kv tbody th { padding: 0 0 2px; font-size: 1rem; }
  .data-table--kv td { display: block; padding: 0; }
  .data-table--kv td::before { content: none; }
}

/* ---------- 14. Areas ---------- */
.areas { display: grid; gap: 16px; }
.area-card { padding: 24px; }
.area-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.area-card h3 svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.area-card p { margin-bottom: 8px; }
@media (min-width: 768px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .areas { grid-template-columns: repeat(3, 1fr); } .areas .area-card--wide { grid-column: span 2; } }
.area-pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; max-width: none; }
.area-pills li { margin: 0; }
.area-pills a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--pill); background: var(--white); border: 1px solid var(--border); font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--p-800); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.area-pills a:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--p-900); }
.area-pills svg { width: 16px; height: 16px; color: var(--accent); }

/* Area groups + map */
.areas-group { margin-bottom: 40px; }
.areas-group__title { display: flex; align-items: center; gap: 12px; font-size: 1.125rem; margin-bottom: 18px; }
.areas-group__title::after { content: ""; flex: 1; height: 1px; background: var(--p-200); }
.areas--3 { display: grid; gap: 16px; }
.area-card--local { background: var(--white); border-top: 4px solid var(--accent); }
.area-map { padding: 0; overflow: hidden; background: var(--p-900); border-color: var(--p-800); }
.area-map svg { width: 100%; height: 100%; }
.area-map:hover { transform: none; }
@media (min-width: 640px) {
  .areas--3 { grid-template-columns: repeat(2, 1fr); }
  .area-map { grid-column: span 2; }
  .areas--3 > .area-card:last-child:nth-child(even) { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .areas--3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .areas--3 > .area-card:last-child:nth-child(even) { grid-column: auto; }
}

/* FAQ split layout */
.faq-layout { display: grid; gap: 32px; }
.faq-layout__aside .call-card { display: block; margin-top: 8px; }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
  .faq-layout__aside { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- 15. Stat / ready list / referral ---------- */
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: .7em; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 22px; height: 22px; border-radius: 7px;
  background: var(--p-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23234174' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat;
  border: 1px solid var(--p-100);
}
.section--dark .check-list li::before { background-color: rgba(255,255,255,.06); border-color: var(--border-dark); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFA35C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

.ready-card { display: grid; gap: 20px; padding: 28px; border-radius: var(--r-lg); background: var(--white); border: 1px dashed var(--p-300); }
@media (min-width: 768px) { .ready-card { grid-template-columns: auto 1fr; padding: 36px; } }

.disclosure-box { padding: 20px 22px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--border-dark); font-size: .975rem; }
.disclosure-box--light { background: var(--offwhite); border-color: var(--border); color: var(--muted); }

/* ---------- 16. CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 72px 0; text-align: center; color: var(--p-200);
  background: var(--dark);
}
.cta-band::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%;
  width: 900px; height: 900px; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,.32) 0%, rgba(255,107,0,.08) 35%, transparent 65%);
  filter: blur(10px);
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 70px, rgba(255,107,0,.07) 70px 71px);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 60%);
          mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 60%);
}
.cta-band h2 { color: var(--white); max-width: 22ch; margin-inline: auto; }
.cta-band p { margin-inline: auto; color: var(--p-200); }
.cta-band__phone {
  display: inline-block; margin: 12px 0 24px;
  font-family: var(--font-head); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  font-size: clamp(2.6rem, 1.4rem + 6vw, 6.5rem);
  color: var(--white); text-decoration: none;
  text-shadow: 0 0 40px rgba(255,107,0,.45);
  transition: color .2s;
}
.cta-band__phone:hover { color: var(--accent-300); text-decoration: none; }
.cta-band .btn-row { justify-content: center; }
@media (min-width: 1024px) { .cta-band { padding: 120px 0; } }

/* ---------- 17. FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq--center { margin-inline: auto; }
.faq__item { border: 1px solid var(--border); border-radius: 18px; background: var(--white); box-shadow: var(--shadow-1); transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--p-200); box-shadow: var(--shadow-2); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 20px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; line-height: 1.4; color: var(--p-900);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--p-50); transition: transform .3s var(--ease), background-color .2s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: var(--p-700); translate: -50% -50%; }
.faq__icon::after { rotate: 90deg; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--accent); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--p-900); }
.faq__answer { padding: 0 20px 20px; color: var(--muted); }
.faq__answer p:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .faq__item summary { padding: 18px 24px; font-size: 1.125rem; } .faq__answer { padding: 0 24px 24px; } }

/* ---------- 18. Service page layout (TOC + sidebar) ---------- */
.with-sidebar { display: grid; gap: 32px; }
.with-sidebar__aside { display: grid; gap: 16px; align-content: start; }
.prose > h2 { margin-top: 2.2em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { margin-top: 1.6em; }
.prose .table-wrap, .prose .callout { max-width: none; }
.toc { border: 1px solid var(--border); border-radius: var(--r); background: var(--offwhite); }
.toc summary, .toc__title { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 12px 20px; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--p-700); }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0 12px 14px; max-width: none; counter-reset: toc; }
.toc li { margin: 0; counter-increment: toc; }
.toc a { display: flex; gap: 10px; align-items: baseline; padding: 8px 10px; border-radius: 10px; font-size: .95rem; line-height: 1.4; color: var(--muted); text-decoration: none; border-left: 2px solid transparent; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; font-size: .74rem; color: var(--p-300); }
.toc a:hover { background: var(--white); color: var(--p-900); }
.toc a.is-active { background: var(--white); color: var(--p-900); border-left-color: var(--accent); font-weight: 600; }
.call-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 26px; border-radius: var(--r); color: var(--p-200);
  background: radial-gradient(300px 200px at 100% 0%, rgba(255,107,0,.25), transparent 70%), var(--p-900);
  box-shadow: var(--shadow-3);
}
.call-card h2, .call-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 8px; }
.call-card p { font-size: 1rem; color: var(--p-200); }
.call-card__phone { display: block; margin: 6px 0 16px; font-family: var(--font-head); font-weight: 800; font-size: 1.75rem; letter-spacing: -0.03em; color: var(--white); text-decoration: none; }
.call-card__phone:hover { color: var(--accent-300); }
.call-card .btn { width: 100%; }
.call-card small { display: block; margin-top: 12px; font-size: .8rem; line-height: 1.5; color: var(--p-300); }
@media (max-width: 1023px) {
  .with-sidebar__aside { order: -1; }
  .with-sidebar__aside .call-card { display: none; } /* mobile uses sticky callbar */
}
@media (min-width: 1024px) {
  .with-sidebar { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; }
  .with-sidebar__aside { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
  .toc summary { pointer-events: none; }
  .toc summary .chev { display: none; }
}

/* Related links block */
.related { display: grid; gap: 16px; }
@media (min-width: 768px) { .related { grid-template-columns: 1fr 1fr; } }
.link-list { list-style: none; padding: 0; margin: 0; max-width: none; }
.link-list li { margin: 0; border-bottom: 1px solid var(--border); }
.link-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; font-family: var(--font-head); font-weight: 700; color: var(--p-800); text-decoration: none; }
.link-list a:hover { color: var(--p-900); }
.link-list svg { width: 18px; height: 18px; color: var(--accent); transition: transform .2s var(--ease); }
.link-list a:hover svg { transform: translateX(4px); }

/* ---------- 19. Contact ---------- */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.form { display: grid; gap: 16px; }
.field label { display: block; margin-bottom: 6px; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--p-900); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--white); font: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--p-500); box-shadow: 0 0 0 4px var(--p-100); }

/* ---------- 20. Footer ---------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: var(--p-300); padding: 72px 0 32px; font-size: 1rem; }
.site-footer .grain { opacity: .06; }
.footer__grid { display: grid; gap: 40px; }
.footer__brand .logo svg { height: 44px; }
.footer__brand p { margin-top: 18px; color: var(--p-300); font-size: .975rem; }
.site-footer h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-300); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; max-width: none; }
.site-footer li { margin: 0; }
.site-footer a { display: inline-flex; align-items: center; min-height: 40px; color: var(--p-200); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer__phone { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--white) !important; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border-dark); display: grid; gap: 16px; font-size: .875rem; color: var(--p-400); }
.footer__bottom p { max-width: none; margin: 0; }
.footer__disclaimer { color: var(--p-300); line-height: 1.6; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0 22px; list-style: none; padding: 0; margin: 0; }
.footer__legal a { font-weight: 600; color: var(--p-100) !important; }
.footer__disclaimer strong { color: var(--white); }
.footer__disclaimer a { display: inline; min-height: 0; color: var(--accent-300); text-decoration: underline; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .site-footer { padding: 96px 0 40px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
}

/* ---------- 21. Mobile sticky call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: 10px; align-items: center;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(5,15,31,.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-dark);
}
.callbar__text { flex: 1; min-width: 0; font-family: var(--font-head); font-size: .78rem; line-height: 1.3; color: var(--p-200); }
.callbar__text strong { display: block; color: var(--white); font-size: 1rem; }
.callbar .btn { width: auto; flex: none; --btn-h: 50px; padding: 0 20px; }
@media (max-width: 359px) { .callbar__text { display: none; } .callbar .btn { flex: 1; } }
@media (min-width: 1024px) { .callbar { display: none; } }

/* ---------- 22. Misc ---------- */
.badge-num { font-family: var(--font-head); font-weight: 800; color: var(--accent-600); }
.kicker-line { display: block; width: 64px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-300)); margin-bottom: 24px; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: 48px; }
.muted { color: var(--muted); }
.text-sm { font-size: var(--fs-small); }
.ornament-rings { position: absolute; z-index: 0; width: 420px; height: 420px; right: -160px; top: -120px; opacity: .5; pointer-events: none; }
.section > .container { position: relative; z-index: 2; }
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.not-found__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 3rem + 14vw, 12rem); line-height: 1; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 2px var(--p-300); margin: 0; }

/* ---------- 23. Motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .glass-card, .pulse-ring, .drip { animation: none !important; }
}

/* ---------- 24. Print ---------- */
@media print {
  .site-header, .callbar, .nav__panel, .cta-band, .site-footer .grain { display: none !important; }
  body { padding: 0; color: #000; }
  .hero, .page-hero, .section--dark { background: #fff !important; color: #000 !important; }
}
