:root {
  color-scheme: light;
  --paper: #f3f4f5;
  --ink: #17191c;
  --forest: #202327;
  --header-bg: var(--ink);
  --header-text: var(--paper);
  --header-border: #3d4442;
  --header-control-border: #7b8582;
  --topline-bg: #b4112a;
  --topline-text: var(--paper);
  --muted: #646b72;
  --line: #cdd2d6;
  --lime: #e7e9eb;
  --coral: #cc1f38;
  --success: #4f9b66;
  --white: #fff;
  --hero-bg: var(--lime);
  --hero-text: var(--ink);
  --hero-emphasis: var(--forest);
  --hero-media-bg: #d5ddd6;
  --hero-caption-bg: var(--paper);
  --hero-caption-text: var(--ink);
  --hero-caption-muted: var(--muted);
  --trust-bg: var(--paper);
  --trust-text: var(--ink);
  --trust-muted: var(--muted);
  --trust-accent: var(--coral);
  --catalog-bg: var(--paper);
  --catalog-text: var(--ink);
  --catalog-filter-bg: var(--lime);
  --catalog-active-bg: var(--forest);
  --catalog-active-text: var(--white);
  --card-bg: var(--paper);
  --card-text: var(--ink);
  --card-muted: var(--muted);
  --card-media-bg: #dce3dc;
  --process-bg: var(--forest);
  --process-text: var(--paper);
  --process-muted: #c1d0c8;
  --process-border: #597168;
  --contact-bg: var(--coral);
  --contact-text: var(--paper);
  --footer-bg: var(--ink);
  --footer-text: var(--paper);
  --footer-muted: #c1d0c8;
  --footer-border: #3b4742;
  --whatsapp-bg: #25d366;
  --whatsapp-text: #10291d;
  --whatsapp-hover: #20b958;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
}

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

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

.skip-link,
.visually-hidden {
  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:focus {
  z-index: 20;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  margin: 0;
  clip: auto;
  background: var(--white);
}

.topline {
  background: var(--topline-bg);
  color: var(--topline-text);
  font-size: 11px;
}

.topline__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 22px;
  max-width: 1440px;
  min-height: 34px;
  padding: 0 42px;
  margin: 0 auto;
}

.topline p {
  margin: 0;
}

.topline__location {
  display: flex;
  align-items: center;
  gap: 9px;
}

.topline__right,
.topline__contacts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.topline__right {
  justify-content: flex-end;
  margin-left: auto;
}

.topline__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.topline__contacts a::before {
  display: block;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  background-color: currentColor;
  content: "";
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

#topline-email::before {
  -webkit-mask-image: url("assets/email-icon.svg");
  mask-image: url("assets/email-icon.svg");
}

.topline__whatsapp::before {
  -webkit-mask-image: url("assets/whatsapp-icon.svg");
  mask-image: url("assets/whatsapp-icon.svg");
}

.topline__contacts a:hover {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topline__whatsapp {
  display: inline-flex;
  gap: 5px;
}

.topline__contacts[hidden],
.topline__contacts a[hidden] {
  display: none;
}

.topline__dash {
  width: 16px;
  height: 2px;
  background: var(--lime);
}

.site-header {
  position: relative;
  z-index: 5;
  background: var(--header-bg);
  color: var(--header-text);
  border-bottom: 1px solid var(--header-border);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  min-height: 82px;
  padding: 0 42px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand__logo {
  display: block;
  flex: 0 0 auto;
  width: 88px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 0 1px var(--ink));
}

.site-header .brand__logo {
  margin-block: 8px;
}

.site-header .brand {
  color: var(--header-text);
}

.brand--footer .brand__logo {
  filter: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 13px;
  font-weight: 600;
}

.primary-nav a {
  text-decoration: none;
}

.primary-nav a:not(.primary-nav__contact):hover,
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.primary-nav__contact {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--header-text);
}

.primary-nav__contact:hover {
  background: var(--lime);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 9px;
  border: 1px solid var(--header-control-border);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--header-text);
  transition: transform 180ms ease;
}

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

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

.hero {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  max-width: 1440px;
  min-height: 585px;
  margin: 0 auto;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 64px 7.5%;
  background: var(--hero-bg);
  color: var(--hero-text);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 10px;
  font-weight: 700;
}

.eyebrow__index {
  color: var(--coral);
  font-variant-numeric: tabular-nums;
}

.hero h1,
.section-heading h2,
.process h2,
.contact-band h2,
.vehicle-dialog h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  line-height: 0.93;
}

.hero h1 {
  max-width: 510px;
  margin-top: 37px;
  font-size: 78px;
}

.hero h1 em {
  color: var(--hero-emphasis);
  font-style: normal;
}

.hero__intro {
  max-width: 410px;
  margin: 23px 0 0;
  font-size: 15px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 23px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 48px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--dark {
  background: var(--ink);
  color: var(--paper);
}

.button--dark:hover {
  background: var(--forest);
}

.button--whatsapp {
  background: var(--whatsapp-bg);
  color: var(--whatsapp-text);
}

.button--whatsapp:hover {
  background: var(--whatsapp-hover);
}

.contact-band__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-band__links .button[hidden] {
  display: none;
}

.text-link {
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  margin-left: 5px;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero__sign {
  display: flex;
  gap: 9px;
  margin: 42px 0 0;
  font-size: 11px;
  font-weight: 600;
}

.hero__sign > span:first-child {
  color: var(--coral);
}

.hero__media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--hero-media-bg);
}

.hero__media > img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
}

.hero__open-details {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.hero__image-meta {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  left: 22px;
  display: flex;
  justify-content: space-between;
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  text-shadow: 0 1px 8px rgb(0 0 0 / 45%);
}

.hero__caption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 144px;
  padding: 18px;
  background: var(--hero-caption-bg);
  color: var(--hero-caption-text);
  font-size: 13px;
  font-weight: 700;
}

.hero__vehicle-info {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.hero__caption-title {
  margin: 0;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 600;
  line-height: 1;
  overflow-wrap: anywhere;
}

.hero__caption-index {
  color: var(--hero-caption-muted);
  font-size: 9px;
  font-weight: 700;
}

.hero__gallery-controls {
  display: flex;
  flex: none;
  gap: 6px;
}

.hero__gallery-controls button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--hero-caption-text);
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.hero__gallery-controls button:hover {
  background: var(--hero-bg);
}

.hero__gallery-controls .hero__autoplay-control {
  width: auto;
  min-width: 68px;
  padding: 0 8px;
  font-family: var(--body);
  font-size: 10px;
  font-weight: 700;
}

.hero__gallery-controls button[hidden] {
  display: none;
}

.hero__vehicle-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 9px;
  padding: 0;
  margin: 0;
  color: var(--hero-caption-muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  list-style: none;
}

.hero__vehicle-specs li {
  white-space: nowrap;
}

.hero__caption-actions {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.hero__vehicle-price {
  display: grid;
  justify-items: end;
  gap: 2px;
  margin: 0;
}

.hero__vehicle-price strong {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.hero__vehicle-price span {
  color: var(--hero-caption-muted);
  font-size: 9px;
  font-weight: 500;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1440px;
  padding: 0 42px;
  margin: 0 auto;
  background: var(--trust-bg);
  color: var(--trust-text);
  border-bottom: 1px solid var(--line);
}

.trust-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 112px;
  padding: 26px 22px 24px 0;
}

.trust-strip__item + .trust-strip__item {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.trust-strip__number {
  padding-top: 2px;
  color: var(--trust-accent);
  font-size: 10px;
  font-weight: 700;
}

.trust-strip__item div {
  display: grid;
  gap: 4px;
}

.trust-strip__item strong {
  font-size: 13px;
}

.trust-strip__item div span {
  color: var(--trust-muted);
  font-size: 11px;
}

.section-wrap {
  max-width: 1440px;
  padding: 104px 6%;
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}

.section-heading h2,
.process h2,
.contact-band h2 {
  margin-top: 21px;
  font-size: 60px;
}

.section-heading__note {
  max-width: 340px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.inventory-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 26px 0 0;
  margin-top: 33px;
  border-top: 1px solid var(--line);
}

.mode-tabs,
.inventory-tools {
  display: flex;
  align-items: center;
}

.mode-tabs {
  gap: 5px;
  padding: 4px;
  background: var(--catalog-filter-bg);
}

.mode-tabs button {
  min-height: 38px;
  padding: 0 15px;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.mode-tabs button[aria-pressed="true"] {
  background: var(--catalog-active-bg);
  color: var(--catalog-active-text);
}

.inventory-tools {
  gap: 10px;
}

.search-field input,
.select-field select {
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  font-size: 12px;
}

.search-field {
  width: 180px;
}

.select-field {
  width: 150px;
}

.select-field select {
  cursor: pointer;
}

.inventory-count {
  min-height: 22px;
  margin: 26px 0 14px;
  color: var(--muted);
  font-size: 11px;
}

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

.vehicle-grid[hidden] {
  display: none;
}

.vehicle-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--card-bg);
  color: var(--card-text);
}

.vehicle-card__image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.36 / 1;
  padding: 0;
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  background: var(--card-media-bg);
  text-align: left;
  cursor: pointer;
}

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

.vehicle-card__image:hover img {
  transform: scale(1.035);
}

.vehicle-card__badge,
.vehicle-card__featured {
  position: absolute;
  top: 12px;
  padding: 6px 9px;
  background: var(--paper);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.vehicle-card__badge {
  left: 12px;
}

.vehicle-card__featured {
  right: 12px;
  background: var(--coral);
  color: var(--paper);
}

.vehicle-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 17px;
}

.vehicle-card__eyebrow {
  margin: 0 0 3px;
  color: var(--card-muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.vehicle-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.05;
}

.vehicle-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 0;
  min-height: 19px;
  padding: 0;
  margin: 13px 0 18px;
  color: var(--card-muted);
  font-size: 10px;
  list-style: none;
}

.vehicle-card__specs li + li::before {
  margin: 0 8px;
  color: var(--coral);
  content: "/";
}

.vehicle-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.vehicle-card__price {
  display: grid;
  gap: 1px;
}

.vehicle-card__price strong {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 600;
  line-height: 1;
}

.vehicle-card__price span {
  color: var(--card-muted);
  font-size: 10px;
}

.vehicle-card__details {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.vehicle-card__details:hover {
  border-color: var(--coral);
  color: var(--forest);
}

.empty-state {
  padding: 52px 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.empty-state[hidden] {
  display: none;
}

.empty-state__mark {
  margin: 0;
  color: var(--coral);
  font-size: 26px;
}

.empty-state h3 {
  margin: 6px 0;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 600;
}

.empty-state p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.process {
  background: var(--process-bg);
  color: var(--process-text);
}

.process__inner {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 8%;
  max-width: 1440px;
  padding: 96px 6%;
  margin: 0 auto;
}

.eyebrow--light .eyebrow__index {
  color: var(--lime);
}

.process h2 {
  margin-top: 24px;
}

.process__intro > p:last-child {
  max-width: 340px;
  margin: 22px 0 0;
  color: var(--process-muted);
  font-size: 13px;
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
  align-self: end;
  padding-bottom: 5px;
}

.step {
  min-height: 180px;
  padding-top: 17px;
  border-top: 1px solid var(--process-border);
}

.step__number {
  color: var(--lime);
  font-size: 10px;
  font-weight: 700;
}

.step h3 {
  margin: 31px 0 8px;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
}

.step p {
  margin: 0;
  color: var(--process-muted);
  font-size: 11px;
  line-height: 1.65;
}

.contact-band {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  padding: 75px max(6%, calc((100% - 1268px) / 2));
  background: var(--contact-bg);
  color: var(--contact-text);
}

.contact-band h2 {
  margin-top: 19px;
}

.contact-band__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 340px;
}

.contact-band__action p {
  margin: 0 0 21px;
  font-size: 13px;
  line-height: 1.7;
}

.site-footer {
  padding: 42px max(6%, calc((100% - 1268px) / 2)) 0;
  background: var(--footer-bg);
  color: var(--footer-text);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: 22px;
  padding-bottom: 38px;
}

.brand--footer {
  color: var(--footer-text);
}

.site-footer__main > p {
  margin: 1px 0 0;
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.8;
}

.site-footer__contacts {
  display: grid;
  justify-items: end;
  gap: 9px;
  font-size: 12px;
}

.site-footer__contact {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  max-width: min(100%, 320px);
  min-width: 0;
  margin: 0;
  color: inherit;
  line-height: 1.55;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.site-footer__contact::before {
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  background-color: currentColor;
  content: "";
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.site-footer__contact[hidden] {
  display: none;
}

#contact-address::before {
  -webkit-mask-image: url("assets/location-icon.svg");
  mask-image: url("assets/location-icon.svg");
}

#contact-email::before {
  -webkit-mask-image: url("assets/email-icon.svg");
  mask-image: url("assets/email-icon.svg");
}

#contact-facebook::before {
  -webkit-mask-image: url("assets/facebook-icon.svg");
  mask-image: url("assets/facebook-icon.svg");
}

#contact-instagram::before {
  -webkit-mask-image: url("assets/instagram-icon.svg");
  mask-image: url("assets/instagram-icon.svg");
}

#contact-phone::before {
  -webkit-mask-image: url("assets/phone-icon.svg");
  mask-image: url("assets/phone-icon.svg");
}

.site-footer__legal {
  padding: 22px 0 26px;
  border-top: 1px solid var(--footer-border);
}

.site-footer__legal[hidden] {
  display: none;
}

.site-footer__legal-title {
  margin: 0;
  color: var(--footer-muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer__legal-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 14px 22px;
  margin: 16px 0 0;
}

.site-footer__legal-list dt {
  color: var(--footer-muted);
  font-size: 9px;
  text-transform: uppercase;
}

.site-footer__legal-list dd {
  margin: 3px 0 0;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  padding: 14px 0 18px;
  border-top: 1px solid var(--footer-border);
  color: var(--footer-muted);
  font-size: 10px;
}
  #nl-badge-frame {
    display: none !important;
  }

.site-footer__bottom a {
  text-decoration: none;
}

.vehicle-dialog {
  width: min(920px, calc(100% - 32px));
  max-width: 920px;
  max-height: min(860px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 3px;
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
}

.vehicle-dialog::backdrop {
  background: rgb(12 20 17 / 72%);
}

.vehicle-dialog__layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 520px;
}

.vehicle-dialog__gallery {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 520px;
  background: #dce3dc;
}

.vehicle-dialog__photo {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

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

.vehicle-dialog__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 10px;
  background: var(--lime);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.vehicle-dialog__image-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 20px;
  background: rgb(24 33 30 / 78%);
  color: var(--white);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.vehicle-dialog__thumbs {
  display: flex;
  gap: 8px;
  max-width: 100%;
  padding: 9px;
  overflow-x: auto;
}

.vehicle-dialog__thumbs[hidden] {
  display: none;
}

.vehicle-dialog__thumb {
  flex: 0 0 68px;
  width: 68px;
  height: 54px;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}

.vehicle-dialog__thumb[aria-pressed="true"] {
  border-color: var(--forest);
}

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

.vehicle-dialog__content {
  position: relative;
  padding: 55px 38px 35px;
}

.vehicle-dialog__content .eyebrow {
  padding-right: 34px;
}

.dialog-close {
  position: absolute;
  top: 13px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.vehicle-dialog__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.vehicle-dialog__contacts .button[hidden] {
  display: none;
}

.vehicle-dialog h2 {
  margin-top: 19px;
  font-size: 48px;
}

.vehicle-dialog__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 13px 0 0;
  font-family: var(--display);
  font-size: 33px;
  font-weight: 600;
}

.vehicle-dialog__price span {
  color: var(--muted);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
}

.vehicle-dialog__description {
  margin: 15px 0 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

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

.vehicle-dialog__specs div {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.vehicle-dialog__specs dt {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.catalog-page,
.vehicle-page {
  max-width: 1440px;
  padding: 72px 6% 96px;
  margin: 0 auto;
}

.catalog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.catalog-heading h1,
.vehicle-not-found h1 {
  max-width: 760px;
  margin: 20px 0 8px;
  font-family: var(--display);
  font-size: 70px;
  font-weight: 600;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.catalog-heading > div > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.catalog-heading > .text-link {
  flex: none;
  margin-bottom: 5px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  align-items: start;
  gap: 42px;
  margin-top: 34px;
}

.catalog-filters {
  padding-top: 15px;
  border-top: 1px solid var(--ink);
}

.catalog-filters__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
}

.catalog-filters__heading h2 {
  margin: 0;
  font-size: 14px;
}

.catalog-reset {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.catalog-filter-group {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 0;
  margin: 0 0 22px;
  border: 0;
}

.catalog-filter-group legend,
.catalog-field > span {
  padding: 0;
  font-size: 10px;
  font-weight: 700;
}

.catalog-filter-group .mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  padding: 3px;
}

.catalog-filter-group .mode-tabs button {
  min-height: 34px;
  padding: 0 6px;
  font-size: 10px;
}

.catalog-field input,
.catalog-field select {
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  font-size: 11px;
}

.catalog-field select {
  cursor: pointer;
}

.catalog-field small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.catalog-brands {
  display: flex;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: thin;
}

.catalog-brand-chip {
  flex: none;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.catalog-brand-chip[aria-pressed="true"] {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
}

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

.catalog-toolbar .inventory-count {
  margin: 0;
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.catalog-sort select {
  min-height: 36px;
  max-width: 190px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: 10px;
  cursor: pointer;
}

.catalog-grid {
  gap: 34px 20px;
}

.catalog-card__image {
  color: inherit;
}

.catalog-photo-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
}

.catalog-card h3 {
  overflow-wrap: anywhere;
}

.catalog-card__footer {
  align-items: center;
}

.catalog-card__footer .vehicle-card__details {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 5px;
  font-size: 10px;
}

.vehicle-page {
  min-height: 540px;
}

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

.detail-breadcrumb a {
  color: var(--ink);
  text-decoration: none;
}

.detail-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vehicle-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  align-items: start;
  gap: 48px;
}

.vehicle-detail-layout[hidden] {
  display: none;
}

.detail-gallery__stage {
  position: relative;
  aspect-ratio: 1.22 / 1;
  min-height: 390px;
  overflow: hidden;
  background: #dce3dc;
}

.detail-gallery__stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-gallery__counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 20px;
  background: rgb(24 33 30 / 78%);
  color: var(--white);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.detail-gallery__thumbs {
  display: flex;
  gap: 8px;
  padding-top: 9px;
  overflow-x: auto;
}

.detail-gallery__thumbs[hidden] {
  display: none;
}

.detail-gallery__thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 58px;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}

.detail-gallery__thumb[aria-pressed="true"] {
  border-color: var(--forest);
}

.detail-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-summary > .eyebrow {
  margin: 0;
}

.detail-summary__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.detail-brand {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-summary h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 60px;
  font-weight: 600;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.detail-price {
  flex: none;
  justify-items: end;
  margin: 0 0 4px;
}

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

.detail-availability {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  color: var(--forest);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-availability::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4f9b66;
  content: "";
}

.detail-availability.is-unavailable::before {
  background: var(--coral);
}

.detail-description {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  margin: 25px 0;
  border-top: 1px solid var(--line);
}

.detail-specs > div {
  min-width: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.detail-specs dt {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.detail-specs dd {
  margin: 3px 0 0;
  font-size: 11px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.detail-technical {
  padding-top: 30px;
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.detail-technical[hidden] {
  display: none;
}

.detail-technical > h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
}

.detail-technical__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.detail-technical__group {
  min-width: 0;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-technical__group h3 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-technical__specs {
  display: grid;
  margin: 0;
}

.detail-technical__specs > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid rgb(203 212 204 / 60%);
}

.detail-technical__specs dt {
  color: var(--muted);
  font-size: 10px;
}

.detail-technical__specs dd {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.detail-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.detail-contacts .button[hidden] {
  display: none;
}

.detail-back-link {
  display: inline-flex;
  margin-top: 22px;
}

.vehicle-not-found:not([hidden]) {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}

.vehicle-not-found h1 {
  margin: 8px 0 12px;
}

.vehicle-dialog__specs dd {
  margin: 3px 0 0;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 0.95fr 1.05fr;
    min-height: 560px;
  }

  .hero__copy {
    padding: 48px 8%;
  }

  .hero h1 {
    font-size: 68px;
  }

  .hero__media,
  .hero__media > img {
    min-height: 560px;
  }

  .inventory-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .inventory-tools {
    width: 100%;
  }

  .search-field {
    flex: 1;
  }

  .process__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process__intro > p:last-child {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .topline__inner,
  .site-header__inner {
    padding-right: 22px;
    padding-left: 22px;
  }

  .topline__inner {
    align-items: center;
    gap: 7px 22px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .topline__right {
    justify-content: flex-end;
    margin-left: auto;
  }

  .topline__contacts {
    column-gap: 12px;
    font-size: 10px;
  }

  .site-header__inner {
    min-height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px 22px 18px;
    border-bottom: 1px solid rgb(255 255 255 / 16%);
    background: var(--header-bg);
  }

  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .primary-nav > a:not(.primary-nav__contact) {
    padding: 13px 0;
    border-bottom: 1px solid rgb(255 255 255 / 16%);
  }

  .primary-nav__contact {
    justify-content: space-between;
    margin-top: 12px;
  }

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

  .hero__copy {
    min-height: 445px;
    padding: 48px 7%;
  }

  .hero h1 {
    max-width: 480px;
    margin-top: 29px;
    font-size: 68px;
  }

  .hero__intro {
    max-width: 470px;
    margin-top: 18px;
  }

  .hero__sign {
    margin-top: 28px;
  }

  .hero__media,
  .hero__media > img {
    min-height: 500px;
    max-height: 590px;
  }

  .hero__caption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    min-height: 158px;
    padding: 14px;
    gap: 10px;
  }

  .hero__caption-title {
    font-size: 25px;
  }

  .hero__vehicle-specs {
    gap: 4px 7px;
    font-size: 9px;
  }

  .hero__caption-actions {
    gap: 9px;
  }

  .hero__vehicle-price strong {
    font-size: 24px;
  }

  .hero__gallery-controls {
    gap: 4px;
  }

  .hero__gallery-controls button {
    width: 32px;
    height: 32px;
  }

  .hero__gallery-controls .hero__autoplay-control {
    min-width: 60px;
    padding: 0 6px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    padding: 0 7%;
  }

  .trust-strip__item {
    min-height: 80px;
    padding: 20px 0;
  }

  .trust-strip__item + .trust-strip__item {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section-wrap {
    padding: 76px 7%;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .section-heading h2,
  .process h2,
  .contact-band h2 {
    font-size: 54px;
  }

  .section-heading__note {
    max-width: 470px;
  }

  .inventory-toolbar {
    margin-top: 27px;
  }

  .inventory-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .search-field {
    grid-column: 1 / -1;
    width: 100%;
  }

  .select-field {
    width: 100%;
  }

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

  .vehicle-card h3 {
    font-size: 25px;
  }

  .vehicle-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .process__inner {
    gap: 34px;
    padding: 72px 7%;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step {
    min-height: 0;
    padding: 16px 0 20px;
  }

  .step h3 {
    margin: 17px 0 5px;
  }

  .step p {
    max-width: 400px;
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
    gap: 27px;
    padding: 60px 7%;
  }

  .contact-band__action {
    max-width: 440px;
  }

  .site-footer {
    padding: 33px 7% 0;
  }

  .site-footer__main {
    grid-template-columns: 1fr 1fr;
    row-gap: 22px;
  }

  .site-footer__contacts {
    grid-column: 1 / -1;
    justify-items: start;
  }

  .site-footer__contact {
    max-width: 100%;
    text-align: left;
  }

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

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

  .vehicle-dialog__photo,
  .vehicle-dialog__photo img {
    min-height: 270px;
    max-height: 330px;
  }

  .vehicle-dialog__content {
    padding: 35px 24px 25px;
  }
}

@media (max-width: 480px) {
  .topline__slogan {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__copy {
    min-height: 420px;
  }

  .hero h1 {
    font-size: 60px;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .hero__sign {
    margin-top: 24px;
  }

  .hero__caption {
    padding: 12px;
  }

  .hero__image-meta {
    top: 14px;
    right: 14px;
    left: 14px;
  }

  .mode-tabs {
    width: 100%;
  }

  .mode-tabs button {
    flex: 1;
    padding: 0 7px;
  }

  .vehicle-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .vehicle-card__image {
    aspect-ratio: 1.42 / 1;
  }

  .vehicle-card__footer {
    align-items: flex-end;
    flex-direction: row;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .site-footer__contacts {
    grid-column: auto;
  }

  .vehicle-dialog h2 {
    font-size: 42px;
  }
}

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

@media (max-width: 1050px) {
  .catalog-layout {
    grid-template-columns: 195px minmax(0, 1fr);
    gap: 26px;
  }

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

  .vehicle-detail-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .detail-summary h1 {
    font-size: 52px;
  }

  .detail-gallery__stage {
    aspect-ratio: 1.35 / 1;
    min-height: 0;
    max-height: 620px;
  }
}

@media (max-width: 760px) {
  .catalog-page,
  .vehicle-page {
    padding: 56px 7% 76px;
  }

  .catalog-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .catalog-heading h1,
  .vehicle-not-found h1 {
    font-size: 56px;
  }

  .catalog-heading > .text-link {
    align-self: flex-start;
  }

  .catalog-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }

  .catalog-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }

  .catalog-filters__heading,
  .catalog-filter-group:first-of-type {
    grid-column: 1 / -1;
  }

  .catalog-filter-group {
    margin-bottom: 15px;
  }

  .catalog-brands {
    margin-top: 3px;
  }

  .vehicle-detail-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .detail-gallery__stage {
    aspect-ratio: 1.35 / 1;
    min-height: 0;
    max-height: 560px;
  }

  .detail-summary h1 {
    font-size: 56px;
  }
}

@media (max-width: 480px) {
  .catalog-page,
  .vehicle-page {
    padding: 43px 7% 64px;
  }

  .catalog-heading h1,
  .vehicle-not-found h1 {
    font-size: 46px;
  }

  .catalog-filters {
    display: block;
  }

  .catalog-filter-group:first-of-type {
    margin-bottom: 18px;
  }

  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
  }

  .catalog-sort {
    justify-content: space-between;
    width: 100%;
  }

  .catalog-sort select {
    flex: 1;
    max-width: none;
  }

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

  .catalog-card__footer {
    align-items: flex-end;
  }

  .detail-breadcrumb {
    margin-bottom: 24px;
  }

  .detail-gallery__stage {
    aspect-ratio: 1.12 / 1;
    min-height: 260px;
  }

  .detail-summary__heading {
    display: block;
  }

  .detail-summary h1 {
    font-size: 48px;
  }

  .detail-price {
    justify-items: start;
    margin-top: 15px;
  }

  .detail-specs {
    gap: 0 12px;
  }

  .detail-technical > h2 {
    font-size: 32px;
  }

  .detail-technical__group {
    padding: 16px;
  }

  .detail-contacts .button {
    justify-content: space-between;
    width: 100%;
  }
}