:root {
  --blue-950: #05284f;
  --blue-900: #063c7a;
  --blue-800: #0753a6;
  --blue-700: #0967c8;
  --blue-100: #e9f3ff;
  --red: #ec161c;
  --red-dark: #b80712;
  --ink: #172334;
  --gray-700: #56616f;
  --gray-500: #7a8592;
  --gray-300: #ccd3db;
  --gray-100: #f2f5f8;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(7, 40, 79, 0.14);
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  padding: 8px 0;
  color: rgba(255,255,255,.84);
  background: var(--blue-950);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}

.topbar-inner, .nav-wrap, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(7, 62, 123, .10);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
}

.nav-wrap { min-height: 78px; gap: 26px; }
.brand { display: flex; align-items: center; flex: none; }
.brand-logo { display: block; width: 148px; height: auto; }

nav { display: flex; gap: 32px; margin-left: auto; }
nav a { color: var(--gray-700); font-size: 14px; font-weight: 700; }
nav a:hover { color: var(--blue-700); }
.language-switcher {
  display: inline-flex;
  flex: none;
  overflow: hidden;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  background: var(--gray-100);
}
.language-switcher button {
  min-width: 36px;
  min-height: 36px;
  border: 0;
  color: var(--gray-700);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}
.language-switcher button.active {
  color: var(--white);
  background: var(--blue-800);
}
.language-switcher button:focus-visible { outline: 3px solid rgba(236, 22, 28, .28); outline-offset: -3px; }
.header-phones { display: flex; gap: 8px; }
.header-phones .button { flex-direction: column; gap: 1px; line-height: 1.05; }
.header-phones .phone-type { color: var(--gray-700); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 9px;
  padding: 0 24px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, .category-card:focus-visible { outline: 3px solid rgba(236, 22, 28, .28); outline-offset: 2px; }
.button-small { min-height: 42px; padding-inline: 18px; font-size: 13px; }
.button-wide { width: 100%; }
.button-outline { border: 1px solid var(--blue-700); color: var(--blue-800); background: transparent; }
.button-primary { color: var(--white); background: var(--blue-700); box-shadow: 0 12px 24px rgba(9, 103, 200, .18); }
.button-primary:hover { background: var(--blue-800); }
.button-accent { color: var(--white); background: var(--red); box-shadow: 0 12px 24px rgba(236, 22, 28, .18); }
.button-accent:hover { background: var(--red-dark); }
.button-ghost-light { border: 1px solid rgba(255,255,255,.35); color: var(--white); background: transparent; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(25,122,218,.42), transparent 27%),
    linear-gradient(116deg, var(--blue-950), var(--blue-900) 64%, #0b5ca8);
}
.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  mask-image: linear-gradient(to right, black, transparent 82%);
}
.hero::after {
  position: absolute;
  right: -100px;
  bottom: -180px;
  width: 480px;
  height: 480px;
  border: 72px solid rgba(255,255,255,.035);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 620px;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 70px;
  padding-block: 72px;
}

.eyebrow { display: flex; align-items: center; gap: 10px; color: #b9d9fb; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.eyebrow b { font: inherit; }
.eyebrow span { width: 28px; height: 3px; background: var(--red); }
.eyebrow.light { color: #bfd9f2; }
.hero h1, .quote-copy h2 {
  margin: 18px 0 20px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(64px, 6.7vw, 96px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .81;
  text-transform: uppercase;
}
.hero h1 em { color: #ff3037; font-style: normal; }
.hero-copy > p { max-width: 510px; margin: 0; color: #ccdef0; font-size: 17px; }
.brand-slogan {
  margin-top: 22px;
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; color: #e9f4ff; font-size: 13px; font-weight: 700; }
.trust-row span::first-letter { color: #ff3037; }

.finder-card {
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 22px;
  padding: 32px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 28px 70px rgba(0, 19, 43, .35);
}
.finder-heading, .section-heading, .results-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.step-label, .results-kicker { color: var(--red-dark); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.finder-card h2, .section-heading h2 { margin: 4px 0 0; font-family: "Barlow Condensed", sans-serif; font-size: 36px; line-height: 1; text-transform: uppercase; }
.garage-badge { border-radius: 99px; padding: 7px 10px; color: var(--blue-800); background: var(--blue-100); font-size: 11px; font-weight: 800; }

.select-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0 20px; }
label { display: grid; gap: 7px; }
label > span { color: var(--gray-700); font-size: 12px; font-weight: 700; }
select, input, textarea {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}
select, input { height: 52px; padding: 0 14px; }
textarea { min-height: 92px; resize: vertical; padding: 13px 14px; }
select:disabled { color: #9aa3ad; background: var(--gray-100); cursor: not-allowed; }
.form-error { margin: -8px 0 14px; color: #b52a1d; font-size: 12px; font-weight: 700; }
.prototype-note, .privacy-note { margin: 12px 0 0; color: var(--gray-500); text-align: center; font-size: 10px; }

.categories-section { padding: 88px 0 96px; background: var(--gray-100); }
.section-heading { align-items: end; margin-bottom: 28px; }
.section-heading h2 { color: var(--blue-950); font-size: 47px; }
.section-heading p { margin: 8px 0 0; color: var(--gray-700); }
.text-button { border: 0; padding: 8px 0; color: var(--blue-700); background: transparent; cursor: pointer; font-weight: 800; }

.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.category-card {
  display: flex;
  min-height: 265px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #dce2e8;
  border-radius: 13px;
  padding: 0;
  cursor: pointer;
  text-align: left;
  background: var(--white);
  box-shadow: 0 8px 25px rgba(32, 52, 72, .06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.category-card:hover, .category-card.selected { transform: translateY(-3px); border-color: var(--blue-700); box-shadow: 0 14px 35px rgba(6, 60, 122, .12); }
.category-card.selected { box-shadow: inset 0 0 0 1px var(--blue-700), 0 14px 35px rgba(6, 60, 122, .12); }
.category-photo { display: block; height: 135px; overflow: hidden; background: var(--white); }
.category-photo img { display: block; width: 100%; height: 100%; padding: 5px; object-fit: contain; object-position: center; background: var(--white); transition: transform .24s ease; }
.category-card:hover .category-photo img, .category-card.selected .category-photo img { transform: scale(1.04); }
.category-copy { display: flex; min-height: 138px; flex: 1; flex-direction: column; padding: 16px; background: var(--white); }
.category-card h3 { margin: 0 0 6px; color: var(--blue-950); font-family: "Barlow Condensed", sans-serif; font-size: 24px; line-height: 1; text-transform: uppercase; }
.category-card p { margin: 0; color: var(--gray-500); font-size: 11px; line-height: 1.45; }
.category-card .category-arrow { display: block; margin-top: auto; padding-top: 12px; color: var(--red); font-weight: 800; }
.category-card:disabled { opacity: .56; cursor: not-allowed; }
.category-card:disabled:hover { transform: none; border-color: #dce2e8; box-shadow: 0 8px 25px rgba(32, 52, 72, .06); }
.category-card:disabled:hover .category-photo img { transform: none; }

.results-panel {
  scroll-margin-top: 150px;
  margin-top: 20px;
  border-left: 5px solid var(--red);
  border-radius: 10px;
  padding: 22px 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.results-panel h3 { margin: 3px 0 4px; color: var(--blue-950); font-size: 20px; }
.results-panel p { margin: 0; color: var(--gray-700); font-size: 13px; }

.quote-section { color: var(--white); background: var(--blue-950); }
.quote-section, .quote-form { scroll-margin-top: 150px; }
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; padding-block: 90px; }
.quote-copy h2 { margin-block: 20px; font-size: clamp(60px, 6vw, 84px); }
.quote-copy > p { max-width: 450px; color: #bed0e2; }
.contact-options { display: flex; max-width: 430px; flex-direction: column; }
.desktop-call-notice {
  display: grid;
  gap: 4px;
  margin-top: 26px;
  border-left: 4px solid var(--red);
  border-radius: 10px;
  padding: 15px 17px;
  color: var(--white);
  background: rgba(255,255,255,.09);
}
.desktop-call-notice strong { font-size: 17px; }
.desktop-call-notice span { color: #c6d9eb; font-size: 13px; line-height: 1.45; }
.call-options { order: 2; }
.text-options { order: 3; margin-top: 24px; }
.text-heading, .call-heading { color: #b9d0e7; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.preferred-texts { display: grid; gap: 12px; margin-top: 9px; }
.text-contact-card {
  display: grid;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  padding: 18px 20px;
  color: var(--white);
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
  transition: transform .18s ease, border-color .18s ease;
}
.text-contact-card:hover { transform: translateY(-2px); border-color: var(--white); }
.text-contact-card span { font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.text-contact-card strong { margin-block: 2px; font-family: "Barlow Condensed", sans-serif; font-size: 32px; letter-spacing: .025em; line-height: 1.05; }
.text-contact-card small { color: rgba(255,255,255,.78); font-size: 12px; }
.spanish-line { background: linear-gradient(135deg, var(--red-dark), var(--red)); }
.english-line { background: linear-gradient(135deg, var(--blue-800), var(--blue-700)); }
.call-heading { margin-top: 18px; }
.contact-actions { display: grid; gap: 10px; margin-top: 9px; }
.contact-tile { display: flex; max-width: 390px; align-items: center; gap: 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; padding: 13px; background: rgba(255,255,255,.05); }
.contact-tile:hover { border-color: rgba(236,22,28,.88); }
.contact-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 8px; color: var(--white); background: var(--red); }
.contact-tile span:last-child { display: grid; }
.contact-tile small { color: #9cb7d2; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.contact-tile strong { font-size: 14px; }

.quote-form { border-radius: 20px; padding: 34px; color: var(--ink); background: var(--white); box-shadow: 0 24px 60px rgba(0,0,0,.23); }
.quote-form h3 { margin: 0 0 20px; color: var(--blue-950); font-family: "Barlow Condensed", sans-serif; font-size: 31px; text-transform: uppercase; }
.selection-summary { display: grid; margin-bottom: 20px; border-radius: 8px; padding: 13px 15px; background: var(--blue-100); }
.selection-summary span { color: var(--blue-700); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.selection-summary strong { margin-top: 2px; color: var(--blue-950); font-size: 13px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.vin-field { margin-bottom: 16px; }
.vin-field input { border-width: 2px; border-color: var(--blue-700); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.vin-field small { color: var(--gray-500); font-size: 11px; line-height: 1.4; }
.quote-form > label { margin-bottom: 18px; }
.sms-consent-disclosure {
  margin: 2px 0 16px;
  border-left: 4px solid var(--blue-700);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--gray-700);
  background: var(--blue-100);
  font-size: 12px;
  line-height: 1.5;
}
.sms-consent-disclosure a { color: var(--blue-800); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.consent-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; margin-top: 7px; }

.prepared-request { margin-top: 18px; border-radius: 12px; padding: 18px; color: var(--white); background: var(--blue-900); }
.prepared-request > span { display: block; color: #ffd2b1; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.confirmation-message { margin: 8px 0 14px; color: var(--white); font-size: 16px; font-weight: 700; line-height: 1.45; }
.prepared-request > strong { display: block; margin-block: 3px 12px; }
.prepared-actions { display: flex; gap: 10px; }
.prepared-actions .button { min-height: 43px; flex: 1; padding-inline: 14px; font-size: 12px; }
#copyStatus { min-height: 18px; margin: 8px 0 0; color: #cfe6ff; font-size: 11px; }

footer { padding: 22px 0; color: #aab8c6; background: #031d39; font-size: 12px; }
.footer-links { display: flex; align-items: center; gap: 18px; }
.footer-links a { color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover { color: #bfdcff; }

.policy-nav .policy-back-link { margin-left: auto; color: var(--blue-800); font-size: 14px; font-weight: 800; }
.policy-nav .policy-back-link:hover { color: var(--red); }
.policy-width { width: min(880px, calc(100% - 40px)); }
.policy-hero {
  color: var(--white);
  background:
    radial-gradient(circle at 86% 12%, rgba(25,122,218,.42), transparent 34%),
    linear-gradient(116deg, var(--blue-950), var(--blue-900) 68%, #0b5ca8);
}
.policy-hero .policy-width { padding-block: 64px 58px; }
.policy-eyebrow { display: block; color: #badcff; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.policy-hero h1 { margin: 8px 0 10px; font-family: "Barlow Condensed", sans-serif; font-size: clamp(52px, 8vw, 76px); line-height: .95; text-transform: uppercase; }
.policy-hero p { margin: 0; color: #cfdfef; font-size: 14px; }
.policy-content { padding-block: 54px 76px; }
.policy-card { border: 1px solid #e0e6ec; border-radius: 18px; padding: clamp(26px, 5vw, 54px); background: var(--white); box-shadow: var(--shadow); }
.policy-card section + section { margin-top: 38px; padding-top: 4px; }
.policy-card h2 { margin: 0 0 12px; color: var(--blue-950); font-family: "Barlow Condensed", sans-serif; font-size: 30px; line-height: 1.1; }
.policy-card p, .policy-card li { color: #344356; font-size: 16px; line-height: 1.72; }
.policy-card p { margin: 0 0 14px; }
.policy-card ul { margin: 8px 0 0; padding-left: 22px; }
.policy-card li + li { margin-top: 8px; }
.policy-card a { color: var(--blue-800); font-weight: 700; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.policy-intro { margin-bottom: 38px !important; color: var(--ink) !important; font-size: 18px !important; }
.policy-notice, .sms-policy-callout { margin-top: 20px; border-radius: 12px; padding: 20px 22px; }
.policy-notice { border: 1px solid #cfe2f6; background: var(--blue-100); }
.sms-policy-callout { border-left: 6px solid var(--red); background: #fff1f1; }
.policy-notice > strong, .sms-policy-callout > strong { display: block; margin-bottom: 7px; color: var(--blue-950); font-size: 18px; }
.sms-policy-callout > strong { color: #9d1116; }
.policy-notice p, .sms-policy-callout p { margin: 0; }
.policy-contact { border-top: 1px solid var(--gray-300); padding-top: 30px !important; }
.policy-contact address { color: #344356; font-size: 16px; font-style: normal; line-height: 1.75; }

[hidden] { display: none !important; }

@media (max-width: 960px) {
  nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; padding-block: 62px; }
  .hero-copy { max-width: 650px; }
  .hero h1 { font-size: 78px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .quote-grid { gap: 45px; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, 580px); }
  .topbar-inner span:last-child { display: none; }
  .topbar-inner { justify-content: center; }
  .nav-wrap {
    display: grid;
    min-height: 68px;
    grid-template-columns: 1fr auto;
    gap: 7px 10px;
    padding-block: 8px;
  }
  .brand-logo { width: 112px; }
  .language-switcher { justify-self: end; }
  .header-phones { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 6px; }
  .site-header .button-outline { min-height: 36px; padding-inline: 7px; font-size: 9px; }
  .hero-grid { min-height: auto; gap: 32px; padding-block: 48px 54px; }
  .hero h1 { margin-top: 15px; font-size: 58px; }
  .hero-copy > p { font-size: 15px; }
  .brand-slogan { margin-top: 18px; font-size: 20px; }
  .trust-row { gap: 10px 16px; margin-top: 22px; }
  .finder-card { border-radius: 16px; padding: 22px 18px; }
  .finder-card h2 { font-size: 31px; }
  .select-grid { gap: 13px 10px; margin-top: 22px; }
  select { height: 50px; font-size: 13px; }
  .categories-section { padding-block: 62px; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 37px; }
  .section-heading p { max-width: 260px; font-size: 13px; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .category-card { min-height: 224px; }
  .category-photo { height: 112px; }
  .category-copy { min-height: 124px; padding: 13px; }
  .category-card h3 { font-size: 20px; }
  .category-card p { font-size: 11px; }
  .results-panel { align-items: stretch; flex-direction: column; }
  .results-panel .button { width: 100%; }
  .quote-grid { grid-template-columns: 1fr; gap: 38px; padding-block: 62px; }
  .quote-copy h2 { font-size: 58px; }
  .contact-options { max-width: none; }
  .desktop-call-notice { display: none; }
  .text-options { order: 1; margin-top: 26px; }
  .call-options { order: 2; }
  .call-heading { margin-top: 24px; }
  .text-contact-card { min-height: 112px; justify-content: center; }
  .text-contact-card strong { font-size: 34px; }
  .quote-form { padding: 25px 18px; }
  .field-row { grid-template-columns: 1fr; }
  .prepared-actions { flex-direction: column; }
  .footer-inner { align-items: start; flex-direction: column; gap: 10px; }
  .footer-links { flex-wrap: wrap; gap: 8px 16px; }
  .policy-nav { grid-template-columns: 1fr auto; }
  .policy-nav .policy-back-link { grid-column: 1 / -1; margin: 0; padding-bottom: 6px; }
  .policy-width { width: min(100% - 28px, 580px); }
  .policy-hero .policy-width { padding-block: 46px 42px; }
  .policy-content { padding-block: 30px 52px; }
  .policy-card { border-radius: 14px; padding: 24px 18px; }
  .policy-card h2 { font-size: 27px; }
  .policy-card p, .policy-card li { font-size: 15px; }
  .policy-intro { font-size: 16px !important; }
  .policy-notice, .sms-policy-callout { padding: 17px 16px; }
}

@media (max-width: 390px) {
  .select-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 216px; }
  .category-card h3 { font-size: 18px; }
  .category-copy { padding: 11px; }
  .text-contact-card strong { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
