/* ==========================================================================
   Accident Quotes — Shared Design System (Light & Bright Premium)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');

:root {
  /* Core palette — bright airy base + electric cyan/violet + gold CTA */
  --bg-page: #fbfbfe;
  --bg-alt: #eef1fb;
  --bg-alt-2: #f3f0fd;
  --surface: #ffffff;
  --surface-tint: rgba(59, 130, 246, 0.05);
  --border-soft: rgba(17, 22, 43, 0.08);
  --border-soft-2: rgba(17, 22, 43, 0.05);

  --accent-cyan: #17b8d6;
  --accent-blue: #3b6df0;
  --accent-violet: #8b5cf6;
  --accent-gold: #f6b93b;
  --accent-orange: #f97316;
  --accent-danger: #ef4444;

  --gradient-primary: linear-gradient(135deg, #22d3ee 0%, #3b6df0 55%, #8b5cf6 100%);
  --gradient-vivid: linear-gradient(120deg, #2dd4ee 0%, #3b6df0 45%, #8b5cf6 100%);
  --gradient-cta: linear-gradient(135deg, #f6b93b 0%, #f97316 100%);
  --gradient-panel: linear-gradient(160deg, rgba(59, 109, 240, 0.08), rgba(139, 92, 246, 0.06));

  --ink: #11162b;
  --ink-soft: #3c4260;
  --ink-muted: #6b7290;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-soft: 0 10px 30px rgba(28, 40, 80, 0.08);
  --shadow-panel: 0 25px 60px rgba(28, 40, 80, 0.14);
  --shadow-color: 0 16px 40px rgba(59, 109, 240, 0.18);
  --shadow-glow-gold: 0 12px 30px rgba(246, 185, 59, 0.35);

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);

  --header-h: 92px;
  --header-h-mobile: 72px;
}

/* ------------------------------ Reset ------------------------------ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; scrollbar-width: thin; scrollbar-color: var(--accent-blue) var(--bg-alt); }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--gradient-primary); border-radius: 999px; border: 2px solid var(--bg-alt); background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-blue); background-clip: padding-box; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg-page);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p {
  overflow-wrap: break-word;
  word-break: break-word;
}

h1, h2, h3, h4 {
  font-family: 'Sora', 'Manrope', sans-serif;
  line-height: 1.2;
  color: var(--ink);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }
svg.filter-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

section { position: relative; }

/* ------------------------------ Utility ------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-blue);
  background: rgba(59, 109, 240, 0.08);
  border: 1px solid rgba(59, 109, 240, 0.2);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.eyebrow i { font-size: 0.7rem; }

.eyebrow-light {
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.section-head p {
  font-size: 1.12rem;
  color: var(--ink-muted);
}

.section-pad { padding: 130px 0; }
.section-pad-sm { padding: 90px 0; }

@media (max-width: 768px) {
  .section-pad { padding: 90px 0; }
  .section-pad-sm { padding: 64px 0; }
  .section-head { margin-bottom: 44px; }
}

/* ------------------------------ Buttons ------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 34px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-cta);
  color: #241505;
  box-shadow: var(--shadow-glow-gold);
}

.btn-primary:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 18px 40px rgba(246, 185, 59, 0.45); }

.btn-ghost {
  background: white;
  color: var(--ink);
  border: 1.5px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}
.btn-ghost:hover { transform: translateY(-4px); border-color: var(--accent-blue); color: var(--accent-blue); }

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.16);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.28); transform: translateY(-4px); }

.btn-dark {
  background: var(--ink);
  color: white;
}
.btn-dark:hover { transform: translateY(-4px); box-shadow: var(--shadow-panel); }

.btn-block { width: 100%; }
.btn-lg { padding: 20px 40px; font-size: 1.05rem; }

.btn .shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  z-index: -1;
}
.btn:hover .shine { transform: translateX(120%); }

/* ==========================================================================
   Header + Goo Liquid Navigation
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
  height: 76px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 36px rgba(28, 40, 80, 0.1);
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  color: var(--ink);
}

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.4s var(--ease-spring);
}

.brand:hover .brand-logo { transform: scale(1.04); }

.brand-tagline {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-blue);
  font-weight: 700;
}

.footer-brand .brand { gap: 4px; margin-bottom: 20px; }

@media (min-width: 861px) {
  .brand-logo { height: 56px; }
}

@media (max-width: 400px) {
  header .brand-tagline { display: none; }
  header .brand-logo { height: 36px; }
}

/* --- Goo nav: blob layer isolated from text so text never blurs --- */
.nav-goo-wrap { position: relative; }

.nav-blob-layer {
  position: absolute;
  inset: 0;
  filter: url(#goo-filter);
  pointer-events: none;
  z-index: 1;
}

.nav-indicator {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  width: 0;
  border-radius: var(--radius-pill);
  background: var(--gradient-vivid);
  transform: translateX(0);
  transition: transform 0.55s var(--ease-spring), width 0.45s var(--ease-spring), opacity 0.25s ease;
  opacity: 0;
}

nav.primary-nav { position: relative; z-index: 2; }

nav.primary-nav ul {
  display: flex;
  align-items: center;
  position: relative;
  gap: 4px;
}

nav.primary-nav li { position: relative; }

nav.primary-nav > ul > li > a,
nav.primary-nav > ul > li > .drop-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: var(--radius-pill);
  transition: color 0.3s ease;
  cursor: pointer;
  background: none;
  border: none;
}

nav.primary-nav > ul > li > a:hover,
nav.primary-nav > ul > li > a.active,
nav.primary-nav > ul > li:hover > .drop-toggle {
  color: #ffffff;
}

nav.primary-nav > ul > li > a i.chev,
.drop-toggle i.chev { font-size: 0.72rem; transition: transform 0.3s ease; }
.dropdown:hover .drop-toggle i.chev { transform: rotate(180deg); }

/* Goo bump: a blob that rises out of the pill's own top edge (melts via
   the goo filter, same layer as .nav-indicator) with a crisp icon overlay
   riding on top of it — contained within the header, never above it. */
.nav-bump {
  position: absolute;
  top: -11px;
  left: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gradient-vivid);
  transform: translateX(0) scale(0);
  transform-origin: center;
  transition: transform 0.5s var(--ease-spring), opacity 0.25s ease;
  opacity: 0;
}

.nav-bump-icon {
  position: absolute;
  top: -11px;
  left: 0;
  width: 30px;
  height: 30px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  pointer-events: none;
  transform: translateX(0) scale(0);
  transform-origin: center;
  transition: transform 0.5s var(--ease-spring), opacity 0.25s ease;
  opacity: 0;
}

/* Dropdown (desktop) */
.dropdown { position: relative; }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 14px);
  min-width: 260px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease-smooth);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-panel);
}

.dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown-panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.25s ease;
}

.dropdown-panel a i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(59, 109, 240, 0.1);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.dropdown-panel a:hover { background: var(--bg-alt); color: var(--accent-blue); transform: translateX(4px); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.mobile-cta { display: none; }

/* Hamburger */
.mobile-menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  color: var(--ink);
  font-size: 1.2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1200;
}

/* ==========================================================================
   Mobile nav drawer
   ========================================================================== */
@media (max-width: 860px) {
  .mobile-menu-btn { display: flex; }
  .header-cta { display: none; }

  nav.primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(360px, 86vw);
    background: rgba(255, 255, 255, 0.98);
    border-left: 1px solid var(--border-soft);
    padding: 110px 26px 40px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-smooth);
    overflow-y: auto;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-panel);
  }

  nav.primary-nav.active { transform: translateX(0); }

  .nav-blob-layer { display: none; }
  .nav-bump, .nav-bump-icon { display: none; }

  nav.primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  nav.primary-nav > ul > li > a,
  nav.primary-nav > ul > li > .drop-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: var(--bg-alt);
    border: 1px solid var(--border-soft-2);
    color: var(--ink);
  }

  nav.primary-nav > ul > li > a:hover,
  nav.primary-nav > ul > li > a.active {
    background: rgba(59, 109, 240, 0.1);
    border-color: rgba(59, 109, 240, 0.25);
    color: var(--accent-blue);
  }

  .dropdown-panel {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-top: 6px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-smooth), margin 0.4s ease;
  }

  .dropdown.active .dropdown-panel {
    max-height: 400px;
    margin-top: 10px;
    margin-bottom: 6px;
  }

  .dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; transform: none; }
  nav.primary-nav > ul > li:hover > .drop-toggle { color: var(--ink); }

  .mobile-cta { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
}

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(17, 22, 43, 0.4);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 999;
}
.nav-scrim.active { opacity: 1; visibility: visible; }


/* ==========================================================================
   Hero — 3D parallax, light & bright
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 100px;
  background: linear-gradient(180deg, #f5f7ff 0%, var(--bg-page) 60%);
  overflow: hidden;
  perspective: 1400px;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(17, 22, 43, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-mesh {
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
}

.hero-mesh span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: meshFloat 16s ease-in-out infinite;
}
.hero-mesh span:nth-child(1) { width: 480px; height: 480px; background: #22d3ee; top: -8%; left: 4%; animation-duration: 18s; }
.hero-mesh span:nth-child(2) { width: 420px; height: 420px; background: #8b5cf6; top: 30%; right: -6%; animation-duration: 22s; animation-delay: -4s; }
.hero-mesh span:nth-child(3) { width: 340px; height: 340px; background: #f6b93b; bottom: -10%; left: 30%; opacity: 0.28; animation-duration: 20s; animation-delay: -8s; }

@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 25px) scale(0.96); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  min-width: 0;
}

.hero-content { min-width: 0; }

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.9rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}

.hero-content h1 .grad {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--ink-muted);
  max-width: 560px;
  margin-bottom: 38px;
}

.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }

.hero-trust { display: flex; gap: 30px; flex-wrap: wrap; min-width: 0; }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-family: 'Sora', sans-serif; font-size: 1.7rem; color: var(--ink); font-weight: 800; }
.hero-trust span { font-size: 0.82rem; color: var(--ink-muted); }

/* Hero visual: a real photo, not an abstract animated panel */
.hero-visual {
  position: relative;
  height: 520px;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-panel);
}

.hero-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-panel);
  max-width: calc(100% - 48px);
}

.hero-badge .icon-3d {
  width: 48px; height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.2rem;
  box-shadow: 0 12px 26px rgba(59, 109, 240, 0.3);
}
.hero-badge strong { display: block; color: var(--ink); font-size: 1.05rem; }
.hero-badge span { color: var(--ink-muted); font-size: 0.8rem; }

@media (max-width: 560px) {
  .hero-badge { left: 14px; bottom: 14px; padding: 12px 16px; gap: 10px; }
  .hero-badge .icon-3d { width: 40px; height: 40px; min-width: 40px; font-size: 1rem; }
}

@keyframes floatChip {
  0%, 100% { transform: translateY(0) translateZ(60px); }
  50% { transform: translateY(-16px) translateZ(60px); }
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(var(--accent-blue), transparent); animation: scrollLine 2s ease infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 420px; margin-top: 20px; }
  .hero-content { text-align: center; }
  .hero-content p { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-cta-row { justify-content: center; }
  .hero-trust { justify-content: center; }
}

@media (max-width: 560px) {
  .hero-visual { height: 300px; }
  .hero-trust { gap: 20px; }
}

/* ==========================================================================
   3D Tilt Cards (generic)
   ========================================================================== */
.tilt-wrap { perspective: 1200px; }
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s ease-out, box-shadow 0.4s ease;
}
.tilt-card > * { transform: translateZ(20px); }
.tilt-card .tilt-deep { transform: translateZ(38px); }

/* ==========================================================================
   Service / feature cards
   ========================================================================== */
.services-grid, .approach-grid, .difference-grid, .reasons-grid, .awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 30px;
}

.service-card {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft-2);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.service-card:hover::before { opacity: 0.05; }
.service-card:hover { box-shadow: var(--shadow-color); }

.service-card .icon-3d {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 26px;
  box-shadow: 0 16px 30px rgba(59, 109, 240, 0.28);
  transform-style: preserve-3d;
}

.service-card h3 { position: relative; z-index: 1; font-size: 1.35rem; margin-bottom: 14px; }
.service-card p { position: relative; z-index: 1; color: var(--ink-muted); }

/* ==========================================================================
   Stats band — light, colorful accents
   ========================================================================== */
.stats-band {
  background: var(--bg-alt);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 24px;
  margin-top: 50px;
}

.stat-tile {
  text-align: center;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--border-soft-2);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease;
}
.stat-tile:hover { transform: translateY(-10px); box-shadow: var(--shadow-color); }
.stat-tile .num {
  font-family: 'Sora', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.stat-tile .lbl { color: var(--ink-muted); font-size: 0.95rem; font-weight: 600; }

/* ==========================================================================
   Process timeline
   ========================================================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 30px;
  margin-top: 60px;
  position: relative;
}

.process-step {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft-2);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
}
.process-step:hover { transform: translateY(-10px); box-shadow: var(--shadow-color); }

.step-num {
  width: 56px; height: 56px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 12px 26px rgba(59, 109, 240, 0.3);
}

.process-step h3 { font-size: 1.25rem; margin-bottom: 12px; }
.process-step p { color: var(--ink-muted); font-size: 0.96rem; }

/* ==========================================================================
   Vertical journey timeline
   ========================================================================== */
.vtimeline {
  position: relative;
  max-width: 900px;
  margin: 64px auto 0;
}

.vtimeline::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-blue), var(--accent-violet));
  transform: translateX(-50%);
  border-radius: 3px;
}

.vtimeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: start;
  margin-bottom: 46px;
}
.vtimeline-item:last-child { margin-bottom: 0; }

.vtimeline-dot {
  grid-column: 2;
  justify-self: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 10px 24px rgba(59, 109, 240, 0.32), 0 0 0 6px var(--bg-page);
  z-index: 1;
}

.vtimeline-content {
  grid-column: 1;
  background: white;
  border: 1px solid var(--border-soft-2);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-soft);
  text-align: right;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease;
}
.vtimeline-content:hover { transform: translateY(-6px); box-shadow: var(--shadow-color); }

.vtimeline-item:nth-child(even) .vtimeline-content {
  grid-column: 3;
  text-align: left;
}

.vtimeline-step {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 8px;
}

.vtimeline-content h3 { font-size: 1.18rem; margin-bottom: 8px; }
.vtimeline-content p { color: var(--ink-muted); font-size: 0.94rem; margin: 0; }

@media (max-width: 760px) {
  .vtimeline { margin-top: 46px; }
  .vtimeline::before { left: 25px; }
  .vtimeline-item {
    grid-template-columns: 52px 1fr;
    column-gap: 18px;
    margin-bottom: 32px;
  }
  .vtimeline-dot { grid-column: 1; width: 44px; height: 44px; min-width: 44px; font-size: 1rem; }
  .vtimeline-content,
  .vtimeline-item:nth-child(even) .vtimeline-content {
    grid-column: 2;
    text-align: left;
    padding: 20px 22px;
  }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-panel {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft-2);
  padding: 60px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
  box-shadow: var(--shadow-panel);
}

.testimonial-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: white;
  box-shadow: var(--shadow-color);
}

.testimonial-panel h3 { color: var(--ink); font-size: 1.7rem; margin-bottom: 18px; }
.testimonial-panel p.quote {
  color: var(--ink-soft);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
  padding-left: 26px;
}
.testimonial-panel p.quote::before {
  content: '\201C';
  position: absolute;
  left: -6px; top: -10px;
  font-size: 3rem;
  color: var(--accent-blue);
  opacity: 0.45;
  font-family: Georgia, serif;
}
.testimonial-panel .who strong { color: var(--ink); display: block; }
.testimonial-panel .who span { color: var(--accent-blue); font-size: 0.85rem; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 26px;
}

.testi-card {
  background: white;
  border: 1px solid var(--border-soft-2);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease;
}
.testi-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-color); }
.testi-card .stars { color: var(--accent-gold); margin-bottom: 16px; font-size: 0.85rem; letter-spacing: 3px; }
.testi-card p { color: var(--ink-soft); font-style: italic; margin-bottom: 22px; }
.testi-card .who { display: flex; align-items: center; gap: 12px; }
.testi-card .avatar-sm {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 800; color: white; font-size: 1rem;
}
.testi-card .who strong { color: var(--ink); display: block; font-size: 0.92rem; }
.testi-card .who span { color: var(--ink-muted); font-size: 0.78rem; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list { max-width: 880px; margin: 0 auto; }

.faq-item {
  background: white;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid var(--border-soft-2);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
}

.faq-q .plus {
  width: 34px; height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-blue);
  transition: all 0.35s var(--ease-spring);
}
.faq-item.active .faq-q .plus { background: var(--gradient-primary); color: white; transform: rotate(135deg); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease-smooth); }
.faq-a p { padding: 0 28px 26px; color: var(--ink-muted); }
.faq-item.active .faq-a { max-height: 400px; }

/* ==========================================================================
   CTA band — the one bold, vivid gradient moment (not dark)
   ========================================================================== */
.cta-band {
  position: relative;
  padding: 120px 0;
  background: var(--gradient-vivid);
  text-align: center;
  overflow: hidden;
}
.cta-band .eyebrow { color: white; background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.35); }
.cta-band h2 { color: white; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.cta-band p { color: rgba(255, 255, 255, 0.9); font-size: 1.15rem; max-width: 640px; margin: 0 auto 40px; }
.cta-btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-band .hero-mesh span { opacity: 0.35; }

/* ==========================================================================
   Contact / forms
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
}

.form-panel {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft-2);
}

.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 9px; font-weight: 700; font-size: 0.92rem; color: var(--ink); }

.form-control {
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid #e3e7f0;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-family: inherit;
  background: var(--bg-page);
  color: var(--ink);
  transition: all 0.3s ease;
}
.form-control:focus { outline: none; border-color: var(--accent-blue); box-shadow: 0 0 0 4px rgba(59, 109, 240, 0.14); background: white; }
textarea.form-control { min-height: 140px; resize: vertical; }

.form-control.field-error { border-color: var(--accent-danger); box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12); }

.radio-group { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 8px; }
.radio-option { display: flex; align-items: center; gap: 9px; }
.radio-option input { width: 17px; height: 17px; min-width: 17px; accent-color: var(--accent-blue); }
.radio-option label { margin: 0; font-weight: 500; color: var(--ink-soft); }

.disclosure-box {
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin: 26px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.disclosure-box input {
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin-top: 2px;
  accent-color: var(--accent-blue);
}
.disclosure-box span { font-size: 0.78rem; line-height: 1.65; color: var(--ink-muted); }
.disclosure-box a { color: var(--accent-blue); text-decoration: underline; }

.info-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft-2);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease;
}
.info-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-color); }
.info-card h3 { display: flex; align-items: center; gap: 14px; font-size: 1.2rem; margin-bottom: 18px; }
.info-card h3 i {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
}
.info-card p, .info-card a { color: var(--ink-muted); display: block; margin-bottom: 10px; }
.info-card a:hover { color: var(--accent-blue); }

/* ==========================================================================
   Footer — light, distinct from a dark theme
   ========================================================================== */
footer {
  background: var(--bg-alt);
  color: var(--ink);
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-soft);
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-vivid);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-soft);
}

.footer-brand .brand { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.footer-brand p { color: var(--ink-muted); font-size: 0.95rem; margin-bottom: 22px; }
.footer-col h4 { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 1.02rem; margin-bottom: 22px; }
.footer-col h4 i { color: var(--accent-blue); font-size: 0.9rem; }
.footer-col a { display: flex; align-items: center; gap: 9px; color: var(--ink-muted); font-size: 0.92rem; margin-bottom: 13px; transition: all 0.3s ease; }
.footer-col a i { color: var(--accent-blue); font-size: 0.78rem; width: 14px; text-align: center; flex-shrink: 0; }
.footer-col a:hover { color: var(--accent-blue); transform: translateX(4px); }

.footer-contact-item { display: flex; gap: 12px; margin-bottom: 16px; color: var(--ink-muted); font-size: 0.92rem; }
.footer-contact-item i { color: var(--accent-blue); margin-top: 3px; }
.footer-contact-item a:hover { color: var(--accent-blue); }

.footer-bottom {
  padding: 28px 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.footer-bottom a { color: var(--ink-muted); }
.footer-bottom a:hover { color: var(--accent-blue); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ==========================================================================
   Lead-form submission modal (success / error)
   ========================================================================== */
.front-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(17, 22, 43, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.front-modal .modal-container {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-panel);
  animation: modalPop 0.35s var(--ease-spring);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.front-modal .modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.front-modal .modal-container.is-error .modal-icon {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.front-modal .success-heading,
.front-modal .expired-heading {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}

.front-modal .modal-sub {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-bottom: 26px;
}

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-color);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-spring);
  z-index: 900;
  border: none;
}
.back-to-top.active { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-6px) scale(1.05); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal="scale"] { transform: translateY(0) scale(0.92); }
[data-reveal="scale"].in-view { transform: scale(1); }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 100px;
  background-color: var(--bg-page);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.72) 60%, var(--bg-page) 100%);
}
.page-hero .hero-mesh, .page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--ink); font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 20px; }
.page-hero p { color: var(--ink-muted); font-size: 1.15rem; max-width: 640px; margin: 0 auto; }

.legal-content { max-width: 840px; margin: 0 auto; padding: 110px 0 60px; }
.legal-content .section-block { margin-bottom: 42px; }
.legal-content h2 { font-size: 1.5rem; margin-bottom: 14px; color: var(--accent-blue); }
.legal-content p, .legal-content li { color: var(--ink-soft); margin-bottom: 12px; }
.legal-content ul { padding-left: 22px; list-style: disc; }
.legal-content a { color: var(--accent-blue); text-decoration: underline; }
.legal-content .updated { color: var(--ink-muted); font-size: 0.9rem; margin-bottom: 40px; }
.legal-content .contact-box {
  margin-top: 50px;
  padding: 30px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Misc content blocks (about/contact reuse)
   ========================================================================== */
.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .split-panel { grid-template-columns: 1fr; gap: 40px; }
  .split-panel > div:not(.tilt-wrap) { text-align: center; }
  .split-panel .checklist li { flex-direction: column; align-items: center; gap: 6px; }
}

.photo-panel {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-panel);
}

.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.impact-stat-box {
  background: white;
  border: 1px solid var(--border-soft-2);
  border-radius: var(--radius-md);
  padding: 24px;
}
.impact-stat-box strong { display: block; font-size: 2rem; font-family: 'Sora', sans-serif; color: var(--accent-blue); }
.impact-stat-box span { color: var(--ink-muted); font-size: 0.88rem; }

.checklist { margin-top: 26px; }
.checklist li { display: flex; gap: 14px; margin-bottom: 18px; min-width: 0; }
.checklist li i { color: var(--accent-blue); font-size: 1.2rem; margin-top: 3px; flex-shrink: 0; }
.checklist li > div { min-width: 0; }
.checklist li strong { display: block; margin-bottom: 3px; }
.checklist li p { color: var(--ink-muted); font-size: 0.92rem; margin: 0; }

/* State tabs (get-quote page) */
.state-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.state-tab {
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  background: white;
  border: 1.5px solid #e3e7f0;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.state-tab:hover { border-color: var(--accent-blue); color: var(--accent-blue); }
.state-tab.active { background: var(--gradient-primary); color: white; border-color: transparent; }

.state-panel { display: none; background: white; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-soft); }
.state-panel.active { display: block; }
.state-panel h3 { margin-bottom: 24px; }
.state-mini-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 20px; margin-bottom: 30px; }
.state-mini-stats div { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 18px; text-align: center; }
.state-mini-stats h4 { font-size: 0.82rem; color: var(--ink-muted); margin-bottom: 6px; }
.state-mini-stats p { font-weight: 700; color: var(--ink); }
.state-panel ul { padding-left: 22px; }
.state-panel li { color: var(--ink-soft); margin-bottom: 12px; }

/* Injury accordion */
.injury-item { background: white; border-radius: var(--radius-md); margin-bottom: 16px; box-shadow: var(--shadow-soft); overflow: hidden; }
.injury-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; cursor: pointer; font-weight: 700; }
.injury-head i { color: var(--accent-blue); transition: transform 0.3s ease; }
.injury-item.active .injury-head i { transform: rotate(180deg); }
.injury-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.injury-item.active .injury-body { max-height: 420px; }
.injury-body-inner { padding: 0 26px 26px; }
.symptom-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.symptom-tags span { background: rgba(59, 109, 240, 0.1); color: var(--accent-blue); padding: 6px 14px; border-radius: var(--radius-pill); font-size: 0.82rem; font-weight: 600; }

/* generic responsive tightening */
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .form-panel, .testimonial-panel { padding: 26px; }
  .photo-panel { min-height: 260px; }
  .testimonial-panel { grid-template-columns: 1fr; text-align: center; }
  .testimonial-avatar { max-width: 160px; margin: 0 auto; }
  .testimonial-panel p.quote { padding-left: 0; }
  .testimonial-panel p.quote::before { display: none; }
}
