/* ==========================================================================
   Sterling Collision & Refinish — design system
   Dark-first luxury automotive. Token driven: [data-theme] = dark | light,
   [data-accent] = red | blue | copper. Everything below reads the tokens.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wide: 118%;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
  --bar-h: 0px;

  /* dark (default) */
  --bg: #08090b;
  --bg-2: #0d0f12;
  --surface: #121418;
  --surface-2: #181b20;
  --surface-3: #22262d;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --text: #f3f4f6;
  --text-2: #b3b9c2;
  --text-3: #8a919b;
  --chrome: linear-gradient(180deg, #ffffff 0%, #e4e7eb 45%, #9aa2ad 100%);
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 50px -20px rgba(0, 0, 0, .8);
  --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, .9);
  --glass: rgba(18, 20, 24, .72);
  --overlay: linear-gradient(90deg, rgba(8, 9, 11, .94) 0%, rgba(8, 9, 11, .78) 38%, rgba(8, 9, 11, .15) 75%, rgba(8, 9, 11, .35) 100%);
  --ok: #3ddc84;
  --warn: #ffb020;
  color-scheme: dark;
}

/* Accent paints — dark theme values */
:root, [data-accent="red"] {
  --accent: #d91e2b;
  --accent-2: #ff3b47;
  --accent-hi: #ff5a64;
  --on-accent: #ffffff;
  --accent-soft: rgba(217, 30, 43, .14);
  --accent-glow: rgba(255, 40, 55, .38);
  --accent-grad: linear-gradient(135deg, #ff4b55 0%, #d91e2b 45%, #8e0d16 100%);
}
[data-accent="blue"] {
  --accent: #1f6bff;
  --accent-2: #4d8dff;
  --accent-hi: #6ea3ff;
  --on-accent: #ffffff;
  --accent-soft: rgba(31, 107, 255, .15);
  --accent-glow: rgba(50, 120, 255, .4);
  --accent-grad: linear-gradient(135deg, #6aa4ff 0%, #1f6bff 45%, #0b3aa8 100%);
}
[data-accent="copper"] {
  --accent: #e2873c;
  --accent-2: #f0a05a;
  --accent-hi: #f3a867;
  --on-accent: #160b03;
  --accent-soft: rgba(226, 135, 60, .15);
  --accent-glow: rgba(240, 150, 70, .38);
  --accent-grad: linear-gradient(135deg, #ffc07e 0%, #e2873c 45%, #9a4b14 100%);
}

/* Light theme */
[data-theme="light"] {
  --bg: #f4f4f2;
  --bg-2: #ecece9;
  --surface: #ffffff;
  --surface-2: #f7f7f5;
  --surface-3: #e6e7e9;
  --line: rgba(10, 12, 16, .09);
  --line-2: rgba(10, 12, 16, .18);
  --text: #0c0e12;
  --text-2: #464d57;
  --text-3: #5f6670;
  --chrome: linear-gradient(180deg, #0c0e12 0%, #2a2f37 60%, #4b525c 100%);
  --shadow: 0 1px 2px rgba(10, 12, 16, .05), 0 18px 40px -22px rgba(10, 12, 16, .28);
  --shadow-lg: 0 40px 90px -35px rgba(10, 12, 16, .4);
  --glass: rgba(255, 255, 255, .78);
  --ok: #138a47;
  --warn: #9a5b00;
  color-scheme: light;
}
[data-theme="light"][data-accent="red"], [data-theme="light"]:not([data-accent]) { --accent: #c8141f; --accent-hi: #b3121c; --accent-soft: rgba(200, 20, 31, .09); }
[data-theme="light"][data-accent="blue"] { --accent: #1a5fe6; --accent-hi: #1652c7; --accent-soft: rgba(26, 95, 230, .09); }
[data-theme="light"][data-accent="copper"] { --accent: #d57a2f; --accent-hi: #9c4f12; --accent-soft: rgba(213, 122, 47, .12); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.65 var(--font); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; min-height: 100vh;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-stretch: var(--wide); letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
h2[tabindex="-1"]:focus, [data-success]:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: 12px; transform: translateY(-300%); z-index: 200; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { transform: none; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.section--alt { background: var(--bg-2); }
.section--line { border-top: 1px solid var(--line); }
.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.split { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr .85fr; }
  .split--wide-right { grid-template-columns: .85fr 1.15fr; }
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-hi); font-stretch: 110%;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent-grad); border-radius: 2px; }
.eyebrow--center::after { content: ""; width: 28px; height: 2px; background: var(--accent-grad); border-radius: 2px; }
.h-display { font-size: clamp(2.6rem, 6.6vw, 5.6rem); line-height: .96; letter-spacing: -.03em; }
.h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); line-height: 1; letter-spacing: -.025em; }
.h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.15; }
.h4 { font-size: 1.08rem; line-height: 1.25; letter-spacing: -.01em; }
.chrome { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent-text { color: var(--accent-hi); }
.lead { font-size: clamp(1.06rem, 1.35vw, 1.22rem); color: var(--text-2); line-height: 1.6; }
.muted { color: var(--text-2); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; color: var(--text-3); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--row { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--row { grid-template-columns: 1.2fr .8fr; gap: 48px; } }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--surface-2); --b-fg: var(--text); --b-line: var(--line-2);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 12px; border: 1px solid var(--b-line);
  background: var(--b-bg); color: var(--b-fg); font-weight: 700; font-size: .98rem; letter-spacing: .005em;
  font-stretch: 108%; white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  --b-bg: var(--accent); --b-fg: var(--on-accent); --b-line: transparent;
  background: var(--accent-grad);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .28) inset, 0 12px 30px -10px var(--accent-glow);
}
.btn--primary::after { /* sheen sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 18px 44px -10px var(--accent-glow); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { --b-bg: transparent; }
.btn--ghost:hover { --b-line: var(--text-3); background: var(--surface-2); }
.btn--glass { --b-bg: rgba(255, 255, 255, .06); --b-line: rgba(255, 255, 255, .2); --b-fg: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--glass:hover { --b-bg: rgba(255, 255, 255, .12); }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 1.04rem; border-radius: 14px; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .9rem; border-radius: 10px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-hi); font-stretch: 108%; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
  font-size: .85rem; font-weight: 600; color: var(--text-2);
}
.chip svg { width: 16px; height: 16px; color: var(--accent-hi); }
.pill-live { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.pill-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: pulse 2s infinite; }
.pill-live.is-closed i { background: var(--text-3); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); } 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.stars { display: inline-flex; gap: 2px; color: #ffc233; }
.stars svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }

/* ---------- Icons ---------- */
.i { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-tile {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent-hi); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.icon-tile .i { width: 24px; height: 24px; }

/* ---------- Top bar + header ---------- */
.topbar { background: #000; color: #c9ced6; font-size: .82rem; border-bottom: 1px solid rgba(255, 255, 255, .06); position: relative; z-index: 61; }
[data-theme="light"] .topbar { background: #0c0e12; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar a { color: #fff; font-weight: 700; }
.topbar a:hover { color: var(--accent-2); }
.topbar__group { display: flex; align-items: center; gap: 22px; }
.topbar__tow { display: inline-flex; align-items: center; gap: 8px; }
.topbar__tow svg { width: 16px; height: 16px; color: var(--accent-2); }
.topbar .pill-live { color: #c9ced6; font-weight: 600; }
@media (max-width: 760px) { .topbar__hide-sm { display: none !important; } .topbar .container { justify-content: center; } }

.header { position: sticky; top: 0; z-index: 60; transition: background-color .35s var(--ease), border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.header.is-scrolled, .header--solid { background: var(--glass); border-bottom-color: var(--line); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); }
.page-home .header:not(.is-scrolled) { --text: #fff; color: #fff; }
.page-home .header { position: fixed; left: 0; right: 0; top: 40px; }
.page-home .header.is-scrolled { top: 0; }
@media (max-width: 760px) { .page-home .header { top: 40px; } }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); flex: none; }
.brand__mark { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--accent-grad); color: var(--on-accent); box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 8px 20px -8px var(--accent-glow); }
.brand__mark svg { width: 100%; height: 100%; }
.brand__word { display: grid; line-height: 1; }
.brand__name { font-weight: 800; font-size: 1.12rem; letter-spacing: .16em; font-stretch: 125%; }
.brand__sub { font-size: .6rem; letter-spacing: .32em; font-weight: 600; color: var(--text-3); margin-top: 5px; font-stretch: 112%; }
.page-home .header:not(.is-scrolled) .brand__sub { color: rgba(255, 255, 255, .6); }

.nav { display: none; }
.nav a { position: relative; padding: 10px 2px; font-weight: 600; font-size: .95rem; color: var(--text-2); transition: color .2s; }
.page-home .header:not(.is-scrolled) .nav a { color: rgba(255, 255, 255, .78); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.page-home .header:not(.is-scrolled) .nav a:hover { color: #fff; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent-grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header__phone { display: none; align-items: center; gap: 10px; font-weight: 700; font-stretch: 108%; }
.header__phone small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.page-home .header:not(.is-scrolled) .header__phone small { color: rgba(255, 255, 255, .6); }
.header__phone .icon-ring { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); }
.header__phone .icon-ring svg { width: 18px; height: 18px; color: var(--accent-hi); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); color: inherit; transition: background-color .2s, border-color .2s; }
.icon-btn:hover { background: var(--surface-2); }
.page-home .header:not(.is-scrolled) .icon-btn { border-color: rgba(255, 255, 255, .22); }
.page-home .header:not(.is-scrolled) .icon-btn:hover { background: rgba(255, 255, 255, .1); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
[data-theme="light"] .theme-toggle .i-sun { display: block; }
[data-theme="light"] .theme-toggle .i-moon { display: none; }
.header__estimate { display: none; }
@media (min-width: 1100px) {
  .nav { display: flex; gap: 30px; }
  .menu-btn { display: none !important; }
  .header__estimate { display: inline-flex; }
}
@media (min-width: 1240px) { .header__phone { display: inline-flex; } }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .35s var(--ease); backdrop-filter: blur(4px); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg-2);
  border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%);
  transition: transform .45s var(--ease); overflow-y: auto; overscroll-behavior: contain;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); min-height: var(--header-h); }
.drawer__nav { display: grid; padding: 12px 20px; }
.drawer__nav a { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 1.3rem; font-weight: 700; font-stretch: 112%; letter-spacing: -.01em; }
.drawer__nav a svg { width: 20px; height: 20px; color: var(--text-3); }
.drawer__nav a[aria-current="page"] { color: var(--accent-hi); }
.drawer__foot { margin-top: auto; padding: 20px; display: grid; gap: 12px; border-top: 1px solid var(--line); }
.drawer__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body.no-scroll { overflow: hidden; }

/* ---------- Accent / paint picker ---------- */
.paint { display: inline-flex; align-items: center; gap: 6px; }
.paint__label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--text-3); margin-right: 4px; }
.swatch {
  position: relative; width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent;
  box-shadow: 0 0 0 1px var(--line-2); transition: transform .2s var(--ease), box-shadow .2s;
}
.swatch::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 -4px 8px rgba(0, 0, 0, .35), inset 0 3px 5px rgba(255, 255, 255, .45); }
.swatch:hover { transform: scale(1.1); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--text); }
.swatch[data-set-accent="red"] { --sw: radial-gradient(circle at 35% 30%, #ff7079, #d91e2b 55%, #6f0a12); }
.swatch[data-set-accent="blue"] { --sw: radial-gradient(circle at 35% 30%, #8cb8ff, #1f6bff 55%, #082b7c); }
.swatch[data-set-accent="copper"] { --sw: radial-gradient(circle at 35% 30%, #ffd09c, #e2873c 55%, #7a3a0e); }

.paintdock {
  position: fixed; left: 14px; top: 50%; transform: translateY(-50%); z-index: 50;
  display: none; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}
.paintdock .paint { flex-direction: column; gap: 8px; }
.paintdock .paint__label { writing-mode: vertical-rl; transform: rotate(180deg); margin: 0 0 4px; font-size: .62rem; color: var(--text-3); }
.paintdock .swatch { width: 24px; height: 24px; }
@media (min-width: 1100px) { .paintdock { display: flex; } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: flex-end; overflow: hidden; background: #050506; color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--overlay); }
[data-theme="light"] .hero::before { background: linear-gradient(90deg, rgba(8, 9, 11, .92) 0%, rgba(8, 9, 11, .72) 40%, rgba(8, 9, 11, .1) 80%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: -1; background: linear-gradient(0deg, #050506 0%, transparent 100%); }
.hero__glow { position: absolute; z-index: -1; width: 60vw; height: 60vw; left: -20vw; bottom: -30vw; border-radius: 50%; background: radial-gradient(circle, var(--accent-glow), transparent 65%); opacity: .5; filter: blur(20px); pointer-events: none; }
.hero .container { padding-top: calc(var(--header-h) + 90px); padding-bottom: clamp(40px, 6vw, 72px); display: grid; gap: 40px; }
@media (min-width: 1100px) { .hero .container { grid-template-columns: 1fr 400px; align-items: end; gap: 56px; } }
.hero__copy { display: grid; gap: 26px; max-width: 760px; }
.hero .eyebrow { color: #fff; }
.hero .lead { color: rgba(255, 255, 255, .78); max-width: 580px; }
.hero h1 .chrome { background: linear-gradient(180deg, #fff 0%, #e8eaee 50%, #9aa2ad 100%); -webkit-background-clip: text; background-clip: text; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 6px; color: rgba(255, 255, 255, .8); font-size: .9rem; font-weight: 600; }
.hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof svg { width: 18px; height: 18px; color: var(--accent-2); }
.hero__proof .stars svg { width: 15px; height: 15px; color: #ffc233; }

/* Quick-estimate glass card */
.qcard {
  position: relative; padding: 26px; border-radius: var(--radius-lg); color: #fff;
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);
}
.qcard::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, var(--accent-2), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: .8; }
.qcard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.qcard__title { font-size: 1.2rem; font-weight: 800; font-stretch: 112%; }
.qcard__time { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .85); }
.qcard p { color: rgba(255, 255, 255, .7); font-size: .92rem; margin-bottom: 18px; }
.qcard__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 16px; }
.qopt {
  display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 14px; border-radius: 12px; font-size: .9rem; font-weight: 600;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-align: left;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.qopt svg { width: 18px; height: 18px; color: var(--accent-2); flex: none; }
.qopt:hover { background: rgba(255, 255, 255, .12); transform: translateY(-1px); }
.qopt[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent-2); }
.qcard__foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .8rem; color: rgba(255, 255, 255, .65); }
.qcard__foot svg { width: 16px; height: 16px; color: var(--ok); }

@media (max-width: 760px) {
  .hero::before { background: linear-gradient(180deg, rgba(8, 9, 11, .35) 0%, rgba(8, 9, 11, .7) 38%, rgba(8, 9, 11, .94) 70%); }
  .hero__media img { object-position: 78% 30%; }
}

/* ---------- Marquee (insurers) ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.marquee__inner { display: flex; align-items: center; gap: 28px; padding-block: 22px; }
.marquee__label { flex: none; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--text-3); padding-left: var(--gutter); }
@media (min-width: 1240px) { .marquee__label { padding-left: calc((100vw - var(--container)) / 2); } }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; }
.marquee__viewport { overflow: hidden; flex: 1; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track span { font-weight: 800; font-stretch: 118%; font-size: 1.05rem; color: var(--text-3); letter-spacing: -.01em; white-space: nowrap; transition: color .2s; }
.marquee__track span:hover { color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; }
  .svc-grid .svc:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .svc-grid .svc:nth-child(6), .svc-grid .svc--cta { grid-column: span 2; }
}
.svc {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 24px;
  border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; color: #fff; background: #111;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.9); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 6, 8, .95) 0%, rgba(5, 6, 8, .55) 45%, rgba(5, 6, 8, .05) 100%); transition: opacity .4s; }
.svc:hover img { transform: scale(1.07); filter: saturate(1.05); }
.svc__tag { position: absolute; top: 20px; left: 20px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.svc h3 { font-size: clamp(1.3rem, 1.9vw, 1.7rem); margin-bottom: 8px; }
.svc:nth-child(1) h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.svc p { color: rgba(255, 255, 255, .74); font-size: .94rem; max-width: 460px; }
.svc__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; font-size: .9rem; color: #fff; }
.svc__go svg { width: 18px; height: 18px; transition: transform .3s var(--ease); color: var(--accent-2); }
.svc:hover .svc__go svg { transform: translateX(5px); }
.svc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .3s; pointer-events: none; }
.svc:hover::after { box-shadow: inset 0 0 0 1px var(--accent-2); }

.svc--cta { background: var(--accent-grad); color: var(--on-accent); border: 0; justify-content: space-between; }
.svc--cta::before { display: none; }
.svc--cta p { color: inherit; opacity: .9; }
.svc--cta .svc__go { color: inherit; }
.svc--cta .svc__go svg { color: inherit; }
.svc--cta .icon-tile { background: rgba(255, 255, 255, .16); color: inherit; border-color: rgba(255, 255, 255, .25); }

/* ---------- Feature cards ---------- */
.card {
  position: relative; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius-lg); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .3s;
}
.card:hover { border-color: var(--line-2); }
.card--lift:hover { transform: translateY(-4px); }
.card h3 { margin: 18px 0 10px; }
.card p { color: var(--text-2); }
.cards-3 { display: grid; gap: 16px; }
@media (min-width: 720px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.cards-4 { display: grid; gap: 16px; }
@media (min-width: 640px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Process ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 28px 24px 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; right: 16px; top: 4px; font-size: 5.5rem; font-weight: 900; font-stretch: 125%; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-2); letter-spacing: -.04em; }
.step h3 { margin: 22px 0 10px; font-size: 1.2rem; }
.step p { color: var(--text-2); font-size: .95rem; }
.step__bar { position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--line); }
.step__bar::after { content: ""; position: absolute; inset: 0; background: var(--accent-grad); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
.step.is-in .step__bar::after { transform: scaleX(1); }
.step:nth-child(2) .step__bar::after { transition-delay: .2s; }
.step:nth-child(3) .step__bar::after { transition-delay: .4s; }
.step:nth-child(4) .step__bar::after { transition-delay: .6s; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); padding: clamp(22px, 3vw, 36px); display: grid; gap: 6px; }
.stat__num { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 800; font-stretch: 118%; letter-spacing: -.03em; line-height: 1; }
.stat__num em { font-style: normal; color: var(--accent-hi); }
.stat__label { color: var(--text-2); font-size: .92rem; }

/* ---------- Before / after slider ---------- */
.ba { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #000; aspect-ratio: 3 / 2; user-select: none; -webkit-user-select: none; touch-action: pan-y; border: 1px solid var(--line); box-shadow: var(--shadow-lg); --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 20px rgba(0, 0, 0, .5); pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(10, 11, 13, .55); border: 2px solid #fff; display: grid; place-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: transform .2s var(--ease); }
.ba__knob svg { width: 26px; height: 26px; }
.ba:hover .ba__knob, .ba.is-drag .ba__knob { transform: scale(1.08); }
.ba__label { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; background: rgba(0, 0, 0, .55); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.ba__label--b { left: 16px; }
.ba__label--a { right: 16px; background: var(--accent); color: var(--on-accent); }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; touch-action: pan-y; }
.ba input[type="range"]:focus-visible + .ba__handle .ba__knob { outline: 3px solid var(--accent-hi); outline-offset: 3px; }
.ba-hint { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .85rem; color: var(--text-3); }
.ba-hint svg { width: 16px; height: 16px; }

/* ---------- Reviews ---------- */
.reviews-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 400px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; -webkit-overflow-scrolling: touch; }
.reviews-rail > * { scroll-snap-align: start; }
.review { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.review blockquote { margin: 0; font-size: 1.02rem; line-height: 1.65; color: var(--text); }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9rem; background: var(--accent-soft); color: var(--accent-hi); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); flex: none; }
.review__name { font-weight: 700; font-size: .95rem; }
.review__meta { font-size: .8rem; color: var(--text-3); }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.review__src { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.rail-nav { display: flex; gap: 10px; }

/* ---------- Photo frame ---------- */
.frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--surface); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame__badge { position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.frame__badge strong { display: block; font-size: .98rem; }
.frame__badge span { font-size: .82rem; color: var(--text-2); }
@media (max-width: 560px) { .frame__badge { left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; gap: 10px; } .frame__badge .icon-tile { width: 38px; height: 38px; } .frame__badge span:not(.icon-tile) { display: none; } }

/* ---------- Checklist ---------- */
.checks { list-style: none; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; color: var(--text-2); }
.checks li strong { color: var(--text); display: block; margin-bottom: 2px; }
.checks .tick { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-hi); margin-top: 1px; }
.checks .tick svg { width: 16px; height: 16px; stroke-width: 2.5; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, background-color .25s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; cursor: pointer; font-weight: 700; font-size: 1.04rem; letter-spacing: -.005em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 28px; height: 28px; flex: none; border-radius: 8px; border: 1px solid var(--line-2); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--accent-hi); border-radius: 2px; transition: transform .3s var(--ease); }
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] .plus::after { transform: rotate(0); }
.faq .faq__a { padding: 0 22px 22px; color: var(--text-2); max-width: 760px; }
.faq .faq__a p + p { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: clamp(20px, 3vw, 32px); padding: clamp(36px, 6vw, 80px); background: #0b0c0f; color: #fff; isolation: isolate; border: 1px solid rgba(255, 255, 255, .08); }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 9, 11, .96) 20%, rgba(8, 9, 11, .6) 70%, rgba(8, 9, 11, .3)); }
.cta-band::after { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -200px; border-radius: 50%; background: radial-gradient(circle, var(--accent-glow), transparent 65%); z-index: -1; }
.cta-band__inner { display: grid; gap: 28px; max-width: 700px; }
.cta-band .lead { color: rgba(255, 255, 255, .75); }
.cta-band .eyebrow { color: #fff; }

/* ---------- Visit / map ---------- */
.visit { display: grid; gap: 16px; }
@media (min-width: 960px) { .visit { grid-template-columns: 1.3fr 1fr; } }
.map {
  position: relative; min-height: 380px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  background: var(--surface);
}
.map svg.map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__pin { position: absolute; left: 56%; top: 46%; transform: translate(-50%, -100%); display: grid; justify-items: center; gap: 8px; }
.map__pin .dot { width: 56px; height: 56px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent-grad); display: grid; place-items: center; box-shadow: 0 14px 30px -8px var(--accent-glow); }
.map__pin .dot svg { transform: rotate(45deg); width: 26px; height: 26px; color: var(--on-accent); }
.map__pin .ring { position: absolute; bottom: -10px; width: 22px; height: 8px; border-radius: 50%; background: rgba(0, 0, 0, .4); }
.map__card { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.hours { list-style: none; display: grid; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); font-size: .95rem; }
.hours li:last-child { border-bottom: 0; }
.hours li.is-today { color: var(--accent-hi); font-weight: 700; }
.hours span:last-child { font-variant-numeric: tabular-nums; }

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); isolation: isolate; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(900px 420px at 85% -10%, var(--accent-soft), transparent 70%),
  radial-gradient(700px 400px at -10% 110%, rgba(255, 255, 255, .03), transparent 70%); }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 70%); mask: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 70%); }
.phero .container { display: grid; gap: 22px; }
.phero--img { color: #fff; border-bottom: 0; background: #07080a; min-height: 520px; display: flex; align-items: flex-end; }
.phero--img .container { width: min(100% - 2 * var(--gutter), var(--container)); }
.phero--img::before { background: linear-gradient(90deg, rgba(7, 8, 10, .95) 0%, rgba(7, 8, 10, .7) 50%, rgba(7, 8, 10, .25) 100%), linear-gradient(0deg, rgba(7, 8, 10, .9), transparent 50%); z-index: -1; }
.phero--img::after { display: none; }
.phero__img { position: absolute; inset: 0; z-index: -2; }
.phero__img img { width: 100%; height: 100%; object-fit: cover; }
.phero--img .lead { color: rgba(255, 255, 255, .78); }
.phero--img .eyebrow { color: #fff; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: var(--text-3); }
.phero--img .crumbs { color: rgba(255, 255, 255, .6); }
.crumbs a:hover { color: var(--accent-hi); }
.crumbs span[aria-hidden] { opacity: .5; }
.page-inner .header { background: var(--glass); border-bottom-color: var(--line); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); }

/* ---------- Service detail rows ---------- */
.svc-row { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.svc-row:first-of-type { border-top: 0; }
@media (min-width: 960px) {
  .svc-row { grid-template-columns: 1fr 1fr; }
  .svc-row:nth-of-type(even) .svc-row__media { order: 2; }
}
.svc-row__media { aspect-ratio: 4 / 3; }
.svc-row__body { display: grid; gap: 18px; }
.svc-row__num { font-size: .8rem; font-weight: 800; letter-spacing: .2em; color: var(--accent-hi); }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 4px; }
.spec { padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.spec b { display: block; font-size: 1.15rem; font-stretch: 112%; }
.spec span { font-size: .8rem; color: var(--text-3); }
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: var(--glass); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--text-2); border: 1px solid transparent; transition: all .2s; }
.subnav a:hover, .subnav a.is-active { color: var(--text); border-color: var(--line-2); background: var(--surface); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); }
table.t { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
.t th, .t td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.t thead th { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); background: var(--surface-2); }
.t tbody tr:last-child td { border-bottom: 0; }
.t td:first-child { font-weight: 700; }
.t .yes { color: var(--ok); font-weight: 700; }
.t .no { color: var(--text-3); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; }
.field > label, .label { font-size: .85rem; font-weight: 700; letter-spacing: .01em; color: var(--text); }
.label .opt { font-weight: 500; color: var(--text-3); }
.input, .select, .textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); color: var(--text);
  border: 1px solid var(--line-2); font-size: 1rem; transition: border-color .2s, box-shadow .2s, background-color .2s; -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238a919b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--text-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent-hi); box-shadow: 0 0 0 4px var(--accent-soft); background: var(--surface); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #ff5d5d; }
.field .err { display: none; font-size: .8rem; color: #ff7676; font-weight: 600; }
[data-theme="light"] .field .err { color: #c41d1d; }
.field.has-error .err { display: block; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--surface-2); font-weight: 600; font-size: .95rem; transition: all .2s; line-height: 1.25;
}
.choice span svg { width: 20px; height: 20px; color: var(--text-3); flex: none; transition: color .2s; }
.choice input:hover + span { border-color: var(--text-3); }
.choice input:checked + span { border-color: var(--accent-hi); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent-hi) inset; }
.choice input:checked + span svg { color: var(--accent-hi); }
.choice input:focus-visible + span { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 44px; padding: 0 18px; border-radius: 10px; font-weight: 700; font-size: .92rem; color: var(--text-2); transition: all .2s; white-space: nowrap; }
.seg input:checked + span { background: var(--surface); color: var(--text); box-shadow: 0 1px 0 var(--line-2), 0 6px 16px -8px rgba(0, 0, 0, .6); }
[data-theme="dark"] .seg input:checked + span, :root:not([data-theme="light"]) .seg input:checked + span { background: var(--surface-3); }
.seg input:focus-visible + span { outline: 2px solid var(--accent-hi); outline-offset: 1px; }

/* ---------- Estimate wizard ---------- */
.wiz { display: grid; gap: 24px; }
@media (min-width: 1100px) { .wiz { grid-template-columns: 1fr 360px; align-items: start; } }
.wiz__panel { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.wiz__progress { display: flex; gap: 6px; padding: 20px clamp(20px, 3vw, 36px) 0; }
.wiz__progress i { flex: 1; height: 4px; border-radius: 4px; background: var(--surface-3); position: relative; overflow: hidden; }
.wiz__progress i::after { content: ""; position: absolute; inset: 0; background: var(--accent-grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.wiz__progress i.is-done::after { transform: scaleX(1); }
.wiz__meta { display: flex; justify-content: space-between; gap: 12px; padding: 14px clamp(20px, 3vw, 36px) 0; font-size: .8rem; color: var(--text-3); font-weight: 600; letter-spacing: .04em; }
.wiz__step { display: none; padding: clamp(20px, 3vw, 36px); animation: stepIn .45s var(--ease); }
.wiz__step.is-active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wiz__step h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 8px; }
.wiz__step > p.muted { margin-bottom: 26px; }
.wiz__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px clamp(20px, 3vw, 36px); border-top: 1px solid var(--line); background: var(--surface-2); }
.wiz__nav .btn[hidden] { display: none; }
.wiz__aside { display: grid; gap: 16px; }
@media (max-width: 1099px) { .wiz__aside > .card:first-child { display: none; } }
@media (min-width: 1100px) { .wiz__aside { position: sticky; top: calc(var(--header-h) + 20px); } }
.wiz-sum { list-style: none; display: grid; gap: 12px; font-size: .9rem; }
.wiz-sum li { display: grid; grid-template-columns: 118px 1fr; gap: 10px; }
.wiz-sum li span:first-child { color: var(--text-3); font-weight: 600; }
.wiz-sum li span:last-child { font-weight: 600; }
.stack { display: grid; gap: 22px; }

.damage { display: grid; gap: 24px; }
@media (min-width: 760px) { .damage { grid-template-columns: 280px 1fr; align-items: start; } }
.carmap { position: relative; padding: 16px; border-radius: var(--radius-lg); background:
  radial-gradient(circle at 50% 40%, var(--surface-2), var(--surface) 70%); border: 1px solid var(--line); }
.carmap svg { width: 100%; max-width: 250px; margin-inline: auto; height: auto; }
.carmap .zone { fill: var(--surface-3); stroke: var(--line-2); stroke-width: 1.5; cursor: pointer; transition: fill .2s, stroke .2s; }
.carmap .zone:hover { fill: color-mix(in srgb, var(--accent) 35%, var(--surface-3)); }
.carmap .zone[aria-checked="true"] { fill: var(--accent); stroke: var(--accent-hi); }
.carmap .zone:focus-visible { outline: none; stroke: var(--text); stroke-width: 3; }
.carmap .glass { fill: color-mix(in srgb, var(--text) 10%, var(--surface)); pointer-events: none; }
.carmap .wheel { fill: #050506; stroke: var(--line-2); }
[data-theme="light"] .carmap .wheel { fill: #2a2e35; }
.carmap .front-label { font-size: 11px; font-weight: 800; letter-spacing: .2em; fill: var(--text-3); }
.carmap__legend { display: flex; justify-content: center; gap: 16px; margin-top: 10px; font-size: .78rem; color: var(--text-3); }
.carmap__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.zone-list { display: flex; flex-wrap: wrap; gap: 8px; }
.zone-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); font-size: .85rem; font-weight: 600; transition: all .2s; }
.zone-pill[aria-pressed="true"] { background: var(--accent); border-color: transparent; color: var(--on-accent); }
.zone-pill:hover { border-color: var(--text-3); }

.drop {
  position: relative; display: grid; place-items: center; gap: 10px; padding: 36px 20px; text-align: center; border-radius: var(--radius-lg);
  border: 2px dashed var(--line-2); background: var(--surface-2); transition: border-color .2s, background-color .2s;
}
.drop.is-over { border-color: var(--accent-hi); background: var(--accent-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .icon-tile { width: 60px; height: 60px; }
.drop strong { font-size: 1.1rem; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface-2); animation: stepIn .3s var(--ease); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, .7); color: #fff; display: grid; place-items: center; }
.thumb button svg { width: 14px; height: 14px; }
.shot-tips { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.shot-tip { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: .85rem; color: var(--text-2); }
.shot-tip b { color: var(--text); display: block; font-size: .9rem; }
.shot-tip svg { width: 22px; height: 22px; color: var(--accent-hi); flex: none; }

.ballpark { padding: 22px; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--accent-soft), transparent 70%), var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); }
.ballpark__range { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; font-stretch: 115%; letter-spacing: -.02em; margin: 6px 0; }
.review-list { display: grid; gap: 0; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.review-list div { display: grid; grid-template-columns: 130px 1fr auto; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: .92rem; align-items: center; }
.review-list div:last-child { border-bottom: 0; }
.review-list dt { color: var(--text-3); font-weight: 600; }
.review-list dd { margin: 0; font-weight: 600; }
.review-list button { font-size: .8rem; color: var(--accent-hi); font-weight: 700; }
@media (max-width: 520px) { .review-list div { grid-template-columns: 1fr auto; } .review-list dt { grid-column: 1 / -1; } }

/* success */
.success { text-align: center; padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 48px); display: grid; justify-items: center; gap: 18px; }
.success__check { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-grad); color: var(--on-accent); box-shadow: 0 0 0 10px var(--accent-soft), 0 20px 50px -10px var(--accent-glow); animation: pop .6s var(--ease); }
.success__check svg { width: 42px; height: 42px; stroke-width: 2.6; }
.success__check path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .3s var(--ease) forwards; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ref { display: inline-flex; gap: 10px; align-items: center; padding: 8px 16px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.timeline { list-style: none; display: grid; gap: 0; text-align: left; width: min(100%, 520px); margin-top: 8px; }
.timeline li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding-bottom: 22px; }
.timeline li::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--line-2); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); font-weight: 800; font-size: .85rem; }
.timeline li:first-child .dot { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.timeline strong { display: block; }
.timeline span { color: var(--text-2); font-size: .92rem; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s var(--ease); }
.modal.is-open .modal__scrim { opacity: 1; }
.modal__box { position: relative; width: min(560px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); transform: translateY(20px) scale(.98); opacity: 0; transition: transform .4s var(--ease), opacity .3s; overscroll-behavior: contain; }
.modal.is-open .modal__box { transform: none; opacity: 1; }
.modal__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.modal__head h2 { font-size: 1.3rem; }
.modal__body { padding: 24px; display: grid; gap: 16px; }
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; font-size: .9rem; background: rgba(255, 176, 32, .1); border: 1px solid rgba(255, 176, 32, .35); color: var(--text); }
.alert svg { width: 20px; height: 20px; color: var(--warn); flex: none; margin-top: 1px; }
.loc-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.loc-row .btn { min-height: 54px; }
@media (max-width: 767px) {
  .modal { padding: 0; place-items: end stretch; }
  .modal__box { width: 100%; border-radius: 22px 22px 0 0; max-height: 92svh; transform: translateY(100%); }
}

/* ---------- Sticky mobile bar ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--glass); border-top: 1px solid var(--line-2); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); transform: translateY(0); transition: transform .35s var(--ease); }
.mbar a, .mbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 12px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); }
.mbar svg { width: 20px; height: 20px; }
.mbar .mbar__main { background: var(--accent-grad); color: var(--on-accent); border: 0; font-size: .82rem; box-shadow: 0 8px 22px -8px var(--accent-glow); }
.mbar .mbar__tow svg { color: var(--accent-hi); }
@media (min-width: 1100px) { .mbar { display: none; } }
@media (max-width: 1099px) { :root { --bar-h: 72px; } body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }

/* ---------- Footer ---------- */
.footer { position: relative; background: #050506; color: #c3c8cf; padding-top: clamp(64px, 8vw, 110px); overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .06); }
.footer::before { content: ""; position: absolute; left: 50%; top: 0; width: 900px; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--accent-2), transparent); opacity: .7; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer h4 { color: #fff; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; font-weight: 800; }
.footer ul { list-style: none; display: grid; gap: 12px; font-size: .95rem; }
.footer .brand { color: #fff; }
.footer .brand__sub { color: #8a919b; }
.footer__about { display: grid; gap: 20px; max-width: 380px; font-size: .95rem; color: #9ea5ae; }
.footer__certs { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__certs span { font-size: .72rem; font-weight: 700; letter-spacing: .08em; padding: 7px 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .14); color: #d7dbe0; }
.footer__big { margin-top: clamp(48px, 7vw, 90px); font-size: clamp(3rem, 12vw, 11rem); font-weight: 900; font-stretch: 125%; line-height: .8; letter-spacing: -.04em; text-align: center; background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; white-space: nowrap; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; color: #8a919b; }
.footer .pill-live { color: #c3c8cf; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: .9rem; color: var(--text-2); transition: all .2s; }
.filter:hover { color: var(--text); border-color: var(--text-3); }
.filter[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: transparent; }
.case-grid { display: grid; gap: clamp(20px, 3vw, 36px); }
@media (min-width: 960px) { .case-grid { grid-template-columns: 1fr 1fr; } }
.case { display: grid; gap: 16px; transition: opacity .3s, transform .3s; }
.case[hidden] { display: none; }
.case__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.case__meta h3 { font-size: 1.25rem; }
.case__facts { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Insurance helper ---------- */
.helper { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.helper__head { padding: clamp(22px, 3vw, 36px); border-bottom: 1px solid var(--line); display: grid; gap: 22px; }
.helper__q { display: grid; gap: 12px; }
.helper__out { padding: clamp(22px, 3vw, 36px); display: grid; gap: 22px; background: var(--surface-2); }
.helper__out h3 { font-size: 1.4rem; }
.ins-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.ins-grid .choice span { justify-content: center; text-align: center; font-weight: 700; font-stretch: 108%; }
.plan { list-style: none; display: grid; gap: 12px; counter-reset: plan; }
.plan li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.plan li::before { counter-increment: plan; content: counter(plan); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-hi); font-weight: 800; }
.plan strong { display: block; margin-bottom: 2px; }
.plan span { color: var(--text-2); font-size: .94rem; }
.rights { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--accent-grad); color: var(--on-accent); }
.rights::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .1); }
.rights p { opacity: .92; }
.gloss { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
@media (min-width: 760px) { .gloss { grid-template-columns: 1fr 1fr; } }
.gloss div { background: var(--surface); padding: 22px 24px; }
.gloss dt { font-weight: 800; margin-bottom: 6px; font-stretch: 108%; }
.gloss dd { margin: 0; color: var(--text-2); font-size: .94rem; }

/* ---------- Reviews page ---------- */
.rating-sum { display: grid; gap: 28px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 860px) { .rating-sum { grid-template-columns: 260px 1fr; align-items: center; } }
.rating-big { font-size: 5rem; font-weight: 900; font-stretch: 118%; line-height: 1; letter-spacing: -.04em; }
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 34px 1fr 48px; gap: 12px; align-items: center; font-size: .88rem; color: var(--text-2); }
.bar i { display: block; height: 8px; border-radius: 8px; background: var(--surface-3); overflow: hidden; }
.bar i b { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, #ffc233, #ff9f1a); border-radius: inherit; }
.masonry { columns: 1; column-gap: 16px; }
@media (min-width: 720px) { .masonry { columns: 2; } }
@media (min-width: 1100px) { .masonry { columns: 3; } }
.masonry > * { break-inside: avoid; margin-bottom: 16px; }
.masonry > [hidden] { display: none; }

/* ---------- Team ---------- */
.team { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.person { padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; }
.person .avatar { width: 64px; height: 64px; font-size: 1.2rem; border-radius: 18px; }
.person h3 { font-size: 1.1rem; }
.person p { color: var(--text-2); font-size: .9rem; }
.person .role { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hi); }

.timeline-h { display: grid; gap: 0; position: relative; }
@media (min-width: 900px) { .timeline-h { grid-template-columns: repeat(5, 1fr); } }
.tl { position: relative; padding: 28px 22px 0 0; border-top: 2px solid var(--line-2); }
.tl::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.tl b { font-size: 1.8rem; font-weight: 900; font-stretch: 120%; letter-spacing: -.02em; display: block; margin-bottom: 8px; }
.tl p { color: var(--text-2); font-size: .92rem; padding-bottom: 28px; }
@media (max-width: 899px) { .tl { border-top: 0; border-left: 2px solid var(--line-2); padding: 0 0 0 26px; } .tl::before { top: 6px; left: -7px; } }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ccard { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .3s var(--ease); }
.ccard:hover { border-color: var(--accent-hi); transform: translateY(-3px); }
.ccard small { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-weight: 700; }
.ccard strong { font-size: 1.06rem; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--bar-h)); z-index: 120; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-lg); transition: all .35s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Utilities ---------- */
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 40px; } .mt-xl { margin-top: 64px; }
.center { text-align: center; }
.hide-sm { display: none; }
@media (min-width: 760px) { .hide-sm { display: initial; } }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.noise::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .035; background-image: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
