/* ==========================================================================
   Your Agency – site styles
   Brand colors live in :root. To re-brand, change --brand-* (primary) and
   --amber-* (accent) to the colors from the agency logo.
   ========================================================================== */

:root {
  --navy-950: #070D2B;
  --navy-900: #0D1640;
  --navy-800: #18245E;
  --navy-700: #233275;
  --navy-100: #E6EAF6;

  --brand-800: #1B2463;
  --brand-700: #222E7A;
  --brand-600: #2B3990;
  --brand-500: #3F55C8;
  --brand-300: #8ED3EC;
  --brand-100: #E2E8FB;
  --brand-50:  #F1F4FE;

  --cyan-200: #D0E8F0;
  --cyan-100: #E9F5F8;

  --amber-500: #F29A2E;
  --amber-400: #FFB547;
  --amber-100: #FFF1D9;
  --accent: var(--amber-400);

  --sand-50:  #F9FAFD;
  --sand-100: #F1F4FA;
  --sand-200: #E5EAF3;
  --line:     #DFE4EE;
  --line-2:   #CBD3E1;

  --ink:   #0D1640;
  --ink-2: #475174;
  --ink-3: #6B7493;

  --danger:    #C93030;
  --danger-50: #FDEEEE;
  --ok:        #12915A;
  --ok-50:     #E8F7EF;

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(13, 22, 64, .06), 0 2px 6px rgba(13, 22, 64, .04);
  --shadow: 0 2px 4px rgba(13, 22, 64, .04), 0 12px 32px rgba(13, 22, 64, .08);
  --shadow-lg: 0 4px 8px rgba(13, 22, 64, .05), 0 28px 64px rgba(13, 22, 64, .16);
  --ring: 0 0 0 4px rgba(63, 85, 200, .22);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --nav-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--sand-50);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: var(--brand-700); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; letter-spacing: -.02em; margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand-100); }

.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-3); }
.text-teal { color: var(--brand-600); }
.mono { font-family: var(--mono); }
.hp-wrap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brand-600); --fg: #fff; --bd: transparent;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1.5px solid var(--bd); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn .i { transition: transform .3s var(--ease); }
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(43, 57, 144, .55); }
.btn:hover .i:last-of-type { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary:hover { --bg: var(--brand-700); }
.btn-accent { --bg: var(--amber-400); --fg: var(--navy-900); }
.btn-accent:hover { --bg: #FFC266; box-shadow: 0 12px 28px -8px rgba(255, 181, 71, .6); }
.btn-ghost { --bg: #fff; --fg: var(--ink); --bd: var(--line-2); }
.btn-ghost:hover { --bd: var(--ink-3); box-shadow: var(--shadow-sm); }
.btn-ghost:hover .i:first-child { transform: none; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-spin { display: none; width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn-spin { display: inline-block; }
.btn.is-loading .i { display: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  height: var(--nav-h);
  background: rgba(249, 250, 253, .72);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.nav.is-scrolled { background: rgba(255, 255, 255, .86); border-bottom-color: var(--line); box-shadow: 0 6px 24px -12px rgba(13, 22, 64, .18); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.28rem; letter-spacing: -.02em; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 38px; height: 38px; color: var(--brand-600); transition: transform .5s var(--spring); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-img { height: 60px; width: auto; display: block; }
.footer .logo-img { height: 62px; }
@media (max-width: 560px) { .logo-img { height: 44px; } }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  color: var(--ink-2); font-weight: 600; text-decoration: none; transition: color .2s, background-color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--brand-500); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(13, 22, 64, .04); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; text-decoration: none; padding: 8px 4px; }
.nav-phone .i { color: var(--brand-600); }
.nav-phone:hover { color: var(--brand-700); }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; position: relative; }
.nav-burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), opacity .2s; }
.nav-burger span:nth-child(1) { top: 14px; }
.nav-burger span:nth-child(2) { top: 20px; }
.nav-burger span:nth-child(3) { top: 26px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: absolute; left: 0; right: 0; top: var(--nav-h);
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: 12px 20px 24px; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  animation: drawerIn .35s var(--ease);
}
.drawer nav { display: grid; }
.drawer nav a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--sand-200); color: var(--ink); font-family: var(--display); font-size: 1.3rem; font-weight: 700; text-decoration: none; }
.drawer nav a .i { color: var(--brand-600); }
.drawer nav a[aria-current="page"] { color: var(--brand-700); }
.drawer-foot { display: grid; gap: 10px; margin-top: 20px; }
@keyframes drawerIn { from { opacity: 0; transform: translateY(-10px); } }

@media (max-width: 1080px) { .nav-phone span { display: none; } }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-phone { display: none; }
}
@media (max-width: 420px) { .nav-cta .btn-sm { display: none; } }

/* ---------- Shared bits ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .88rem; font-weight: 600; color: var(--ink-2); margin: 0 0 22px;
}
.pill-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-500); box-shadow: 0 0 0 0 rgba(63, 85, 200, .6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(63, 85, 200, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(63, 85, 200, 0); } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-700); margin: 0 0 14px;
}
.eyebrow .i { width: 1.1em; height: 1.1em; }
.lead { font-size: 1.17rem; color: var(--ink-2); line-height: 1.65; max-width: 56ch; }

.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob.b1 { width: 520px; height: 520px; background: radial-gradient(circle, #B9DCF5, transparent 70%); top: -180px; right: -120px; animation: drift 18s ease-in-out infinite alternate; }
.blob.b2 { width: 460px; height: 460px; background: radial-gradient(circle, #FFD9A0, transparent 70%); bottom: -220px; left: -160px; animation: drift 22s ease-in-out infinite alternate-reverse; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(13, 22, 64, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 22, 64, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.08); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 88px; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero-h { font-size: clamp(2.6rem, 5.4vw, 4.5rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; margin: 0 0 22px; }
.hl { position: relative; display: inline-block; color: var(--brand-600); white-space: nowrap; }
.hl svg { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .3em; overflow: visible; }
.hl path { fill: none; stroke: var(--amber-400); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lead { margin-bottom: 30px; }

.zip-form {
  display: flex; gap: 8px; padding: 8px; max-width: 520px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
  transition: box-shadow .3s, border-color .3s;
}
.zip-form:focus-within { border-color: var(--brand-500); box-shadow: var(--shadow), var(--ring); }
.zip-field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 16px; color: var(--brand-600); }
.zip-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 1.08rem; font-weight: 600; color: var(--ink); height: 52px; }
.zip-field input::placeholder { color: var(--ink-3); font-weight: 500; }
.zip-form.is-bad { animation: shake .45s; border-color: var(--danger); }
.hero-ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.hero-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-ticks .i { color: var(--brand-600); }

.hero-art { position: relative; --px: 0; --py: 0; }
.scene { display: block; width: 100%; height: auto; border-radius: 36px; box-shadow: 0 40px 80px -24px rgba(13, 22, 64, .45), 0 0 0 1px rgba(13, 22, 64, .06); transform: perspective(1200px) rotateY(calc(var(--px) * -4deg)) rotateX(calc(var(--py) * 4deg)); transition: transform .4s var(--ease); }
.scene .lane { animation: lane .55s linear infinite; }
.scene .wheel { transform-box: fill-box; transform-origin: center; animation: spin .55s linear infinite; }
.scene .car-body { animation: bob .5s ease-in-out infinite alternate; }
.scene .speed path { animation: speed 1s ease-in-out infinite; }
.scene .speed path:nth-child(2) { animation-delay: .2s; }
.scene .speed path:nth-child(3) { animation-delay: .4s; }
.scene .beam { animation: flicker 3s ease-in-out infinite; }
.scene .stars circle { animation: twinkle 3s ease-in-out infinite; }
.scene .stars circle:nth-child(2n) { animation-delay: 1.2s; }
.scene .stars circle:nth-child(3n) { animation-delay: 2s; }
.scene .windows rect { animation: twinkle 5s ease-in-out infinite; }
.scene .windows rect:nth-child(3n) { animation-delay: 2.5s; }
.scene .shield-big { transform-box: fill-box; transform-origin: center; animation: breathe 4s ease-in-out infinite; }
.scene .shield-check { stroke-dasharray: 130; stroke-dashoffset: 130; animation: draw 1s 1.2s var(--ease) forwards; }
@keyframes lane { to { stroke-dashoffset: 60; } }
@keyframes bob { to { transform: translateY(-1.6px); } }
@keyframes speed { 0%, 100% { opacity: 0; transform: translateX(10px); } 50% { opacity: .8; transform: translateX(-8px); } }
@keyframes flicker { 0%, 100% { opacity: 1; } 50% { opacity: .75; } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }

.chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .94); border: 1px solid rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -12px rgba(13, 22, 64, .35);
  font-size: .9rem; line-height: 1.25; white-space: nowrap;
  translate: calc(var(--px) * var(--d, 10) * 1px) calc(var(--py) * var(--d, 10) * 1px);
  transition: translate .4s var(--ease);
  animation: float 6s ease-in-out infinite;
}
.chip small { display: block; color: var(--ink-3); font-weight: 600; font-size: .75rem; }
.chip b { font-weight: 700; }
.chip-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.chip-ic.teal { background: var(--brand-100); color: var(--brand-700); }
.chip-ic.amber { background: var(--amber-100); color: #B86E0C; }
.chip-ok { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; }
.chip-ok .i { width: 14px; height: 14px; stroke-width: 3; }
.chip-avs { display: flex; }
.chip-avs i, .mock-avs i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .85rem; color: #fff; background: var(--brand-600); border: 2.5px solid #fff; margin-left: -10px; }
.chip-avs i:first-child, .mock-avs i:first-child { margin-left: 0; }
.chip-avs i:nth-child(2), .mock-avs i:nth-child(2) { background: var(--amber-500); }
.chip-avs i.add { background: var(--navy-900); }
.chip-avs i.add .i { width: 14px; height: 14px; stroke-width: 3; }
.chip-1 { top: 7%; left: -7%; }
.chip-2 { top: 40%; right: -6%; animation-delay: -2s; }
.chip-3 { bottom: 7%; left: 5%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 980px) {
  .hero { padding: 32px 0 64px; }
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { max-width: 560px; margin: 0 auto; width: 100%; }
  .chip-1 { left: -2%; }
  .chip-2 { right: -2%; }
}
@media (max-width: 560px) {
  .zip-form { flex-direction: column; border-radius: 22px; }
  .zip-field input { height: 48px; }
  .zip-form .btn { width: 100%; }
  .chip { font-size: .78rem; padding: 8px 12px 8px 8px; gap: 8px; border-radius: 14px; }
  .chip-ic { width: 32px; height: 32px; border-radius: 10px; }
  .chip-avs i { width: 28px; height: 28px; }
  .chip-1 { top: 4%; left: 3%; }
  .chip-2 { top: auto; bottom: 30%; right: 3%; }
  .chip-3 { bottom: 4%; left: 3%; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--navy-900); color: #fff; overflow: hidden; padding: 20px 0; border-block: 1px solid var(--navy-800); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; padding: 0 34px; font-family: var(--display); font-weight: 700; font-size: 1.25rem; white-space: nowrap; opacity: .92; }
.marquee span::after { content: "✦"; margin-left: 34px; color: var(--amber-400); font-size: .9rem; }
.marquee .i { color: var(--brand-300); width: 1.3em; height: 1.3em; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 104px 0; }
.section-tight { padding: 56px 0; }
.section-top0 { padding-top: 0; }
.section-tint { background: var(--sand-100); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 16px; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; margin: 0; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
@media (max-width: 720px) { .section { padding: 72px 0; } .section-head { margin-bottom: 40px; } }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 64px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 10px, transparent 10px 20px);
}
.step-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.step-n { position: absolute; top: 22px; right: 26px; font-family: var(--display); font-weight: 800; font-size: 3.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); }
.step-ic { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--brand-600); color: #fff; margin-bottom: 22px; box-shadow: 0 10px 22px -8px rgba(43, 57, 144, .6); transition: transform .5s var(--spring); }
.step-ic .i { width: 28px; height: 28px; }
.step-card:hover .step-ic { transform: rotate(-8deg) scale(1.08); }
.step-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.step-card p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

/* Coverage grid */
.cov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cov-card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.cov-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(63, 85, 200, .12), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.cov-card:hover { color: var(--ink); transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-300); }
.cov-card:hover::before { opacity: 1; }
.cov-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); margin-bottom: 22px; transition: background-color .3s, color .3s, transform .5s var(--spring); }
.cov-ic .i { width: 26px; height: 26px; }
.cov-card:hover .cov-ic { background: var(--brand-600); color: #fff; transform: scale(1.06) rotate(-6deg); }
.cov-tag { position: absolute; top: 28px; right: 26px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: var(--ink-3); background: var(--sand-100); border-radius: 999px; padding: 4px 10px; }
.cov-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.cov-card p { color: var(--ink-2); flex: 1; }
.cov-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-700); }
.cov-more .i { transition: transform .3s var(--ease); }
.cov-card:hover .cov-more .i { transform: translateX(5px); }
@media (max-width: 980px) { .cov-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cov-grid { grid-template-columns: 1fr; } .cov-card { padding: 24px; } }

/* Showcase */
.show { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.show-copy h2 { margin-bottom: 18px; }
.show-copy > p { color: var(--ink-2); font-size: 1.1rem; }
.feat-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 18px; }
.feat-list li { display: flex; gap: 16px; color: var(--ink-2); }
.feat-list li > span { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--amber-100); color: #B86E0C; }
.feat-list b { display: block; color: var(--ink); font-size: 1.05rem; }

.mock { position: relative; padding: 28px 0 40px 28px; }
.mock::before { content: ""; position: absolute; inset: 0 0 0 0; border-radius: var(--r-xl); background: linear-gradient(135deg, var(--brand-100), var(--amber-100)); transform: rotate(-3deg); }
.mock-win { position: relative; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 14px 18px; border-bottom: 1px solid var(--sand-200); font-size: .82rem; font-weight: 600; color: var(--ink-3); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--sand-200); }
.mock-bar span { margin-left: 10px; }
.mock-body { padding: 22px; display: grid; gap: 14px; }
.mock-card { border: 1.5px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 14px; }
.mock-head { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 1.1rem; }
.mock-av { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-700); }
.mock-input { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; border: 1.5px solid var(--brand-500); box-shadow: var(--ring); border-radius: 12px; font-family: var(--mono); font-weight: 600; letter-spacing: .08em; color: var(--ink); }
.mock-input .i { color: var(--ink-3); }
.caret { width: 2px; height: 22px; background: var(--brand-600); animation: blink 1s steps(1) infinite; margin-left: -6px; }
@keyframes blink { 50% { opacity: 0; } }
.mock-result { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--ok-50); border: 1px solid #BFE8D2; opacity: 0; transform: translateY(8px) scale(.97); transition: all .5s var(--spring); }
.mock-result b { display: block; }
.mock-result small { color: var(--ink-2); }
.mock-ok { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; }
.mock-ok .i { width: 16px; height: 16px; stroke-width: 3; }
.mock.is-decoded .mock-result { opacity: 1; transform: none; }
.mock-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mock-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-2); transition: all .35s var(--ease); }
.mock-chips span.on { border-color: var(--brand-500); background: var(--brand-50); color: var(--brand-700); }
.mock-add { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border: 1.5px dashed var(--line-2); border-radius: 14px; color: var(--brand-700); font-weight: 700; }
.mock-float { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: var(--navy-900); color: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.mock-float small { display: block; opacity: .7; }
.mock-avs { display: flex; }
.mock-avs i { border-color: var(--navy-900); }
.mock-avs i:nth-child(3) { background: #7C6CF2; }
@media (max-width: 980px) { .show { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 560px) { .mock { padding: 16px 0 44px 0; } .mock::before { inset: 0 -6px; } .mock-body { padding: 16px; } .mock-input { font-size: .85rem; letter-spacing: .03em; } }

/* Stats */
.stats { position: relative; background: var(--navy-900); color: #fff; padding: 72px 0; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 15% 0%, rgba(63, 85, 200, .25), transparent 70%), radial-gradient(600px 300px at 90% 100%, rgba(255, 181, 71, .16), transparent 70%); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 8px 0 8px 24px; border-left: 2px solid rgba(255, 255, 255, .12); }
.stat b { display: block; font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.03em; margin-bottom: 10px; color: var(--brand-300); }
.stat:nth-child(even) b { color: var(--amber-400); }
.stat > span { color: rgba(255, 255, 255, .75); }
@media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } }

/* Checklist */
.ready { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.ready h2 { margin-bottom: 24px; }
.ready-art svg { width: 100%; max-width: 420px; display: block; margin: 0 auto; }
.ready-rows g { opacity: 0; transform: translateX(-14px); transition: all .6s var(--ease); }
.ready-art.is-in .ready-rows g { opacity: 1; transform: none; }
.ready-art.is-in .ready-rows g:nth-child(2) { transition-delay: .15s; }
.ready-art.is-in .ready-rows g:nth-child(3) { transition-delay: .3s; }
.ready-art.is-in .ready-rows g:nth-child(4) { transition-delay: .45s; }
.ready-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ready-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink-2); transition: transform .3s var(--ease), border-color .3s; }
.ready-list li:hover { transform: translateX(6px); border-color: var(--brand-300); }
.ready-list li > .i { margin-top: 2px; width: 24px; height: 24px; color: var(--brand-600); }
.ready-list b { display: block; color: var(--ink); }
@media (max-width: 900px) { .ready { grid-template-columns: 1fr; gap: 40px; } .ready-art svg { max-width: 300px; } }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--brand-300); box-shadow: var(--shadow); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 1.06rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--brand-600); transition: transform .35s var(--ease); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details > div { overflow: hidden; }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--ink-2); }

/* CTA band */
.cta-band { padding: 0 0 104px; }
.section-tint + .cta-band { padding-top: 104px; background: linear-gradient(var(--sand-100) 50%, var(--sand-50) 50%); }
.cta-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center;
  padding: 64px; color: #fff;
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--brand-800) 100%);
  box-shadow: var(--shadow-lg);
}
.cta-art { position: absolute; right: -80px; top: 50%; width: 420px; translate: 0 -50%; color: #fff; animation: spin 60s linear infinite; pointer-events: none; }
.cta-copy { position: relative; }
.cta-card h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 14px; }
.cta-card p { color: rgba(255, 255, 255, .78); margin: 0; font-size: 1.08rem; max-width: 56ch; }
.cta-actions { position: relative; display: grid; gap: 14px; justify-items: center; }
.cta-phone { color: rgba(255, 255, 255, .85); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 0 6px; }
.cta-phone:hover { color: #fff; }
@media (max-width: 860px) { .cta-card { grid-template-columns: 1fr; padding: 40px 28px; } .cta-actions { justify-items: start; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 80px 0 72px; text-align: center; }
.page-hero-sm { padding: 56px 0 32px; }
.page-hero-in { position: relative; z-index: 1; max-width: 860px; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 20px; }
.page-hero .lead { margin: 0 auto; }
@media (max-width: 720px) { .page-hero { padding: 48px 0 40px; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split h2 { margin-bottom: 18px; }
.split p { color: var(--ink-2); font-size: 1.06rem; }
.split-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.split-actions.center { justify-content: center; }
.about-art svg { width: 100%; display: block; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.about-art .cloud { animation: cloud 14s ease-in-out infinite alternate; }
.about-art .about-car { animation: aboutCar 9s linear infinite; }
.about-art .sign { transform-box: fill-box; transform-origin: top center; animation: swing 4s ease-in-out infinite; }
@keyframes cloud { to { transform: translateX(60px); } }
@keyframes aboutCar { from { transform: translate(-200px, 312px); } to { transform: translate(520px, 312px); } }
@keyframes swing { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.val-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.val { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; transition: transform .4s var(--ease), box-shadow .4s; }
.val:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.val-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--navy-900); color: var(--brand-300); margin-bottom: 20px; }
.val h3 { font-size: 1.2rem; margin-bottom: 8px; }
.val p { color: var(--ink-2); margin: 0; }
@media (max-width: 980px) { .val-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .val-grid { grid-template-columns: 1fr; } }

.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 720px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.timeline li { position: relative; display: flex; gap: 24px; padding-bottom: 36px; }
.timeline li:last-child { padding-bottom: 0; }
.tl-dot { position: relative; z-index: 1; flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--brand-500); color: var(--brand-700); transition: background-color .4s, color .4s; }
.timeline li.is-in .tl-dot { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.timeline h3 { font-size: 1.25rem; margin: 6px 0 6px; }
.timeline p { color: var(--ink-2); margin: 0; }

/* Coverage page */
.cov-nav { position: sticky; top: var(--nav-h); z-index: 30; background: rgba(249, 250, 253, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.cov-nav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.cov-nav .wrap::-webkit-scrollbar { display: none; }
.cov-nav a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 600; font-size: .92rem; text-decoration: none; transition: all .25s; }
.cov-nav a .i { color: var(--brand-600); width: 1.1em; height: 1.1em; }
.cov-nav a:hover { border-color: var(--brand-300); color: var(--ink); }
.cov-nav a.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.cov-nav a.is-active .i { color: var(--brand-300); }
.cov-detail { display: grid; gap: 20px; }
.cd { display: grid; grid-template-columns: 112px 1.4fr 1fr; gap: 32px; padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); scroll-margin-top: calc(var(--nav-h) + 80px); transition: box-shadow .4s, border-color .4s; }
.cd:target, .cd:hover { border-color: var(--brand-300); box-shadow: var(--shadow); }
.cd-side { display: grid; gap: 12px; justify-items: start; align-content: start; }
.cd-side .cov-tag { position: static; white-space: nowrap; }
.cd-ic { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); color: #fff; box-shadow: 0 12px 24px -10px rgba(43, 57, 144, .7); }
.cd-ic .i { width: 34px; height: 34px; }
.cd h2 { font-size: 1.8rem; margin-bottom: 10px; }
.cd-short { font-weight: 600; color: var(--ink); font-size: 1.08rem; }
.cd-main p:last-child { color: var(--ink-2); margin: 0; }
.cd-good { background: var(--sand-100); border-radius: var(--r); padding: 22px; align-self: start; }
.cd-good h3 { font-family: var(--font); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-700); margin-bottom: 12px; }
.cd-good ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cd-good li { display: flex; gap: 10px; color: var(--ink-2); font-size: .97rem; }
.cd-good .i { color: var(--brand-600); margin-top: 3px; stroke-width: 2.6; width: 1.1em; height: 1.1em; }
@media (max-width: 900px) { .cd { grid-template-columns: 1fr; padding: 26px; gap: 18px; } .cd-side { grid-auto-flow: column; justify-content: start; align-items: center; } .cd-ic { width: 60px; height: 60px; } }

.cmp-wrap { max-width: 880px; margin: 0 auto; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cmp th, .cmp td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--sand-200); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-family: var(--display); font-size: 1.05rem; background: var(--sand-100); }
.cmp td { text-align: center; width: 22%; }
.cmp thead th:not(:first-child) { text-align: center; }
.cmp tbody th { font-weight: 600; color: var(--ink-2); }
.cmp .cmp-hl { background: var(--brand-50); }
.cmp thead .cmp-hl { background: var(--brand-600); color: #fff; }
.yes, .no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.yes { background: var(--brand-600); color: #fff; }
.no { background: var(--sand-200); color: var(--ink-3); }
.yes .i, .no .i { width: 16px; height: 16px; stroke-width: 3; }
.cmp-note { display: flex; gap: 10px; align-items: flex-start; margin: 18px 4px 0; color: var(--ink-2); }
.cmp-note .i { color: var(--brand-600); margin-top: 3px; }
@media (max-width: 600px) { .cmp th, .cmp td { padding: 14px 12px; font-size: .92rem; } }

/* Contact page */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cc { display: grid; gap: 4px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; overflow-wrap: anywhere; }
.cc:hover { color: var(--ink); transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-300); }
.cc-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); margin-bottom: 14px; transition: all .4s var(--spring); }
.cc:hover .cc-ic { background: var(--brand-600); color: #fff; transform: rotate(-8deg); }
.cc-l { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.cc b { font-size: 1.15rem; }
.cc small { color: var(--ink-2); font-size: .95rem; }
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 24px; align-items: start; }
.card-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; }
.card-panel h2 { font-size: 1.8rem; margin-bottom: 8px; }
.h-sm { display: flex; align-items: center; gap: 10px; font-size: 1.2rem !important; margin-bottom: 14px !important; }
.h-sm .i { color: var(--brand-600); }
.contact-side { display: grid; gap: 20px; }
.contact-side .card-panel { padding: 26px; }
.hours { margin: 0; display: grid; gap: 10px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.hours div:last-child { border: 0; padding: 0; }
.hours dt { color: var(--ink-2); }
.hours dd { margin: 0; font-weight: 700; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--sand-200); aspect-ratio: 4 / 3.4; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-form { position: relative; margin-top: 24px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.form-foot .qw-secure { margin: 0; }
.form-done { text-align: center; padding: 24px 0 8px; }
.form-done h3 { font-size: 1.6rem; margin: 12px 0 8px; }
.form-done p { color: var(--ink-2); }
.contact-form.is-done > :not(.form-done) { display: none; }
@media (max-width: 900px) { .contact-cards, .contact-grid { grid-template-columns: 1fr; } .card-panel { padding: 24px; } }

.prose { max-width: 760px; color: var(--ink-2); font-size: 1.05rem; }
.prose h2 { font-size: 1.5rem; color: var(--ink); margin: 36px 0 12px; }
.prose li { margin-bottom: 8px; }
.prose b { color: var(--ink); }

.nf .nf-art { width: 320px; margin: 0 auto 24px; display: block; }
.nf .lane { animation: lane .8s linear infinite; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.3fr 1.2fr; gap: 40px; }
.logo-light, .logo-light:hover { color: #fff; }
.logo-light .logo-mark { color: var(--brand-500); }
.footer-brand p { margin: 18px 0 24px; max-width: 36ch; }
.footer-h { font-family: var(--font); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 8px 0 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-links a, .footer-links span { color: rgba(255, 255, 255, .72); text-decoration: none; display: inline-flex; gap: 10px; align-items: flex-start; transition: color .2s; overflow-wrap: anywhere; }
.footer-links a:hover { color: #fff; }
.footer-contact .i { color: var(--brand-300); margin-top: 3px; }
.footer-hours { margin: 0; display: grid; gap: 10px; }
.footer-hours div { display: flex; justify-content: space-between; gap: 12px; }
.footer-hours dt, .footer-hours dd { white-space: nowrap; }
.footer-hours dd { margin: 0; color: #fff; font-weight: 600; text-align: right; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 24px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-legal { max-width: 62ch; text-align: right; }
.footer-legal a { color: #fff; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
  .footer { padding: 56px 0 120px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .footer-legal { text-align: left; }
}

/* ---------- Floating quote button ---------- */
.fab {
  position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 45;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 22px 8px 8px; min-height: 60px; border: 0; border-radius: 999px;
  background: var(--brand-600); color: #fff; font-weight: 800; font-size: 1.02rem;
  box-shadow: 0 16px 36px -10px rgba(43, 57, 144, .75), 0 4px 10px rgba(13, 22, 64, .15);
  transform: translateY(140%); opacity: 0;
  transition: transform .6s var(--spring), opacity .3s, background-color .2s, box-shadow .3s;
}
.fab.is-visible { transform: none; opacity: 1; }
.fab.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.fab:hover { background: var(--brand-700); box-shadow: 0 22px 44px -12px rgba(43, 57, 144, .85); }
.fab-icon { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--amber-400); color: var(--navy-900); transition: transform .5s var(--spring); }
.fab-icon .i { width: 22px; height: 22px; stroke-width: 2.2; }
.fab:hover .fab-icon { transform: rotate(-12deg) scale(1.06); }
.fab-arrow { transition: transform .3s var(--ease); }
.fab:hover .fab-arrow { transform: translateX(4px); }
.fab-ring { position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--brand-500); animation: fabRing 2.6s ease-out infinite; pointer-events: none; }
@keyframes fabRing { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.18, 1.45); opacity: 0; } }
@media (max-width: 620px) {
  .fab { left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); justify-content: center; padding-right: 18px; min-height: 58px; }
  .fab-icon { position: absolute; left: 7px; top: 7px; }
}

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 100px; z-index: 90; translate: -50% 0; padding: 12px 18px; border-radius: 12px; background: var(--navy-900); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(12px); transition: all .35s var(--ease); pointer-events: none; max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: none; }

/* ==========================================================================
   Quote wizard
   ========================================================================== */
.q-overlay {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center; padding: 24px;
  background: rgba(7, 13, 43, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: fadeIn .3s var(--ease);
}
.q-overlay[hidden] { display: none; }
.q-overlay.is-closing { animation: fadeOut .25s var(--ease) forwards; }
.q-sheet {
  width: 100%; max-width: 780px; height: min(860px, calc(100dvh - 48px));
  background: var(--sand-50); border-radius: 28px; overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .5);
  animation: sheetIn .5s var(--spring);
}
.q-overlay.is-closing .q-sheet { animation: sheetOut .25s var(--ease) forwards; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes sheetIn { from { opacity: 0; transform: translateY(40px) scale(.97); } }
@keyframes sheetOut { to { opacity: 0; transform: translateY(24px) scale(.98); } }
@media (max-width: 640px) {
  .q-overlay { padding: 0; place-items: end stretch; }
  .q-sheet { max-width: none; height: 100dvh; border-radius: 0; animation-name: sheetUp; }
  @keyframes sheetUp { from { transform: translateY(100%); } }
}

.qw { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.qw-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px 0; }
.qw-title { display: flex; align-items: center; gap: 14px; }
.qw-badge { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-900); }
.qw-badge:has(img) { background: #fff; border: 1px solid var(--line); }
img.qw-mark { width: 30px; height: 34px; object-fit: contain; }
.qw-mark { width: 28px; height: 28px; color: var(--brand-500); }
.qw-title h2 { font-size: 1.25rem; }
.qw-title p { margin: 0; font-size: .88rem; color: var(--ink-3); font-weight: 600; }
.qw-close { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; display: grid; place-items: center; color: var(--ink-2); transition: transform .3s var(--ease), color .2s, border-color .2s; }
.qw-close:hover { color: var(--ink); border-color: var(--ink-3); transform: rotate(90deg); }

.qw-steps { list-style: none; margin: 18px 0 0; padding: 0 28px; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.qw-steps li { position: relative; display: flex; justify-content: center; }
.qw-steps li::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: var(--line); }
.qw-steps li:first-child::before { display: none; }
.qw-steps li::after { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: var(--brand-500); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.qw-steps li:first-child::after { display: none; }
.qw-steps li.is-done::after, .qw-steps li.is-current::after { transform: scaleX(1); }
.qw-steps button { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; background: none; border: 0; padding: 0; color: var(--ink-3); font-size: .78rem; font-weight: 700; cursor: default; }
.qw-steps li.is-done button { cursor: pointer; color: var(--ink-2); }
.qw-steps li.is-done button:hover .qw-dot { transform: scale(1.12); }
.qw-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--sand-50); border: 2px solid var(--line-2); font-size: .85rem; transition: all .4s var(--spring); }
.qw-dot .i { display: none; width: 16px; height: 16px; stroke-width: 3; }
.qw-steps li.is-current .qw-dot { background: var(--brand-600); border-color: var(--brand-600); color: #fff; box-shadow: 0 0 0 5px var(--brand-100); }
.qw-steps li.is-current button { color: var(--ink); }
.qw-steps li.is-done .qw-dot { background: var(--brand-100); border-color: var(--brand-500); color: var(--brand-700); }
.qw-steps li.is-done .qw-dot span { display: none; }
.qw-steps li.is-done .qw-dot .i { display: block; }
.qw-bar { display: none; height: 4px; margin: 16px 20px 0; background: var(--sand-200); border-radius: 4px; overflow: hidden; }
.qw-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand-500), var(--brand-600)); border-radius: inherit; transition: width .5s var(--ease); }

.qw-form { flex: 1; display: flex; flex-direction: column; min-height: 0; margin-top: 18px; border-top: 1px solid var(--line); background: #fff; }
.qw-viewport { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 30px 32px 36px; scroll-behavior: smooth; }
.qw-step { animation: stepFwd .45s var(--ease); }
.qw-step.is-back { animation-name: stepBack; }
@keyframes stepFwd { from { opacity: 0; transform: translateX(32px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-32px); } }
.qw-head { margin-bottom: 26px; }
.qw-head .eyebrow { margin-bottom: 10px; }
.qw-head h3:focus { outline: none; }
.qw-head h3 { font-size: clamp(1.6rem, 3vw, 2.05rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.qw-head p { color: var(--ink-2); margin: 0; }

.qw-foot { display: flex; align-items: center; gap: 12px; padding: 16px 32px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: rgba(255, 255, 255, .96); }
.qw-foot [data-next] { margin-left: auto; min-width: 160px; }
.qw-foot [data-back][hidden] { display: none; }
.qw-saved { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-size: .85rem; font-weight: 600; opacity: 0; transition: opacity .4s; }
.qw-saved .i { width: 16px; height: 16px; stroke-width: 2.6; }
.qw-saved.is-on { opacity: 1; }

/* Fields */
.grid { display: grid; gap: 18px 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.span2 { grid-column: span 2; }
.fld { display: grid; gap: 7px; align-content: start; min-width: 0; }
.fld[hidden] { display: none; }
.fld-l { font-weight: 600; font-size: .92rem; color: var(--ink); }
.fld-l i, legend i { font-style: normal; color: var(--ink-3); font-weight: 500; }
.fld-h { font-size: .82rem; color: var(--ink-3); }
.fld-wrap { position: relative; display: block; }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 52px; padding: 12px 15px;
  border: 1.5px solid var(--line-2); border-radius: 13px; background: #fff;
  font-size: 1rem; color: var(--ink); outline: 0;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.fld textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.fld select { padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475174' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.fld input::placeholder, .fld textarea::placeholder { color: #9AA2BA; }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: var(--ink-3); }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--brand-500); box-shadow: var(--ring); }
.fld .is-bad, .fld .is-bad:hover { border-color: var(--danger); background: #FFFBFB; }
.fld .is-bad:focus { box-shadow: 0 0 0 4px rgba(201, 48, 48, .15); }
.fld input.mono { font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.fld-e { display: none; align-items: center; gap: 6px; color: var(--danger); font-size: .85rem; font-weight: 600; }
.fld-e.is-on { display: flex; animation: errIn .3s var(--ease); }
.fld-e.is-on::before { content: "!"; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--danger); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
@keyframes errIn { from { opacity: 0; transform: translateY(-4px); } }
.fld-spin { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2.5px solid var(--brand-500); border-right-color: transparent; border-radius: 50%; opacity: 0; animation: spin .7s linear infinite; }
.fld-wrap.is-loading .fld-spin { opacity: 1; }
.fld-lock { position: absolute; right: 14px; top: 50%; translate: 0 -50%; color: var(--ok); display: grid; }
.fld-lock .i { width: 18px; height: 18px; }
.fld-wrap .fld-lock + input, .fld-wrap input:has(+ .fld-lock) { padding-right: 44px; }
.qw-step.is-shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

fieldset.seg-fld { border: 0; padding: 0; margin: 24px 0 0; min-width: 0; }
fieldset.seg-fld > legend { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: .95rem; }
.legend-h { display: block; font-weight: 500; color: var(--ink-3); font-size: .86rem; margin-top: 2px; }
fieldset.seg-fld > .fld-e { margin-top: 8px; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--sand-100); border: 1.5px solid var(--line); border-radius: 15px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 10px; border-radius: 11px; font-weight: 600; font-size: .95rem; color: var(--ink-2); text-align: center; transition: all .25s var(--ease); }
.seg span .i { width: 1.1em; height: 1.1em; }
.seg label:hover span { color: var(--ink); }
.seg input:checked + span { background: #fff; color: var(--brand-700); box-shadow: 0 1px 2px rgba(13, 22, 64, .1), 0 4px 12px -4px rgba(13, 22, 64, .15); }
.seg input:focus-visible + span { outline: 3px solid var(--brand-500); outline-offset: 1px; }
.seg.is-bad { border-color: var(--danger); }
.seg-sm span { min-height: 38px; font-size: .88rem; padding: 6px 8px; }

/* Repeatable cards */
.qw-list { display: grid; gap: 16px; }
.qw-card { position: relative; border: 1.5px solid var(--line); border-radius: 20px; padding: 22px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.qw-card:focus-within { border-color: var(--brand-300); box-shadow: 0 10px 30px -14px rgba(43, 57, 144, .35); }
.qw-card.is-new { animation: cardIn .55s var(--spring); }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.qw-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.qw-avatar { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-700); font-family: var(--display); font-weight: 800; font-size: 1.05rem; transition: background-color .3s, color .3s; }
.qw-avatar.is-filled { background: var(--brand-600); color: #fff; }
.qw-avatar-car.is-ok { background: var(--ok); color: #fff; }
.qw-card-t { min-width: 0; flex: 1; }
.qw-card-t h4 { font-size: 1.15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qw-card-t p { margin: 2px 0 0; color: var(--ink-3); font-size: .88rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qw-remove { width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid transparent; background: transparent; color: var(--ink-3); display: grid; place-items: center; transition: all .2s; }
.qw-remove:hover { color: var(--danger); background: var(--danger-50); border-color: #F5C9C9; }
.qw-remove[hidden] { display: none; }
.qw-card fieldset.seg-fld { margin-top: 18px; }
/* Gender sits in the field grid next to date of birth, lined up with the inputs */
.qw-card fieldset.fld-gender { margin: 0; }
fieldset.fld-gender > legend { margin-bottom: 7px; font-weight: 600; }
.qw .fld-gender .seg span { min-height: 48px; } /* plus the toggle padding and border = the 58px inputs beside it */
.qw-card .grid + .grid, .qw-card fieldset + .grid { margin-top: 18px; }

.qw-add { width: 100%; margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; border: 2px dashed var(--line-2); border-radius: 18px; background: transparent; color: var(--brand-700); font-weight: 700; font-size: 1.02rem; transition: all .25s var(--ease); }
.qw-add:hover { border-color: var(--brand-500); background: var(--brand-50); }
.qw-add-plus { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-600); color: #fff; transition: transform .4s var(--spring); }
.qw-add-plus .i { width: 18px; height: 18px; stroke-width: 2.8; }
.qw-add:hover .qw-add-plus { transform: rotate(90deg) scale(1.08); }
.qw-add small { color: var(--ink-3); font-weight: 600; }
.qw-add[disabled] { opacity: .5; cursor: not-allowed; }
.qw-secure { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; color: var(--ink-3); font-size: .88rem; font-weight: 600; }
.qw-secure .i { color: var(--ok); }

/* VIN */
.vin-row { display: grid; gap: 12px; }
.vin-wrap .vin-ic { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--ink-3); display: grid; }
.vin-wrap input { padding-left: 46px; padding-right: 64px; font-size: 1.05rem; }
.vin-count { position: absolute; right: 14px; top: 50%; translate: 0 -50%; font-size: .78rem; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.vin-count.is-full { color: var(--ok); }
.vin-res:empty { display: none; }
.vin-res { border-radius: 14px; animation: errIn .3s var(--ease); }
.vin-res .vr { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; }
.vr-loading { background: var(--sand-100); color: var(--ink-2); font-weight: 600; position: relative; overflow: hidden; }
.vr-loading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); animation: shimmer 1.2s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.vr-loading .btn-spin { display: inline-block; color: var(--brand-600); }
.vr-ok { background: var(--ok-50); border: 1px solid #BFE8D2; animation: pop .5s var(--spring); }
.vr-ok b { display: block; font-size: 1.05rem; }
.vr-ok small { color: var(--ink-2); }
.vr-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; }
.vr-ic .i { width: 18px; height: 18px; stroke-width: 3; }
.vr-warn { background: var(--amber-100); border: 1px solid #F7D9A6; color: #7A4B06; font-size: .92rem; }
.vr-warn .vr-ic { background: var(--amber-500); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }

.vcov-l { margin: 20px 0 10px; font-weight: 700; font-size: .95rem; }
.vcov { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.chk { position: relative; display: grid; gap: 8px; padding: 14px; border: 1.5px solid var(--line-2); border-radius: 16px; cursor: pointer; background: #fff; transition: all .25s var(--ease); }
.chk input { position: absolute; opacity: 0; pointer-events: none; }
.chk:hover { border-color: var(--ink-3); }
.chk-box { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line-2); display: grid; place-items: center; color: #fff; transition: all .25s var(--spring); }
.chk-box .i { width: 14px; height: 14px; stroke-width: 3.4; transform: scale(0); transition: transform .3s var(--spring); }
.chk-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--sand-100); color: var(--ink-2); transition: all .25s; }
.chk-t b { display: block; font-size: .98rem; }
.chk-t small { color: var(--ink-3); font-size: .82rem; line-height: 1.35; display: block; }
.chk input:checked ~ .chk-box { background: var(--brand-600); border-color: var(--brand-600); }
.chk input:checked ~ .chk-box .i { transform: scale(1); }
.chk input:checked ~ .chk-ic { background: var(--brand-600); color: #fff; }
.chk:has(input:checked) { border-color: var(--brand-500); background: var(--brand-50); }
.chk input:focus-visible ~ .chk-box { outline: 3px solid var(--brand-500); outline-offset: 2px; }
.deduct { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; padding: 12px 14px; background: var(--sand-100); border-radius: 14px; animation: errIn .3s var(--ease); }
.deduct[hidden] { display: none; }
.deduct-l { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.deduct .seg { flex: 1; min-width: 260px; background: #fff; }

.tip { margin: -6px 0 18px; border-radius: 16px; background: var(--amber-100); border: 1px solid #F7D9A6; }
.tip summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-weight: 700; color: #7A4B06; cursor: pointer; }
.tip summary::-webkit-details-marker { display: none; }
.tip-body { display: flex; gap: 18px; align-items: center; padding: 0 16px 16px; }
.tip-art { flex: none; width: 170px; }
.tip ul { margin: 0; padding-left: 18px; color: #5E3B07; font-size: .92rem; display: grid; gap: 6px; }
@media (max-width: 560px) { .tip-body { flex-direction: column; align-items: stretch; } .tip-art { width: 150px; } }

/* Coverage options */
.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-body { display: grid; gap: 4px; height: 100%; padding: 16px 16px 16px 50px; border: 1.5px solid var(--line-2); border-radius: 16px; background: #fff; transition: all .25s var(--ease); position: relative; }
.opt-radio { position: absolute; left: 16px; top: 18px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); transition: all .25s var(--spring); }
.opt-body b { font-size: 1rem; padding-right: 70px; }
.opt-body small { color: var(--ink-3); font-size: .86rem; line-height: 1.4; }
.opt-tag { position: absolute; top: 14px; right: 14px; font-style: normal; font-size: .7rem; font-weight: 800; letter-spacing: .02em; padding: 3px 8px; border-radius: 999px; background: var(--amber-100); color: #8A5308; }
.opt:hover .opt-body { border-color: var(--ink-3); }
.opt input:checked + .opt-body { border-color: var(--brand-500); background: var(--brand-50); box-shadow: 0 8px 20px -12px rgba(43, 57, 144, .5); }
.opt input:checked + .opt-body .opt-radio { border-color: var(--brand-600); border-width: 7px; }
.opt input:focus-visible + .opt-body { outline: 3px solid var(--brand-500); outline-offset: 2px; }
.opt:last-child:nth-child(odd) { grid-column: span 2; }

.toggle-grid { display: grid; gap: 10px; }
.toggle-card { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--line-2); border-radius: 16px; background: #fff; cursor: pointer; transition: all .25s var(--ease); }
.toggle-card input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-card:hover { border-color: var(--ink-3); }
.tc-icon { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--sand-100); color: var(--ink-2); transition: all .3s; }
.tc-text { flex: 1; }
.tc-text b { display: block; }
.tc-text small { color: var(--ink-3); font-size: .87rem; }
.switch { flex: none; position: relative; width: 50px; height: 30px; border-radius: 999px; background: var(--line-2); transition: background-color .3s; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); transition: transform .35s var(--spring); }
.toggle-card:has(input:checked) { border-color: var(--brand-500); background: var(--brand-50); }
.toggle-card input:checked ~ .switch { background: var(--brand-600); }
.toggle-card input:checked ~ .switch::after { transform: translateX(20px); }
.toggle-card input:checked ~ .tc-icon { background: var(--brand-600); color: #fff; }
.toggle-card input:focus-visible ~ .switch { outline: 3px solid var(--brand-500); outline-offset: 2px; }

/* Review */
.rv { display: grid; gap: 14px; }
.rv-sec { border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; }
.rv-h { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--sand-100); }
.rv-h .i { color: var(--brand-600); }
.rv-h h4 { font-family: var(--font); font-size: .95rem; font-weight: 800; flex: 1; }
.rv-edit { display: inline-flex; align-items: center; gap: 6px; border: 0; background: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: .85rem; color: var(--brand-700); box-shadow: var(--shadow-sm); transition: transform .2s; }
.rv-edit:hover { transform: translateY(-1px); }
.rv-edit .i { width: 14px; height: 14px; }
.rv-b { padding: 14px 16px; display: grid; gap: 12px; }
.rv-item { display: grid; gap: 2px; }
.rv-item + .rv-item { padding-top: 12px; border-top: 1px dashed var(--line); }
.rv-item b { font-size: 1rem; }
.rv-item span { color: var(--ink-2); font-size: .92rem; }
.rv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.rv-tags em { font-style: normal; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }
.rv-tags em.off { background: var(--sand-100); color: var(--ink-3); border-color: var(--line); }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 16px; border-radius: 16px; background: var(--sand-100); cursor: pointer; font-size: .92rem; color: var(--ink-2); }
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent-box { flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 8px; border: 2px solid var(--line-2); background: #fff; display: grid; place-items: center; color: #fff; transition: all .25s var(--spring); }
.consent-box .i { width: 15px; height: 15px; stroke-width: 3.4; transform: scale(0); transition: transform .3s var(--spring); }
.consent input:checked + .consent-box { background: var(--brand-600); border-color: var(--brand-600); }
.consent input:checked + .consent-box .i { transform: scale(1); }
.consent input:focus-visible + .consent-box { outline: 3px solid var(--brand-500); outline-offset: 2px; }
.consent.is-bad .consent-box { border-color: var(--danger); }
.consent-e { margin-top: 8px; }
.ts-box:empty { display: none; }
.ts-box { margin-top: 16px; }
.qw-alert { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--danger-50); border: 1px solid #F5C9C9; color: #8E1F1F; font-weight: 600; animation: errIn .3s; }
.qw-alert ul { margin: 6px 0 0; padding-left: 18px; font-weight: 500; }

/* Success */
.qw-done { position: relative; flex: 1; overflow-y: auto; text-align: center; padding: 48px 32px; background: #fff; margin-top: 18px; border-top: 1px solid var(--line); outline: 0; }
.qw-done[hidden] { display: none; }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.done-check { width: 92px; height: 92px; display: block; margin: 0 auto 18px; }
.done-check circle { fill: var(--ok-50); stroke: var(--ok); stroke-width: 3; stroke-dasharray: 230; stroke-dashoffset: 230; animation: draw .7s var(--ease) forwards; }
.done-check path { fill: none; stroke: var(--ok); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .45s .5s var(--ease) forwards; }
.qw-done h3 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; margin-bottom: 8px; }
.done-ref { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--sand-100); color: var(--ink-2); font-weight: 600; }
.done-ref b { font-family: var(--mono); color: var(--ink); letter-spacing: .05em; }
.qw-done > p:not(.done-ref) { color: var(--ink-2); max-width: 48ch; margin: 8px auto 26px; }
.done-steps { list-style: none; padding: 0; margin: 0 auto 30px; max-width: 460px; display: grid; gap: 10px; text-align: left; }
.done-steps li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; opacity: 0; animation: doneIn .5s var(--spring) forwards; }
@keyframes doneIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.done-steps li:nth-child(1) { animation-delay: .7s; }
.done-steps li:nth-child(2) { animation-delay: .85s; }
.done-steps li:nth-child(3) { animation-delay: 1s; }
.done-steps li > span { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); }
.done-steps b { display: block; }
.done-steps small { color: var(--ink-3); }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Wizard on its own page */
.quote-page { position: relative; padding: 40px 0 96px; }
.quote-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.qw-page { background: var(--sand-50); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); overflow: clip; }
.qw-page .qw-viewport { overflow: visible; }
.qw-page .qw-foot { position: sticky; bottom: 0; z-index: 5; }
.qw-page .qw-done { overflow: visible; }
.quote-aside { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 16px; }
.qa-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.qa-card h2 { font-size: 1.2rem; margin-bottom: 16px; }
.qa-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.qa-card li { display: flex; gap: 12px; color: var(--ink-2); font-size: .92rem; }
.qa-card li .i { color: var(--brand-600); margin-top: 2px; }
.qa-card b { display: block; color: var(--ink); }
.qa-help { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 22px; background: var(--navy-900); color: #fff; text-decoration: none; transition: transform .3s var(--ease); }
.qa-help:hover { color: #fff; transform: translateY(-3px); }
.qa-help-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--amber-400); color: var(--navy-900); }
.qa-help small { display: block; opacity: .7; }
.qa-help b { font-size: 1.15rem; }
@media (max-width: 980px) { .quote-layout { grid-template-columns: 1fr; } .quote-aside { position: static; grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .quote-page { padding: 16px 0 64px; } .quote-page .wrap { padding: 0 12px; } .quote-aside { grid-template-columns: 1fr; } }

/* Wizard on small screens */
@media (max-width: 640px) {
  .qw-top { padding: 14px 16px 0; }
  .qw-badge { width: 40px; height: 40px; }
  .qw-steps { display: none; }
  .qw-bar { display: block; margin: 14px 16px 0; }
  .qw-form, .qw-done { margin-top: 14px; }
  .qw-viewport { padding: 22px 16px 28px; }
  .qw-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .qw-foot [data-next] { min-width: 0; flex: 1; }
  .qw-foot [data-back] span { display: none; }
  .qw-foot [data-back] { padding: 12px 16px; }
  .qw-saved { display: none; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .span2 { grid-column: auto; }
  .qw-card { padding: 16px; border-radius: 18px; }
  .vcov { grid-template-columns: 1fr; }
  .chk { grid-template-columns: auto 1fr; align-items: center; padding: 12px 48px 12px 12px; }
  .chk-box { top: 50%; margin-top: -11px; }
  .opt-grid { grid-template-columns: 1fr; }
  .opt:last-child:nth-child(odd) { grid-column: auto; }
  .seg-3 { grid-auto-flow: row; }
  .deduct .seg { min-width: 0; width: 100%; }
  .qw-done { padding: 36px 16px; }
}

/* ---------- Scroll reveal ---------- */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
  .reveal.is-in { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hl path, .shield-check, .done-check circle, .done-check path { stroke-dashoffset: 0; }
  .done-steps li { opacity: 1; }
}

@media print {
  .nav, .fab, .footer, .cta-band, .marquee { display: none !important; }
}

/* ---------- Logo motif: ring of tilted squares ---------- */
.pinwheel { position: absolute; pointer-events: none; animation: spin 120s linear infinite; }
.hero-pin { width: 620px; right: -210px; top: -190px; opacity: .08; }
.page-pin { width: 460px; left: -170px; top: -150px; opacity: .07; animation-direction: reverse; }
.cta-art.pinwheel { opacity: .5; animation-duration: 80s; }
@media (max-width: 720px) { .hero-pin { width: 420px; right: -220px; top: -120px; } .page-pin { width: 320px; left: -160px; } }

/* ---------- Responsive refinements ---------- */
/* Keep "& every ride." on its own line at every size */
.hl { display: block; width: fit-content; }

/* Tablets: keep the three "How it works" steps side by side */
@media (max-width: 860px) and (min-width: 701px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .steps::before { display: block; left: 18%; right: 18%; top: 52px; }
  .step-card { padding: 22px 20px; }
  .step-ic { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 16px; }
  .step-n { font-size: 2.4rem; top: 16px; right: 18px; }
  .step-card h3 { font-size: 1.15rem; }
  .step-card p { font-size: .93rem; }
}
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

/* Tablets: center the hero copy above the illustration */
@media (max-width: 980px) and (min-width: 621px) {
  .hero-copy { text-align: center; }
  .hero-copy .hl { margin: 0 auto; }
  .hero .lead, .zip-form { margin-left: auto; margin-right: auto; }
  .hero-ticks { justify-content: center; }
}

/* Small phones */
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .stat { padding-left: 14px; }
  .stat b { font-size: 2rem; }
  .stat > span { font-size: .9rem; }
  .seg-4 { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .deduct { flex-direction: column; align-items: stretch; }
  .section-head h2 { font-size: 1.85rem; }
  .cta-card { padding: 32px 22px; }
  .cta-card h2 { font-size: 1.6rem; }
  .cc, .card-panel { padding: 22px 18px; }
  .qw-head h3 { font-size: 1.5rem; }
}
@media (max-width: 360px) {
  .seg span { font-size: .88rem; gap: 6px; padding: 8px 6px; }
  .hero-h { font-size: 2.35rem; }
  .page-hero h1 { font-size: 2.1rem; }
}

/* Large desktops: use a little more of the width */
@media (min-width: 1600px) {
  .wrap { max-width: 1320px; }
  .hero-h { font-size: 4.9rem; }
  .q-sheet { max-width: 820px; }
}

/* Checked option icons: set the stroke directly so it always repaints white */
.chk input:checked ~ .chk-ic .i, .toggle-card input:checked ~ .tc-icon .i { stroke: #fff; }
/* Only reserve room for the badge on options that have one */
.opt-body b { padding-right: 0; }
.opt-body:has(.opt-tag) b { padding-right: 84px; }
@media (max-width: 380px) {
  .seg-2 span .i { display: none; }
  .opt-body:has(.opt-tag) b { padding-right: 0; padding-top: 22px; }
}
@media (max-width: 560px) { .mock::before { inset: 0 4px; transform: rotate(-2deg); } }

/* ==========================================================================
   v2: services, languages, offices
   ========================================================================== */

/* Language switch */
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--sand-100); border: 1px solid var(--line); text-decoration: none; font-size: .8rem; font-weight: 800; letter-spacing: .04em; }
.lang-switch span { padding: 5px 9px; border-radius: 999px; color: var(--ink-3); transition: all .25s var(--ease); }
.lang-switch span.on { background: var(--navy-900); color: #fff; }
.lang-switch:hover span:not(.on) { color: var(--ink); }
.nav-links { gap: 2px; }
.nav-links a { padding: 8px 12px; }
@media (max-width: 1180px) { .nav-phone span { display: none; } .nav-links a { padding: 8px 10px; font-size: .95rem; } }
@media (max-width: 1040px) { .nav-links { display: none; } .nav-burger { display: block; } .nav-phone { display: none; } }
@media (max-width: 380px) { .lang-switch span { padding: 4px 7px; } }

/* Quote steps: the number of steps depends on the service */
.qw-steps { grid-template-columns: repeat(var(--n, 6), 1fr); }
@media (max-width: 760px) { .qw-sl { font-size: .7rem; } }

/* Step 1: service picker */
.svc-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.svc-opt { position: relative; cursor: pointer; }
.svc-opt input { position: absolute; opacity: 0; pointer-events: none; }
.svc-opt-body { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 16px; border: 1.5px solid var(--line-2); border-radius: 18px; background: #fff; transition: all .25s var(--ease); }
.svc-opt-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); transition: all .3s var(--spring); }
.svc-opt-ic .i { width: 22px; height: 22px; }
.svc-opt-t { flex: 1; min-width: 0; }
.svc-opt-t b { display: block; font-size: 1rem; margin-bottom: 2px; }
.svc-opt-t small { display: block; color: var(--ink-3); font-size: .84rem; line-height: 1.4; }
.svc-opt-check { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; color: #fff; transition: all .25s var(--spring); }
.svc-opt-check .i { width: 14px; height: 14px; stroke-width: 3.2; transform: scale(0); transition: transform .3s var(--spring); }
.svc-opt:hover .svc-opt-body { border-color: var(--ink-3); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.svc-opt input:checked + .svc-opt-body { border-color: var(--brand-500); background: var(--brand-50); box-shadow: 0 10px 24px -14px rgba(43, 57, 144, .6); }
.svc-opt input:checked + .svc-opt-body .svc-opt-ic { background: var(--brand-600); color: #fff; transform: rotate(-6deg) scale(1.05); }
.svc-opt input:checked + .svc-opt-body .svc-opt-ic .i { stroke: #fff; }
.svc-opt input:checked + .svc-opt-body .svc-opt-check { background: var(--brand-600); border-color: var(--brand-600); }
.svc-opt input:checked + .svc-opt-body .svc-opt-check .i { transform: scale(1); }
.svc-opt input:focus-visible + .svc-opt-body { outline: 3px solid var(--brand-500); outline-offset: 2px; }
.svc-pick.is-bad .svc-opt-body { border-color: var(--danger); }
@media (max-width: 640px) { .svc-pick { grid-template-columns: 1fr; } .svc-opt-body { padding: 12px 14px; } .svc-opt-t small { font-size: .8rem; } }

/* Service questions: pick one / pick many */
.pick-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 16px; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; font-weight: 600; font-size: .94rem; color: var(--ink-2); transition: all .2s var(--ease); }
.pick:hover span { border-color: var(--ink-3); color: var(--ink); }
.pick input:checked + span { border-color: var(--brand-500); background: var(--brand-50); color: var(--brand-700); }
.pick input:focus-visible + span { outline: 3px solid var(--brand-500); outline-offset: 2px; }
.pick-box { width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--line-2); display: grid; place-items: center; color: #fff; font-style: normal; transition: all .2s; }
.pick-box .i { width: 12px; height: 12px; stroke-width: 3.4; transform: scale(0); transition: transform .25s var(--spring); }
.pick input:checked + span .pick-box { background: var(--brand-600); border-color: var(--brand-600); }
.pick input:checked + span .pick-box .i { transform: scale(1); stroke: #fff; }
.pick-grid.is-bad .pick span { border-color: var(--danger); }
.qw-details .seg-fld { margin-top: 0; }

/* Vehicles: full coverage extras (deductible + lienholder) */
.full-extra { margin-top: 12px; display: grid; gap: 12px; padding: 14px; border-radius: 16px; background: var(--sand-100); animation: errIn .3s var(--ease); }
.full-extra .deduct { margin: 0; padding: 0; background: none; }
.full-extra fieldset.seg-fld { margin: 0; }
.full-extra fieldset.seg-fld > legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .9rem; }
.full-extra fieldset.seg-fld > legend .i { color: var(--brand-600); width: 1.05em; height: 1.05em; }
.full-extra .legend-h { flex-basis: 100%; }
.full-extra .seg { background: #fff; }

/* Drivers: three ID types */
.id-note { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--ok-50); color: #0B6B42; font-size: .88rem; font-weight: 600; }
.id-note .i { flex: none; width: 16px; height: 16px; stroke-width: 2.6; }
@media (max-width: 560px) { .seg-id { grid-auto-flow: row; } }

/* Home: services grid */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.svc-card:hover { color: var(--ink); transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-300, #A9B6EE); }
.svc-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); margin-bottom: 18px; transition: all .45s var(--spring); }
.svc-ic .i { width: 26px; height: 26px; }
.svc-card:hover .svc-ic { background: var(--brand-600); color: #fff; transform: rotate(-8deg) scale(1.06); }
.svc-card:hover .svc-ic .i { stroke: #fff; }
.svc-card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.svc-card p { color: var(--ink-2); font-size: .95rem; flex: 1; margin-bottom: 18px; }
.svc-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.svc-card-call { background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); border-color: transparent; color: #fff; }
.svc-card-call:hover { color: #fff; }
.svc-card-call p { color: rgba(255, 255, 255, .75); }
.svc-card-call .svc-ic { background: var(--amber-400); color: var(--navy-900); }
.svc-card-call .cov-more { color: var(--amber-400); }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } .svc-card { padding: 22px; } }

/* Home: "any type of ID" banner */
.id-banner { position: relative; overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; padding: 48px; border-radius: var(--r-xl); background: linear-gradient(135deg, var(--brand-50), #fff 60%); border: 1px solid var(--line); }
.id-copy h2 { margin-bottom: 14px; }
.id-copy > p { color: var(--ink-2); font-size: 1.08rem; }
.id-list { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.id-list li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.id-list .i { color: #fff; background: var(--ok); border-radius: 50%; padding: 3px; width: 22px; height: 22px; stroke-width: 3; }
.id-art { position: relative; height: 280px; }
.id-card { position: absolute; width: 230px; height: 144px; border-radius: 18px; padding: 18px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); transition: transform .6s var(--spring); }
.id-card b { grid-column: 1 / -1; font-family: var(--display); font-size: 1rem; }
.id-photo { width: 54px; height: 64px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-700); }
.id-photo .i { width: 26px; height: 26px; }
.id-lines { display: grid; gap: 8px; align-content: center; }
.id-lines i { display: block; height: 8px; border-radius: 4px; background: var(--sand-200); }
.id-lines i:nth-child(2) { width: 70%; }
.id-lines i:nth-child(3) { width: 45%; }
.id-c1 { left: 6%; top: 10px; transform: rotate(-8deg); }
.id-c2 { left: 22%; top: 64px; transform: rotate(4deg); background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.id-c2 .id-photo { background: rgba(255, 255, 255, .12); color: var(--brand-200, #C8D1F5); }
.id-c2 .id-lines i { background: rgba(255, 255, 255, .18); }
.id-c3 { left: 40%; top: 120px; transform: rotate(-3deg); }
.id-c3 .id-photo { background: var(--amber-100); color: #B86E0C; }
.id-check { position: absolute; left: calc(40% + 200px); top: 100px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; box-shadow: 0 12px 24px -8px rgba(18, 145, 90, .6); animation: float 5s ease-in-out infinite; }
.id-check .i { width: 26px; height: 26px; stroke-width: 3; }
.id-banner:hover .id-c1 { transform: rotate(-12deg) translate(-8px, -6px); }
.id-banner:hover .id-c2 { transform: rotate(6deg) translateY(-4px); }
.id-banner:hover .id-c3 { transform: rotate(-1deg) translate(8px, 4px); }
@media (max-width: 900px) { .id-banner { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; } .id-art { height: 250px; max-width: 420px; width: 100%; margin: 0 auto; } }
@media (max-width: 420px) { .id-card { width: 190px; height: 124px; padding: 14px; } .id-photo { width: 44px; height: 52px; } .id-c2 { left: 14%; } .id-c3 { left: 26%; } .id-check { left: auto; right: 0; } }

/* Offices */
.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.loc-card { display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.loc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--brand-300, #A9B6EE); }
.loc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.loc-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-900); color: var(--amber-400); }
.open-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; line-height: 1.3; background: var(--sand-100); color: var(--ink-3); text-align: right; }
.open-badge::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.open-badge.is-open { background: var(--ok-50); color: var(--ok); }
.open-badge.is-open::before { animation: ping 2s infinite; box-shadow: 0 0 0 0 rgba(18, 145, 90, .5); }
.loc-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.loc-addr { color: var(--ink-2); font-size: .95rem; margin-bottom: 14px; }
.loc-hours { margin: 0 0 16px; display: grid; gap: 6px; font-size: .88rem; flex: 1; align-content: start; }
.loc-hours div { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
.loc-hours div:last-child { border: 0; padding: 0; }
.loc-hours dt { color: var(--ink-3); }
.loc-hours dd { margin: 0; font-weight: 700; text-align: right; }
.loc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.loc-actions .btn { flex: 1; }
@media (max-width: 1100px) { .loc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .loc-grid { grid-template-columns: 1fr; } }

.map-box { margin-top: 24px; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.map-tabs { display: flex; gap: 6px; padding: 10px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.map-tabs::-webkit-scrollbar { display: none; }
.map-tabs button { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .9rem; color: var(--ink-2); transition: all .2s; }
.map-tabs button .i { width: 1.05em; height: 1.05em; color: var(--brand-600); }
.map-tabs button[aria-selected="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.map-tabs button[aria-selected="true"] .i { color: var(--amber-400); }
.map-box .map { border: 0; border-radius: 0; aspect-ratio: 16 / 7; }
.map-box { scroll-margin-top: 96px; }
/* Office cards pick the office shown on the map */
.loc-card[data-map-office] { cursor: pointer; }
.loc-card.is-on-map { border-color: var(--brand-500); box-shadow: var(--ring), var(--shadow-lg); }
.loc-map-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin: -4px 0 14px; padding: 6px 12px 6px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.loc-map-btn .i { width: 1.05em; height: 1.05em; }
.loc-map-btn:hover { border-color: var(--brand-500); }
.loc-map-btn:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 2px; }
.loc-map-btn .lm-on, .is-on-map .loc-map-btn .lm-off { display: none; }
.is-on-map .loc-map-btn .lm-on { display: inline; }
.is-on-map .loc-map-btn { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.is-on-map .loc-map-btn .i { color: var(--amber-400); }
.loc-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: auto; }
/* While Google loads another office */
.map { position: relative; }
.map::before, .map::after { position: absolute; opacity: 0; pointer-events: none; transition: opacity .25s; }
.map::after { content: attr(data-loading); inset: 0; display: grid; place-items: center; padding-top: 64px; background: rgba(241, 244, 250, .82); font-weight: 700; color: var(--ink-2); }
.map::before { content: ""; z-index: 1; top: 50%; left: 50%; width: 34px; height: 34px; margin: -30px 0 0 -17px; border: 3px solid var(--brand-100); border-top-color: var(--brand-600); border-radius: 50%; animation: spin .8s linear infinite; }
.map.is-loading::before, .map.is-loading::after { opacity: 1; }
@media (max-width: 720px) { .map-box .map { aspect-ratio: 4 / 3.4; } }
.contact-side .cc { padding: 22px; }
.cc-static:hover { transform: none; box-shadow: none; border-color: var(--line); }

/* Auto page: personal vs commercial */
.section-tight2 { padding: 48px 0 72px; }
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.type-card { position: relative; padding: 34px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 80px); transition: transform .4s var(--ease), box-shadow .4s; }
.type-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.type-card h2 { font-size: 2rem; margin-bottom: 10px; }
.type-card > p { color: var(--ink-2); }
.type-ic { position: absolute; right: 28px; top: 28px; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); }
.type-ic .i { width: 30px; height: 30px; }
.type-card-dark { background: linear-gradient(135deg, var(--navy-900), var(--navy-800) 60%, var(--brand-800)); border-color: transparent; color: #fff; }
.type-card-dark > p { color: rgba(255, 255, 255, .78); }
.type-card-dark .eyebrow { color: var(--amber-400); }
.type-card-dark .type-ic { background: rgba(255, 255, 255, .1); color: var(--amber-400); }
.tick-list { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.tick-list .i { color: var(--brand-600); stroke-width: 2.6; }
.type-card-dark .tick-list .i { color: var(--amber-400); }
@media (max-width: 860px) { .type-grid { grid-template-columns: 1fr; } .type-card { padding: 26px 22px; } .type-ic { width: 52px; height: 52px; right: 20px; top: 20px; } .type-card h2 { font-size: 1.7rem; } }

/* Services page */
.svc-sec { scroll-margin-top: calc(var(--nav-h) + 60px); }
.svc-sec-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.svc-sec-in.is-flip .svc-sec-copy { order: 2; }
.svc-big-ic { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); color: #fff; box-shadow: 0 14px 28px -12px rgba(43, 57, 144, .7); margin-bottom: 22px; }
.svc-big-ic .i { width: 34px; height: 34px; stroke: #fff; }
.svc-sec-copy h2 { margin-bottom: 14px; }
.svc-sec-copy .lead { margin-bottom: 4px; }
.svc-note { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 18px 0 0; color: var(--ink-2); font-weight: 600; }
.svc-note .i { color: var(--brand-600); }
.sub-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sub-item { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); font-weight: 700; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.sub-item:hover { transform: translateY(-4px); border-color: var(--brand-300, #A9B6EE); box-shadow: var(--shadow); }
.sub-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); }
.section-tint .sub-item { background: #fff; }
@media (max-width: 900px) { .svc-sec-in { grid-template-columns: 1fr; gap: 32px; } .svc-sec-in.is-flip .svc-sec-copy { order: 0; } }
@media (max-width: 420px) { .sub-grid { grid-template-columns: 1fr; } .sub-item { padding: 14px; } }

/* Footer: four offices */
.footer-grid { grid-template-columns: 1.35fr .75fr .95fr 1.35fr; gap: 40px; }
.footer-badges { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: .9rem; }
.footer-badges li { display: flex; gap: 8px; align-items: center; color: rgba(255, 255, 255, .85); }
.footer-badges .i { color: var(--amber-400); width: 1.1em; height: 1.1em; }
.footer-offices .footer-links { gap: 14px; }
.footer-offices .footer-links b { color: #fff; }
.footer-more { display: inline-flex; gap: 6px; align-items: center; margin-top: 16px; color: var(--amber-400); font-weight: 700; text-decoration: none; }
.footer-more:hover { color: #FFC266; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-offices .footer-links a > span { display: block; }
.loc-top { flex-wrap: wrap; }
.open-badge { white-space: nowrap; }

/* Long Spanish words: let headings and table headers break instead of overflowing */
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: manual; }
.cmp th, .cmp td { overflow-wrap: anywhere; hyphens: auto; }
.cmp-wrap { overflow-x: auto; }
@media (max-width: 480px) {
  .cmp { font-size: .82rem; }
  .cmp th, .cmp td { padding: 12px 8px; }
  .cmp thead th { font-size: .86rem; }
  .yes, .no { width: 26px; height: 26px; }
  .cd h2 { font-size: 1.5rem; }
}
@media (max-width: 1200px) and (min-width: 981px) { .chip-2 { right: -1%; } .chip-1 { left: -3%; } }

/* Hero: rotating "We also handle…" chip */
.chip .rot { display: block; height: 1.3em; overflow: hidden; }
.rot-in { display: block; animation: rot 10s cubic-bezier(.7, 0, .3, 1) infinite; }
.rot-in span { display: block; height: 1.3em; line-height: 1.3em; white-space: nowrap; }
@keyframes rot {
  0%, 20% { transform: translateY(0); }
  25%, 45% { transform: translateY(-1.3em); }
  50%, 70% { transform: translateY(-2.6em); }
  75%, 95% { transform: translateY(-3.9em); }
  100% { transform: translateY(-5.2em); }
}
.scene .house .win rect { animation: winglow 4s ease-in-out infinite; }
.scene .house .win rect:nth-child(2) { animation-delay: 2s; }
@keyframes winglow { 50% { opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .rot-in { animation: none; } }
.page-home .hero-h { font-size: clamp(2.4rem, 4.7vw, 4rem); }
@media (min-width: 1600px) { .page-home .hero-h { font-size: 4.3rem; } }

/* Round 3: "No more drivers / vehicles" confirmation */
.done-box { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; transition: all .25s var(--ease); }
.done-box input { position: absolute; opacity: 0; pointer-events: none; }
.done-box b { display: block; }
.done-box small { display: block; color: var(--ink-3); font-size: .86rem; }
.done-box:hover { border-color: var(--ink-3); }
.done-box input:checked + .consent-box { background: var(--brand-600); border-color: var(--brand-600); }
.done-box input:checked + .consent-box .i { transform: scale(1); }
.done-box:has(input:checked) { border-color: var(--ok); background: var(--ok-50); }
.done-box input:checked + .consent-box { background: var(--ok); border-color: var(--ok); }
.done-box input:focus-visible + .consent-box { outline: 3px solid var(--brand-500); outline-offset: 2px; }
.done-box.is-bad { border-color: var(--danger); animation: shake .45s; }
.done-e { margin-top: 8px; }

/* Liability: always included on personal-auto vehicles. Looks checked like the others, but locked. */
.vcov { grid-template-columns: repeat(2, 1fr); }
.chk-liab { cursor: default; border-color: var(--brand-500); background: var(--brand-50); box-shadow: 0 8px 20px -14px rgba(43, 57, 144, .5); }
.chk-liab:hover { border-color: var(--brand-500); }
.chk-liab .chk-box { background: var(--brand-600); border-color: var(--brand-600); }
.chk-liab .chk-box .i { transform: scale(1); stroke: #fff; }
.chk-liab .chk-ic { background: var(--brand-600); color: #fff; }
.chk-liab .chk-ic .i { stroke: #fff; }
.chk-incl { display: inline-flex; align-items: center; gap: 4px; justify-self: start; margin-top: 2px; font-size: .74rem; font-weight: 800; letter-spacing: .02em; color: var(--brand-700); background: #fff; border: 1px solid var(--brand-100); border-radius: 999px; padding: 3px 9px; }
.chk-incl .i { width: 12px; height: 12px; }
@media (max-width: 640px) { .vcov { grid-template-columns: 1fr; } .chk-liab { grid-template-columns: auto 1fr; } .chk-incl { grid-column: 2; } }

/* ==========================================================================
   Easy-to-read quote form (many customers are older): bigger by default,
   plus a "Larger text" button for even bigger.
   ========================================================================== */
.q-sheet { max-width: 880px; }
.qw .qw-title h2 { font-size: 1.4rem; }
.qw .qw-title p { font-size: .98rem; }
.qw .qw-sl { font-size: .86rem; }
.qw .qw-head h3 { font-size: clamp(1.75rem, 3.4vw, 2.3rem); }
.qw .qw-head p { font-size: 1.1rem; line-height: 1.55; }
.qw .eyebrow { font-size: .86rem; }
.qw .fld-l, .qw fieldset.seg-fld > legend, .qw .vcov-l { font-size: 1.06rem; }
.qw .fld-h, .qw .legend-h { font-size: .97rem; }
.qw .fld-e { font-size: .95rem; }
.qw .fld input, .qw .fld select, .qw .fld textarea { font-size: 1.12rem; min-height: 58px; padding-left: 16px; }
.qw .fld input::placeholder, .qw .fld textarea::placeholder { color: #7C86A0; }
.qw .seg span, .qw .pick span { font-size: 1.04rem; min-height: 52px; }
.qw .seg-sm span { font-size: .98rem; min-height: 46px; }
.qw .svc-opt-t b, .qw .opt-body b, .qw .chk-t b, .qw .tc-text b, .qw .done-box b { font-size: 1.1rem; }
.qw .svc-opt-t small, .qw .opt-body small, .qw .chk-t small, .qw .tc-text small, .qw .done-box small { font-size: .97rem; line-height: 1.45; }
.qw .qw-card-t h4 { font-size: 1.25rem; }
.qw .qw-card-t p { font-size: .95rem; }
.qw .qw-add { font-size: 1.1rem; padding: 18px; }
.qw .id-note, .qw .qw-secure { font-size: .97rem; }
.qw .consent { font-size: 1.02rem; }
.qw .rv-item b { font-size: 1.08rem; }
.qw .rv-item span { font-size: 1.02rem; }
.qw .rv-tags em { font-size: .9rem; }
.qw .tip summary, .qw .tip ul { font-size: 1rem; }
.qw .vr-ok b { font-size: 1.15rem; }
.qw-foot .btn { min-height: 56px; font-size: 1.1rem; }

.qw-tools { display: flex; align-items: center; gap: 8px; }
.qw-size { display: inline-flex; align-items: baseline; gap: 1px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 800; line-height: 44px; transition: all .2s; }
.qw-size-a { font-size: .9rem; }
.qw-size-b { font-size: 1.25rem; margin-right: 8px; }
.qw-size-t { font-size: .92rem; font-weight: 700; }
.qw-size:hover { border-color: var(--ink-3); }
.qw-size[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
@media (max-width: 640px) { .qw-size-t { display: none; } .qw-size-b { margin-right: 0; } .qw-size { padding: 0 12px; } }

/* "Larger text" on: scale the whole form up another 15% */
.qw-xl .qw-viewport > *, .qw-xl .qw-foot, .qw-xl .qw-done { zoom: 1.15; }
.qw-xl .qw-steps { zoom: 1.1; }
