@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700;800;900&family=Barlow+Condensed:wght@300;400;500;600;700;800;900&family=DM+Mono:wght@400;500&display=swap');

@font-face {
  font-family: "Open Sans";
  src: url("../s/opensans/v44/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4uaVc.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Open Sans";
  src: url("../s/opensans/v44/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkyFjWV4exQ.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../s/montserrat/v31/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCvr73w3aX8.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../s/montserrat/v31/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jqyR9WXZ0ow.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

:root {
  --bg: #f4f4f4;
  --surface: #ffffff;
  --text: #1f2328;
  --muted: #68707a;
  --line: #e2e5ea;
  --accent: #ffb129;
  --accent-dark: #d28e00;
  --brand: #1e2f74;
  --brand-red: #d44d4d;
  --dark: #232628;
  --shadow: 0 18px 50px rgba(11, 18, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

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

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

.topbar {
  background: #202224;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.topbar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.topbar__meta span,
.topbar__social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.dealer-page {
  background: #0b0b0d;
  color: #f2eee8;
  font-family: "Barlow", sans-serif;
  padding-top: 76px;
}

.dealer-page main {
  display: block;
}

.dealer-page a {
  color: inherit;
}

.dealer-page .btn {
  border-radius: 0;
  font-family: "Barlow Condensed", sans-serif;
}

.dealer-topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(11, 11, 13, 0.94);
  backdrop-filter: blur(12px);
}

.dealer-topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dealer-topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.92);
}

.dealer-topbar__brand:hover {
  color: #c8102e;
}

.dealer-topbar__back {
  width: 18px;
  height: 18px;
  flex: none;
  color: inherit;
  transition: color 200ms ease;
}

.dealer-topbar__brand img {
  width: 108px;
  height: auto;
  flex: none;
}

.dealer-topbar__badge {
  font-family: "DM Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #c8102e;
  white-space: nowrap;
}

.dealer-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 22px);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 238, 232, 0.74);
}

.dealer-nav a {
  white-space: nowrap;
}

.dealer-nav a:hover {
  color: rgba(242, 238, 232, 0.92);
}

.dealer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(242, 238, 232, 0.97);
  white-space: nowrap;
}

.dealer-phone__icon {
  width: 14px;
  height: 14px;
  color: #c8102e;
  flex: none;
}

.dealer-hero,
.dealer-story,
.dealer-services,
.dealer-selection,
.dealer-contact,
.dealer-footer {
  scroll-margin-top: 92px;
}

.dealer-hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #0b0b0d;
}

.dealer-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) brightness(0.44) contrast(0.95);
}

.dealer-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--dealer-hero-overlay-top, rgba(11, 11, 13, 0.16)) 0%, var(--dealer-hero-overlay-bottom, rgba(11, 11, 13, 0.72)) 100%),
    linear-gradient(90deg, var(--dealer-hero-overlay-left, rgba(0, 0, 0, 0.64)) 0%, var(--dealer-hero-overlay-center, rgba(0, 0, 0, 0.28)) 44%, var(--dealer-hero-overlay-right, rgba(0, 0, 0, 0.08)) 100%);
}

.dealer-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0 42px;
  display: flex;
  align-items: flex-end;
}

.dealer-hero__content {
  max-width: 760px;
  transform: translateY(-72px);
}

.dealer-hero__eyebrow,
.dealer-story__eyebrow,
.dealer-selection__eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: #c8102e;
}

.dealer-hero__eyebrow {
  margin-bottom: 18px;
}

.dealer-hero__title,
.dealer-story__title,
.dealer-selection__title {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0.04em;
}

.dealer-hero__title {
  font-size: clamp(2.8rem, 6.6vw, 5.72rem);
  color: white;
  max-width: none;
  width: max-content;
  display: inline-block;
  white-space: nowrap;
}

.dealer-hero__title .dealer-hero__accent {
  color: #c8102e;
}

.dealer-hero__text {
  margin: 22px 0 0;
  max-width: 520px;
  color: rgba(242, 238, 232, 0.56);
  line-height: 1.75;
  font-size: 17px;
}

.dealer-hero__actions {
  margin-top: 34px;
}

.dealer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  background: #c8102e;
  color: white;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(200, 16, 46, 0.26);
}

.dealer-btn__icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.dealer-btn:hover {
  background: #ae0d28;
}

.dealer-btn--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
  box-shadow: none;
}

.dealer-btn--outline:hover {
  border-color: rgba(200, 16, 46, 0.42);
  color: white;
  background: rgba(255, 255, 255, 0.03);
}

.dealer-hero__stats {
  position: absolute;
  right: 36px;
  bottom: 34px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dealer-stat {
  text-align: right;
}

.dealer-stat__value {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  color: white;
}

.dealer-stat__label {
  margin-top: 4px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(242, 238, 232, 0.34);
}

.dealer-story {
  padding: 100px 0;
  background: #0b0b0d;
}

.dealer-services {
  padding: 0 0 100px;
  background: #141418;
}

.dealer-services__inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.dealer-services__header {
  margin-bottom: 34px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.dealer-services__eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: #c8102e;
  margin-bottom: 18px;
}

.dealer-services__title {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 3.2rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  color: white;
  text-transform: uppercase;
  font-weight: 900;
}

.dealer-services__text {
  max-width: 360px;
  text-align: right;
  color: rgba(242, 238, 232, 0.58);
  line-height: 1.8;
  font-size: 15px;
}

.dealer-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.dealer-service {
  min-height: 238px;
  padding: 38px 30px 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #141418;
  display: grid;
  align-content: start;
  gap: 18px;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.dealer-service:hover {
  background: #1c1c22;
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.dealer-service__icon {
  color: #c8102e;
  font-size: 30px;
  line-height: 1;
  height: 36px;
  display: inline-flex;
  align-items: center;
}

.dealer-service__title {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: white;
}

.dealer-service__text {
  margin: 0;
  color: rgba(242, 238, 232, 0.6);
  line-height: 1.75;
  font-size: 15px;
}

.dealer-story__inner,
.dealer-selection__inner,
.dealer-footer__inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.dealer-story__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 620px);
  gap: 54px;
  align-items: center;
}

.dealer-story__title {
  margin-top: 14px;
  font-size: clamp(1.5rem, 3.5vw, 3.05rem);
  color: white;
  max-width: none;
  width: max-content;
  display: inline-block;
  white-space: normal;
}

.dealer-story__copy {
  margin-top: 28px;
  max-width: 620px;
  color: rgba(242, 238, 232, 0.62);
  line-height: 1.9;
  font-size: 17px;
}

.dealer-story__copy p {
  margin: 0 0 22px;
}

.dealer-story__facts {
  margin-top: 36px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.dealer-story__fact-value {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  color: white;
}

.dealer-story__fact-label {
  margin-top: 4px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(242, 238, 232, 0.5);
}

.dealer-story__media {
  position: relative;
}

.dealer-story__image {
  position: relative;
  overflow: hidden;
  background: #141418;
}

.dealer-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.dealer-story__badge {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #c8102e;
  color: white;
  padding: 26px 28px 22px;
  min-width: 170px;
}

.dealer-story__badge-value {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 56px;
  line-height: 0.88;
  font-weight: 900;
}

.dealer-story__badge-label {
  margin-top: 6px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.dealer-selection {
  padding: 100px 0 108px;
  background: #0b0b0d;
}

.dealer-selection__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.dealer-selection__title {
  font-size: clamp(1.5rem, 3.5vw, 3.2rem);
  color: white;
}

.dealer-selection__text {
  max-width: 340px;
  color: rgba(242, 238, 232, 0.42);
  line-height: 1.8;
  font-size: 15px;
  text-align: right;
}

.dealer-selection__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.dealer-card {
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.7) inset;
  display: grid;
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease;
}

.dealer-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.dealer-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1c1c22;
}

.dealer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.dealer-card:hover .dealer-card__media img {
  transform: scale(1.05);
}

.dealer-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.36) 100%);
}

.dealer-card__badges {
  position: absolute;
  left: 14px;
  top: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  z-index: 1;
  gap: 12px;
}

.dealer-card__badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dealer-card__body {
  padding: 20px 18px 18px;
  display: grid;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dealer-card__eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(242, 238, 232, 0.38);
}

.dealer-card__title {
  margin: 6px 0 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  line-height: 0.96;
  font-weight: 900;
  text-transform: uppercase;
  color: white;
}

.dealer-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.dealer-card__spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: rgba(242, 238, 232, 0.42);
}

.dealer-card__price {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dealer-card__price strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 34px;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.dealer-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c8102e;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.dealer-cta-row {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.dealer-cta-row .dealer-btn {
  min-width: 280px;
}

.dealer-contact {
  padding: 100px 0;
  background: #141418;
}

.dealer-contact__inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.dealer-contact__header {
  margin-bottom: 34px;
}

.dealer-contact__eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: #c8102e;
  margin-bottom: 18px;
}

.dealer-contact__title {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 3.2rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  color: white;
  text-transform: uppercase;
  font-weight: 900;
  max-width: none;
  white-space: nowrap;
}

.dealer-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 42px;
  align-items: start;
}

.dealer-contact__left {
  display: grid;
  gap: 28px;
}

.dealer-contact__info-list {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 22px;
}

.dealer-contact__info {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.dealer-contact__info-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c8102e;
  flex: none;
  margin-top: 1px;
}

.dealer-contact__info-icon svg {
  width: 20px;
  height: 20px;
}

.dealer-contact__label {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(242, 238, 232, 0.36);
  margin-bottom: 6px;
}

.dealer-contact__value {
  color: rgba(242, 238, 232, 0.94);
  font-size: 16px;
  line-height: 1.6;
}

.dealer-contact__value a {
  color: rgba(242, 238, 232, 0.98);
}

.dealer-contact__value--multiline {
  white-space: normal;
}

.dealer-contact__map {
  padding-top: 4px;
}

.dealer-contact__map-label,
.dealer-contact__form-label {
  margin-bottom: 14px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(242, 238, 232, 0.4);
}

.dealer-contact__map iframe {
  width: 100%;
  height: 315px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #1c1c22;
}

.dealer-contact__form-wrap {
  display: grid;
  align-content: start;
  gap: 14px;
}

.dealer-contact__form {
  display: grid;
  gap: 16px;
}

.dealer-contact__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dealer-contact__form input,
.dealer-contact__form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1c1c22;
  color: rgba(242, 238, 232, 0.92);
  padding: 14px 16px;
  font-family: "Barlow", sans-serif;
  font-size: 15px;
  outline: none;
}

.dealer-contact__form textarea {
  min-height: 104px;
  resize: vertical;
}

.dealer-contact__form input::placeholder,
.dealer-contact__form textarea::placeholder {
  color: rgba(242, 238, 232, 0.3);
}

.dealer-contact__form input:focus,
.dealer-contact__form textarea:focus {
  border-color: rgba(200, 16, 46, 0.45);
}

.dealer-contact__submit {
  width: 100%;
}

.contact-form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.contact-form-status {
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
  line-height: 1.45;
}

.contact-form-status--success {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(74, 222, 128, 0.09);
  color: #b7f7cb;
}

.contact-form-status--error {
  border-color: rgba(248, 113, 113, 0.42);
  background: rgba(248, 113, 113, 0.09);
  color: #fecaca;
}

.contact-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(242, 238, 232, 0.68);
  font-size: 0.82rem;
  line-height: 1.45;
}

.dealer-contact__form .contact-form-consent input {
  width: 17px;
  min-height: 17px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: #c8102e;
}

.dealer-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #09090b;
  padding: 24px 0;
}

.dealer-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(242, 238, 232, 0.76);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.search-intro {
  padding: 42px 0 18px;
  background:
    radial-gradient(circle at top left, rgba(200, 16, 46, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 72%);
}

.search-intro__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.search-intro__eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.58em;
  text-transform: uppercase;
  color: #c8102e;
  margin-bottom: 16px;
}

.search-intro__title {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 900;
  color: #f2eee8;
}

.search-intro__text {
  margin: 16px 0 0;
  max-width: 620px;
  color: rgba(242, 238, 232, 0.6);
  line-height: 1.75;
  font-size: 16px;
}

.search-intro__counter {
  min-width: 180px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 6px;
  justify-items: end;
}

.search-intro__counter-value {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  color: #fff;
}

.search-intro__counter-label {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(242, 238, 232, 0.42);
}

.search-filters {
  padding-bottom: 10px;
}

.search-panel {
  padding: 18px;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

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

.search-field {
  display: grid;
  gap: 8px;
}

.search-field label {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 238, 232, 0.52);
}

.search-field input,
.search-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f0f12;
  color: #f2eee8;
  font: inherit;
}

.search-field input::placeholder {
  color: rgba(242, 238, 232, 0.28);
}

.search-field--wide {
  min-width: 0;
  grid-column: span 2;
}

.search-field--wide input {
  letter-spacing: 0.01em;
}

.search-field--price {
  max-width: none;
}

.search-panel__actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.search-panel__reset {
  box-shadow: none;
}

.search-results {
  padding-top: 34px;
}

.search-results .dealer-selection__grid {
  gap: 22px;
}

.search-empty {
  padding: 40px 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.search-empty h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #f2eee8;
}

.search-empty p {
  margin: 10px 0 0;
  color: rgba(242, 238, 232, 0.58);
}

.search-pagination {
  margin-top: 30px;
}

.search-pagination a,
.search-pagination span {
  border-color: rgba(255, 255, 255, 0.08);
  background: #141418;
  color: #f2eee8;
  box-shadow: none;
}

.search-pagination a.is-active,
.search-pagination a:hover {
  background: #c8102e;
  border-color: #c8102e;
  color: #fff;
}

@media (max-width: 1100px) {
  .search-intro__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-intro__counter {
    justify-items: start;
    min-width: 0;
  }

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

  .search-field--wide,
  .search-field--price {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .search-intro {
    padding-top: 28px;
  }

  .search-panel {
    padding: 14px;
  }

  .search-panel__grid {
    grid-template-columns: 1fr;
  }

  .search-panel__actions {
    justify-content: stretch;
  }

  .search-panel__actions .dealer-btn {
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .dealer-topbar {
    height: 84px;
  }

  .dealer-page {
    padding-top: 84px;
  }

  .dealer-nav {
    display: none;
  }

  .dealer-hero {
    min-height: calc(100vh - 84px);
  }

  .dealer-hero__inner,
  .dealer-story__inner,
  .dealer-selection__inner,
  .dealer-footer__inner {
    width: min(100%, calc(100% - 32px));
  }

  .dealer-contact__inner {
    width: min(100%, calc(100% - 32px));
  }

  .dealer-story__inner {
    grid-template-columns: 1fr;
  }

  .dealer-selection__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dealer-selection__text {
    text-align: left;
    max-width: 100%;
  }

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

  .dealer-contact__grid {
    grid-template-columns: 1fr;
  }

  .dealer-contact__title {
    max-width: 100%;
  }

  .dealer-contact__map iframe {
    height: 280px;
  }
}

@media (max-width: 720px) {
  .dealer-topbar {
    height: 72px;
  }

  .dealer-page {
    padding-top: 72px;
  }

  .dealer-topbar__inner {
    gap: 12px;
  }

  .dealer-topbar__brand {
    gap: 10px;
  }

  .dealer-topbar__brand img {
    width: 112px;
  }

  .dealer-topbar__badge {
    letter-spacing: 0.32em;
  }

  .dealer-phone {
    font-size: 16px;
  }

  .dealer-phone span:last-child {
    display: none;
  }

  .dealer-hero {
    min-height: calc(100vh - 72px);
  }

  .dealer-hero__inner {
    width: min(100%, calc(100% - 24px));
    padding: 84px 0 36px;
  }

  .dealer-hero__text {
    font-size: 15px;
  }

  .dealer-hero__title {
    width: auto;
    max-width: 100%;
    white-space: normal;
  }

  .dealer-hero__content {
    transform: none;
  }

  .dealer-hero__stats {
    right: 18px;
    bottom: 18px;
    gap: 12px;
  }

  .dealer-stat__value {
    font-size: 26px;
  }

  .dealer-stat__label {
    letter-spacing: 0.24em;
  }

  .dealer-story {
    padding: 78px 0;
  }

  .dealer-services {
    padding-bottom: 78px;
  }

  .dealer-services__inner {
    width: min(100%, calc(100% - 32px));
  }

  .dealer-services__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dealer-services__text {
    text-align: left;
    max-width: 100%;
  }

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

  .dealer-service {
    min-height: 220px;
  }

  .dealer-story__title,
  .dealer-selection__title {
    font-size: clamp(1.25rem, 7.5vw, 2.1rem);
  }

  .dealer-story__copy,
  .dealer-selection__text {
    font-size: 15px;
  }

  .dealer-story__facts {
    gap: 24px;
  }

  .dealer-story__badge {
    padding: 18px 20px 16px;
    min-width: 142px;
  }

  .dealer-story__badge-value {
    font-size: 40px;
  }

  .dealer-selection {
    padding: 78px 0 86px;
  }

  .dealer-contact {
    padding: 78px 0;
  }

  .dealer-selection__grid {
    grid-template-columns: 1fr;
  }

  .dealer-services__title {
    font-size: clamp(1.25rem, 7.5vw, 2.1rem);
  }

  .dealer-service {
    padding: 28px 20px 24px;
  }

  .dealer-service__title {
    font-size: 24px;
  }

  .dealer-card__body {
    padding: 18px 16px 16px;
  }

  .dealer-card__title {
    font-size: 13px;
  }

  .dealer-contact__title {
    font-size: clamp(1.15rem, 8vw, 2rem);
    white-space: nowrap;
  }

  .dealer-card__price strong {
    font-size: 30px;
  }

  .dealer-cta-row .dealer-btn {
    width: 100%;
    min-width: 0;
  }

  .dealer-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    letter-spacing: 0.14em;
  }

  .dealer-contact__row {
    grid-template-columns: 1fr;
  }

  .dealer-contact__map iframe {
    height: 240px;
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(18, 21, 28, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.logo img {
  width: 190px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  opacity: 0.9;
}

.nav a:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: white;
  border-radius: 10px;
  width: 42px;
  height: 42px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #0e1116;
}

.hero__slide {
  min-height: clamp(520px, 78vh, 860px);
  display: grid;
  align-items: end;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  opacity: 0;
  transition: opacity 600ms ease;
  display: none;
}

.hero__slide.is-active {
  display: grid;
  opacity: 1;
}

.hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 11, 17, 0.08) 0%, rgba(8, 11, 17, 0.44) 100%),
    linear-gradient(90deg, rgba(4, 8, 14, 0.46) 0%, rgba(4, 8, 14, 0.08) 50%, rgba(4, 8, 14, 0.22) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 90px 0 96px;
  color: white;
  max-width: 720px;
}

.hero__eyebrow {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero__title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 10ch;
}

.hero__text {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.65;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.88);
}

.hero__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 10px 24px rgba(255, 177, 41, 0.28);
}

.btn--primary:hover {
  background: #ffc04f;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.38);
  color: white;
  background: rgba(255, 255, 255, 0.06);
}

.vehicle-summary .btn--ghost {
  border-color: var(--line);
  color: var(--text);
  background: #f6f8fa;
}

.vehicle-summary .btn--ghost:hover {
  background: #edf0f3;
}

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: transparent;
}

.hero__dot.is-active {
  background: white;
}

.section {
  padding: 72px 0;
}

.section--white {
  background: var(--surface);
}

.section--dark {
  background: var(--dark);
  color: white;
}

.section--testimonial {
  position: relative;
  background:
    linear-gradient(rgba(17, 19, 24, 0.38), rgba(17, 19, 24, 0.38)),
    url("../images/slide_1.jpg") center/cover no-repeat;
}

.section__lead {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
}

.section__kicker {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brand);
  margin-bottom: 12px;
}

.section__title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section__text {
  margin: 16px auto 0;
  line-height: 1.8;
  color: var(--muted);
  max-width: 1040px;
}

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

.feature {
  border: 1px solid var(--line);
  background: white;
  padding: 34px 30px;
  min-height: 264px;
  box-shadow: var(--shadow);
}

.feature__icon {
  width: 40px;
  height: 40px;
  border: 2px solid var(--brand);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  margin-bottom: 20px;
}

.feature__title {
  margin: 0 0 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 19px;
  line-height: 1.25;
  text-transform: uppercase;
}

.feature__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.testimonial {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 28px 0 10px;
}

.testimonial__image {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 6px solid white;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.18);
  object-fit: cover;
}

.testimonial__name {
  margin: 16px 0 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
}

.testimonial__role {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 24px;
}

.testimonial__quote {
  max-width: 880px;
  margin: 0;
  font-size: clamp(20px, 2.2vw, 31px);
  line-height: 1.45;
}

.brand-block {
  text-align: center;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand-logo {
  width: min(560px, 92%);
  margin: 0 auto 22px;
}

.brands {
  width: min(520px, 95%);
  margin: 34px auto 0;
}

.cta {
  background: var(--accent);
  color: var(--dark);
  padding: 24px 0;
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  text-align: center;
}

.cta__title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(16px, 1.4vw, 22px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  font-weight: 800;
  max-width: none;
}

.cta__phone {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 700;
  line-height: 1;
}

.cta .btn {
  border-color: rgba(35, 38, 40, 0.24);
  background: rgba(255, 255, 255, 0.18);
  color: var(--dark);
  min-height: 44px;
  padding: 0 18px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.gallery a {
  display: block;
  overflow: hidden;
  background: #e7e7e7;
  aspect-ratio: 1 / 1;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery a:hover img {
  transform: scale(1.04);
  filter: saturate(1.04);
}

.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.92);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  padding-bottom: 42px;
}

.footer__title {
  margin: 0 0 14px;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
}

.footer__text {
  margin: 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.74);
}

.footer__transparency {
  justify-self: end;
  text-align: right;
}

.footer__bottom {
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.74);
}

.social-pill {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.page-header {
  padding: 48px 0 24px;
  background: linear-gradient(180deg, rgba(35, 38, 40, 0.08), rgba(35, 38, 40, 0));
}

.page-title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(30px, 4vw, 54px);
  letter-spacing: -0.04em;
}

.page-copy {
  max-width: 880px;
  line-height: 1.8;
  color: var(--muted);
}

.search-page .page-header {
  padding-bottom: 0;
}

.search-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 420px);
  gap: 24px;
  align-items: end;
}

.search-filters {
  margin-top: 22px;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.filter-grid--compact {
  grid-template-columns: minmax(180px, 220px) minmax(180px, 220px) minmax(0, 1fr);
  align-items: end;
  margin-top: 14px;
}

.filter-grid .field {
  display: grid;
  gap: 8px;
}

.filter-grid label {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.filter-grid input,
.filter-grid select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font: inherit;
}

.filter-grid--compact .field--price input {
  max-width: 220px;
}

.filter-actions {
  display: flex;
  gap: 10px;
  align-items: end;
  justify-content: flex-end;
}

.filter-grid--compact .field--actions {
  justify-self: end;
}

.filter-actions .btn {
  min-width: 150px;
}

.vehicle-results {
  padding-top: 0;
}

.vehicle-results__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}

.vehicle-results__title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(24px, 3vw, 42px);
  letter-spacing: -0.04em;
}

.vehicle-results__count {
  color: var(--muted);
}

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

.vehicle-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  min-height: 100%;
}

.vehicle-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dfe3e8;
}

.vehicle-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.vehicle-card:hover .vehicle-card__media img {
  transform: scale(1.04);
}

.vehicle-card__badges {
  position: absolute;
  left: 14px;
  top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.vehicle-card__photo-count {
  position: absolute;
  right: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(18, 21, 28, 0.82);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.vehicle-card__photo-count strong {
  font-weight: 800;
}

.vehicle-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(18, 21, 28, 0.82);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.vehicle-badge--featured {
  background: rgba(255, 177, 41, 0.92);
  color: #1d1d1d;
  font-weight: 700;
}

.vehicle-card__content {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.vehicle-card__title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.vehicle-card__subtitle {
  margin: 6px 0 0;
  color: var(--muted);
}

.vehicle-card__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.vehicle-spec {
  display: grid;
  gap: 4px;
}

.vehicle-spec span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vehicle-spec strong {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
}

.vehicle-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.vehicle-price {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--brand);
}

.vehicle-price strong {
  font-weight: 800;
}

.vehicle-card__link {
  flex: none;
}

.pagination {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.pagination a,
.pagination span {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
  box-shadow: var(--shadow);
}

.pagination a.is-active,
.pagination a:hover {
  background: #c8102e;
  border-color: #c8102e;
  color: #fff;
}

.vehicle-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(320px, 380px);
  gap: 22px;
  align-items: start;
}

.vehicle-gallery {
  display: grid;
  gap: 14px;
}

.vehicle-gallery__hero {
  position: relative;
}

.vehicle-gallery__main {
  display: block;
  border-radius: 0;
  overflow: hidden;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  aspect-ratio: 16 / 10;
}

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

.vehicle-gallery__thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(88px, 112px);
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: auto;
  -ms-overflow-style: auto;
}

.vehicle-gallery__thumbs::-webkit-scrollbar {
  height: 10px;
}

.vehicle-gallery__thumbs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.vehicle-gallery__thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.24);
  border-radius: 999px;
}

.vehicle-gallery__thumbs::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.36);
}

.vehicle-gallery__thumbs a {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141418;
  opacity: 0.82;
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
  scroll-snap-align: start;
}

.vehicle-gallery__thumbs a.is-active,
.vehicle-gallery__thumbs a:hover {
  opacity: 1;
  border-color: #c8102e;
  transform: translateY(-1px);
}

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

.vehicle-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(20, 20, 24, 0.82);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Montserrat", sans-serif;
  font-size: 34px;
  line-height: 1;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.vehicle-gallery__nav--prev {
  left: 14px;
}

.vehicle-gallery__nav--next {
  right: 14px;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

.gallery-lightbox.is-open {
  display: block;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 18, 0.84);
  backdrop-filter: blur(8px);
}

.gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 1180px);
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox__figure {
  margin: 0;
  width: 100%;
  max-height: calc(100vh - 32px);
  display: grid;
  grid-template-rows: auto auto;
  gap: 12px;
  align-items: center;
}

.gallery-lightbox__figure img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  opacity: 1;
  transition: opacity 180ms ease;
}

.gallery-lightbox__figure img.is-fading {
  opacity: 0;
}

.gallery-lightbox__caption {
  display: none;
}

.gallery-lightbox__counter {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(18, 21, 28, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(18, 21, 28, 0.85);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.gallery-lightbox__close {
  top: 16px;
  right: 16px;
}

.gallery-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  width: 54px;
  height: 54px;
}

.gallery-lightbox__nav--prev {
  left: 16px;
}

.gallery-lightbox__nav--next {
  right: 16px;
}

body.has-lightbox-open {
  overflow: hidden;
}

.vehicle-summary {
  position: sticky;
  top: 102px;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 24px;
}

.vehicle-summary__brand {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--brand);
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}

.vehicle-summary__title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.vehicle-summary__price {
  margin-top: 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
}

.vehicle-summary__price strong {
  font-weight: 800;
}

.vehicle-summary__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141418;
  color: rgba(242, 238, 232, 0.72);
  font-size: 13px;
}

.chip--image {
  gap: 8px;
}

.vehicle-summary__specs {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.vehicle-summary__spec {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vehicle-summary__spec span {
  color: rgba(242, 238, 232, 0.42);
}

.vehicle-description {
  margin-top: 34px;
}

.vehicle-description .section__title {
  margin-bottom: 16px;
}

.vehicle-description__box {
  padding: 24px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141418;
  box-shadow: none;
  line-height: 1.8;
  color: rgba(242, 238, 232, 0.72);
}

.vehicle-similar {
  margin-top: 34px;
}

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

.vehicle-similar__grid .vehicle-card {
  box-shadow: none;
}

.detail-page {
  background: #0b0b0d;
  color: #f2eee8;
}

.detail-page main {
  display: block;
}

.detail-hero {
  padding: 42px 0 18px;
  background:
    radial-gradient(circle at top left, rgba(200, 16, 46, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 72%);
}

.detail-hero__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.detail-hero__eyebrow,
.detail-section__eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.58em;
  text-transform: uppercase;
  color: #c8102e;
  margin-bottom: 16px;
}

.detail-hero__brand {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(242, 238, 232, 0.48);
  margin-bottom: 12px;
}

.detail-hero__title,
.detail-section__title {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.25rem, 2.9vw, 2.6rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 900;
  color: #f2eee8;
}

.detail-hero__subtitle {
  margin: 18px 0 0;
  max-width: 760px;
  color: rgba(242, 238, 232, 0.64);
  line-height: 1.75;
  font-size: 16px;
}

.detail-layout,
.vehicle-description,
.vehicle-similar {
  padding: 34px 0 0;
}

.detail-layout {
  padding-top: 22px;
}

.vehicle-summary {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.vehicle-summary__label {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(242, 238, 232, 0.42);
}

.vehicle-summary__price {
  margin-top: 0;
}

.vehicle-summary__note {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 238, 232, 0.44);
}

.vehicle-summary__actions {
  display: grid;
  gap: 10px;
}

.vehicle-summary__actions .dealer-btn {
  width: 100%;
}

.vehicle-summary__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f2eee8;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vehicle-summary__phone svg {
  width: 16px;
  height: 16px;
  color: #c8102e;
  flex: none;
}

.vehicle-summary__specs {
  gap: 0;
  margin-top: 2px;
}

.vehicle-summary__spec span {
  color: rgba(242, 238, 232, 0.42);
  font-family: "DM Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10px;
}

.vehicle-summary__spec strong {
  color: #fff;
}

.vehicle-summary__benefits {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.vehicle-summary__benefits li {
  position: relative;
  padding-left: 26px;
  color: rgba(242, 238, 232, 0.68);
  line-height: 1.5;
}

.vehicle-summary__benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #c8102e;
  font-weight: 900;
}

.detail-page .vehicle-card {
  border-color: rgba(255, 255, 255, 0.08);
}

.detail-page .vehicle-card__content,
.detail-page .vehicle-card__subtitle,
.detail-page .vehicle-card__title,
.detail-page .vehicle-price {
  color: inherit;
}

.detail-page .vehicle-card__content {
  background: #141418;
}

.detail-page .vehicle-card__subtitle {
  color: rgba(242, 238, 232, 0.46);
}

.detail-page .vehicle-card__media {
  background: #1c1c22;
}

.detail-page .vehicle-card__footer {
  border-top-color: rgba(255, 255, 255, 0.06);
}

.detail-page .vehicle-price {
  color: #fff;
}

.detail-page .btn--primary {
  background: #c8102e;
  color: #fff;
}

.detail-page .btn--ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: #f2eee8;
  background: rgba(255, 255, 255, 0.03);
}

.empty-state {
  padding: 34px;
  text-align: center;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.table-wrap {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.aid-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.aid-table th,
.aid-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.aid-table thead th {
  background: #f4f6f8;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.aid-year {
  margin-top: 52px;
}

.aid-total {
  font-weight: 700;
}

.mobile-panel {
  display: none;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .mobile-panel {
    display: grid;
    gap: 10px;
    background: rgba(18, 21, 28, 0.96);
    color: white;
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 220ms ease, padding 220ms ease;
  }

  .mobile-panel.is-open {
    padding: 12px 16px 18px;
    max-height: 260px;
  }

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

  .cta__inner,
  .footer__grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cta__inner {
    justify-items: center;
  }

  .footer__transparency {
    justify-self: start;
    text-align: left;
  }

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

  .detail-hero__inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .search-hero,
  .vehicle-detail,
  .vehicle-similar__grid {
    grid-template-columns: 1fr;
  }

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

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

  .filter-actions {
    grid-column: 1 / -1;
  }

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

  .vehicle-gallery__thumbs {
    grid-auto-columns: minmax(80px, 96px);
  }

  .vehicle-gallery__nav {
    width: 46px;
    height: 46px;
    font-size: 30px;
  }

  .gallery-lightbox__dialog {
    width: 94vw;
    max-height: calc(100vh - 24px);
    margin: 12px auto;
  }

  .hero__content {
    padding: 70px 0 82px;
  }
}

@media (max-width: 640px) {
  .topbar__inner {
    min-height: auto;
    padding: 10px 0 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .topbar {
    font-size: 12px;
    line-height: 1.35;
  }

  .topbar__meta {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    width: 100%;
  }

  .topbar__meta span {
    display: block;
    width: 100%;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
  }

  .topbar__social {
    align-self: flex-start;
  }

  .hero__title {
    max-width: none;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

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

  .detail-hero__title,
  .detail-section__title {
    font-size: clamp(1.15rem, 8vw, 1.95rem);
  }

  .detail-page .vehicle-detail {
    gap: 18px;
  }

  .vehicle-summary {
    padding: 16px;
  }

  .vehicle-description__box {
    padding: 18px;
  }

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

  .vehicle-gallery__thumbs {
    grid-auto-columns: minmax(72px, 84px);
  }

  .filter-grid--compact {
    grid-template-columns: 1fr;
  }

  .filter-actions {
    justify-content: stretch;
  }

  .filter-grid--compact .field--price input {
    max-width: none;
  }

  .filter-actions .btn,
  .filter-actions a {
    flex: 1;
  }

  .vehicle-summary {
    position: static;
  }

  .vehicle-gallery__nav {
    width: 42px;
    height: 42px;
  }

  .gallery-lightbox__nav {
    width: 46px;
    height: 46px;
  }

  .gallery-lightbox__close {
    width: 44px;
    height: 44px;
  }

  .gallery-lightbox__counter {
    top: 14px;
    left: 14px;
    min-height: 32px;
    font-size: 12px;
  }

  .section {
    padding: 56px 0;
  }
}
