/* Crystal Clear Automotive — Variant B (upgraded for 2026 best practices)
 * v2.1 — 2026-05-01
 * Tokens from /brand/BRAND_GUIDE.md (Palette A — Headlight Beam)
 * Audit ref: /research/design-review-2026.md
 * Brand v2 ref: /research/brand-review-may-2026.md
 *
 * Token architecture (May 2026 standard):
 *   primitive (--p-*)  →  semantic (--surface-*, --text-*, --accent, --signal)
 *   sRGB hex fallback first, OKLCH/P3 elevation second via @supports + media query
 */

:root {
  color-scheme: light dark;

  /* ---- PRIMITIVES (sRGB hex fallback) ---- */
  --p-white: #FFFFFF;
  --p-ink-100: #F7FAFC;
  --p-ink-200: #EEF2F6;
  --p-ink-300: #E2E8F0;
  --p-ink-400: #94A3B8;
  --p-ink-500: #475569;
  --p-ink-600: #334155;
  --p-ink-700: #1F2A3D;
  --p-ink-800: #131C2E;
  --p-ink-900: #0E1726;
  --p-ink-950: #08101C;

  --p-cyan-50:  #E6F8FC;
  --p-cyan-400: #3FCDE8;
  --p-cyan-500: #00B5D8;
  --p-cyan-600: #0091B0;

  --p-amber-500: #FF8A1F;
  --p-green-500: #22C55E;

  /* ---- SEMANTIC LAYER (light theme = default for now) ---- */
  --surface-canvas: var(--p-white);
  --surface-1: var(--p-ink-100);
  --surface-2: var(--p-ink-200);
  --surface-inverse: var(--p-ink-900);

  --text-primary: var(--p-ink-900);
  --text-secondary: var(--p-ink-600);
  --text-muted: var(--p-ink-500);
  --text-on-accent: var(--p-ink-900);
  --text-inverse: var(--p-white);
  --text-muted-on-dark: rgba(247, 250, 252, 0.78);
  --text-faint-on-dark: rgba(247, 250, 252, 0.55);

  --border-subtle: var(--p-ink-300);
  --border-strong: #CBD5E1;
  --border-on-dark-subtle: rgba(247, 250, 252, 0.08);
  --border-on-dark-strong: rgba(247, 250, 252, 0.20);

  --accent: var(--p-cyan-500);
  --accent-hover: var(--p-cyan-400);
  --accent-pressed: var(--p-cyan-600);
  --accent-tint: var(--p-cyan-50);
  --accent-glow: rgba(0, 181, 216, 0.18);
  --accent-glow-strong: rgba(0, 181, 216, 0.28);

  --signal: var(--p-amber-500);
  --success: var(--p-green-500);

  /* ---- LEGACY ALIASES (so existing component classes keep working) ---- */
  --c-primary: var(--p-ink-900);
  --c-primary-2: var(--p-ink-700);
  --c-primary-3: var(--p-ink-800);
  --c-accent: var(--accent);
  --c-accent-hover: var(--accent-hover);
  --c-accent-glow: var(--accent-glow);
  --c-light: var(--p-ink-100);
  --c-light-2: var(--p-ink-200);
  --c-signal: var(--signal);
  --c-success: var(--success);
  --c-white: var(--p-white);
  --c-border: var(--border-subtle);
  --c-border-strong: var(--border-strong);
  --c-muted: var(--text-muted);
  --c-muted-on-dark: var(--text-muted-on-dark);
  --c-text-on-dark: var(--text-inverse);
  --c-text-on-light: var(--text-primary);
}

/* ---- OKLCH primitive override (modern browsers) ----
 * Perceptually-uniform expression of the same brand colors. Gives accurate
 * lightness manipulation and forms the bridge to P3 wide-gamut elevation. */
@supports (color: oklch(0% 0 0)) {
  :root {
    --p-ink-100: oklch(98.5% 0.004 230);
    --p-ink-200: oklch(96.0% 0.006 230);
    --p-ink-300: oklch(89.0% 0.010 235);
    --p-ink-400: oklch(72.0% 0.020 240);
    --p-ink-500: oklch(50.0% 0.025 245);
    --p-ink-600: oklch(35.0% 0.028 248);
    --p-ink-700: oklch(26.0% 0.032 250);
    --p-ink-800: oklch(20.0% 0.030 251);
    --p-ink-900: oklch(16.0% 0.026 252);
    --p-ink-950: oklch(11.0% 0.022 253);

    --p-cyan-50:  oklch(96.0% 0.020 215);
    --p-cyan-400: oklch(78.0% 0.110 215);
    --p-cyan-500: oklch(70.0% 0.140 215);
    --p-cyan-600: oklch(62.0% 0.145 218);

    --p-amber-500: oklch(72.0% 0.165 51);
    --p-green-500: oklch(72.0% 0.180 145);

    --accent-glow: oklch(70% 0.140 215 / 0.18);
    --accent-glow-strong: oklch(70% 0.140 215 / 0.28);
  }
}

/* ---- P3 wide-gamut elevation ----
 * On displays that support Display P3 (most iPhones since 2016, all M-series
 * Macs, modern OLED Android), elevate the brand accent to a richer expression.
 * Other tokens stay within sRGB-renderable OKLCH so they look identical. */
@media (color-gamut: p3) {
  @supports (color: oklch(0% 0 0)) {
    :root {
      --p-cyan-400: oklch(78.0% 0.155 215);
      --p-cyan-500: oklch(70.0% 0.180 215);
      --p-cyan-600: oklch(62.0% 0.180 218);
      --p-amber-500: oklch(72.0% 0.195 51);
    }
  }
}

/* Continued — keeping legacy alias accessible */
:root {

  /* Type */
  --f-display: 'Sora', system-ui, -apple-system, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;

  --fs-display: clamp(2.5rem, 6.5vw, 4.5rem);
  --fs-h1: clamp(2rem, 4.5vw, 3rem);
  --fs-h2: clamp(1.75rem, 3.4vw, 2.5rem);
  --fs-h3: 1.5rem;
  --fs-lead: 1.125rem;
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Space */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2rem;
  --s-6: 3rem;
  --s-7: 4rem;
  --s-8: 6rem;
  --s-9: 8rem;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-2xl: 40px;
  --r-pill: 9999px;

  --content-max: 1280px;
  --shadow-sm: 0 2px 8px rgba(14, 23, 38, 0.06);
  --shadow-md: 0 6px 28px rgba(14, 23, 38, 0.10);
  --shadow-lg: 0 16px 56px rgba(14, 23, 38, 0.14);
  --shadow-glow: 0 0 0 1px var(--c-accent), 0 8px 32px var(--c-accent-glow);

  --t-fast: 150ms cubic-bezier(.2, .8, .2, 1);
  --t-base: 280ms cubic-bezier(.2, .8, .2, 1);
  --t-slow: 480ms cubic-bezier(.2, .8, .2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-text-on-light);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;        /* Mobile-first: prevent any rogue horizontal scroll */
  min-height: 100vh;
  min-height: 100dvh;        /* Modern viewport unit; falls back to vh */
}
/* All fixed-position bottom UI respects iOS home indicator */
.action-bar { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
img, svg { max-width: 100%; display: block; }
a { color: var(--c-accent); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-accent-hover); }

/* Accessible focus rings — WCAG 2.2 2.4.11 — 3:1 contrast guaranteed */
:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 4px;
}
button, a, summary, [tabindex] { touch-action: manipulation; }

/* Skip-to-main */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 12px 20px;
  background: var(--c-accent);
  color: var(--c-primary);
  font-weight: 700;
  border-radius: var(--r-md);
  z-index: 100;
}
.skip-link:focus { left: 16px; }

/* Type */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-3);
  color: var(--c-primary);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 var(--s-3); max-width: 64ch; }

.eyebrow {
  font-family: var(--f-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: var(--s-3);
  display: inline-block;
}
.lead { font-size: var(--fs-lead); color: var(--c-primary-2); }

/* Layout */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.5rem);   /* 16px tiny → 24px desktop */
}
/* Section vertical rhythm scales on small screens */
.section { padding: clamp(3rem, 9vw, 6rem) 0; position: relative; }
.section--dark + .section--accent::before,
.section--accent + .section--dark::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 80px;
  background: linear-gradient(180deg, currentColor 0%, transparent 100%);
  opacity: 0.04;
  pointer-events: none;
}
.section--dark { background: var(--c-primary); color: var(--c-text-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--c-white); }
.section--dark p { color: var(--c-muted-on-dark); }
.section--accent { background: var(--c-light); }

/* Buttons — min 48px target, exceeds WCAG 2.2 2.5.8 (24px) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0.95rem 1.5rem;
  min-height: 48px;
  border-radius: var(--r-md);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--primary { background: var(--c-accent); color: var(--c-primary); box-shadow: 0 6px 20px var(--c-accent-glow); }
.btn--primary:hover { background: var(--c-accent-hover); color: var(--c-primary); box-shadow: 0 10px 28px rgba(0, 181, 216, 0.3); }
.btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--c-text-on-dark);
  border-color: rgba(247, 250, 252, 0.4);
  backdrop-filter: blur(4px);
}
.btn--secondary:hover { background: var(--c-text-on-dark); color: var(--c-primary); border-color: var(--c-text-on-dark); }
.btn--signal { background: var(--c-signal); color: var(--c-primary); }
.btn--ghost {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-border-strong);
}
.btn--ghost:hover { background: var(--c-primary); color: var(--c-white); border-color: var(--c-primary); }

/* Quick-action chip */
.chip {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 0.55rem 0.9rem;
  min-height: 40px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--c-text-on-dark);
  border: 1px solid rgba(247, 250, 252, 0.2);
  font-size: var(--fs-sm); font-weight: 500;
  text-decoration: none;
  transition: all var(--t-fast);
  backdrop-filter: blur(6px);
}
.chip:hover { background: var(--c-accent); color: var(--c-primary); border-color: var(--c-accent); transform: translateY(-1px); }
.chip svg { width: 16px; height: 16px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 23, 38, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  color: var(--c-text-on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav__row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--c-white);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav__logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
.nav__wordmark { display: inline; }
.nav__wordmark span { color: var(--c-accent); }
@media (max-width: 480px) {
  .nav__wordmark { display: none; }
}
.nav__links { display: flex; gap: var(--s-5); list-style: none; padding: 0; margin: 0; }
.nav__links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500; font-size: 0.95rem;
  padding: 6px 4px;
  position: relative;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--c-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base);
}
.nav__links a:hover { color: var(--c-accent); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: var(--s-3); }
.nav__phone {
  color: var(--c-white); font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 6px;
}
.nav__phone:hover { color: var(--c-accent); }
.nav__phone svg { width: 16px; height: 16px; }

/* Mobile nav (CSS-only via <details>) */
.nav__mobile { display: none; }
@media (max-width: 900px) {
  .nav__links, .nav__phone { display: none; }
  .nav__mobile { display: block; position: relative; }
  .nav__mobile summary {
    list-style: none; cursor: pointer;
    min-width: 44px; min-height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.2); border-radius: var(--r-md);
    padding: 0 12px;
    color: var(--c-white); font-weight: 600; font-size: 0.9rem;
  }
  .nav__mobile summary::-webkit-details-marker { display: none; }
  .nav__mobile[open] .nav__menu {
    position: absolute; top: 56px; right: 0;
    background: var(--c-primary);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r-md);
    padding: var(--s-3);
    display: grid; gap: var(--s-2);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
  }
  .nav__menu a { color: var(--c-white); padding: 10px 12px; border-radius: var(--r-sm); font-size: 0.95rem; }
  .nav__menu a:hover { background: rgba(255,255,255,0.06); }
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse 1100px 600px at 20% 0%, rgba(0, 181, 216, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, #0E1726 0%, #131C2E 100%);
  color: var(--c-text-on-dark);
  padding: clamp(3rem, 9vw, 6rem) 0 clamp(4rem, 10vw, 8rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; right: -200px; top: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 181, 216, 0.08) 0%, transparent 60%);
  border-radius: 50%; filter: blur(20px);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--s-7);
  align-items: center;
  position: relative;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .hero__image { aspect-ratio: 4/3; max-height: 480px; }   /* shorter, less wall of image */
}
@media (max-width: 480px) {
  .hero__image { aspect-ratio: 4/3; max-height: 360px; }
}
.hero__title {
  font-size: var(--fs-display);
  color: var(--c-white);
  margin-bottom: var(--s-5);
  letter-spacing: -0.03em;
  line-height: 0.98;
  font-weight: 800;
}
.hero__title em {
  font-style: normal;
  color: var(--c-accent);
  background: linear-gradient(180deg, var(--c-accent) 0%, #4FD3E8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  font-size: var(--fs-lead);
  color: rgba(247, 250, 252, 0.85);
  max-width: 56ch;
  margin-bottom: var(--s-5);
}
.hero__ctas { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero__chips { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-5); }
.hero__inline-trust {
  display: flex; align-items: center; gap: var(--s-3);
  margin-top: var(--s-4);
  font-size: var(--fs-sm);
  color: rgba(247, 250, 252, 0.85);
  flex-wrap: wrap;
}
.hero__inline-trust .stars { color: var(--c-accent); letter-spacing: 0.1em; font-size: 1rem; }
.hero__inline-trust strong { color: var(--c-white); }
.hero__image {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--c-primary-2) 0%, var(--c-primary) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-muted-on-dark);
  font-size: 0.85rem; text-align: center;
  position: relative;
}
.hero__image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 181, 216, 0.1) 100%);
  pointer-events: none;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Trust strip */
.trust {
  background: var(--c-light);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: var(--s-4) 0;
}
.trust__row {
  display: flex; flex-wrap: wrap; gap: var(--s-5);
  justify-content: space-around; align-items: center;
}
.trust__item {
  display: flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-sm); font-weight: 500; color: var(--c-primary-2);
}
.trust__item svg { width: 22px; height: 22px; color: var(--c-accent); flex-shrink: 0; }
.trust__item strong { color: var(--c-primary); font-weight: 700; }

/* BENTO grid — services */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: var(--s-4);
  margin-top: var(--s-5);
}
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(160px, auto); }
}
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; } }
.bento__cell {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex; flex-direction: column;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative; overflow: hidden;
}
.bento__cell:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--c-accent), 0 0 32px rgba(0, 181, 216, 0.15);
  border-color: var(--c-accent);
}
.bento__cell--feature:hover {
  transform: translateY(-2px) scale(1.005);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 181, 216, 0.2);
}
.bento__cell--feature {
  grid-column: span 4;
  grid-row: span 2;
  background-color: var(--c-primary);
  background-image:
    linear-gradient(90deg, rgba(14,23,38,0.94) 0%, rgba(14,23,38,0.75) 32%, rgba(14,23,38,0.30) 60%, rgba(14,23,38,0.05) 100%),
    url('/images/generated/feature-driveway.jpg');
  background-size: cover;
  background-position: 70% center;
  color: var(--c-text-on-dark);
  border-color: rgba(255,255,255,0.08);
  padding: var(--s-6);
  min-height: 380px;
}
.bento__cell--feature h3 { color: var(--c-white); font-size: 2rem; line-height: 1.05; max-width: 18ch; }
.bento__cell--feature p { color: rgba(247, 250, 252, 0.88); max-width: 32ch; }
.bento__cell--feature::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 60%;
  background: radial-gradient(ellipse at 0% 50%, rgba(0, 181, 216, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .bento__cell--feature {
    background-image:
      linear-gradient(180deg, rgba(14,23,38,0.55) 0%, rgba(14,23,38,0.95) 70%),
      url('/images/generated/feature-driveway.jpg');
    background-position: center;
    min-height: 320px;
    padding: clamp(1.25rem, 5vw, 2.25rem);   /* lighter padding on small screens */
  }
  .bento__cell--feature h3 { font-size: clamp(1.4rem, 5vw, 1.85rem); }
}
@media (max-width: 520px) {
  .bento__cell { padding: clamp(1rem, 4vw, 1.5rem); }
}
.bento__cell--m { grid-column: span 2; }
.bento__cell--s { grid-column: span 2; }
@media (max-width: 900px) {
  .bento__cell--feature { grid-column: span 2; grid-row: auto; }
  .bento__cell--m, .bento__cell--s { grid-column: span 1; }
}
@media (max-width: 520px) {
  .bento__cell--feature, .bento__cell--m, .bento__cell--s { grid-column: span 1; }
}
.bento__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: rgba(0, 181, 216, 0.12);
  color: var(--c-accent);
  margin-bottom: var(--s-3);
}
.bento__cell--feature .bento__icon { background: rgba(0, 181, 216, 0.22); }
.bento__icon svg { width: 26px; height: 26px; stroke-width: 1.6; }
.bento__price {
  margin-top: auto;
  font-family: var(--f-display); font-weight: 700;
  color: var(--c-accent); font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  padding-top: var(--s-3);
}
.bento__price small { color: var(--c-muted); font-weight: 500; font-size: 0.8rem; margin-left: var(--s-1); }
.bento__cell--feature .bento__price small { color: var(--c-muted-on-dark); }
.bento__tag {
  position: absolute; top: var(--s-3); right: var(--s-3);
  font-size: var(--fs-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  background: var(--c-signal); color: var(--c-primary);
  padding: 4px 10px; border-radius: var(--r-pill);
}

/* Plan steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-5);
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  position: relative;
  transition: transform var(--t-base), border-color var(--t-base);
}
.step:hover { border-color: var(--c-accent); transform: translateY(-2px); }
.step__num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-primary);
  font-family: var(--f-display); font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s-3);
  box-shadow: 0 0 0 6px rgba(0, 181, 216, 0.12);
}
.step h3 { color: var(--c-white); margin-bottom: var(--s-2); font-size: 1.25rem; }

/* Compare block */
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--s-4);
  margin-top: var(--s-5);
  align-items: stretch;
}
@media (max-width: 800px) {
  .compare { grid-template-columns: 1fr; }
  .compare__divider { display: none; }
}
.compare__col {
  padding: var(--s-5);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column;
}
.compare__col--bad {
  background: rgba(255, 138, 31, 0.08);
  border: 1px solid rgba(255, 138, 31, 0.2);
}
.compare__col--good {
  background: rgba(0, 181, 216, 0.08);
  border: 1px solid var(--c-accent);
  position: relative;
  box-shadow: 0 8px 32px var(--c-accent-glow);
}
.compare__label {
  text-transform: uppercase;
  font-size: var(--fs-xs); font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: var(--s-2);
}
.compare__col--bad .compare__label { color: var(--c-signal); }
.compare__col--good .compare__label { color: var(--c-accent); }
.compare__price {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.75rem, 7vw, 4.25rem);
  font-variant-numeric: tabular-nums;
  margin: var(--s-3) 0;
  letter-spacing: -0.025em;
  line-height: 1;
}
@property --count {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}
.compare__col--bad .compare__price[data-count] {
  --count: 0;
  counter-reset: num var(--count);
  transition: --count 1.4s cubic-bezier(.2,.8,.2,1) 0.2s;
}
.compare__col--bad .compare__price[data-count]::before {
  content: '$' counter(num);
}
.compare__col--good .compare__price[data-count] {
  --count: 0;
  counter-reset: num var(--count);
  transition: --count 1.4s cubic-bezier(.2,.8,.2,1) 0.4s;
}
.compare__col--good .compare__price[data-count]::before {
  content: '$' counter(num);
}
.compare__col--bad.is-visible .compare__price[data-count] { --count: 607; }
.compare__col--good.is-visible .compare__price[data-count] { --count: 200; }
@media (prefers-reduced-motion: reduce) {
  .compare__col--bad .compare__price[data-count] { --count: 607; }
  .compare__col--good .compare__price[data-count] { --count: 200; }
}
.compare__col--bad .compare__price { color: var(--c-signal); }
.compare__col--good .compare__price { color: var(--c-accent); }
.compare__divider {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 2rem; color: var(--c-muted);
  font-weight: 800;
}
.compare__savings {
  margin-top: var(--s-5);
  text-align: center;
  font-family: var(--f-display);
  font-size: 1.25rem; font-weight: 700;
  color: var(--c-primary);
}
.compare__savings strong { color: var(--c-accent); font-size: 1.5rem; }

/* Reviews */
.review {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex; flex-direction: column;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.review:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.review__head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-3); }
.review__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-primary) 100%);
  color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 800; font-size: 1rem;
  flex-shrink: 0;
}
.review__head__meta { display: flex; flex-direction: column; gap: 2px; }
.review__author { font-weight: 600; color: var(--c-primary); font-size: var(--fs-sm); }
.review__sub { font-size: var(--fs-xs); color: var(--c-muted); }
.review__stars { color: var(--c-accent); margin-bottom: var(--s-3); letter-spacing: 0.1em; font-size: 0.95rem; }
.review__quote { color: var(--c-primary-2); margin-bottom: 0; font-size: 1rem; flex-grow: 1; }
.review__vehicle {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: var(--s-4);
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--c-light); color: var(--c-muted);
  font-size: var(--fs-xs); font-weight: 600;
  align-self: flex-start;
}
.review__vehicle svg { width: 12px; height: 12px; }

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } }
.about__photo {
  border-radius: var(--r-xl);
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--c-primary-2) 0%, var(--c-primary) 100%);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-muted-on-dark);
  font-size: 0.85rem; text-align: center;
  overflow: hidden;
}
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about__creds { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.about__cred {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--c-white); border: 1px solid var(--c-border);
  font-size: var(--fs-xs); font-weight: 600; color: var(--c-primary);
}
.about__cred svg { width: 14px; height: 14px; color: var(--c-accent); }

/* FAQ */
.faq { display: grid; gap: var(--s-3); margin-top: var(--s-5); max-width: 800px; }
.faq details {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  padding: var(--s-3) var(--s-4);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.faq details:hover { border-color: var(--c-accent); }
.faq details[open] { border-color: var(--c-accent); background: rgba(0, 181, 216, 0.05); }
.faq summary {
  font-weight: 600;
  color: var(--c-white);
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--s-3);
  min-height: 44px;             /* WCAG 2.5.5 target size */
  padding: 8px 0;
}
.faq summary::after { content: '+'; color: var(--c-accent); font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform var(--t-fast); }
.faq details[open] summary::after { content: '−'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin-top: var(--s-3); color: var(--c-muted-on-dark); }

/* Final CTA */
.final-cta {
  background: var(--c-primary);
  color: var(--c-text-on-dark);
  padding: var(--s-9) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 181, 216, 0.18) 0%, transparent 50%);
  pointer-events: none;
}
.final-cta > .container { position: relative; }
.final-cta h2 { color: var(--c-white); margin-bottom: var(--s-4); max-width: 26ch; margin-inline: auto; }
.final-cta__ctas { display: flex; gap: var(--s-3); justify-content: center; flex-wrap: wrap; margin-top: var(--s-5); }

/* Sticky bottom action bar (mobile/tablet) */
.action-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 60;
  background: var(--c-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
  display: none;
  gap: 8px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}
.action-bar .btn { flex: 1; min-height: 48px; font-size: 0.95rem; padding: 0.75rem 1rem; }
@media (max-width: 900px) {
  .action-bar { display: flex; }
  body { padding-bottom: 76px; }
}

/* Marquee — service area */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--c-border);
  background: var(--c-light-2);
  padding: var(--s-3) 0;
  margin-top: var(--s-5);
}
.marquee__track {
  display: flex; gap: var(--s-7);
  animation: marquee 35s linear infinite;
  width: max-content;
}
.marquee__item {
  font-family: var(--f-display); font-weight: 700;
  font-size: 1rem; color: var(--c-primary-2);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
}
.marquee__item svg { width: 14px; height: 14px; color: var(--c-accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 600px) {
  .marquee__track { animation-duration: 50s; }      /* slow down for readability */
}

/* Footer */
.footer {
  background: #08101C;
  color: rgba(247, 250, 252, 0.7);
  padding: var(--s-7) 0 var(--s-5);
  font-size: var(--fs-sm);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-5);
  margin-bottom: var(--s-5);
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s-4); } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; gap: var(--s-5); } }
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--c-white);
}
.footer__logo {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
.footer__wordmark {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--c-white);
}
.footer__wordmark span { color: var(--c-accent); }
.footer h4 { color: var(--c-white); font-size: 0.95rem; margin-bottom: var(--s-3); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: var(--s-2); }
.footer ul li a {
  display: inline-block;
  padding: 6px 0;             /* tap-target padding */
  min-height: 32px;
}
.footer a { color: rgba(247, 250, 252, 0.7); }
.footer a:hover { color: var(--c-accent); text-decoration: underline; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--s-4);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3);
  font-size: var(--fs-xs);
}

/* Reveal animation — content is always visible (SEO + screenshot safe);
 * IntersectionObserver adds .is-visible to trigger a subtle non-blocking lift. */
[data-reveal] { transition: transform var(--t-slow); }
.js [data-reveal] { transform: translateY(8px); }
.js [data-reveal].is-visible { transform: translateY(0); }

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

/* High-contrast adapt */
@media (prefers-contrast: more) {
  :root {
    --c-border: #94A3B8;
    --c-muted: #1F2A3D;
    --c-muted-on-dark: #FFFFFF;
  }
}

/* ===== Inner page components ===== */

/* Page hero (used on services / about / book / contact / fleet) */
.page-hero {
  background:
    radial-gradient(ellipse 800px 400px at 30% 0%, rgba(0, 181, 216, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, #0E1726 0%, #131C2E 100%);
  color: var(--c-text-on-dark);
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
}
.page-hero h1 {
  font-size: clamp(2rem, 5.5vw, 4rem);
  color: var(--c-white);
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 22ch;
  font-weight: 800;
}
@media (max-width: 480px) {
  .page-hero h1 { max-width: 100%; line-height: 1.1; }
}
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, var(--c-accent) 0%, #4FD3E8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero .lead { color: rgba(247,250,252,0.85); max-width: 60ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.page-hero__quick { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.page-hero--quiet { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-hero--quiet h1 { font-size: clamp(2rem, 4vw, 2.75rem); max-width: 24ch; }
.page-hero--quiet .lead { color: rgba(247,250,252,0.7); }

.chip--light {
  background: rgba(247, 250, 252, 0.08);
  border-color: rgba(247, 250, 252, 0.18);
}

/* Stat band — credibility numbers */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  padding: var(--s-6) var(--s-5);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  margin-top: calc(-1 * var(--s-7));
  position: relative; z-index: 2;
}
.section--accent .stat-band { background: var(--c-white); }
.section--dark .stat-band {
  background: var(--c-primary-2);
  border-color: rgba(255,255,255,0.08);
}
@media (max-width: 800px) { .stat-band { grid-template-columns: 1fr 1fr; gap: var(--s-4); margin-top: calc(-1 * var(--s-5)); padding: var(--s-5) var(--s-4); } }
@media (max-width: 460px) { .stat-band { grid-template-columns: 1fr; gap: var(--s-3); margin-top: 0; } }
.stat {
  display: flex; flex-direction: column;
  border-left: 3px solid var(--c-accent);
  padding-left: var(--s-4);
}
.stat__num {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-variant-numeric: tabular-nums;
  color: var(--c-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.section--dark .stat__num { color: var(--c-white); }
.stat__label {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  font-weight: 500;
  margin-top: var(--s-2);
  line-height: 1.4;
}
.section--dark .stat__label { color: var(--c-muted-on-dark); }

/* Trust pills — appears above forms / before friction */
.trust-pills {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  margin-bottom: var(--s-4);
}
.trust-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(0, 181, 216, 0.08);
  border: 1px solid rgba(0, 181, 216, 0.25);
  font-size: var(--fs-sm); font-weight: 600;
  color: var(--c-primary);
}
.trust-pill svg { width: 14px; height: 14px; color: var(--c-accent); }
.section--dark .trust-pill {
  background: rgba(0, 181, 216, 0.1);
  color: var(--c-text-on-dark);
}

/* Faux time-slot grid — for booking calendar placeholder */
.slots-preview {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2);
  margin: var(--s-4) 0;
}
@media (max-width: 600px) { .slots-preview { grid-template-columns: repeat(2, 1fr); } }
.slot {
  padding: 12px 8px; text-align: center;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  font-family: var(--f-body); font-weight: 600;
  font-size: 0.9rem; color: var(--c-primary);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: all var(--t-fast);
}
.slot:hover { border-color: var(--c-accent); background: rgba(0,181,216,0.05); }
.slot--booked {
  background: var(--c-light); color: var(--c-muted);
  text-decoration: line-through; cursor: not-allowed;
}
.slot--featured {
  background: var(--c-accent); color: var(--c-primary);
  border-color: var(--c-accent);
}

/* Compact contact strip — replaces 3-column pack cards */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-5);
}
@media (max-width: 900px) { .contact-strip { grid-template-columns: 1fr; gap: var(--s-3); } }
@media (max-width: 480px) {
  .contact-method__value {
    font-size: 0.95rem;
    overflow-wrap: anywhere;
    word-break: keep-all;
    line-height: 1.25;
  }
}
.contact-method {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--c-primary);
  transition: all var(--t-base);
}
.contact-method:hover {
  border-color: var(--c-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.contact-method__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: rgba(0, 181, 216, 0.12);
  color: var(--c-accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-method__icon svg { width: 22px; height: 22px; }
.contact-method__label {
  font-size: var(--fs-xs);
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 2px;
}
.contact-method__value {
  font-family: var(--f-display); font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

/* Service area map (CSS-drawn) */
.area-map {
  background: linear-gradient(135deg, var(--c-primary-2) 0%, var(--c-primary) 100%);
  border-radius: var(--r-lg);
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  margin-top: var(--s-5);
  box-shadow: var(--shadow-md);
}
.area-map__poly {
  position: absolute; inset: 12% 18% 18% 12%;
  background: radial-gradient(circle at 40% 50%, rgba(0,181,216,0.30) 0%, rgba(0,181,216,0.05) 60%, transparent 80%);
  border: 1px dashed rgba(0,181,216,0.4);
  border-radius: 50% 60% 55% 65%;
}
.area-map__pin {
  position: absolute; left: 38%; top: 52%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(0,181,216,0.25), 0 0 0 12px rgba(0,181,216,0.10);
  animation: pin-pulse 2s ease-in-out infinite;
}
@keyframes pin-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0,181,216,0.25), 0 0 0 12px rgba(0,181,216,0.10); }
  50% { box-shadow: 0 0 0 6px rgba(0,181,216,0.35), 0 0 0 16px rgba(0,181,216,0.15); }
}
@media (prefers-reduced-motion: reduce) { .area-map__pin { animation: none; } }
.area-map__cities {
  position: absolute; inset: 0; padding: var(--s-4);
  color: var(--c-muted-on-dark);
  font-size: 0.85rem;
  pointer-events: none;
}
.area-map__cities span {
  position: absolute;
  font-family: var(--f-display); font-weight: 600;
  white-space: nowrap;
}
.area-map__cities .c-jenks { left: 36%; top: 58%; color: var(--c-accent); font-weight: 800; font-size: 0.95rem; }
.area-map__cities .c-tulsa { left: 36%; top: 30%; }
.area-map__cities .c-bixby { left: 50%; top: 60%; }
.area-map__cities .c-ba { left: 60%; top: 38%; }
.area-map__cities .c-sapulpa { left: 16%; top: 42%; }
.area-map__cities .c-glenpool { left: 28%; top: 70%; }
.area-map__cities .c-sand { left: 18%; top: 24%; }
@media (max-width: 520px) {
  .area-map__cities span:not(.c-jenks):not(.c-tulsa):not(.c-ba) { display: none; }
  .area-map__cities span { font-size: 0.78rem; }
}

/* Last-updated badge for legal pages */
.legal-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(0, 181, 216, 0.12);
  color: var(--c-accent);
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* TOC for legal pages */
.toc {
  background: var(--c-light);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  margin: var(--s-5) 0;
  border-left: 4px solid var(--c-accent);
}
.toc__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-primary);
  margin: 0 0 var(--s-3);
}
.toc ol {
  margin: 0; padding-left: 1.4em;
  display: grid; gap: 6px;
}
.toc ol a {
  color: var(--c-primary-2);
  text-decoration: none;
  font-size: 0.95rem;
}
.toc ol a:hover { color: var(--c-accent); text-decoration: underline; }

/* Oversized number moment for B2B */
.big-number {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-5);
  align-items: center;
  padding: var(--s-6) 0;
}
@media (max-width: 700px) { .big-number { grid-template-columns: 1fr; } }
.big-number__num {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(4rem, 14vw, 10rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, var(--c-accent) 0%, #4FD3E8 70%, rgba(0, 181, 216, 0.4) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 700px) {
  .big-number { padding: var(--s-4) 0; gap: var(--s-3); }
  .big-number__num { font-size: clamp(4rem, 16vw, 6rem); line-height: 1; }
}
.big-number__num small { font-size: 0.4em; color: var(--c-accent); -webkit-text-fill-color: var(--c-accent); }
.big-number__copy h2 { margin-bottom: var(--s-3); }

/* Featured tier pop — used on services detail packages */
.pack--featured-pop {
  transform: scale(1.03);
  z-index: 2;
  box-shadow: 0 16px 48px var(--accent-glow), 0 0 0 1px var(--c-accent);
}
@media (max-width: 900px) {
  .pack--featured-pop { transform: none; margin-top: 16px; }   /* room for the floating tag */
}

/* Price table */
.price-table {
  margin-top: var(--s-5);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--c-accent) transparent;
  scrollbar-width: thin;
  border-radius: var(--r-lg);
}
.price-table::-webkit-scrollbar { height: 6px; }
.price-table::-webkit-scrollbar-track { background: transparent; }
.price-table::-webkit-scrollbar-thumb { background: var(--c-accent); border-radius: var(--r-pill); }
.price-table table {
  width: 100%;
  min-width: 520px;            /* keeps columns from squishing on narrow viewports */
  border-collapse: collapse;
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
}
@media (max-width: 600px) {
  .price-table { position: relative; }
  .price-table::after {
    content: '← swipe →';
    position: absolute; top: -28px; right: 0;
    font-size: var(--fs-xs); color: var(--c-muted);
    font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    pointer-events: none;
  }
  .price-table table { font-size: 0.875rem; }
  .price-table tbody th, .price-table tbody td { padding: var(--s-3) var(--s-3); }
}
.section--accent .price-table table { background: var(--c-white); }
.section--dark .price-table table { background: var(--c-primary-2); color: var(--c-text-on-dark); }
.price-table thead th {
  background: var(--c-primary);
  color: var(--c-white);
  text-align: left;
  padding: var(--s-3) var(--s-4);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price-table th.num, .price-table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--c-accent);
  font-size: 1rem;
}
.price-table tbody th, .price-table tbody td {
  padding: var(--s-3) var(--s-4);
  border-top: 1px solid var(--c-border);
  text-align: left;
  vertical-align: middle;
  font-weight: 500;
}
.price-table tbody th {
  font-weight: 600;
  color: var(--c-primary);
  width: 40%;
}
.price-table tbody td:not(.num) {
  color: var(--c-muted);
  font-size: 0.9rem;
  width: 40%;
}
.section--dark .price-table tbody th { color: var(--c-white); }
.section--dark .price-table tbody td:not(.num) { color: var(--c-muted-on-dark); }
.section--dark .price-table tbody th, .section--dark .price-table tbody td { border-top-color: rgba(255,255,255,0.08); }

/* Detail packages (3-column card row) */
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr; } }
.pack {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.pack:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-accent); }
.pack--featured {
  border-color: var(--c-accent);
  box-shadow: 0 8px 32px var(--accent-glow);
  background: linear-gradient(180deg, rgba(0,181,216,0.04) 0%, var(--c-white) 100%);
}
.pack__tag {
  position: absolute; top: -12px; left: var(--s-4);
  background: var(--c-accent); color: var(--c-primary);
  font-size: var(--fs-xs); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: var(--r-pill);
}
.pack__eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-accent);
  margin: 0 0 var(--s-2);
}
.pack h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.pack__time { color: var(--c-muted); font-size: 0.85rem; margin-bottom: var(--s-3); }
.pack__includes { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: grid; gap: 6px; }
.pack__includes li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--c-primary-2);
}
.pack__includes li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(0, 181, 216, 0.15);
  border: 2px solid var(--c-accent);
}
.pack__pricing { width: 100%; margin: 0 0 var(--s-4); border-collapse: collapse; }
.pack__pricing th {
  text-align: left; padding: 6px 0; font-weight: 500;
  color: var(--c-primary-2); font-size: 0.9rem;
}
.pack__pricing td.num {
  text-align: right; padding: 6px 0;
  font-family: var(--f-display); font-weight: 700;
  color: var(--c-accent); font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
}
.pack__pricing tr + tr th, .pack__pricing tr + tr td {
  border-top: 1px dashed var(--c-border);
}
.pack .btn { margin-top: auto; }

/* Check list (used in diagnostic / about) */
.check-list { list-style: none; padding: 0; margin: var(--s-5) 0 0; max-width: 60ch; display: grid; gap: var(--s-3); }
.check-list li {
  position: relative;
  padding-left: 32px;
  color: rgba(247,250,252,0.88);
  line-height: 1.55;
}
.check-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(0, 181, 216, 0.15);
  border: 1px solid var(--c-accent);
  color: var(--c-accent);
  font-weight: 800; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* Two-column list */
.grid--2-list {
  list-style: none; padding: 0; margin: var(--s-5) 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2) var(--s-5);
  max-width: 760px;
}
.grid--2-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(247,250,252,0.88);
  font-size: 0.95rem;
  line-height: 1.7;
}
.grid--2-list li::before {
  content: '—';
  position: absolute; left: 0; top: 0;
  color: var(--c-accent); font-weight: 700;
}
@media (max-width: 600px) { .grid--2-list { grid-template-columns: 1fr; } }

/* Warranty callout */
.warranty {
  display: flex; gap: var(--s-5); align-items: flex-start;
  background: var(--c-light);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--r-lg);
  padding: var(--s-5) var(--s-6);
  max-width: 800px;
}
@media (max-width: 600px) { .warranty { flex-direction: column; gap: var(--s-3); padding: var(--s-4); } }
.warranty__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: rgba(0, 181, 216, 0.12);
  color: var(--c-accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.warranty__icon svg { width: 32px; height: 32px; }
.warranty h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.warranty p { margin: 0; }

/* Story (long-form about) */
.story { max-width: 720px; margin: 0 auto; }
.story p { font-size: 1.05rem; line-height: 1.75; color: var(--c-primary-2); margin-bottom: var(--s-4); }
.story p.story__quote {
  font-family: var(--f-display);
  font-size: 1.5rem; font-weight: 700;
  font-style: italic;
  color: var(--c-primary);
  border-left: 4px solid var(--c-accent);
  padding-left: var(--s-4);
  margin: var(--s-6) 0;
}
.story h2 { margin-top: var(--s-6); }

/* Form */
.form { display: grid; gap: var(--s-4); max-width: 640px; margin-top: var(--s-5); }
.form__row { display: grid; gap: var(--s-2); }
.form__row--two { grid-template-columns: 1fr 1fr; gap: var(--s-3); }
@media (max-width: 600px) { .form__row--two { grid-template-columns: 1fr; } }
.form__row label { font-weight: 600; font-size: 0.9rem; color: var(--c-primary); }
.form__row label .req { color: var(--c-signal); }
.form__row input, .form__row textarea, .form__row select {
  font-family: var(--f-body); font-size: 16px;   /* 16px exact prevents iOS auto-zoom on focus */
  padding: 14px 14px;                              /* taller for thumb-friendly tap */
  min-height: 48px;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  background: var(--c-white); color: var(--c-primary);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form__row input:focus, .form__row textarea:focus, .form__row select:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(0, 181, 216, 0.18);
  outline: none;
}
.form__row textarea { min-height: 140px; resize: vertical; }
.form__hint { font-size: 0.85rem; color: var(--c-muted); }

/* Booking calendar wrapper */
.booking {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-7);
  align-items: start;
  margin-top: var(--s-6);
}
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } }
.booking__calendar {
  background: var(--c-white);
  border: 1px dashed var(--c-border-strong);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  text-align: center;
  color: var(--c-muted);
  min-height: 480px;
  display: flex; align-items: center; justify-content: center;
}
.booking__calendar p { margin: 0; max-width: 36ch; }
.booking__sidebar { display: grid; gap: var(--s-4); }
.booking__sidebar h3 { margin-top: 0; font-size: 1.1rem; }
.booking__sidebar .review { box-shadow: var(--shadow-sm); }

/* Map placeholder */
.map {
  background: linear-gradient(135deg, var(--c-primary-2) 0%, var(--c-primary) 100%);
  color: var(--c-muted-on-dark);
  border-radius: var(--r-lg);
  aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: var(--s-4);
  margin-top: var(--s-5);
}

/* Helpers */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.placeholder {
  background-image: linear-gradient(135deg, #1F2A3D 0%, #0E1726 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-muted-on-dark); font-size: 0.85rem; text-align: center; padding: var(--s-4);
  border-radius: var(--r-lg);
}
