:root {
  --navy-950: #071625;
  --navy-900: #0a1f33;
  --navy-800: #10314f;
  --navy-700: #174569;
  --blue-600: #2563a6;
  --green-700: #08783b;
  --green-600: #0a9148;
  --green-500: #13aa59;
  --green-100: #dff7e9;
  --green-50: #f0fbf5;
  --orange-500: #ef6c35;
  --red-600: #d83a47;
  --ink: #13202d;
  --muted: #657486;
  --subtle: #8a98a8;
  --line: #e1e7ed;
  --line-dark: #d3dce4;
  --surface: #ffffff;
  --canvas: #f6f8fa;
  --canvas-blue: #edf4f8;
  --shadow-sm: 0 4px 14px rgba(7, 22, 37, .06);
  --shadow-md: 0 14px 38px rgba(7, 22, 37, .10);
  --shadow-lg: 0 28px 70px rgba(7, 22, 37, .18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shell: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--green-600);
  border-radius: var(--radius-sm);
  padding: 11px 20px;
  color: #fff;
  background: var(--green-600);
  box-shadow: 0 8px 20px rgba(10, 145, 72, .18);
  cursor: pointer;
  font-weight: 750;
  line-height: 1.2;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

button:hover,
.button:hover {
  border-color: var(--green-700);
  background: var(--green-700);
  box-shadow: 0 12px 24px rgba(10, 145, 72, .24);
  transform: translateY(-1px);
}

button:focus-visible,
.button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(37, 99, 166, .3);
  outline-offset: 3px;
}

.button-small {
  min-height: 40px;
  padding: 8px 15px;
  font-size: 14px;
}

.button-secondary,
button.button-secondary,
.button.muted,
button.muted {
  border-color: var(--line-dark);
  color: var(--navy-900);
  background: #fff;
  box-shadow: none;
}

.button-secondary:hover,
button.button-secondary:hover,
.button.muted:hover,
button.muted:hover {
  border-color: var(--navy-900);
  color: #fff;
  background: var(--navy-900);
}

.button-light {
  border-color: #fff;
  color: var(--navy-900);
  background: #fff;
  box-shadow: none;
}

.button-light:hover {
  border-color: var(--green-100);
  color: var(--navy-900);
  background: var(--green-100);
}

.text-button {
  min-height: auto;
  border: 0;
  padding: 6px 0;
  color: var(--muted);
  background: none;
  box-shadow: none;
  font-size: 14px;
}

.text-button:hover {
  color: var(--navy-900);
  background: none;
  box-shadow: none;
  transform: none;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #98a4b0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-600);
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 166, .1);
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green-600);
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--navy-900);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(38px, 5.4vw, 68px);
}

h2 {
  font-size: clamp(28px, 3.6vw, 44px);
}

h3 {
  font-size: 20px;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: #fff;
  background: var(--navy-900);
  transition: top .2s ease;
}

.skip-link:focus {
  top: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.eyebrow-light {
  color: #a9e9c3;
}

.section-kicker {
  max-width: 660px;
  color: var(--muted);
  font-size: 17px;
}

.announcement-bar {
  color: rgba(255, 255, 255, .76);
  background: var(--navy-950);
  font-size: 12px;
  font-weight: 600;
}

.announcement-inner {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.announcement-inner p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
}

.announcement-inner nav {
  display: flex;
  gap: 22px;
}

.announcement-inner a:hover {
  color: #fff;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, .12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(211, 220, 228, .82);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
  transition: box-shadow .2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-main {
  display: grid;
  min-height: 76px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 38px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-900);
}

.brand img {
  width: 52px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.brand-name {
  display: grid;
  gap: 0;
  line-height: 1;
}

.brand-name strong {
  font-size: 17px;
  letter-spacing: -.02em;
}

.brand-name small {
  margin-top: 5px;
  color: var(--green-700);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav a {
  position: relative;
  padding: 26px 0;
  color: #314254;
  font-size: 14px;
  font-weight: 700;
}

.primary-nav a::after {
  position: absolute;
  right: 50%;
  bottom: 17px;
  left: 50%;
  height: 2px;
  border-radius: 2px;
  background: var(--green-600);
  content: "";
  transition: right .2s ease, left .2s ease;
}

.primary-nav a:hover {
  color: var(--navy-900);
}

.primary-nav a:hover::after {
  right: 0;
  left: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-size: 14px;
}

.header-actions form {
  margin: 0;
}

.account-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy-900);
  font-weight: 700;
}

.account-link:hover {
  color: var(--green-700);
}

.account-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy-800);
  font-size: 13px;
}

.menu-toggle {
  display: none;
  width: 44px;
  min-height: 42px;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  padding: 9px;
  color: var(--navy-900);
  background: #fff;
  box-shadow: none;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 3px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.messages {
  margin-top: 18px;
}

.messages p {
  margin: 0;
  border: 1px solid #bce7cf;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--green-700);
  background: var(--green-50);
  font-weight: 700;
}

/* Home */
.home-hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 25%, rgba(23, 69, 105, .85), transparent 31%),
    radial-gradient(circle at 10% 90%, rgba(10, 145, 72, .2), transparent 34%),
    linear-gradient(128deg, #071625 0%, #0a263f 56%, #103b5b 100%);
}

.home-hero::before {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 76%);
}

.hero-inner {
  position: relative;
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .75fr);
  align-items: center;
  gap: 70px;
  padding-block: 70px 138px;
}

.hero-copy {
  max-width: 700px;
}

.hero-copy h1 {
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(45px, 5.8vw, 76px);
  line-height: 1.02;
}

.hero-copy h1 em {
  color: #81dba5;
  font-style: normal;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .72);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.hero-actions .button-secondary {
  border-color: rgba(255, 255, 255, .24);
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

.hero-actions .button-secondary:hover {
  border-color: #fff;
  color: var(--navy-900);
  background: #fff;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
}

.proof-avatars {
  display: flex;
}

.proof-avatars span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-left: -8px;
  border: 2px solid var(--navy-900);
  border-radius: 50%;
  color: var(--navy-900);
  background: #d8eef8;
  font-size: 11px;
  font-weight: 850;
}

.proof-avatars span:first-child {
  margin-left: 0;
  background: #dff7e9;
}

.proof-avatars span:last-child {
  background: #f8e6d8;
}

.hero-proof p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  line-height: 1.45;
}

.hero-proof strong {
  display: block;
  color: #fff;
}

.hero-showcase {
  position: relative;
}

.showcase-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .08);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  transform: rotate(1.5deg);
}

.showcase-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #dce7ee, #f8fafb);
}

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.showcase-card:hover .showcase-media img {
  transform: scale(1.04);
}

.showcase-chip {
  position: absolute;
  top: 18px;
  left: 18px;
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, .93);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.showcase-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 16px;
  padding: 20px 22px 23px;
}

.showcase-content p {
  margin: 0 0 5px;
  color: #8fdcaf;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.showcase-content h2 {
  margin: 0;
  color: #fff;
  font-size: 21px;
}

.showcase-price {
  text-align: right;
}

.showcase-price small {
  display: block;
  color: rgba(255, 255, 255, .6);
  font-size: 11px;
}

.showcase-price strong {
  color: #fff;
  font-size: 20px;
}

.floating-stat {
  position: absolute;
  right: -18px;
  bottom: 120px;
  display: grid;
  min-width: 128px;
  gap: 1px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow-md);
  transform: rotate(-2deg);
}

.floating-stat strong {
  font-size: 22px;
}

.floating-stat span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.vehicle-finder-wrap {
  position: relative;
  z-index: 3;
  margin-top: -82px;
}

.vehicle-finder {
  border: 1px solid rgba(211, 220, 228, .9);
  border-radius: var(--radius-lg);
  padding: 25px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 60px rgba(7, 22, 37, .16);
}

.finder-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.finder-heading h2 {
  margin: 0;
  font-size: 23px;
}

.finder-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.finder-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 1fr .85fr auto;
  align-items: end;
  gap: 12px;
}

.finder-grid button {
  min-width: 150px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--line);
}

.trust-item {
  display: flex;
  min-height: 90px;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
  background: #fff;
}

.trust-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--green-700);
  background: var(--green-50);
  font-size: 16px;
  font-weight: 900;
}

.trust-item strong {
  display: block;
  color: var(--navy-900);
  font-size: 14px;
}

.trust-item span {
  color: var(--muted);
  font-size: 12px;
}

.content-section {
  padding-block: 86px;
}

.content-section.tinted {
  background: var(--canvas);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin-bottom: 8px;
}

.section-heading p {
  margin-bottom: 0;
}

.section-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--navy-900);
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 800;
}

.section-link:hover {
  gap: 13px;
  color: var(--green-700);
  border-color: var(--green-700);
}

.make-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.make-card {
  display: grid;
  min-height: 108px;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.make-card span {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.make-card strong {
  margin-top: 5px;
  color: var(--navy-900);
  font-size: 15px;
}

.make-card:hover {
  border-color: #a9d7be;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.type-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.type-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  color: #3f5062;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.type-chip::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-500);
  content: "";
}

.type-chip:hover {
  border-color: var(--green-600);
  color: var(--green-700);
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.vehicle-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .25s ease, transform .25s ease;
}

.vehicle-card:hover {
  border-color: #cbd7e0;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.vehicle-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #e8eff3, #f8fafb);
}

.vehicle-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.vehicle-card:hover .vehicle-media img {
  transform: scale(1.045);
}

.stock-badge,
.deal-badge {
  position: absolute;
  z-index: 2;
  top: 13px;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
}

.stock-badge {
  left: 13px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 12px rgba(7,22,37,.1);
  backdrop-filter: blur(8px);
}

.deal-badge {
  top: auto;
  right: auto;
  bottom: 13px;
  left: 13px;
  color: #fff;
  background: var(--red-600);
}

.deal-badge.recommended {
  background: var(--green-600);
}

.favorite-float {
  display: grid;
  width: 38px;
  min-height: 38px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  color: var(--navy-900);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 6px 16px rgba(7,22,37,.14);
}

.card-favorite-form,
.card-favorite-link {
  position: absolute;
  z-index: 4;
  top: 13px;
  right: 13px;
  margin: 0;
}

.favorite-float:hover {
  color: var(--red-600);
  background: #fff;
  box-shadow: 0 9px 20px rgba(7,22,37,.18);
}

.favorite-float.is-active {
  color: #fff;
  background: var(--red-600);
}

.image-placeholder {
  display: grid;
  width: 100%;
  min-height: 100%;
  place-items: center;
  color: var(--muted);
  background:
    radial-gradient(circle at 25% 15%, rgba(10,145,72,.12), transparent 30%),
    linear-gradient(135deg, #e6eef3, #f9fbfc);
  font-size: 13px;
  font-weight: 750;
}

.image-placeholder.large {
  min-height: 510px;
}

.vehicle-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.vehicle-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: var(--green-700);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.vehicle-meta span + span::before {
  margin-right: 7px;
  color: #b6c0c9;
  content: "•";
}

.vehicle-title {
  display: -webkit-box;
  min-height: 49px;
  overflow: hidden;
  color: var(--navy-900);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.vehicle-title:hover {
  color: var(--green-700);
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spec-grid div {
  padding: 10px 0;
}

.spec-grid div:nth-child(even) {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.spec-grid div:nth-child(n+3) {
  border-top: 1px solid var(--line);
}

dt {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .03em;
  text-transform: uppercase;
}

dd {
  margin: 2px 0 0;
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 750;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px;
  margin-top: auto;
}

.price-copy {
  display: grid;
}

.price-copy span {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.price-copy strong {
  color: var(--navy-900);
  font-size: 21px;
  letter-spacing: -.025em;
}

.price-copy del {
  color: var(--subtle);
  font-size: 12px;
}

.vehicle-detail-link {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-900);
  background: var(--canvas);
  font-weight: 900;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.vehicle-card:hover .vehicle-detail-link {
  color: #fff;
  background: var(--green-600);
  transform: translateX(2px);
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--line-dark);
  border-radius: var(--radius-md);
  padding: 44px 24px;
  color: var(--muted);
  text-align: center;
  background: #fff;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.journey-step {
  position: relative;
  min-height: 205px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 25px;
  background: #fff;
}

.journey-number {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 50%;
  color: var(--green-700);
  background: var(--green-50);
  font-size: 13px;
  font-weight: 850;
}

.journey-step h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.journey-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.journey-step::after {
  position: absolute;
  right: -30px;
  bottom: -50px;
  width: 110px;
  height: 110px;
  border: 18px solid var(--canvas-blue);
  border-radius: 50%;
  content: "";
}

.story-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #fff;
  background: var(--navy-900);
}

.story-content {
  padding: 56px;
}

.story-content h2 {
  max-width: 650px;
  margin-bottom: 18px;
  color: #fff;
}

.story-content > p {
  max-width: 640px;
  margin-bottom: 26px;
  color: rgba(255,255,255,.68);
}

.story-quote {
  display: grid;
  align-content: center;
  padding: 44px;
  color: var(--navy-900);
  background: var(--green-100);
}

.story-quote blockquote {
  margin: 0 0 22px;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.015em;
  line-height: 1.5;
}

.story-quote strong,
.story-quote span {
  display: block;
}

.story-quote span {
  color: var(--muted);
  font-size: 13px;
}

/* Page headers and stock list */
.page-hero {
  padding: 68px 0 62px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 30%, rgba(23, 69, 105, .75), transparent 30%),
    var(--navy-900);
}

.page-hero h1 {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(38px, 5vw, 60px);
}

.page-hero p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255,255,255,.66);
  font-size: 17px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255,255,255,.6);
  font-size: 12px;
}

.breadcrumb a:hover {
  color: #fff;
}

.listing-shell {
  padding-block: 42px 90px;
  background: var(--canvas);
}

.listing-layout {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.filter-panel {
  position: sticky;
  top: 100px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 19px 20px;
  border-bottom: 1px solid var(--line);
}

.filter-heading h2 {
  margin: 0;
  font-size: 19px;
}

.filter-heading a {
  color: var(--green-700);
  font-size: 12px;
  font-weight: 750;
}

.filter-panel form {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.filter-submit {
  width: 100%;
}

.mobile-filter-toggle {
  display: none;
}

.results-panel {
  min-width: 0;
}

.results-toolbar {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 13px 18px;
  background: #fff;
}

.result-count strong {
  display: block;
  color: var(--navy-900);
  font-size: 16px;
}

.result-count span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.sort-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-row label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  white-space: nowrap;
}

.sort-row select {
  min-width: 220px;
}

.vehicle-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* Vehicle detail */
.detail-page {
  padding-block: 34px 92px;
  background: var(--canvas);
}

.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
}

.detail-breadcrumb a:hover {
  color: var(--green-700);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  align-items: start;
  gap: 28px;
}

.gallery-card,
.detail-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.gallery-card {
  overflow: hidden;
}

.gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: #edf2f5;
  outline: none;
}

.gallery-main:focus-visible {
  box-shadow: inset 0 0 0 3px var(--green-600);
}

.gallery-image-button {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .22s ease, transform .32s ease;
}

.gallery-main img.is-entering {
  opacity: .25;
  transform: scale(1.025);
}

.gallery-main .image-placeholder {
  height: 100%;
}

.gallery-count,
.gallery-expand {
  position: absolute;
  right: 16px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  padding: 7px 11px;
  color: #fff;
  background: rgba(7,27,48,.76);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 800;
}

.gallery-main-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  color: var(--navy-900);
  background: rgba(255,255,255,.9);
  box-shadow: 0 7px 24px rgba(7,27,48,.18);
  cursor: pointer;
  font-size: 18px;
  opacity: .92;
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.gallery-main:hover .gallery-main-nav,
.gallery-main:focus-within .gallery-main-nav {
  opacity: 1;
}

html.gallery-open {
  overflow: hidden;
}

.gallery-main-nav:hover {
  background: #fff;
}

.gallery-main-nav.previous {
  left: 16px;
}

.gallery-main-nav.next {
  right: 16px;
}

.gallery-count {
  top: 16px;
}

.gallery-expand {
  bottom: 16px;
}

.gallery-thumbnails {
  display: grid;
  grid-auto-columns: 92px;
  grid-auto-flow: column;
  gap: 9px;
  overflow-x: auto;
  padding: 12px;
  background: #f7f9fa;
}

.gallery-thumb {
  width: 92px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 9px;
  padding: 0;
  background: #e8edef;
  cursor: pointer;
  opacity: .68;
  transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}

.gallery-thumb.is-active {
  border-color: var(--green-600);
  opacity: 1;
  transform: translateY(-2px);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  color: var(--muted);
  font-size: 12px;
}

.gallery-meta strong {
  color: var(--navy-900);
}

.representative-label {
  border-radius: 999px;
  padding: 5px 8px;
  color: #72580b;
  background: #fff7d6;
  font-weight: 750;
}

.gallery-dialog {
  width: min(1100px, calc(100% - 40px));
  max-width: none;
  height: min(760px, calc(100% - 40px));
  max-height: none;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  padding: 0;
  color: #fff;
  background: #071728;
  box-shadow: 0 30px 90px rgba(0,0,0,.5);
}

.gallery-dialog::backdrop {
  background: rgba(2,11,20,.84);
  backdrop-filter: blur(7px);
}

.gallery-dialog figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 52px;
  height: 100%;
  margin: 0;
}

.gallery-zoom-stage {
  display: grid;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  place-items: center;
  touch-action: pan-y;
}

.gallery-dialog figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  cursor: zoom-in;
  user-select: none;
  will-change: transform;
  transition: transform .2s ease, opacity .18s ease;
}

.gallery-dialog figure img.is-zoomed {
  cursor: zoom-out;
}

.gallery-dialog .gallery-zoom-stage.is-pannable {
  touch-action: none;
}

.gallery-dialog .gallery-zoom-stage.is-pannable img {
  cursor: grab;
}

.gallery-dialog .gallery-zoom-stage.is-dragging img {
  cursor: grabbing;
  transition: opacity .18s ease;
}

.gallery-dialog figcaption {
  width: 100%;
  min-height: 52px;
  padding: 14px 70px;
  color: rgba(255,255,255,.72);
  text-align: center;
  font-size: 12px;
}

.gallery-dialog-close,
.gallery-dialog-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  color: #fff;
  background: rgba(7,27,48,.76);
  cursor: pointer;
}

.gallery-dialog-close {
  top: 14px;
  right: 14px;
  font-size: 24px;
}

.gallery-dialog-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

.gallery-dialog-nav.previous {
  left: 14px;
}

.gallery-dialog-nav.next {
  right: 14px;
}

.gallery-zoom-controls {
  position: absolute;
  right: 16px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(7,27,48,.82);
  backdrop-filter: blur(10px);
}

.gallery-pan-hint {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 3;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 7px 11px;
  color: rgba(255,255,255,.82);
  background: rgba(7,27,48,.74);
  font-size: 10px;
  font-weight: 750;
  pointer-events: none;
}

.gallery-zoom-controls button {
  min-width: 42px;
  height: 34px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.14);
  padding: 0 10px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
}

.gallery-zoom-controls button:last-child {
  border-right: 0;
}

.gallery-zoom-controls button:hover {
  background: rgba(255,255,255,.1);
}

.gallery-zoom-controls [data-gallery-zoom-label] {
  font-size: 10px;
  font-weight: 800;
}

.detail-summary {
  position: sticky;
  top: 100px;
  padding: 28px;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 17px;
}

.detail-badges span {
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--green-700);
  background: var(--green-50);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.status-badge.status-reserved {
  color: #8a5a08;
  background: #fff5d8;
}

.status-badge.status-sold {
  color: var(--red-600);
  background: #fff0f1;
}

.detail-summary h1 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.5vw, 43px);
}

.detail-quick-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.detail-quick-specs div {
  padding: 12px 10px;
  background: #f9fbfb;
}

.detail-quick-specs span,
.detail-quick-specs strong {
  display: block;
}

.detail-quick-specs span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-quick-specs strong {
  color: var(--navy-900);
  font-size: 11px;
}

.detail-description {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.detail-price {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.detail-price small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-price strong {
  display: block;
  color: var(--navy-900);
  font-size: 31px;
  letter-spacing: -.04em;
}

.detail-price del {
  color: var(--subtle);
  font-size: 13px;
}

.discount-pill {
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--red-600);
  background: #fff0f1;
  font-size: 12px;
  font-weight: 850;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.detail-actions form {
  margin: 0;
}

.detail-actions form button {
  width: 100%;
}

.currency-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -8px 0 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.currency-control select {
  width: 110px;
  min-height: 38px;
  padding: 7px 30px 7px 10px;
  font-size: 12px;
}

.detail-utility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.detail-utility-actions button,
.detail-utility-actions a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--navy-700);
  background: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.detail-utility-actions button:hover,
.detail-utility-actions a:hover {
  border-color: var(--green-600);
  color: var(--green-700);
}

.share-feedback {
  min-height: 16px;
  margin: 6px 0 -6px;
  color: var(--green-700);
  font-size: 10px;
  font-weight: 700;
}

.favorite-button {
  width: 50px;
  padding: 0;
  font-size: 20px;
}

.purchase-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.purchase-note span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--green-700);
  background: var(--green-50);
  font-size: 11px;
  font-weight: 900;
}

.detail-content {
  padding-top: 28px;
}

.detail-content-grid,
.detail-information-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(330px, .7fr);
  align-items: start;
  gap: 24px;
  padding-top: 28px;
}

.detail-information-grid {
  grid-template-columns: 1fr 1fr;
}

.detail-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  background: #fff;
}

.detail-overview {
  min-width: 0;
}

.detail-panel h2 {
  margin-bottom: 24px;
  font-size: 26px;
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.detail-specs div {
  min-height: 84px;
  padding: 18px;
  background: #fff;
}

.detail-specs dt {
  margin-bottom: 6px;
}

.detail-specs dd {
  font-size: 14px;
}

.inspection-note {
  margin-top: 24px;
  border-left: 3px solid var(--green-600);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 19px 21px;
  background: var(--green-50);
}

.inspection-note h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.inspection-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cost-calculator {
  border: 1px solid #b7dcca;
  border-radius: var(--radius-lg);
  padding: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(20,157,64,.11), transparent 38%),
    #fff;
  box-shadow: var(--shadow-sm);
}

.cost-calculator h2 {
  margin-bottom: 8px;
  font-size: 25px;
}

.cost-calculator > p {
  color: var(--muted);
  font-size: 13px;
}

.calculator-fields {
  display: grid;
  gap: 12px;
  margin: 21px 0;
}

.calculator-fields label {
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 800;
}

.calculator-fields select {
  margin-top: 6px;
}

.cost-breakdown {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.cost-breakdown[hidden] {
  display: none;
}

.cost-breakdown div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

.cost-breakdown strong {
  color: var(--navy-900);
}

.cost-breakdown .cost-total {
  margin-top: 5px;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  color: var(--navy-900);
  font-weight: 850;
}

.cost-breakdown .cost-total strong {
  color: var(--green-700);
  font-size: 19px;
}

.calculator-status {
  min-height: 20px;
  margin: 13px 0;
  color: var(--muted);
  font-size: 11px;
}

.calculator-status.is-error {
  color: var(--red-600);
}

.import-guidance {
  margin: 14px 0;
  border-radius: var(--radius-sm);
  padding: 14px;
  background: var(--green-50);
}

.import-guidance.is-warning {
  background: #fff5d8;
}

.import-guidance strong,
.import-guidance p,
.import-guidance small {
  display: block;
}

.import-guidance strong {
  margin-bottom: 4px;
  color: var(--navy-900);
  font-size: 12px;
}

.import-guidance p,
.import-guidance small {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.import-guidance small {
  margin-top: 5px;
}

.calculator-quote {
  width: 100%;
  margin-top: 7px;
}

.calculator-disclaimer {
  display: block;
  margin-top: 13px;
  color: var(--subtle);
  font-size: 9px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.feature-grid > div {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  color: #405162;
  font-size: 12px;
  font-weight: 700;
}

.feature-grid > div span {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--green-700);
  background: var(--green-50);
  font-size: 10px;
}

.panel-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.condition-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.condition-list div {
  padding: 14px;
  background: #fff;
}

.condition-list dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.condition-list dd {
  color: var(--navy-900);
  font-size: 12px;
}

.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.document-actions a {
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--green-700);
  background: var(--green-50);
  font-size: 10px;
  font-weight: 850;
}

.document-actions span {
  color: var(--muted);
  font-size: 11px;
}

.import-panel {
  margin-top: 24px;
  border-color: #b7dcca;
}

.import-panel p {
  margin: 0;
  color: var(--muted);
}

.compact-section {
  padding-bottom: 0;
}

@media print {
  .announcement-bar,
  .site-header,
  .prefooter,
  .site-footer,
  .detail-breadcrumb,
  .detail-actions,
  .detail-utility-actions,
  .purchase-note,
  .cost-calculator,
  .content-section,
  .gallery-thumbnails,
  .gallery-expand,
  .gallery-count {
    display: none !important;
  }

  .detail-page {
    padding: 0;
    background: #fff;
  }

  .detail-layout,
  .detail-content-grid,
  .detail-information-grid {
    grid-template-columns: 1fr;
  }

  .detail-summary {
    position: static;
  }
}

/* Forms, account, CMS */
.form-shell {
  padding-block: 64px 90px;
  background:
    radial-gradient(circle at 90% 20%, rgba(10,145,72,.08), transparent 25%),
    var(--canvas);
}

.form-layout {
  display: grid;
  max-width: 990px;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.form-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 15%, rgba(19,170,89,.34), transparent 30%),
    var(--navy-900);
}

.form-aside h1 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 38px;
}

.form-aside p {
  color: rgba(255,255,255,.67);
}

.form-benefits {
  display: grid;
  gap: 14px;
  margin-top: 35px;
}

.form-benefit {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 650;
}

.form-benefit span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(19,170,89,.25);
  font-size: 11px;
}

.form-main {
  padding: 42px;
}

.form-main h2 {
  margin-bottom: 7px;
  font-size: 29px;
}

.form-intro {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}

.panel-form {
  display: grid;
  gap: 17px;
}

.panel-form p {
  display: grid;
  gap: 7px;
  margin: 0;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
}

.panel-form p:has(input[type="checkbox"]) {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.panel-form .helptext {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.panel-form ul.errorlist {
  margin: 0;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: #a52231;
  background: #fff0f1;
  font-size: 12px;
  font-weight: 650;
  list-style: none;
}

.panel-form > button {
  width: 100%;
  margin-top: 4px;
}

.form-footnote {
  margin: 22px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.form-footnote a {
  color: var(--green-700);
  font-weight: 800;
}

.vehicle-summary-mini {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  background: var(--canvas);
}

.vehicle-summary-mini .mini-image {
  display: grid;
  width: 76px;
  height: 60px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: #dfe8ed;
  font-size: 10px;
}

.vehicle-summary-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-summary-mini strong,
.vehicle-summary-mini span {
  display: block;
}

.vehicle-summary-mini strong {
  color: var(--navy-900);
  font-size: 13px;
}

.vehicle-summary-mini span {
  color: var(--muted);
  font-size: 11px;
}

.dashboard-page {
  padding-block: 42px 90px;
  background: var(--canvas);
}

.dashboard-welcome {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.dashboard-welcome h1 {
  margin-bottom: 8px;
  font-size: 42px;
}

.dashboard-welcome p {
  margin: 0;
  color: var(--muted);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}

.dashboard-stat {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 21px;
  background: #fff;
}

.dashboard-stat span,
.dashboard-stat strong {
  display: block;
}

.dashboard-stat strong {
  color: var(--navy-900);
  font-size: 28px;
}

.dashboard-stat span {
  color: var(--muted);
  font-size: 12px;
}

.dashboard-section {
  margin-top: 42px;
}

.dashboard-section .section-heading {
  margin-bottom: 20px;
}

.dashboard-section .section-heading h2 {
  font-size: 28px;
}

.enquiry-list {
  display: grid;
  gap: 10px;
}

.enquiry-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 17px 19px;
  background: #fff;
}

.enquiry-row strong,
.enquiry-row small {
  display: block;
}

.enquiry-row small {
  color: var(--muted);
}

.status-label {
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--green-700);
  background: var(--green-50);
  font-size: 11px;
  font-weight: 800;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.content-page-shell {
  padding-block: 65px 90px;
  background: var(--canvas);
}

.content-page {
  max-width: 850px;
}

.content-page > h1 {
  margin-bottom: 28px;
  font-size: 48px;
}

.prose {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: #3d4d5c;
  font-size: 16px;
  line-height: 1.85;
}

.prose p:last-child {
  margin-bottom: 0;
}

.faq-shell,
.table-page,
.testimonials-page {
  padding-block: 55px 90px;
  background: var(--canvas);
}

.faq-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

.faq-intro {
  position: sticky;
  top: 110px;
}

.faq-intro h2 {
  font-size: 29px;
}

.faq-intro p {
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-list details[open] {
  border-color: #abd9be;
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  color: var(--navy-900);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--green-700);
  background: var(--green-50);
  content: "+";
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 14px;
}

.table-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.responsive-table {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--muted);
  background: #f8fafb;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

td {
  color: #405162;
  font-size: 13px;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover td {
  background: var(--green-50);
}

.route-cell strong,
.route-cell span {
  display: block;
}

.route-cell strong {
  color: var(--navy-900);
}

.route-cell span {
  color: var(--muted);
  font-size: 11px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.quote-mark {
  margin-bottom: 28px;
  color: var(--green-600);
  font-family: Georgia, serif;
  font-size: 50px;
  font-weight: 900;
  line-height: .7;
}

.testimonial-card > p {
  margin-bottom: 28px;
  color: #344657;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy-800);
  font-size: 13px;
  font-weight: 850;
}

.testimonial-author strong,
.testimonial-author span {
  display: block;
}

.testimonial-author strong {
  color: var(--navy-900);
  font-size: 13px;
}

.testimonial-author span {
  color: var(--muted);
  font-size: 11px;
}

/* Footer */
.prefooter {
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(19,170,89,.36), transparent 28%),
    linear-gradient(130deg, var(--green-700), #075d36);
}

.prefooter-inner {
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 48px;
}

.prefooter h2 {
  margin-bottom: 10px;
  color: #fff;
}

.prefooter p {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255,255,255,.72);
}

.prefooter .button {
  flex: 0 0 auto;
}

.site-footer {
  color: rgba(255,255,255,.62);
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 60px;
  padding-block: 62px 48px;
}

.brand-footer {
  margin-bottom: 20px;
  color: #fff;
}

.brand-footer img {
  padding: 3px;
  border-radius: 8px;
  background: #fff;
}

.footer-brand p {
  max-width: 390px;
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

.footer-grid h3 {
  margin-bottom: 17px;
  color: #fff;
  font-size: 13px;
  letter-spacing: .03em;
}

.footer-grid nav {
  display: grid;
  gap: 10px;
}

.footer-grid nav a {
  font-size: 13px;
}

.footer-grid nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.09);
  padding-block: 22px;
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1100px) {
  .primary-nav {
    gap: 20px;
  }

  .header-main {
    gap: 24px;
  }

  .hero-inner {
    gap: 38px;
  }

  .finder-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .finder-grid button {
    min-width: 0;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .make-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .vehicle-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vehicle-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-specs {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(2, 1fr);
  }

  .footer-grid > div:last-child {
    display: none;
  }
}

@media (max-width: 900px) {
  .announcement-inner nav,
  .primary-nav,
  .header-actions {
    display: none;
  }

  .header-main {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-menu {
    position: fixed;
    inset: 113px 0 0;
    z-index: 99;
    overflow-y: auto;
    padding: 24px 20px 40px;
    background: #fff;
  }

  .mobile-menu.is-open {
    display: block;
  }

  .mobile-menu nav {
    display: grid;
  }

  .mobile-menu nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding: 18px 3px;
    color: var(--navy-900);
    font-size: 17px;
    font-weight: 750;
  }

  .mobile-account {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 28px;
  }

  .mobile-account form,
  .mobile-account button {
    width: 100%;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: 64px 150px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-showcase {
    display: none;
  }

  .make-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-band {
    grid-template-columns: 1fr;
  }

  .listing-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    display: none;
    position: static;
  }

  .filter-panel.is-open {
    display: block;
  }

  .mobile-filter-toggle {
    display: inline-flex;
  }

  .results-toolbar {
    flex-wrap: wrap;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-content-grid,
  .detail-information-grid {
    grid-template-columns: 1fr;
  }

  .detail-summary {
    position: static;
  }

  .detail-specs {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-layout {
    grid-template-columns: 1fr;
  }

  .form-aside {
    min-height: auto;
  }

  .form-benefits {
    grid-template-columns: repeat(3, 1fr);
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .announcement-inner {
    justify-content: center;
  }

  .announcement-inner p {
    font-size: 10px;
  }

  .header-main {
    min-height: 68px;
  }

  .brand img {
    width: 45px;
    height: 42px;
  }

  .mobile-menu {
    inset: 104px 0 0;
  }

  .home-hero,
  .hero-inner {
    min-height: 570px;
  }

  .hero-inner {
    padding-block: 52px 132px;
  }

  .hero-copy h1 {
    font-size: 43px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-proof {
    margin-top: 30px;
  }

  .vehicle-finder-wrap {
    margin-top: -96px;
  }

  .vehicle-finder {
    padding: 18px;
  }

  .finder-heading {
    display: block;
  }

  .finder-heading p {
    margin-top: 4px;
  }

  .finder-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: 76px;
  }

  .content-section {
    padding-block: 62px;
  }

  .section-heading {
    display: block;
    margin-bottom: 25px;
  }

  .section-link {
    margin-top: 13px;
  }

  .make-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vehicle-grid,
  .vehicle-list {
    grid-template-columns: 1fr;
  }

  .vehicle-title {
    min-height: 0;
  }

  .journey-grid {
    grid-template-columns: 1fr;
  }

  .journey-step {
    min-height: 180px;
  }

  .story-content,
  .story-quote {
    padding: 32px 24px;
  }

  .page-hero {
    padding-block: 50px 46px;
  }

  .listing-shell {
    padding-block: 26px 64px;
  }

  .results-toolbar {
    align-items: stretch;
  }

  .sort-row {
    width: 100%;
  }

  .sort-row label {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .sort-row select {
    min-width: 0;
  }

  .detail-page {
    padding-block: 22px 65px;
  }

  .detail-summary,
  .detail-panel {
    padding: 21px;
  }

  .detail-price strong {
    font-size: 26px;
  }

  .gallery-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .gallery-main-nav {
    width: 38px;
    height: 38px;
    opacity: 1;
  }

  .gallery-main-nav.previous {
    left: 10px;
  }

  .gallery-main-nav.next {
    right: 10px;
  }

  .gallery-expand {
    display: none;
  }

  .detail-quick-specs {
    grid-template-columns: 1fr 1fr;
  }

  .detail-specs {
    grid-template-columns: 1fr 1fr;
  }

  .detail-specs div {
    padding: 14px;
  }

  .feature-grid,
  .condition-list {
    grid-template-columns: 1fr;
  }

  .gallery-dialog {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .gallery-zoom-controls {
    right: 50%;
    transform: translateX(50%);
  }

  .form-shell {
    padding-block: 28px 64px;
  }

  .form-layout {
    border-radius: var(--radius-lg);
  }

  .form-aside,
  .form-main {
    padding: 28px 22px;
  }

  .form-aside h1 {
    font-size: 32px;
  }

  .form-benefits {
    grid-template-columns: 1fr;
  }

  .dashboard-page {
    padding-block: 32px 65px;
  }

  .dashboard-welcome {
    display: block;
  }

  .dashboard-welcome .button {
    margin-top: 18px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .enquiry-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .content-page-shell {
    padding-block: 45px 65px;
  }

  .content-page > h1 {
    font-size: 39px;
  }

  .prose {
    padding: 24px;
  }

  .faq-shell,
  .table-page,
  .testimonials-page {
    padding-block: 38px 65px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .prefooter-inner {
    display: block;
  }

  .prefooter .button {
    margin-top: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom p + p {
    margin-top: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
