/* Buttons, forms, cards, header, footer, hero, sections — shared across siblings. */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; font-weight: 600; font-size: 0.95rem;
  border-radius: var(--radius-pill); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: all .2s;
  white-space: nowrap;
}
.btn:focus-visible { outline: none; box-shadow: var(--shadow-ring); }
.btn-primary {
  background: var(--brand-gradient); color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-ghost {
  background: #fff; color: var(--brand-700);
  border-color: var(--brand-100);
}
.btn-ghost:hover { background: var(--brand-50); }
.btn-on-dark {
  background: #fff; color: var(--brand-700);
  box-shadow: var(--shadow-soft);
}
.btn-on-dark:hover { background: var(--brand-50); }
.btn-outline-light {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }
.btn-block { width: 100%; }

/* ---------- Forms ---------- */
.label {
  display: block; margin-bottom: 0.4rem;
  font-size: 0.875rem; font-weight: 500; color: #334155;
}
.input, .select, .textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1; border-radius: var(--radius-md);
  font-size: 1rem; color: #0f172a; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px var(--brand-100);
}
.input::placeholder, .textarea::placeholder { color: #94a3b8; }
.field-error { margin-top: 0.35rem; font-size: 0.875rem; color: #b91c1c; }
.checkbox {
  width: 1.15rem; height: 1.15rem; flex-shrink: 0; margin-top: 0.15rem;
  accent-color: var(--brand-500); cursor: pointer;
}
.consent {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1rem; border-radius: var(--radius-lg);
  background: #f8fafc; border: 1px solid #e2e8f0;
  font-size: 0.875rem; color: #475569; line-height: 1.5;
}
.consent a { color: var(--brand-700); font-weight: 600; text-decoration: underline; }
.error-banner {
  margin-top: 0.5rem; padding: 0.6rem 0.85rem;
  background: #fee2e2; color: #b91c1c;
  border-radius: var(--radius-md); font-size: 0.875rem;
}

/* ---------- Inline SVG safety net ----------
   Most icons get explicit width/height attrs from build.py's icon().
   This rule catches any stray inline SVG and constrains it to 1em so a
   missing attr doesn't blow up the layout. */
svg { flex-shrink: 0; }
svg:not([width]):not([class*="logo"]) { width: 1em; height: 1em; vertical-align: -0.125em; }

/* ---------- Card ---------- */
.card {
  background: #fff; padding: 1.5rem;
  border: 1px solid #f1f5f9; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

/* How-it-works step icon tile (gradient background, 3rem) */
.step-icon-tile {
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  border-radius: var(--radius-lg);
  background: var(--brand-gradient); color: #fff;
  box-shadow: var(--shadow-soft);
}

/* "What we cover" section: stack on mobile, row + space-between on desktop */
.section-head-row {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 1rem; max-width: none;
}
@media (min-width: 768px) {
  .section-head-row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.view-all-link {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .875rem; font-weight: 600; color: var(--brand-700);
  transition: gap .2s;
}
.view-all-link:hover { gap: .5rem; color: var(--brand-800); }
@media (min-width: 768px) { .card { padding: 1.75rem; } }
.card-flat {
  background: #fff; padding: 1.5rem;
  border: 2px solid #e2e8f0; border-radius: var(--radius-lg);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid #f1f5f9;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 5rem;
}
.brand-link { display: flex; align-items: center; gap: 0.75rem; }
.brand-mark img { width: 56px; height: 56px; object-fit: contain; }
.brand-text { display: none; flex-direction: column; line-height: 1.1; }
@media (min-width: 640px) { .brand-text { display: flex; } }
.brand-name {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 800;
  letter-spacing: -0.01em; color: var(--brand-900);
}
.brand-name em { font-style: normal; color: var(--brand-500); }
.brand-tag {
  font-size: 0.65rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em; color: #94a3b8; margin-top: 0.15rem;
}

.nav-desktop { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.5rem 1rem; border-radius: var(--radius-pill);
  font-size: 0.875rem; font-weight: 600; color: #334155;
  transition: all .2s; background: transparent; border: 0;
}
.nav-link:hover { background: var(--brand-50); color: var(--brand-700); }

.nav-dropdown { position: relative; }
.nav-dropdown-panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  margin-top: 0.5rem;
  width: min(640px, 90vw);
  background: #fff;
  border: 1px solid #f1f5f9; border-radius: var(--radius-xl);
  padding: 0.75rem;
  box-shadow: 0 18px 50px -12px rgba(15, 23, 42, 0.18);
  display: none;
}
.nav-dropdown[data-open="true"] .nav-dropdown-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; }
.nav-dropdown-all {
  grid-column: span 2;
  background: var(--brand-50); color: var(--brand-800);
  padding: 0.75rem 1rem; border-radius: var(--radius-lg);
  font-size: 0.875rem; font-weight: 600;
}
.nav-dropdown-all:hover { background: var(--brand-100); }
.nav-dropdown-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.625rem 0.75rem; border-radius: var(--radius-lg);
  font-size: 0.875rem; color: #334155; transition: all .2s;
}
.nav-dropdown-item:hover { background: var(--brand-50); color: var(--brand-800); }
.nav-dropdown-item .icon-tile {
  display: grid; place-items: center;
  height: 2.25rem; width: 2.25rem; border-radius: var(--radius-md);
  background: var(--brand-50); color: var(--brand-600);
  flex-shrink: 0;
}

.header-cta { display: none; align-items: center; gap: 0.75rem; }
@media (min-width: 1024px) { .header-cta { display: flex; } }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 600; color: var(--brand-700);
}
.header-phone:hover { color: var(--brand-800); }

.menu-toggle {
  display: inline-grid; place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-md); background: transparent; border: 0;
  color: #334155;
}
.menu-toggle:hover { background: #f1f5f9; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-drawer {
  display: none;
  border-top: 1px solid #f1f5f9; background: #fff;
}
.mobile-drawer[data-open="true"] { display: block; }
.mobile-drawer .container { padding-top: 1rem; padding-bottom: 1rem; height: auto; flex-direction: column; align-items: stretch; gap: 0.25rem; }
.mobile-link {
  display: block; padding: 0.625rem 0.75rem;
  font-weight: 600; color: #1e293b;
  border-radius: var(--radius-md);
}
.mobile-link:hover { background: var(--brand-50); color: var(--brand-700); }
.mobile-sublist {
  margin: 0.25rem 0 0.5rem 1rem;
  padding-left: 0.75rem; border-left: 1px solid #f1f5f9;
}
.mobile-sublist .mobile-link { font-size: 0.875rem; font-weight: 500; color: #475569; }
.mobile-cta { display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; }
.mobile-cta .btn-ghost {
  border-color: var(--brand-100); color: var(--brand-700);
  border-radius: var(--radius-pill);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--hero-radial); color: #fff;
}
.hero .container { position: relative; }
.hero-row { display: grid; gap: 3rem; padding: 4rem 0; align-items: center; }
@media (min-width: 1024px) { .hero-row { grid-template-columns: repeat(12, 1fr); padding: 6rem 0; } }
.hero-content { grid-column: span 12; }
@media (min-width: 1024px) { .hero-content { grid-column: span 7; } }
.hero-stats { display: none; grid-column: span 5; }
@media (min-width: 1024px) { .hero-stats { display: block; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.25rem 0.75rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05);
  font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.hero-pulse {
  display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 999px;
  background: var(--brand-400);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.5); }
}
.hero h1 { color: #fff; }
.hero p.lead { margin-top: 1.25rem; max-width: 36rem; font-size: 1.125rem; color: rgba(226,232,240,0.9); }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  margin-top: 2rem; font-size: 0.875rem; color: rgba(226,232,240,1);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-trust .ico { color: var(--brand-300); width: 1rem; height: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.hero-phone { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1.05rem; font-weight: 600; color: #fff; }
.hero-phone .badge {
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  background: rgba(16,185,129,0.20); color: var(--brand-300);
}

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card {
  position: relative;
  padding: 1.5rem; border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}
.stat-card.accent {
  background: linear-gradient(135deg, rgba(16,185,129,0.30), rgba(4,120,87,0.20));
  border: 1px solid rgba(255,255,255,0.15);
}
.stat-card .ico { width: 1.5rem; height: 1.5rem; color: var(--brand-300); }
.stat-card .ico.gold { color: #facc15; }
.stat-card .stat-value { margin-top: 1rem; font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; color: #fff; line-height: 1; }
.stat-card .stat-label { margin-top: 0.5rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #cbd5e1; }

/* ---------- Section + how-it-works ---------- */
.bg-slate-50 { background: #f8fafc; }
.section-head { max-width: 36rem; margin-bottom: 3rem; }
.section-head h2 { margin-top: 0.5rem; }

/* ---------- Vehicle grid cards ---------- */
.vehicle-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; padding: 1.5rem;
  border: 1px solid #f1f5f9; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  transition: all .2s;
}
.vehicle-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-100);
  box-shadow: 0 16px 40px -12px rgba(15,23,42,0.14);
}
.vehicle-card .icon-tile {
  display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: var(--radius-lg);
  background: var(--brand-50); color: var(--brand-600);
  transition: all .2s;
}
.vehicle-card:hover .icon-tile { background: var(--brand-gradient); color: #fff; }
.vehicle-card h3 { margin-top: 1.25rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; }
.vehicle-card p   { margin-top: 0.5rem; font-size: 0.875rem; color: #475569; flex: 1;
                    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vehicle-card .more {
  margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.875rem; font-weight: 600; color: var(--brand-700);
  transition: gap .2s;
}
.vehicle-card:hover .more { gap: 0.5rem; }

/* ---------- Why-choose / value cards ---------- */
.value-card .icon-tile {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: var(--radius-md);
  background: var(--brand-50); color: var(--brand-600);
}
.value-card h3 { margin-top: 1rem; font-size: 1rem; }
.value-card p  { margin-top: 0.4rem; font-size: 0.875rem; color: #475569; }

/* ---------- Testimonials ---------- */
.testimonial { display: flex; flex-direction: column; height: 100%; }
.stars { display: inline-flex; gap: 1px; color: var(--brand-500); }
.stars svg { width: 1rem; height: 1rem; fill: currentColor; }
.testimonial blockquote { margin: 0; margin-top: 1rem; flex: 1; color: #334155; }
.testimonial figcaption { margin-top: 1.5rem; }
.testimonial-name { font-weight: 600; color: #0f172a; }
.testimonial-role { font-size: 0.875rem; color: #64748b; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--brand-gradient); color: #fff;
  padding: 2.5rem; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
@media (min-width: 768px) { .cta-banner { padding: 3.5rem; } }
.cta-banner h2 { color: #fff; }
.cta-banner p  { margin-top: 0.75rem; max-width: 28rem; color: rgba(255,255,255,0.85); }
.cta-row {
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 768px) { .cta-row { grid-template-columns: 1fr 1fr; } }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 768px) { .cta-actions { justify-content: flex-end; } }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 6rem;
  background: var(--brand-950);
  color: #cbd5e1;
}
.footer-grid {
  display: grid; gap: 3rem; padding: 4rem 0;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(12, 1fr); } }
.footer-brand { grid-column: span 12; }
@media (min-width: 768px) { .footer-brand { grid-column: span 4; } }
.footer-col { grid-column: span 12; }
@media (min-width: 640px) { .footer-col { grid-column: span 6; } }
@media (min-width: 768px) { .footer-col { grid-column: span 2; } }

.footer-brand .brand-name { color: #fff; font-size: 1.25rem; }
.footer-brand .brand-name em { color: var(--brand-400); }
.footer-brand .brand-tag { color: var(--brand-400); }
.footer-brand img { width: 64px; height: 64px; object-fit: contain; }
.footer-brand p { margin-top: 1rem; max-width: 22rem; font-size: 0.875rem; line-height: 1.6; color: #94a3b8; }
.footer-brand .disclaimer { margin-top: 1.25rem; font-size: 0.75rem; color: #64748b; }

.footer-col h4 {
  margin-bottom: 1rem;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: #fff;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.footer-col a:hover { color: #fff; }
.footer-contact-row { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-contact-row svg { width: 1rem; height: 1rem; color: var(--brand-400); flex-shrink: 0; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); }
.footer-bottom .container {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 0.75rem; padding-top: 1.5rem; padding-bottom: 1.5rem;
  font-size: 0.75rem; color: #64748b; height: auto;
}
@media (min-width: 768px) { .footer-bottom .container { flex-direction: row; } }
.footer-bottom-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1rem; }

/* ---------- Service-page hero ---------- */
.crumbs {
  display: flex; align-items: center; gap: 0.25rem;
  margin-bottom: 1.5rem; font-size: 0.875rem; color: rgba(110,231,183,0.85);
}
.crumbs a:hover { color: #fff; }
.crumbs .current { color: #fff; }
.crumbs svg { width: 1rem; height: 1rem; opacity: .6; }
.svc-tag {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.5rem 1rem; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10);
  font-size: 0.875rem; margin-bottom: 1.5rem;
}
.svc-tag .icon-tile {
  display: grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: var(--radius-sm);
  background: rgba(16,185,129,0.20); color: var(--brand-300);
}
.svc-aside h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; }
.svc-aside p  { margin-top: 0.5rem; font-size: 0.875rem; color: #475569; }
.svc-aside ul { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; }
.svc-aside li { display: flex; align-items: center; gap: 0.5rem; }
.svc-aside li svg { width: 1rem; height: 1rem; color: var(--brand-500); }
.svc-aside .btn-primary { width: 100%; margin-top: 1.5rem; }

.svc-section ul.bullets {
  display: grid; gap: 1rem; margin-top: 1.5rem;
}
@media (min-width: 640px) { .svc-section ul.bullets { grid-template-columns: 1fr 1fr; } }
.svc-section ul.bullets li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1rem; background: #f8fafc; border-radius: var(--radius-lg);
}
.svc-section ul.bullets svg {
  margin-top: 0.15rem; flex-shrink: 0;
  width: 1.25rem; height: 1.25rem; color: var(--brand-500);
}
.svc-section ul.bullets span { color: #334155; }

/* ---------- Quote multi-step form ---------- */
.quote-card { max-width: 640px; margin: 0 auto; padding: 1.5rem; background: #fff; border: 1px solid #f1f5f9; border-radius: var(--radius-xl); box-shadow: var(--shadow-soft); }
@media (min-width: 768px) { .quote-card { padding: 2.5rem; } }

.progress { margin-bottom: 0; }
.progress-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; font-size: 0.75rem; font-weight: 500; color: #64748b; }
.progress-bar { height: 0.5rem; width: 100%; background: #f1f5f9; border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--brand-gradient); border-radius: 999px; transition: width .5s ease-out; width: 0%; }

.step { display: none; margin-top: 2rem; }
.step.active { display: block; }
.step h2 { font-size: 1.5rem; }
@media (min-width: 768px) { .step h2 { font-size: 1.875rem; } }
.step .subtitle { margin-top: 0.5rem; color: #475569; }
.step-body { margin-top: 2rem; }

.option-grid { display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .option-grid { grid-template-columns: 1fr 1fr; } }
.option-grid.cols-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .option-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; } }
.option {
  position: relative;
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem; border-radius: var(--radius-lg);
  border: 2px solid #e2e8f0; background: #fff;
  text-align: left; cursor: pointer;
  transition: all .2s;
}
.option:hover { border-color: var(--brand-300); background: rgba(110,231,183,0.05); }
.option[aria-pressed="true"] {
  border-color: var(--brand-500);
  background: rgba(16,185,129,0.06);
  box-shadow: var(--shadow-soft);
}
.option .icon-tile {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: var(--radius-md);
  background: var(--brand-50); color: var(--brand-600); flex-shrink: 0;
  transition: all .2s;
}
.option[aria-pressed="true"] .icon-tile { background: var(--brand-gradient); color: #fff; }
.option-label { font-weight: 600; color: #0f172a; }
.option-desc  { margin-top: 0.15rem; font-size: 0.875rem; color: #64748b; }
.option .check {
  display: none;
  margin-left: auto;
  width: 1.5rem; height: 1.5rem; border-radius: 999px;
  background: var(--brand-500); color: #fff;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.option[aria-pressed="true"] .check { display: inline-flex; }
.option .check svg { width: 0.875rem; height: 0.875rem; }

.field-row { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .field-row.cols-2 { grid-template-columns: 1fr 1fr; }
                            .field-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; } }
.field-row .span-full { grid-column: 1 / -1; }

.yesno-row {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: 1rem; background: #f8fafc; border: 1px solid #f1f5f9; border-radius: var(--radius-lg);
}
@media (min-width: 640px) { .yesno-row { flex-direction: row; align-items: center; justify-content: space-between; } }
.yesno-row .label-text { font-weight: 600; color: #0f172a; }
.yesno-row .label-sub  { font-size: 0.875rem; color: #64748b; }
.yesno-pills { display: flex; gap: 0.5rem; }
.yesno-pill {
  min-width: 80px; padding: 0.5rem 1rem;
  border-radius: 999px; border: 2px solid #e2e8f0; background: #fff;
  font-size: 0.875rem; font-weight: 600; color: #334155;
  cursor: pointer; transition: all .2s;
}
.yesno-pill:hover { border-color: var(--brand-300); }
.yesno-pill[aria-pressed="true"] { border-color: var(--brand-500); background: var(--brand-500); color: #fff; }

.step-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 2.5rem;
}
.btn-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.25rem; font-size: 0.875rem; font-weight: 600;
  color: #64748b; background: transparent; border: 0;
  border-radius: 999px; cursor: pointer; transition: color .2s;
}
.btn-back:hover { color: #0f172a; }
.btn-back:disabled { opacity: 0.3; cursor: not-allowed; }

/* ---------- Quote-request inline section ---------- */
.benefit-row {
  display: flex; align-items: flex-start; gap: 0.75rem;
  color: #334155; font-size: 0.875rem;
}
.benefit-row .icon-tile {
  display: grid; place-items: center; flex-shrink: 0;
  width: 1.75rem; height: 1.75rem; border-radius: var(--radius-md);
  background: var(--brand-50); color: var(--brand-600);
}
.benefit-row svg { width: 1rem; height: 1rem; }

/* ---------- Legal page typography ---------- */
.legal {
  padding: 3.5rem 0 5rem;
}
.legal .container { max-width: 768px; }
.legal-crumbs {
  display: flex; align-items: center; gap: 0.25rem;
  margin-bottom: 1.5rem; font-size: 0.875rem; color: #64748b;
}
.legal-crumbs a:hover { color: var(--brand-700); }
.legal-crumbs svg { width: 1rem; height: 1rem; opacity: .6; }
.legal h1 { font-size: 1.875rem; }
@media (min-width: 768px) { .legal h1 { font-size: 2.25rem; } }
.legal .updated { margin-top: 0.5rem; font-size: 0.875rem; color: #64748b; }
.legal-body {
  margin-top: 2rem; max-width: none; color: #334155; line-height: 1.7;
}
.legal-body h2 { margin-top: 2.5rem; font-size: 1.25rem; font-weight: 600; color: #0f172a; }
.legal-body h3 { margin-top: 1.5rem; font-size: 1.05rem; font-weight: 600; color: #0f172a; }
.legal-body p  { margin-top: 0.75rem; }
.legal-body ul, .legal-body ol { margin-top: 0.75rem; padding-left: 1.5rem; }
.legal-body ul li { list-style: disc; margin-top: 0.25rem; }
.legal-body ol li { list-style: decimal; margin-top: 0.25rem; }
.legal-body a { color: var(--brand-700); }
.legal-body a:hover { text-decoration: underline; }
.legal-divider { margin: 3rem 0; border: 0; border-top: 1px solid #f1f5f9; }
.legal-other {
  padding: 1.5rem; background: #f8fafc; border-radius: var(--radius-lg);
  font-size: 0.875rem; color: #475569;
}
.legal-other ul { margin-top: 0.5rem; display: grid; gap: 0.25rem; }
@media (min-width: 640px) { .legal-other ul { grid-template-columns: 1fr 1fr; } }
.legal-other a { color: var(--brand-700); }
.legal-other a:hover { text-decoration: underline; }

/* ---------- Contact page card grid ---------- */
.contact-card { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-card .icon-tile {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: var(--radius-md);
  background: var(--brand-50); color: var(--brand-600);
}
.contact-card .icon-tile svg { width: 1.25rem; height: 1.25rem; }
.contact-card h3 { margin-top: 1rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; }
.contact-card a.value {
  display: block; margin-top: 0.25rem; font-size: 1.125rem; font-weight: 600;
  color: var(--brand-700);
}
.contact-card a.value:hover { color: var(--brand-800); }
.contact-card p { margin-top: 0.5rem; font-size: 0.875rem; color: #475569; }
.contact-card ul { margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.875rem; color: #475569; }

/* ---------- Quote-request "request a quote" inline form ---------- */
.qrf {
  background: #fff; padding: 1.5rem; border: 1px solid #f1f5f9;
  border-radius: var(--radius-xl); box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) { .qrf { padding: 2rem; } }
.qrf h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.qrf .all-required { margin-top: 0.25rem; font-size: 0.875rem; color: #64748b; }
.qrf form { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.qrf .row-2 { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .qrf .row-2 { grid-template-columns: 1fr 1fr; } }
.qrf .tcpa-toggle {
  margin-top: 0.75rem; display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.75rem; font-weight: 600; color: var(--brand-700); cursor: pointer;
  background: transparent; border: 0; padding: 0;
}
.qrf .tcpa-toggle:hover { color: var(--brand-800); }
.qrf .tcpa-toggle svg { width: 0.875rem; height: 0.875rem; transition: transform .2s; }
.qrf .tcpa-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.qrf .tcpa-full {
  margin-top: 0.75rem; padding: 1rem; background: #fff;
  font-size: 0.6875rem; line-height: 1.5; color: #475569;
  border-radius: var(--radius-md);
  display: none;
}
.qrf .tcpa-full[data-open="true"] { display: block; }
.qrf .ok {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  padding: 2rem; background: var(--brand-50); border-radius: var(--radius-lg); text-align: center;
}
.qrf .ok svg { width: 2.5rem; height: 2.5rem; color: var(--brand-500); }

/* ---------- Misc ---------- */
.spinner {
  display: inline-block; width: 1rem; height: 1rem;
  border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 999px; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.card-with-cta { display: flex; flex-direction: column; }
.card-with-cta p { font-size: 0.95rem; color: #475569; margin-top: 0.5rem; }

.contact-hours-card .icon-tile { background: var(--brand-50); color: var(--brand-600); }

.partners-grid {
  display: grid; grid-template-columns: 1fr; gap: 0.25rem 1.5rem;
  font-size: 0.95rem; color: #334155;
}
@media (min-width: 640px) { .partners-grid { grid-template-columns: 1fr 1fr; } }
.partners-grid li { list-style: disc; margin-left: 1.25rem; margin-top: 0.25rem; }


/* =====================================================================
   Home-page variants — used only on /index.html (one variant per site).
   ===================================================================== */

/* ---------- BOLD variant (PublicAutoCover) ---------- */
.hero-centered .hero-shout {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
}

.stats-strip {
  background: var(--brand-gradient);
  color: #fff;
  padding: 2rem 0;
}
.stats-strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  text-align: center;
}
@media (min-width: 768px) { .stats-strip-grid { grid-template-columns: repeat(4, 1fr); } }
.stats-strip-cell { padding: 0.5rem; }
.stats-strip-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.5vw + 1rem, 2.5rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.stats-strip-label {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
}

.grid-4-dense {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 480px) { .grid-4-dense { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .grid-4-dense { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-4-dense { grid-template-columns: repeat(4, 1fr); } }

.vehicle-card-compact {
  padding: 1.25rem;
}
.vehicle-card-compact h3 { font-size: 1rem; margin-top: 1rem; }
.vehicle-card-compact .more { margin-top: 1rem; font-size: 0.8125rem; }

.numbered-step { position: relative; padding-top: 1.75rem; }
.numbered-step .num-badge {
  position: absolute; top: -1rem; left: 1.5rem;
  display: inline-grid; place-items: center;
  height: 2.5rem; min-width: 2.75rem; padding: 0 0.6rem;
  border-radius: var(--radius-md);
  background: var(--brand-gradient); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-soft);
}
.numbered-step h3 {
  margin-top: 0.5rem;
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 700;
}
.numbered-step p { margin-top: 0.5rem; color: #475569; }

.why-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .why-strip { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .why-strip { grid-template-columns: repeat(4, 1fr); } }
.why-strip-cell {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-lg);
}
.why-strip-cell .icon-tile {
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem; border-radius: var(--radius-md);
  background: var(--brand-50); color: var(--brand-600); flex-shrink: 0;
}
.why-strip-cell h4 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: #0f172a; }
.why-strip-cell p { font-size: 0.8125rem; color: #64748b; margin-top: 0.25rem; }

.spotlight-quote {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  position: relative;
}
@media (min-width: 768px) { .spotlight-quote { padding: 3rem 4rem; } }
.spotlight-quote .stars { justify-content: center; display: inline-flex; }
.spotlight-text {
  margin: 1.25rem 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1vw + 1rem, 1.75rem);
  line-height: 1.4;
  color: #0f172a;
  font-weight: 600;
}
.spotlight-cap { color: #475569; font-size: 0.95rem; }
.spotlight-name { font-weight: 700; color: #0f172a; }
.spotlight-role { margin-top: 0.25rem; color: #64748b; font-size: 0.875rem; }


/* ---------- BENTO variant (AutoQuotePublic) ---------- */
.bento-hero {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "main"
    "stats"
    "form";
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .bento-hero {
    grid-template-columns: 1.4fr 1fr;
    grid-template-areas:
      "main  form"
      "stats form";
    gap: 1.5rem;
  }
}
.bento-cell {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.bento-cell-main {
  grid-area: main;
  background: rgba(255,255,255,0.03);
}
.bento-cell-main .lead { margin-top: 1rem; }
.bento-cell-main .hero-actions { margin-top: 1.75rem; }
.bento-cell-stats {
  grid-area: stats;
  background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  text-align: left;
}
.bento-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3vw + 1rem, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.bento-stat-label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-300);
}
.bento-stat-meta {
  margin-top: 1.5rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(226,232,240,0.85);
}
.bento-cell-form {
  grid-area: form;
  background: #fff;
  color: #0f172a;
  border-color: #f1f5f9;
}
.qrf-mini { display: flex; flex-direction: column; gap: 0.875rem; }
.qrf-mini h4 {
  margin: 0; font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700; color: #0f172a;
}
.qrf-mini .row-2 {
  display: grid; gap: 0.875rem; grid-template-columns: 1fr;
}
@media (min-width: 480px) { .qrf-mini .row-2 { grid-template-columns: 1fr 1fr; } }
.qrf-mini-note {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; color: #64748b;
}
.qrf-mini-note svg { color: var(--brand-500); }

.chip-wall-section { padding: 3rem 0; }
.chip-wall-eyebrow {
  text-align: center;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
  margin-bottom: 2rem;
}
.chip-wall {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}
@media (min-width: 640px) { .chip-wall { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .chip-wall { grid-template-columns: repeat(5, 1fr); } }
.chip {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-lg);
  padding: 1rem;
  font-size: 0.8125rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.chip p { color: #0f172a; font-weight: 600; line-height: 1.4; }
.chip span { color: #64748b; font-size: 0.75rem; }
.chip .stars { gap: 0; }

.featured-vehicles { gap: 1.25rem; }
.vehicle-card-featured {
  padding: 2rem;
  background: linear-gradient(180deg, #fff 0%, var(--brand-50) 100%);
  border: 1px solid var(--brand-100);
}
.vehicle-card-featured .icon-tile {
  width: 3.75rem; height: 3.75rem;
  background: var(--brand-gradient);
  color: #fff;
}
.vehicle-card-featured h3 { font-size: 1.25rem; }
.vehicle-card-featured p   { font-size: 0.95rem; }
.vehicle-card-featured .more { font-size: 0.95rem; font-weight: 700; }

.grid-3-dense {
  display: grid; gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) { .grid-3-dense { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-3-dense { grid-template-columns: repeat(3, 1fr); } }

.hiw-panels { display: flex; flex-direction: column; gap: 1rem; }
.hiw-panel {
  display: flex; align-items: flex-start; gap: 1.25rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) { .hiw-panel { padding: 2rem; gap: 1.75rem; align-items: center; } }
.num-circle {
  display: grid; place-items: center;
  width: 3rem; height: 3rem; flex-shrink: 0;
  border-radius: 999px;
  background: var(--brand-gradient); color: #fff;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 800;
  box-shadow: var(--shadow-soft);
}
.hiw-panel h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: #0f172a; }
.hiw-panel p { margin-top: 0.4rem; color: #475569; font-size: 0.95rem; }


/* ---------- EDITORIAL variant (PublicAutoPolicy) ---------- */
.hero-editorial { padding: 5rem 0; }
@media (min-width: 768px) { .hero-editorial { padding: 7rem 0 6rem; } }
.hero-eyebrow-editorial {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-300);
  margin-bottom: 1.5rem;
}
.hero-editorial-h1 {
  color: #fff;
  font-size: clamp(2.5rem, 4vw + 1rem, 4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.featured-stats-section {
  background: #fff;
  padding: 4rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.featured-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}
@media (min-width: 768px) { .featured-stats { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.featured-stat { padding: 1rem 1.5rem; }
.featured-stat-divider { border-left: 1px solid #f1f5f9; border-right: 1px solid #f1f5f9; }
@media (max-width: 767px) {
  .featured-stat-divider { border: 0; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; padding: 2rem 0; }
}
.featured-stat-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 4vw + 1rem, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--brand-700);
  background: linear-gradient(180deg, var(--brand-600), var(--brand-800));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.featured-stat-sub { font-size: 0.5em; color: #94a3b8; -webkit-text-fill-color: #94a3b8; font-weight: 600; }
.featured-stat-label {
  margin-top: 1rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
}

.timeline {
  position: relative;
  padding: 0;
  margin: 3rem auto 0;
  max-width: 40rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 1.25rem; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-300), var(--brand-100));
}
.timeline-item {
  position: relative;
  list-style: none;
  padding-left: 4rem;
  padding-bottom: 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-num {
  position: absolute;
  left: 0; top: 0;
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 999px;
  background: var(--brand-gradient); color: #fff;
  font-family: var(--font-display); font-size: 1rem; font-weight: 800;
  box-shadow: var(--shadow-soft);
  z-index: 1;
}
.timeline-body h3 {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
  color: #0f172a;
}
.timeline-body p {
  margin-top: 0.5rem;
  color: #475569;
  line-height: 1.65;
}

.testimonial-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .testimonial-2col { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.testimonial-large {
  margin: 0;
  padding: 2.5rem;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}
.testimonial-large blockquote {
  margin: 1.25rem 0 1.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.5;
  color: #0f172a;
  font-weight: 500;
}

.why-2x2 .value-card-editorial {
  padding: 2rem;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #f1f5f9;
  border-radius: var(--radius-xl); box-shadow: var(--shadow-soft);
}
.why-2x2 .value-card-editorial .icon-tile {
  width: 3rem; height: 3rem; border-radius: var(--radius-lg);
  background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center;
}
.why-2x2 .value-card-editorial h3 {
  margin-top: 1.25rem;
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 700;
  color: #0f172a;
}
.why-2x2 .value-card-editorial p {
  margin-top: 0.75rem;
  color: #475569;
  line-height: 1.65;
}

/* ---------- Bento stats list (replaces fabricated $687 / 4.9/5 numbers) ---------- */
.bento-stat-list {
  margin-top: 1.25rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(226,232,240,0.92);
}
.bento-stat-list li {
  display: flex; align-items: center; gap: 0.6rem;
}
.bento-stat-list li svg { color: var(--brand-300); }

/* ---------- Carrier-name wall (replaces fabricated AQP testimonial chips) ---------- */
.carrier-wall {
  display: flex; flex-wrap: wrap; gap: 0.625rem;
  justify-content: center;
  margin-top: 0.5rem;
}
.carrier-chip {
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  letter-spacing: -0.01em;
}
.carrier-chip:last-child { color: #94a3b8; font-weight: 500; }
.carrier-wall-foot {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: #94a3b8;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* ---------- Editorial featured-stats: text-based (replaces fabricated 1.2M / $843 / 4.9) ---------- */
.featured-stat-icon {
  display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: var(--radius-xl);
  background: var(--brand-50);
  color: var(--brand-700);
}
.featured-stat-num-text {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.5vw + 1rem, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #0f172a;
}
