@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("./assets/fonts/dm-sans-latin-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("./assets/fonts/syne-latin-variable.woff2") format("woff2");
}

:root {
  --background: #f6f4f0;
  --surface: #ffffff;
  --surface-muted: #ece9e3;
  --border: #d8d4cc;
  --ink: #101010;
  --ink-soft: #55524d;
  --on-ink: #f8f7f4;
  --primary: #c8102e;
  --primary-hover: #9f0d25;
  --teal: #137f7a;
  --teal-hover: #0e6662;
  --gold: #b8963e;
  --blue: #0a7899;
  --radius-sm: 8px;
  --radius-card: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgb(16 16 16 / 6%);
  --shadow-md: 0 12px 32px rgb(16 16 16 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--background);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body:has(dialog[open]) {
  overflow: hidden;
}

img {
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Syne", system-ui, sans-serif;
  line-height: 1.12;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--primary);
}

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

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.container {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  color: white;
  background: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-main {
  flex: 1;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 84px;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  background: rgb(16 16 16 / 96%);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  position: relative;
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.site-header__brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.site-header__logo {
  display: block;
  width: auto;
  height: 38px;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(11px, 1.45vw, 22px);
}

.site-header__link {
  position: relative;
  padding-block: 9px;
  color: rgb(248 247 244 / 76%);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-header__link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--primary);
  content: "";
  transition: transform 180ms ease;
}

.site-header__link:hover,
.site-header__link.is-active {
  color: white;
}

.site-header__link.is-active::after {
  transform: scaleX(1);
}

.site-header--light {
  border-bottom-color: var(--border);
  background: rgb(255 255 255 / 96%);
}

.site-header--light .site-header__link {
  color: var(--ink-soft);
}

.site-header--light .site-header__link:hover,
.site-header--light .site-header__link.is-active {
  color: var(--ink);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 50%;
  color: white;
  background: transparent;
}

.menu-button svg {
  width: 22px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.site-header--light .menu-button {
  border-color: var(--border);
  color: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

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

.button--primary {
  color: white;
  background: var(--primary);
}

.button--primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 8px 20px rgb(200 16 46 / 20%);
}

.button--dark {
  border-radius: 12px;
  color: white;
  background: var(--ink);
}

.button--dark:hover {
  background: #292929;
}

.button--ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.button--ghost:hover {
  background: rgb(16 16 16 / 6%);
}

.button--ghost-light {
  border-color: rgb(255 255 255 / 55%);
  color: white;
  background: transparent;
}

.button--ghost-light:hover {
  border-color: white;
  background: rgb(255 255 255 / 10%);
}

.button--pill-outline {
  min-height: 48px;
  border-color: var(--primary);
  color: #f13b59;
  background: transparent;
}

.button--pill-outline:hover {
  color: white;
  background: var(--primary);
}

.site-header--light .button--pill-outline:hover {
  color: white;
}

.button--whatsapp {
  min-height: 44px;
  border-color: var(--teal);
  color: white;
  background: var(--teal);
}

.button--whatsapp:hover {
  border-color: var(--teal-hover);
  background: var(--teal-hover);
  box-shadow: 0 8px 22px rgb(19 127 122 / 18%);
}

.button--teal-outline {
  min-height: 44px;
  border-color: var(--teal);
  color: var(--teal);
  background: transparent;
}

.button--teal-outline:hover {
  color: white;
  background: var(--teal);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(72vh, 660px);
  overflow: hidden;
  place-items: center;
  color: white;
  background: var(--ink) url("./assets/media/gba-showrooms-hero-poster.jpg") center / cover no-repeat;
}

.hero__video,
.hero__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__video {
  z-index: 0;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero__scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, rgb(5 10 14 / 68%), rgb(5 10 14 / 52%) 52%, rgb(5 10 14 / 63%)),
    linear-gradient(180deg, rgb(5 10 14 / 22%), rgb(5 10 14 / 76%));
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 900px);
  padding-block: 90px;
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 16px;
  color: rgb(255 255 255 / 74%);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__title {
  margin-bottom: 18px;
  font-size: clamp(2.65rem, 6vw, 5.1rem);
  letter-spacing: -0.035em;
}

.hero__subtitle {
  max-width: 680px;
  margin: 0 auto 32px;
  color: rgb(255 255 255 / 82%);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.section {
  padding-block: clamp(54px, 7vw, 92px);
}

.section + .section {
  padding-top: 0;
}

.section--surface {
  width: 100%;
  padding-block: clamp(54px, 7vw, 92px);
  background: var(--surface);
}

.section--before-brands {
  padding-bottom: clamp(27px, 3.5vw, 46px);
}

#marcas {
  padding-block: clamp(27px, 3.5vw, 46px);
}

#marcas + .section {
  padding-top: clamp(27px, 3.5vw, 46px);
}

.section__kicker,
.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section__title {
  margin-bottom: 28px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.028em;
}

.section__intro {
  max-width: 700px;
  margin: -12px 0 32px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

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

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

.section-heading__copy {
  max-width: 760px;
}

.section-heading__link {
  flex-shrink: 0;
  color: var(--ink);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.discovery-grid,
.needs-grid {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.discovery-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.discovery-card {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  color: var(--ink);
  background: var(--surface);
  text-decoration: none;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

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

.discovery-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-muted);
}

.discovery-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.discovery-card:hover .discovery-card__image {
  transform: scale(1.025);
}

.discovery-card__body {
  display: block;
  padding: 17px 18px 20px;
}

.discovery-card__label {
  display: block;
  font-family: "Syne", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.discovery-card__hint {
  display: block;
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 600;
}

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

.need-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-card);
  color: white;
  background: var(--ink);
  text-decoration: none;
}

.need-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.need-card:hover .need-card__image {
  transform: scale(1.025);
}

.need-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(9 9 9 / 66%), transparent 44%, rgb(9 9 9 / 84%));
}

.need-card__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.need-card__label {
  font-family: "Syne", system-ui, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
}

.need-card__action {
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 1px solid currentcolor;
  font-weight: 700;
}

.need-card--brands {
  background:
    radial-gradient(circle at 20% 20%, rgb(19 127 122 / 35%), transparent 42%),
    linear-gradient(145deg, #0e0e0e, #272727);
}

.need-card__brand-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 54px;
}

.need-card__brand-logos span {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 12px;
  background: rgb(255 255 255 / 92%);
}

.need-card__brand-logos img {
  max-width: 94px;
  max-height: 46px;
  object-fit: contain;
}

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

.brand-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.brand-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.brand-card__inventory {
  display: grid;
  min-height: 154px;
  place-items: center;
  align-content: center;
  padding: 16px 16px 14px;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
}

.brand-card__logo {
  display: grid;
  width: 100%;
  min-height: 66px;
  place-items: center;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: white;
}

.brand-card__logo img {
  width: auto;
  max-width: 124px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

.brand-card__inventory strong,
.brand-card__inventory span {
  display: block;
}

.brand-card__inventory strong {
  font-family: "Syne", system-ui, sans-serif;
  font-size: 1.04rem;
}

.brand-card__inventory span {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 0.79rem;
}

.brand-card__dealer {
  margin-top: auto;
  padding: 11px 12px;
  border-top: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.brand-card__dealer:hover {
  background: rgb(200 16 46 / 5%);
}

.results-count {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-weight: 600;
}

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

.vehicle-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 14px;
  background: white;
  box-shadow: 0 1px 3px rgb(16 16 16 / 5%);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.vehicle-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgb(16 16 16 / 10%);
}

.vehicle-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: white;
  text-decoration: none;
}

.vehicle-card__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: white;
  transition: transform 180ms ease;
}

.vehicle-card__media--nuevo img:not(.is-fallback) {
  transform: scale(1.28);
}

.vehicle-card:hover .vehicle-card__media--nuevo img:not(.is-fallback) {
  transform: scale(1.31);
}

.vehicle-card__badge,
.vehicle-card__photo-note {
  position: absolute;
  top: 12px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.vehicle-card__badge {
  left: 12px;
  color: white;
  background: rgb(16 16 16 / 88%);
}

.vehicle-card__photo-note {
  right: 12px;
  color: var(--ink);
  background: rgb(255 255 255 / 90%);
}

.vehicle-card__body {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 18px;
}

.vehicle-card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.vehicle-card__price {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.1;
}

.vehicle-card__price-row > span {
  flex-shrink: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.vehicle-card h3 {
  min-height: 3.2em;
  margin-bottom: 12px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.35;
}

.vehicle-card h3 a {
  color: inherit;
  text-decoration: none;
}

.vehicle-card h3 a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vehicle-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 16px;
}

.vehicle-card__specs span {
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  color: #3f4745;
  background: #eef1f0;
  font-size: 0.73rem;
  font-weight: 700;
}

.vehicle-card__dealer,
.vehicle-card__location {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.vehicle-card__dealer {
  margin-top: auto;
  font-weight: 700;
}

.vehicle-card__location {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
}

.vehicle-card__location svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
}

.vehicle-card__locations {
  margin-top: 7px;
}

.vehicle-card__locations-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.vehicle-card__locations-label svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
}

.vehicle-card__locations ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vehicle-card__locations li {
  padding: 5px 8px;
  border-radius: var(--radius-pill);
  color: #3f4745;
  background: #eef1f0;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}

.vehicle-card__actions {
  display: grid;
  gap: 10px;
  margin-top: 17px;
}

.vehicle-card__actions .button {
  min-height: 44px;
  padding: 10px 14px;
}

.vehicle-card__quick {
  min-height: 42px;
  padding: 7px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.vehicle-card__quick:hover {
  color: var(--primary);
}

.catalog-state,
.empty-state {
  display: grid;
  min-height: 260px;
  place-items: center;
  color: var(--ink-soft);
  text-align: center;
}

.catalog-state {
  grid-auto-flow: column;
  justify-content: center;
  gap: 12px;
}

.catalog-state strong,
.catalog-state span {
  display: block;
}

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

.loader {
  width: 24px;
  height: 24px;
  border: 3px solid var(--surface-muted);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.empty-state h3 {
  margin-bottom: 6px;
  font-size: 1.4rem;
}

.empty-state p {
  margin: 0 0 18px;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 34px;
}

.inventory-hero,
.page-hero {
  color: white;
  background:
    linear-gradient(100deg, rgb(10 10 10 / 92%), rgb(10 10 10 / 50%)),
    url("./assets/branding/dealership-hero.png") center 44% / cover no-repeat,
    var(--ink);
}

.inventory-hero__inner,
.page-hero__inner {
  padding-block: clamp(64px, 10vw, 118px);
}

.inventory-hero h1,
.page-hero h1 {
  max-width: 850px;
  margin-bottom: 16px;
  font-size: clamp(2.55rem, 6vw, 4.6rem);
  letter-spacing: -0.035em;
}

.inventory-hero p,
.page-hero p {
  max-width: 660px;
  margin: 0;
  color: rgb(255 255 255 / 78%);
  font-size: 1.08rem;
}

.inventory-section {
  padding-block: 58px 90px;
}

.inventory-layout {
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  align-items: start;
  gap: 30px;
}

.inventory-sidebar {
  position: sticky;
  top: 108px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.inventory-sidebar__title {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.filters {
  display: grid;
  gap: 16px;
}

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

.filter-field > span {
  color: var(--ink);
  font-size: 0.79rem;
  font-weight: 800;
}

.filter-field input,
.filter-field select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--ink);
  background: var(--surface);
}

.filter-field input:focus,
.filter-field select:focus {
  border-color: var(--ink);
  outline: 0;
  box-shadow: 0 0 0 3px rgb(16 16 16 / 9%);
}

.search-field {
  position: relative;
}

.search-field input {
  padding-left: 42px;
}

.search-field svg {
  position: absolute;
  bottom: 13px;
  left: 13px;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--ink-soft);
  stroke-linecap: round;
  stroke-width: 1.8;
}

.button--filter-reset {
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  border-color: var(--border);
  border-radius: 10px;
  color: var(--ink-soft);
  background: var(--background);
}

.button--filter-reset:hover {
  border-color: var(--ink);
  color: var(--ink);
}

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

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

.inventory-results__header h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 29px;
  margin-bottom: 18px;
}

.filter-chip {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  color: #353d3b;
  background: #e6ecea;
  font-size: 0.73rem;
  font-weight: 700;
}

.cta-band {
  padding-block: 58px;
  color: white;
  background: var(--ink);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  margin-bottom: 8px;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
}

.cta-band p {
  margin: 0;
  color: rgb(255 255 255 / 68%);
}

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

.directory-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: white;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.directory-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.directory-card > a {
  display: block;
  height: 100%;
  color: var(--ink);
  text-decoration: none;
}

.directory-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-muted);
}

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

.directory-card:hover .directory-card__image img {
  transform: scale(1.02);
}

.directory-card__logo {
  display: grid;
  width: 100%;
  min-height: 82px;
  place-items: center;
  padding: 16px 28px;
  border-top: 1px solid #e7e3dc;
  border-bottom: 1px solid #e7e3dc;
  background: #fff;
}

.directory-card__logo img {
  display: block;
  width: auto;
  max-width: 156px;
  max-height: 48px;
  object-fit: contain;
}

.directory-card__body {
  min-height: 168px;
  padding: 20px 22px 24px;
  background: #faf9f7;
}

.directory-card__body h2 {
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.directory-card__body p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.directory-card__body span {
  color: var(--primary);
  font-weight: 700;
}

.locations-hero {
  position: relative;
  min-height: 370px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgb(8 25 34 / 94%) 0%, rgb(8 25 34 / 78%) 47%, rgb(8 25 34 / 36%) 100%),
    url("./assets/branches/ford-culiacan.jpg") center 48% / cover;
}

.locations-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(0 0 0 / 34%), transparent 65%);
  content: "";
  pointer-events: none;
}

.locations-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: 76px 64px;
}

.locations-hero h1 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.locations-hero p:not(.hero__eyebrow) {
  max-width: 620px;
  margin: 0 0 22px;
  color: rgb(255 255 255 / 78%);
  font-size: 1.08rem;
}

.locations-hero .text-link--light {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: var(--radius-pill);
  color: white;
  background: rgb(255 255 255 / 10%);
  text-decoration: none;
  opacity: 1;
  visibility: visible;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.locations-hero .text-link--light:visited {
  color: white;
}

.locations-hero .text-link--light:hover,
.locations-hero .text-link--light:focus-visible {
  color: var(--ink);
  background: white;
}

.locations-section {
  padding-block: 64px 84px;
}

.locations-section--home {
  padding-top: 78px;
}

.locations-section__heading {
  margin-bottom: 34px;
}

.locations-section__intro {
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--ink-soft);
}

.locations-section--home .locations-layout {
  height: min(680px, calc(100vh - 144px));
}

.locations-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 22px;
}

.location-search > span:first-child,
.locations-toolbar__count > span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-search__control {
  position: relative;
  display: block;
}

.location-search__control svg {
  position: absolute;
  top: 50%;
  left: 17px;
  width: 21px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--ink-soft);
  stroke-linecap: round;
  stroke-width: 1.8;
  pointer-events: none;
}

.location-search input {
  width: 100%;
  min-height: 56px;
  padding: 14px 18px 14px 50px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--ink);
  background: white;
}

.location-search input::placeholder {
  color: #7b7771;
}

.locations-toolbar__count {
  min-width: 190px;
  padding-bottom: 7px;
  text-align: right;
}

.locations-toolbar__count strong {
  display: block;
  font-family: "Syne", system-ui, sans-serif;
  font-size: 1.25rem;
}

.location-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.location-view-toggle {
  display: none;
}

.location-filter {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  background: white;
  font-size: 0.82rem;
  font-weight: 700;
}

.location-filter:hover,
.location-filter.is-active {
  border-color: var(--primary);
  color: white;
  background: var(--primary);
}

.locations-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.35fr);
  height: min(720px, calc(100vh - 124px));
  min-height: 590px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: white;
  box-shadow: var(--shadow-sm);
}

.locations-list-panel {
  overflow-y: auto;
  border-right: 1px solid var(--border);
  background: #faf9f7;
  scrollbar-color: #b8b3aa transparent;
  scrollbar-width: thin;
}

.locations-list {
  display: grid;
}

.locations-list[hidden] {
  display: none;
}

.location-card {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--border);
  background: white;
  transition: background 160ms ease;
}

.location-card:hover,
.location-card:target {
  background: #f5f8f8;
}

.location-card__media {
  min-height: 128px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--surface-muted);
}

.location-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-card__content {
  min-width: 0;
}

.location-card__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  align-items: start;
  gap: 10px;
}

.location-card__heading > img {
  width: 72px;
  height: 34px;
  object-fit: contain;
  padding: 4px;
  border-radius: 6px;
  background: white;
}

.location-card__brand {
  margin: 0 0 2px;
  color: var(--primary);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-card h2,
.location-card h3 {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.03rem;
  line-height: 1.25;
}

.location-card__city {
  margin: 7px 0 2px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.location-card__address {
  margin: 0 0 9px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

.location-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 13px;
}

.location-card__links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.location-card__links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.locations-empty {
  min-height: 330px;
  padding: 48px 24px;
  text-align: center;
}

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

.locations-empty p {
  color: var(--ink-soft);
}

.network-map {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #e8eceb;
}

.network-map__header {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 22px;
  left: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 12px;
  background: rgb(255 255 255 / 88%);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.network-map__header h2 {
  font-size: 1.25rem;
}

.network-map__header p {
  max-width: 230px;
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

#location-map,
.network-map__canvas {
  height: 100%;
}

.network-map__canvas {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background:
    linear-gradient(18deg, transparent 48%, rgb(255 255 255 / 62%) 49% 50%, transparent 51%),
    linear-gradient(104deg, transparent 35%, rgb(255 255 255 / 55%) 36% 37%, transparent 38%),
    linear-gradient(155deg, transparent 58%, rgb(255 255 255 / 48%) 59% 60%, transparent 61%),
    repeating-linear-gradient(0deg, transparent 0 58px, rgb(36 69 71 / 5%) 59px 60px),
    repeating-linear-gradient(90deg, transparent 0 68px, rgb(36 69 71 / 5%) 69px 70px),
    #e7ecea;
}

.network-map__coast {
  position: absolute;
  top: -8%;
  bottom: -10%;
  left: -18%;
  width: 61%;
  transform: rotate(-8deg);
  border-right: 4px solid rgb(77 131 151 / 28%);
  border-radius: 0 48% 44% 0;
  background:
    radial-gradient(circle at 78% 25%, transparent 0 15%, #cee0e6 15.5%),
    #cee0e6;
}

.network-map__region {
  position: absolute;
  z-index: 1;
  color: rgb(48 75 77 / 44%);
  font-family: "Syne", system-ui, sans-serif;
  font-size: clamp(0.68rem, 1.2vw, 0.84rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.network-map__region--sonora {
  top: 24%;
  right: 19%;
}

.network-map__region--sinaloa {
  top: 55%;
  right: 28%;
  transform: rotate(8deg);
}

.network-map__region--bcs {
  top: 65%;
  left: 8%;
  max-width: 100px;
}

.network-map__region--jalisco {
  right: 8%;
  bottom: 8%;
}

.network-map__marker {
  position: absolute;
  z-index: 2;
  top: var(--marker-top);
  left: var(--marker-left);
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border: 3px solid white;
  border-radius: 50% 50% 50% 14%;
  color: white;
  background: var(--primary);
  box-shadow: 0 8px 18px rgb(16 16 16 / 22%);
  rotate: -45deg;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.network-map__marker > span {
  display: grid;
  height: 100%;
  place-items: center;
  rotate: 45deg;
  font-size: 0.78rem;
  font-weight: 800;
}

.network-map__marker > strong {
  position: absolute;
  top: 48px;
  left: 13px;
  width: max-content;
  max-width: 130px;
  padding: 5px 8px;
  rotate: 45deg;
  border-radius: 6px;
  color: var(--ink);
  background: rgb(255 255 255 / 90%);
  box-shadow: var(--shadow-sm);
  font-size: 0.68rem;
  white-space: nowrap;
}

.network-map__marker:hover,
.network-map__marker.is-active {
  z-index: 4;
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--teal);
}

.network-map__legend {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  background: rgb(255 255 255 / 90%);
  box-shadow: var(--shadow-sm);
  font-size: 0.7rem;
  font-weight: 700;
}

.network-map__legend span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.vehicle-detail {
  padding-block: 42px 84px;
}

.detail-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

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

.detail-breadcrumbs a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.vehicle-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(350px, 0.88fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
}

.vehicle-detail__visual {
  position: relative;
  display: grid;
  min-height: 610px;
  place-items: center;
  padding: clamp(22px, 5vw, 58px);
  background:
    radial-gradient(circle at 50% 45%, rgb(255 255 255 / 95%), rgb(226 231 233 / 84%) 68%),
    #e4e8ea;
}

.vehicle-detail__visual img {
  width: 100%;
  max-height: 530px;
  object-fit: contain;
}

.vehicle-detail__visual--nuevo img:not(.is-fallback) {
  transform: scale(1.22);
}

.vehicle-detail__visual--nuevo {
  background: white;
}

.vehicle-detail__condition {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  color: white;
  background: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
}

.vehicle-detail__content {
  align-self: center;
  padding: clamp(34px, 5vw, 64px);
}

.vehicle-detail__content h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
}

.vehicle-detail__price {
  margin: 0;
  color: var(--primary);
  font-size: 1.55rem;
  font-weight: 800;
}

.vehicle-detail__summary {
  margin: 18px 0 24px;
  color: var(--ink-soft);
}

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

.vehicle-detail__facts > div {
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #faf9f7;
}

.vehicle-detail__facts dt {
  margin-bottom: 4px;
  color: var(--ink-soft);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vehicle-detail__facts dd {
  margin: 0;
  font-weight: 700;
}

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

.vehicle-detail__availability {
  margin: 4px 0 22px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.vehicle-detail__availability .eyebrow {
  margin-bottom: 6px;
}

.vehicle-detail__availability h2 {
  margin-bottom: 14px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.08rem;
  line-height: 1.3;
}

.vehicle-detail__locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vehicle-detail__locations li {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.vehicle-detail__locations svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 1px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.8;
}

.vehicle-detail__grid--new {
  grid-template-areas:
    "stage summary"
    "details summary";
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  align-items: start;
  gap: 24px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.new-vehicle-stage {
  grid-area: stage;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
}

.new-vehicle-stage__canvas {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 10;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  background: white;
}

.new-vehicle-stage__image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  transform: scale(0.92);
}

.new-vehicle-stage__image.is-fallback {
  padding: clamp(32px, 7vw, 72px);
  object-fit: contain;
  transform: none;
}

.new-vehicle-stage__caption {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 18px;
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 700;
}

.new-vehicle-stage__caption span:last-child {
  text-align: right;
}

.new-vehicle-summary {
  position: sticky;
  top: 108px;
  grid-area: summary;
  min-width: 0;
  align-self: start;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
}

.new-vehicle-summary h1 {
  margin: 10px 0 14px;
  font-size: inherit;
}

.new-vehicle-summary__title-meta,
.new-vehicle-summary__title-model {
  display: block;
}

.new-vehicle-summary__title-meta {
  color: var(--ink-soft);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.24rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.new-vehicle-summary__title-model {
  margin-top: 5px;
  font-size: clamp(2.15rem, 3.5vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.new-vehicle-summary .vehicle-detail__summary {
  margin: 16px 0 18px;
}

.new-vehicle-summary__availability {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.new-vehicle-summary__availability > svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.8;
}

.new-vehicle-summary__availability span,
.new-vehicle-summary__availability small,
.new-vehicle-summary__availability strong {
  display: block;
}

.new-vehicle-summary__availability small {
  margin-bottom: 2px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.new-vehicle-summary__availability strong {
  font-size: 0.9rem;
}

.new-vehicle-details {
  grid-area: details;
  min-width: 0;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
}

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

.new-vehicle-details__heading h2 {
  margin: 3px 0 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.12;
}

.new-vehicle-details__heading > span {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

.new-vehicle-details .vehicle-detail__facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.new-vehicle-details .vehicle-detail__facts > div {
  min-width: 0;
}

.new-vehicle-details .vehicle-detail__facts dd {
  overflow-wrap: anywhere;
}

.new-vehicle-details .vehicle-detail__availability {
  margin: 0;
  background: var(--surface);
}

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

.used-sales__header > div {
  min-width: 0;
}

.used-sales__header h1 {
  max-width: 920px;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}

.used-sales__title {
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.08;
}

.used-sales__title-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.used-sales__title-year {
  color: var(--primary);
  font-size: clamp(1.2rem, 2vw, 1.72rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.used-sales__title-make {
  font-size: clamp(1.2rem, 2vw, 1.72rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.used-sales__title-model {
  display: block;
  max-width: 820px;
  padding-bottom: 0.08em;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.used-sales__agency {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 600;
}

.used-sales__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(330px, 0.78fr);
  align-items: start;
  gap: 24px;
}

.used-gallery {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

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

.used-gallery__thumbnails {
  display: flex;
  width: 100%;
  min-width: 0;
  max-height: 590px;
  flex-direction: column;
  gap: 10px;
  padding: 2px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.used-gallery__thumbnail {
  width: 82px;
  min-height: 68px;
  padding: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 9px;
  background: #eef0f1;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.used-gallery__thumbnail:hover,
.used-gallery__thumbnail.is-active,
.used-gallery__thumbnail:focus-visible {
  border-color: var(--primary);
  background: white;
}

.used-gallery__thumbnail img {
  width: 100%;
  height: 58px;
  object-fit: contain;
  object-position: center;
  border-radius: 5px;
  background: #eef0f1;
}

.used-gallery__main {
  position: relative;
  display: grid;
  min-height: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 44%, rgb(255 255 255 / 96%), rgb(226 231 233 / 88%) 70%),
    #e4e8ea;
}

.used-gallery__main > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.used-gallery__main > img.is-fallback {
  width: min(78%, 520px);
  height: auto;
}

.used-gallery__count {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  color: white;
  background: rgb(16 16 16 / 78%);
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.used-sales__inquiry {
  position: sticky;
  top: 106px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: 0 14px 36px rgb(16 16 16 / 10%);
}

.used-sales__status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.used-sales__status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgb(11 119 112 / 11%);
}

.used-sales__price {
  margin: 0 0 22px;
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.used-sales__highlights {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  border-block: 1px solid var(--border);
}

.used-sales__highlights > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding-block: 11px;
}

.used-sales__highlights > div + div {
  border-top: 1px solid var(--border);
}

.used-sales__highlights span {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.used-sales__highlights strong {
  text-align: right;
  font-size: 0.84rem;
}

.used-sales__inquiry-copy {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.55;
}

.used-sales__actions {
  display: grid;
  gap: 10px;
}

.used-sales__actions .button {
  width: 100%;
  min-height: 48px;
}

.used-sales__direct-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 18px;
}

.used-sales__direct-links a {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

.used-sales__direct-links a:hover {
  color: var(--primary);
}

.used-sales__details {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  align-items: start;
  gap: 24px;
  margin-top: 66px;
  scroll-margin-top: 110px;
}

.used-sales__details > * {
  min-width: 0;
}

.used-sales__facts-panel {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: white;
}

.used-sales__facts-panel h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.used-sales__facts-intro {
  max-width: 620px;
  margin: 0 0 28px;
  color: var(--ink-soft);
}

.used-sales__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.used-sales__facts > div {
  min-width: 0;
  min-height: 90px;
  padding: 18px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #faf9f7;
}

.used-sales__facts dt {
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.used-sales__facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.93rem;
  font-weight: 700;
}

#ubicacion-vehiculo {
  scroll-margin-top: 110px;
}

.used-location-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
}

.used-location-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-muted);
}

.used-location-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.used-location-card__content {
  position: relative;
  padding: 26px;
}

.used-location-card__content h3 {
  max-width: 260px;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.used-location-card__content > p:not(.section__kicker) {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.used-location-card__logo {
  display: block;
  width: 104px;
  height: 46px;
  margin: -52px 0 24px auto;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  object-fit: contain;
  background: white;
  box-shadow: var(--shadow-sm);
}

.used-location-card__links {
  display: grid;
  gap: 10px;
}

.used-location-card__links a {
  min-height: 30px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  text-underline-offset: 4px;
}

.used-location-card--compact .used-location-card__content {
  padding: 32px;
}

.used-location-card--compact .button {
  margin-top: 8px;
}

.used-mobile-cta {
  display: none;
}

.vehicle-related {
  padding-top: 72px;
  scroll-margin-top: 110px;
}

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

.related-vehicle {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: white;
}

.related-vehicle > a {
  display: block;
  height: 100%;
  color: var(--ink);
  text-decoration: none;
}

.related-vehicle__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: white;
}

.related-vehicle__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 200ms ease;
}

.related-vehicle:hover .related-vehicle__media img {
  transform: scale(1.04);
}

.related-vehicle__body {
  padding: 18px;
}

.related-vehicle__body p {
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.related-vehicle__body h3 {
  margin-bottom: 14px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
}

.related-vehicle__body span {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.detail-empty {
  min-height: 520px;
  display: grid;
  max-width: 720px;
  place-content: center;
  justify-items: start;
}

.detail-empty h1 {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
}

.detail-empty > p:not(.section__kicker) {
  max-width: 580px;
  color: var(--ink-soft);
}

.detail-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.contact-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding: 24px;
  border: 1px solid rgb(10 120 153 / 24%);
  border-radius: var(--radius-card);
  background: rgb(10 120 153 / 7%);
}

.contact-context h2 {
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.contact-context p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-form-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  margin-bottom: 48px;
  padding: clamp(26px, 5vw, 52px);
  scroll-margin-top: 110px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
}

.contact-form-panel__intro {
  align-self: start;
}

.contact-form-panel__intro h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.contact-form-panel__intro p:not(.section__kicker) {
  max-width: 430px;
  margin: 0;
  color: var(--ink-soft);
}

.contact-form-panel__intro a {
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.contact-form {
  display: grid;
  gap: 18px;
}

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

.contact-field {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.contact-field--wide {
  grid-column: 1 / -1;
}

.contact-field > span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--ink);
  background: #fbfaf8;
}

.contact-field textarea {
  min-height: 126px;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--primary);
  outline: 3px solid rgb(200 16 46 / 14%);
  outline-offset: 1px;
  background: white;
}

.contact-form .button {
  width: 100%;
}

.contact-form__status {
  min-height: 1.4em;
  margin: 0;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
}

.dialog-vehicle__actions {
  display: grid;
  justify-items: stretch;
  gap: 14px;
  text-align: center;
}

.brand-intro {
  display: grid;
  min-height: 360px;
  place-items: center;
  padding-block: 72px;
  text-align: center;
}

.brand-intro__logo {
  width: min(430px, 72vw);
  max-height: 170px;
  object-fit: contain;
}

.brand-intro p {
  max-width: 630px;
  margin: 20px auto 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.branch-list {
  padding-bottom: 80px;
}

.branch-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(34px, 7vw, 92px);
  padding-block: clamp(52px, 8vw, 96px);
  border-top: 1px solid var(--border);
}

.branch-section--reverse .branch-section__media {
  order: 2;
}

.branch-section__media {
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface-muted);
}

.branch-section__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.branch-section__content h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.branch-links {
  display: grid;
  gap: 9px;
  margin-bottom: 28px;
}

.branch-links a,
.text-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.branch-links a:hover,
.text-link:hover {
  color: var(--primary);
}

.branch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.branch-actions .button {
  min-height: 42px;
  padding: 9px 17px;
  font-size: 0.8rem;
}

.service-logo-strip {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: white;
}

.service-logo-strip a {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 13px;
  border-right: 1px solid var(--border);
}

.service-logo-strip a:last-child {
  border-right: 0;
}

.service-logo-strip img {
  max-width: 86px;
  max-height: 42px;
  object-fit: contain;
}

.group-statement {
  max-width: 880px;
  margin: 0 auto;
  padding-block: 82px;
  text-align: center;
}

.group-statement p {
  margin: 0;
  font-family: "Syne", system-ui, sans-serif;
  font-size: clamp(1.65rem, 4vw, 3.15rem);
  font-weight: 600;
  line-height: 1.25;
}

.services-directory {
  padding-bottom: 80px;
}

.service-brand {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
  padding-block: clamp(64px, 9vw, 110px);
  border-top: 1px solid var(--border);
  scroll-margin-top: 100px;
}

.service-brand:nth-child(even) .service-brand__visual {
  order: 2;
}

.service-brand__visual {
  position: relative;
}

.service-brand__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-card);
  object-fit: cover;
}

.service-brand__logo {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: -26px;
  width: 150px;
  height: 74px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow-sm);
  object-fit: contain;
}

.service-brand__content h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.service-brand__content > p:not(.eyebrow) {
  max-width: 520px;
  margin: 16px 0 24px;
  color: var(--ink-soft);
}

.service-brand__branches {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 22px;
}

.service-brand__branches .button {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 0.8rem;
}

.content-page {
  padding-block: 70px 94px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 8vw, 92px);
}

.content-copy h2 {
  margin: 42px 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.content-copy h2:first-child {
  margin-top: 0;
}

.content-copy p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.content-aside {
  align-self: start;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: white;
}

.content-aside h2 {
  margin-bottom: 16px;
  font-size: 1.4rem;
}

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

.contact-list a {
  color: var(--ink);
  font-weight: 700;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.contact-option {
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: white;
}

.contact-option h2 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.contact-option p {
  min-height: 3em;
  margin: 0 0 18px;
  color: var(--ink-soft);
}

.contact-option a {
  font-weight: 700;
}

.vehicle-dialog {
  width: min(920px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--radius-card);
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 30px 90px rgb(0 0 0 / 35%);
}

.vehicle-dialog::backdrop {
  background: rgb(10 10 10 / 78%);
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--ink);
  background: rgb(255 255 255 / 94%);
}

.dialog-close svg {
  width: 20px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.dialog-vehicle {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.dialog-vehicle__media {
  display: grid;
  min-height: 470px;
  place-items: center;
  padding: 34px;
  background: #e7eaee;
}

.dialog-vehicle__media img {
  width: 100%;
  max-height: 410px;
  object-fit: contain;
}

.dialog-vehicle__content {
  align-self: center;
  padding: 62px 44px 48px;
}

.dialog-vehicle__content h2 {
  margin-bottom: 8px;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.dialog-vehicle__subtitle {
  margin: 0;
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 800;
}

.dialog-vehicle__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 26px 0;
}

.dialog-vehicle__fact {
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.dialog-vehicle__fact span {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-soft);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-vehicle__fact strong {
  font-size: 0.92rem;
}

.dialog-vehicle__content .button {
  width: 100%;
}

.site-footer {
  margin-top: auto;
  padding: 58px 0 26px;
  color: var(--on-ink);
  background: var(--ink);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, 1fr);
  gap: 46px;
}

.site-footer__logo {
  width: auto;
  height: 42px;
}

.site-footer__description {
  max-width: 360px;
  margin: 15px 0 0;
  color: rgb(248 247 244 / 62%);
}

.site-footer__heading {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: rgb(248 247 244 / 70%);
  list-style: none;
}

.site-footer__list a {
  color: rgb(248 247 244 / 84%);
  text-decoration: none;
}

.site-footer__list a:hover {
  color: white;
  text-decoration: underline;
}

.site-footer__legal {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgb(248 247 244 / 12%);
  color: rgb(248 247 244 / 50%);
  font-size: 0.82rem;
}

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 70rem) {
  .site-header__nav {
    gap: 11px;
  }

  .site-header__link {
    font-size: 0.8rem;
  }

  .site-header__cta {
    padding-inline: 18px;
  }

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

  .service-logo-strip {
    grid-template-columns: repeat(5, 1fr);
  }

  .service-logo-strip a:nth-child(5) {
    border-right: 0;
  }

  .service-logo-strip a:nth-child(-n + 5) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 61.99rem) {
  .site-header__inner {
    min-height: 76px;
  }

  .menu-button {
    display: grid;
    margin-left: auto;
  }

  .site-header__nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 0 0 14px 14px;
    background: var(--ink);
    box-shadow: var(--shadow-md);
  }

  .site-header--light .site-header__nav {
    background: white;
  }

  .site-header__nav.is-open {
    display: flex;
  }

  .site-header__link {
    min-height: 46px;
    padding: 12px;
  }

  .site-header__link::after {
    display: none;
  }

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

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

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

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

  .inventory-sidebar {
    position: static;
  }

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

  .filter-field:first-child,
  .button--filter-reset {
    grid-column: 1 / -1;
  }

  .branch-section,
  .service-brand,
  .content-grid,
  .contact-form-panel {
    grid-template-columns: 1fr;
  }

  .branch-section--reverse .branch-section__media,
  .service-brand:nth-child(even) .service-brand__visual {
    order: initial;
  }

  .contact-options {
    grid-template-columns: 1fr 1fr;
  }

  .locations-layout {
    grid-template-columns: minmax(330px, 0.92fr) minmax(0, 1.08fr);
  }

  .location-card {
    grid-template-columns: 102px minmax(0, 1fr);
  }

  .location-card__heading {
    grid-template-columns: 1fr;
  }

  .location-card__heading > img {
    display: none;
  }

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

  .vehicle-detail__grid--new {
    grid-template-areas:
      "stage"
      "summary"
      "details";
    gap: 18px;
  }

  .new-vehicle-summary {
    position: static;
  }

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

  .vehicle-detail__visual {
    min-height: 480px;
  }

  .used-sales__hero,
  .used-sales__details {
    grid-template-columns: 1fr;
  }

  .used-sales__inquiry {
    position: static;
  }

  .used-location-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  }

  .used-location-card__media {
    height: 100%;
    aspect-ratio: auto;
  }

  .used-location-card--compact {
    display: block;
  }
}

@media (max-width: 48rem) {
  .container {
    width: min(100% - 30px, 1200px);
  }

  .site-header__logo {
    height: 33px;
  }

  .site-header__cta {
    display: none;
  }

  .hero {
    min-height: 590px;
  }

  .hero__title {
    font-size: clamp(2.65rem, 13vw, 4.3rem);
  }

  .section {
    padding-block: 54px;
  }

  .section + .section {
    padding-top: 0;
  }

  .section-heading,
  .inventory-results__header,
  .cta-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .need-card__body {
    padding: 18px;
  }

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

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

  .service-logo-strip a {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .service-logo-strip a:nth-child(even) {
    border-right: 0;
  }

  .service-logo-strip a:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .service-logo-strip a:nth-child(5) {
    border-right: 1px solid var(--border);
  }

  .branch-section {
    gap: 28px;
  }

  .branch-actions .button {
    width: 100%;
  }

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

  .site-footer__grid > :first-child {
    grid-column: 1 / -1;
  }

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

  .dialog-vehicle__media {
    min-height: 290px;
    padding: 24px;
  }

  .dialog-vehicle__content {
    padding: 34px 24px 36px;
  }

  .locations-hero {
    min-height: 330px;
  }

  .locations-hero__inner {
    padding-block: 64px 48px;
  }

  .locations-section {
    padding-block: 42px 64px;
  }

  .locations-toolbar {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .locations-toolbar__count {
    padding: 0;
    text-align: left;
  }

  .locations-layout {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .location-view-toggle {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin: 0 0 16px auto;
    padding: 10px 18px;
    border: 0;
    border-radius: var(--radius-pill);
    color: white;
    background: var(--ink);
    font-weight: 700;
  }

  .locations-layout .network-map {
    display: none;
  }

  .locations-layout.is-map-view .locations-list-panel {
    display: none;
  }

  .locations-layout.is-map-view .network-map {
    display: flex;
  }

  .locations-list-panel {
    max-height: none;
    overflow: visible;
    border-right: 0;
  }

  .locations-section--home .locations-list-panel {
    max-height: 640px;
    overflow-y: auto;
  }

  .network-map {
    min-height: 560px;
    border-top: 1px solid var(--border);
  }

  .network-map__header {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    margin: 16px;
  }

  .network-map__canvas {
    min-height: 490px;
  }

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

  .vehicle-detail__visual {
    min-height: 390px;
    padding: 26px;
  }

  .vehicle-detail__content {
    padding: 34px 24px 38px;
  }

  .new-vehicle-stage__caption,
  .new-vehicle-details__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .new-vehicle-stage__caption span:last-child {
    text-align: left;
  }

  .new-vehicle-summary,
  .new-vehicle-details {
    padding: 22px;
  }

  .used-sales__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .used-sales__header h1 {
    max-width: 100%;
  }

  .used-sales__title-meta {
    margin-bottom: 7px;
  }

  .used-sales__title-year,
  .used-sales__title-make {
    font-size: clamp(1.08rem, 5vw, 1.35rem);
  }

  .used-sales__title-model {
    font-size: clamp(1.7rem, 8.4vw, 2.55rem);
  }

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

  .used-gallery__main {
    order: 1;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .used-gallery__main > img {
    max-height: none;
  }

  .used-gallery__thumbnails {
    order: 2;
    max-height: none;
    flex-direction: row;
    padding-bottom: 5px;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .used-gallery__thumbnail {
    flex: 0 0 82px;
  }

  .used-sales__inquiry {
    padding: 24px;
  }

  .used-sales__details {
    gap: 18px;
    margin-top: 48px;
  }

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

  .used-location-card {
    display: block;
  }

  .used-location-card__media {
    aspect-ratio: 16 / 9;
  }

  .used-mobile-cta {
    position: fixed;
    z-index: 20;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 15px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 -8px 24px rgb(16 16 16 / 12%);
    backdrop-filter: blur(14px);
  }

  .used-mobile-cta > div {
    display: grid;
  }

  .used-mobile-cta span {
    color: var(--ink-soft);
    font-size: 0.67rem;
  }

  .used-mobile-cta strong {
    font-size: 0.82rem;
  }

  .used-mobile-cta .button {
    min-height: 46px;
    padding-inline: 16px;
    font-size: 0.76rem;
  }

  body.is-used-detail {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

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

  .contact-context {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 38rem) {
  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

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

  .discovery-card__body {
    padding: 14px;
  }

  .needs-grid,
  .brand-grid,
  .card-grid,
  .directory-grid,
  .filters,
  .contact-form__grid,
  .contact-options,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .contact-field--wide {
    grid-column: auto;
  }

  .filter-field:first-child,
  .button--filter-reset,
  .site-footer__grid > :first-child {
    grid-column: auto;
  }

  .need-card {
    aspect-ratio: 5 / 4;
  }

  .need-card__brand-logos {
    margin-top: 42px;
  }

  .brand-card__inventory {
    min-height: 146px;
  }

  .inventory-section {
    padding-top: 36px;
  }

  .inventory-sidebar {
    padding: 18px;
  }

  .vehicle-card__body {
    min-height: 295px;
  }

  .vehicle-card__media {
    aspect-ratio: 16 / 11;
  }

  .location-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 13px;
    padding: 14px;
  }

  .location-card__media {
    min-height: 112px;
  }

  .network-map {
    min-height: 520px;
  }

  .network-map__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .network-map__canvas {
    min-height: 440px;
  }

  .network-map__marker > strong {
    display: none;
  }

  .vehicle-detail__visual {
    min-height: 310px;
  }

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

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

  .new-vehicle-stage__canvas {
    aspect-ratio: 16 / 10;
  }

  .new-vehicle-summary,
  .new-vehicle-details {
    padding: 19px;
    border-radius: 18px;
  }

  .new-vehicle-summary__title-model {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .new-vehicle-details__heading > span {
    display: none;
  }

  .used-sales__facts-panel {
    padding: 24px 18px;
  }

  .used-sales__facts > div {
    min-height: 84px;
    padding: 14px;
  }

  .used-sales__facts dd {
    font-size: 0.82rem;
  }

  .used-mobile-cta > div {
    display: none;
  }

  .used-mobile-cta .button {
    width: 100%;
  }

  .service-brand__logo {
    right: 12px;
    bottom: -20px;
    width: 120px;
    height: 60px;
  }

  .dialog-vehicle__facts {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
