:root {
  --bg: #f8f5ef;
  --bg-alt: #ece7de;
  --surface: #ffffff;
  --surface-dark: #183552;
  --surface-dark-strong: #13273b;
  --surface-soft: #21476c;
  --text: #f4f8fc;
  --muted: #b8cadc;
  --ink: #13273b;
  --ink-soft: #61768c;
  --line: rgba(19, 39, 59, 0.1);
  --line-inverse: rgba(220, 232, 244, 0.16);
  --accent: #f3c54b;
  --accent-dark: #c7971f;
  --accent-soft: #fff1c8;
  --accent-soft-strong: #f6df93;
  --accent-ink: #101826;
  --accent-glow: rgba(243, 197, 75, 0.28);
  --button-primary-background: linear-gradient(135deg, #ffe28a 0%, var(--accent) 58%, #ddb13f 100%);
  --button-primary-color: var(--accent-ink);
  --button-primary-border: 1px solid transparent;
  --button-primary-box-shadow: 0 16px 30px var(--accent-glow);
  --button-primary-hover-box-shadow: 0 20px 38px rgba(243, 197, 75, 0.36);
  --button-primary-shine-background: linear-gradient(118deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0.36) 50%, rgba(255, 255, 255, 0) 90%);
  --button-primary-shine-hover-opacity: 0.64;
  --primary: #5d8ec4;
  --primary-dark: #315a87;
  --primary-soft: #dbe7f3;
  --primary-glow: rgba(77, 141, 203, 0.24);
  --success: #25d366;
  --success-dark: #1fa854;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100% - 2rem));
  --site-header-height: 82px;
  --heading-font: "Sora", sans-serif;
  --hero-image: url("./assets/images/background.webp");
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-duration: 560ms;
  --motion-duration-fast: 320ms;
  --motion-card-perspective: 1180px;
  --motion-card-lift: -8px;
  --motion-card-scale: 1.012;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  cursor: default;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(93, 142, 196, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(243, 197, 75, 0.08), transparent 18%),
    linear-gradient(180deg, #fcfaf6 0%, #f8f5ef 46%, #f1ece3 100%);
}

body.menu-open main,
body.menu-open .site-footer,
body.menu-open .floating-whatsapp {
  filter: blur(10px);
  transition: filter 0.24s ease;
}

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

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

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

input:is([type="text"], [type="search"], [type="email"], [type="tel"], [type="url"], [type="password"], [type="number"]),
textarea {
  cursor: text;
}

button,
a,
input {
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background-color 0.24s ease,
    color 0.24s ease;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.motion-node {
  --motion-perspective: var(--motion-card-perspective);
  --motion-lift-y: 0px;
  --motion-scale: 1;
  --motion-rotate-x: 0deg;
  --motion-rotate-y: 0deg;
  --reveal-distance: 24px;
  --reveal-offset-y: 0px;
  --reveal-scale: 1;
  --reveal-delay: 0ms;
  opacity: 1;
  transform:
    perspective(var(--motion-perspective))
    translate3d(0, calc(var(--reveal-offset-y) + var(--motion-lift-y)), 0)
    rotateX(var(--motion-rotate-x))
    rotateY(var(--motion-rotate-y))
    scale(calc(var(--reveal-scale) * var(--motion-scale)));
  transform-origin: center center;
  backface-visibility: hidden;
  transition:
    opacity var(--motion-duration) var(--motion-ease) var(--reveal-delay),
    transform var(--motion-duration) var(--motion-ease) var(--reveal-delay),
    box-shadow var(--motion-duration-fast) var(--motion-ease),
    border-color var(--motion-duration-fast) ease,
    background-color var(--motion-duration-fast) ease,
    filter var(--motion-duration-fast) ease;
}

.reveal-on-scroll[data-reveal-state="hidden"] {
  opacity: 0;
  --reveal-offset-y: var(--reveal-distance);
  --reveal-scale: 0.985;
  will-change: transform, opacity;
}

.reveal-on-scroll[data-reveal-state="visible"] {
  opacity: 1;
  --reveal-offset-y: 0px;
  --reveal-scale: 1;
  will-change: auto;
}

.motion-surface {
  --surface-shadow-rest: 0 18px 38px rgba(10, 22, 37, 0.08);
  --surface-shadow-hover: 0 28px 54px rgba(10, 22, 37, 0.12);
  --surface-border-hover: rgba(19, 39, 59, 0.18);
  --surface-highlight-opacity: 0;
  --surface-highlight-x: 78%;
  --surface-highlight-y: 8%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  box-shadow: var(--surface-shadow-rest);
}

.motion-surface > * {
  position: relative;
  z-index: 2;
}

.motion-surface::before,
.motion-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  transition:
    opacity var(--motion-duration-fast) ease,
    transform var(--motion-duration-fast) ease,
    border-color var(--motion-duration-fast) ease,
    box-shadow var(--motion-duration-fast) ease;
}

.motion-surface::before {
  z-index: 1;
  background:
    radial-gradient(circle at var(--surface-highlight-x) var(--surface-highlight-y), rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.14) 20%, rgba(255, 255, 255, 0) 56%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.05) 32%, rgba(255, 255, 255, 0) 60%);
  opacity: calc(var(--surface-highlight-opacity) * 0.88);
}

.motion-surface::after {
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  opacity: calc(0.26 + (var(--surface-highlight-opacity) * 0.38));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(19, 39, 59, 0.04);
}

.motion-surface:is(:hover, :focus-visible, [data-tilt-active="true"]) {
  --motion-lift-y: var(--motion-card-lift);
  --motion-scale: var(--motion-card-scale);
  --surface-highlight-opacity: 1;
  border-color: var(--surface-border-hover);
  box-shadow: var(--surface-shadow-hover);
}

.motion-surface.motion-tilt:is(:hover, :focus-visible, [data-tilt-active="true"]) {
  --motion-rotate-x: var(--tilt-rotate-x, 0deg);
  --motion-rotate-y: var(--tilt-rotate-y, 0deg);
  --surface-highlight-x: var(--tilt-glow-x, 78%);
  --surface-highlight-y: var(--tilt-glow-y, 8%);
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

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

.section-tag,
.hero-badge,
.page-hero__eyebrow,
.editorial-card__tag,
.support-card__tag,
.value-card__tag,
.contact-card__label,
.detail-info-card__label,
.location-card__eyebrow,
.detail-gallery__tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-booting .featured-card,
.site-booting [data-vehicle-detail],
.site-booting .map-shell {
  position: relative;
  overflow: hidden;
  pointer-events: none;
}

.site-booting .featured-card {
  min-height: 40rem;
}

.site-booting [data-vehicle-detail] {
  min-height: 56rem;
}

.site-booting .map-shell {
  min-height: 30rem;
}

.site-booting .featured-card > *,
.site-booting [data-vehicle-detail] > *,
.site-booting .map-shell > * {
  opacity: 0;
}

.site-booting .featured-card::after,
.site-booting [data-vehicle-detail]::after,
.site-booting .map-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.06) 8%, rgba(255, 255, 255, 0.18) 18%, rgba(255, 255, 255, 0.06) 33%),
    rgba(255, 255, 255, 0.05);
  background-size: 220% 100%;
  animation: siteBootShimmer 1.35s linear infinite;
}

@keyframes siteBootShimmer {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -20% 0;
  }
}

.site-header {
  --header-text: var(--button-primary-color);
  --header-muted: rgba(16, 24, 38, 0.82);
  position: sticky;
  top: 0;
  z-index: 60;
  color: var(--header-text);
  background: var(--button-primary-background);
  border-bottom: var(--button-primary-border);
  box-shadow: var(--button-primary-box-shadow);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.header-topbar {
  border-bottom: var(--button-primary-border);
  background: var(--button-primary-background);
}

.header-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
  font-size: 0.82rem;
  color: var(--header-muted, rgba(16, 24, 38, 0.82));
}

.header-topbar__inner p {
  margin: 0;
}

.header-topbar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.header-topbar__links a:hover,
.header-topbar__links a:focus-visible {
  color: var(--button-primary-color);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(180px, 238px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  max-width: 238px;
}

.brand-mark {
  display: flex;
  align-items: center;
  width: 100%;
  height: 42px;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

.brand-logo--full {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transform: translateY(0);
}

.site-header .brand-logo {
  filter: drop-shadow(0 7px 16px rgba(16, 24, 38, 0.22));
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.brand-text strong {
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-wrap: balance;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.8rem;
}

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

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  min-width: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  min-width: 0;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  position: relative;
  min-height: 44px;
  padding: 0;
  color: var(--header-muted, rgba(16, 24, 38, 0.82));
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--button-primary-color);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--button-primary-color);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.main-nav .main-nav-cta {
  display: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 52px;
  padding: 0 1.45rem;
  border: var(--button-primary-border);
  border-radius: 6px;
  background: var(--button-primary-background);
  color: var(--button-primary-color);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  box-shadow: var(--button-primary-box-shadow);
  backface-visibility: hidden;
  will-change: transform, box-shadow;
  transform: translate3d(0, 0, 0) scale(1);
}

.button::after,
.featured-footer a::after,
.vehicle-card__cta::after,
.catalog-card__footer a::after,
.inventory-cta a::after,
.social-link::after,
.floating-whatsapp::after,
.main-nav .main-nav-cta::after {
  content: "";
  position: absolute;
  top: -140%;
  left: -30%;
  z-index: 1;
  width: 42%;
  height: 280%;
  background: var(--button-primary-shine-background);
  opacity: 0;
  transform: translate3d(-180%, 0, 0) rotate(18deg);
  transition:
    transform 0.52s var(--motion-ease),
    opacity 0.28s ease;
  pointer-events: none;
}

.button:hover::after,
.button:focus-visible::after,
.featured-footer a:hover::after,
.featured-footer a:focus-visible::after,
.vehicle-card__cta:hover::after,
.vehicle-card__cta:focus-visible::after,
.catalog-card__footer a:hover::after,
.catalog-card__footer a:focus-visible::after,
.inventory-cta a:hover::after,
.inventory-cta a:focus-visible::after,
.social-link:hover::after,
.social-link:focus-visible::after,
.floating-whatsapp:hover::after,
.floating-whatsapp:focus-visible::after,
.main-nav .main-nav-cta:hover::after,
.main-nav .main-nav-cta:focus-visible::after {
  opacity: var(--button-primary-shine-hover-opacity);
  transform: translate3d(360%, 0, 0) rotate(18deg);
}

.button:hover,
.button:focus-visible {
  transform: translate3d(0, -2px, 0) scale(1.0);
  box-shadow: var(--button-primary-hover-box-shadow);
}

.button-secondary {
  border-color: rgba(19, 39, 59, 0.18);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--surface-dark);
  background: var(--surface-dark);
  color: #fff;
  box-shadow: 0 18px 34px rgba(19, 39, 59, 0.16);
}

.hero .button-secondary,
.page-hero .button-secondary,
.location .button-secondary,
.contact-card--accent .button-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.hero .button-secondary:hover,
.hero .button-secondary:focus-visible,
.page-hero .button-secondary:hover,
.page-hero .button-secondary:focus-visible,
.location .button-secondary:hover,
.location .button-secondary:focus-visible,
.contact-card--accent .button-secondary:hover,
.contact-card--accent .button-secondary:focus-visible {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.button-whatsapp {
  flex: 0 0 auto;
  min-height: 50px;
  padding: 0 1.35rem;
  background: linear-gradient(135deg, #32df77 0%, var(--success) 100%);
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.28);
}

.button-whatsapp:hover,
.button-whatsapp:focus-visible {
  box-shadow: 0 20px 38px rgba(37, 211, 102, 0.34);
  background: linear-gradient(135deg, #41e284 0%, var(--success-dark) 100%);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 50px;
  height: 50px;
  padding: 0;
  border: var(--button-primary-border);
  border-radius: 16px;
  background: var(--button-primary-background);
  color: var(--button-primary-color);
  cursor: pointer;
  box-shadow: var(--button-primary-box-shadow);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border: var(--button-primary-border);
  background: var(--button-primary-background);
  color: var(--button-primary-color);
  box-shadow: var(--button-primary-hover-box-shadow);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: block;
  border: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(9, 17, 28, 0.3);
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  touch-action: none;
  transition:
    opacity 0.24s ease,
    visibility 0.24s ease,
    backdrop-filter 0.24s ease,
    background-color 0.24s ease;
}

.nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background: rgba(9, 17, 28, 0.44);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--site-header-height));
  min-height: calc(100svh - var(--site-header-height));
  min-height: calc(100dvh - var(--site-header-height));
  padding: clamp(2.2rem, 5.2vh, 4.8rem) 0 clamp(2rem, 4vh, 4.4rem);
  color: var(--text);
  background: linear-gradient(135deg, var(--surface-dark-strong) 0%, var(--surface-dark) 58%, #244d75 100%);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(100deg, rgba(10, 22, 37, 0.96) 0%, rgba(10, 22, 37, 0.76) 44%, rgba(10, 22, 37, 0.86) 100%),
    radial-gradient(circle at 18% 20%, rgba(93, 142, 196, 0.22), transparent 30%),
    radial-gradient(circle at 76% 24%, rgba(243, 197, 75, 0.12), transparent 22%),
    var(--hero-image);
  background-position: center, center, center, center;
  background-size: auto, auto, auto, cover;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  opacity: 0.82;
  filter: blur(2px) saturate(0.9);
  transform: scale(1.04);
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 18, 31, 0.34) 0%, rgba(8, 18, 31, 0.08) 28%, rgba(8, 18, 31, 0.24) 62%, rgba(8, 18, 31, 0.54) 100%),
    linear-gradient(112deg, rgba(19, 39, 59, 0.24) 0%, rgba(19, 39, 59, 0.02) 46%, rgba(19, 39, 59, 0.2) 100%);
  pointer-events: none;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-areas: "copy card";
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 470px);
  gap: clamp(1.1rem, 2.2vw, 2rem);
  align-items: center;
}

.hero-copy {
  grid-area: copy;
  align-self: center;
  max-width: 680px;
  min-width: 0;
  margin-top: 0;
}

.hero h1 {
  margin: 0.95rem 0 1rem;
  font-family: "Sora", sans-serif;
  max-width: 12.5ch;
  font-size: clamp(2.35rem, 4.7vw, 3.85rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-copy > p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 29rem;
  margin-top: 1.35rem;
}

.hero-metrics article {
  padding: 1rem 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.28rem, 2.2vw, 1.75rem);
  line-height: 1.05;
  color: #fff;
  text-wrap: balance;
}

.hero-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.featured-card {
  grid-area: card;
  display: grid;
  border: 1px solid rgba(19, 39, 59, 0.08);
  background: #f7f3ec;
  color: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  --surface-shadow-rest:
    0 30px 76px rgba(2, 14, 28, 0.3),
    0 14px 30px rgba(19, 39, 59, 0.18);
  --surface-shadow-hover:
    0 42px 96px rgba(2, 14, 28, 0.34),
    0 20px 38px rgba(19, 39, 59, 0.18);
  --surface-border-hover: rgba(19, 39, 59, 0.18);
  box-shadow:
    0 30px 76px rgba(2, 14, 28, 0.3),
    0 14px 30px rgba(19, 39, 59, 0.18);
  cursor: pointer;
  min-width: 0;
  transition:
    opacity var(--motion-duration) var(--motion-ease) var(--reveal-delay, 0ms),
    transform var(--motion-duration) var(--motion-ease) var(--reveal-delay, 0ms),
    box-shadow var(--motion-duration-fast) var(--motion-ease),
    border-color var(--motion-duration-fast) ease,
    background-color var(--motion-duration-fast) ease,
    filter var(--motion-duration-fast) ease;
}

.featured-card:not(.motion-node):hover,
.featured-card:not(.motion-node):focus-visible {
  transform: translateY(-4px);
  box-shadow:
    0 36px 88px rgba(2, 14, 28, 0.36),
    0 18px 36px rgba(19, 39, 59, 0.2);
}

.featured-media {
  position: relative;
  aspect-ratio: 1.18;
  background: linear-gradient(135deg, var(--surface-soft) 0%, var(--surface-dark-strong) 100%);
}

.featured-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.34) 100%);
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.34s ease;
}

.featured-media img.is-ready {
  opacity: 1;
}

.featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  min-height: 2rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: linear-gradient(135deg, #f9df8d 0%, var(--accent) 100%);
  box-shadow: 0 12px 24px rgba(19, 39, 59, 0.18);
  color: var(--accent-ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-info {
  display: grid;
  gap: 0.95rem;
  padding: 1.55rem;
  min-width: 0;
}

.featured-label {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.featured-info h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}

.featured-price {
  margin: 0.65rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.featured-meta span {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
}

.featured-note {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.featured-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.featured-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  min-height: 50px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: var(--surface-dark);
  color: #fff;
  box-shadow: 0 16px 32px rgba(19, 39, 59, 0.16);
  backface-visibility: hidden;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-footer a:hover,
.featured-footer a:focus-visible {
  background: var(--primary-dark);
  transform: translate3d(0, -2px, 0) scale(1.008);
  box-shadow: 0 20px 38px rgba(19, 39, 59, 0.22);
}

.section-block,
.inventory,
.page-shell,
.detail-page,
.location {
  padding: clamp(3.75rem, 7vw, 6rem) 0;
}

.section-heading {
  display: grid;
  gap: 0.95rem;
  margin-bottom: 2rem;
  min-width: 0;
}

.section-heading--split {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: 1.5rem;
}

.section-heading--split > * {
  min-width: 0;
}

.section-heading h2,
.search-panel__copy h2,
.about-story h2,
.about-catalog-highlight h2,
.editorial-card h3,
.support-card h3,
.value-card h3,
.contact-card h2,
.story-card h2,
.detail-info-card h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-heading h2 {
  font-size: clamp(1.75rem, 2.9vw, 2.35rem);
}

.section-heading p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.section-block--light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.14) 100%);
}

.brand-text strong,
.hero h1,
.hero-metrics strong,
.featured-info h2,
.featured-price,
.section-heading h2,
.search-panel__copy h2,
.about-story h2,
.about-catalog-highlight h2,
.editorial-card h3,
.support-card h3,
.value-card h3,
.contact-card h2,
.story-card h2,
.story-card__metric strong,
.vehicle-card h3,
.catalog-card h2,
.catalog-empty-card h2,
.page-hero h1,
.page-hero__stats strong,
.detail-panel h1,
.location-copy h2,
.location-card h3,
.site-footer h3,
.catalog-card__footer--sold strong {
  font-family: var(--heading-font);
}

.brand-text strong {
  font-size: 1.08rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: none;
}

.hero-shell {
  grid-template-areas: "copy card";
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 450px);
  gap: 1.35rem;
  align-items: center;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 0;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.15rem, 4.25vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: none;
}

.hero-copy > p {
  max-width: 56ch;
  font-size: 1.01rem;
}

.featured-info h2 {
  font-size: clamp(1.48rem, 2.5vw, 1.82rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-transform: none;
}

.featured-price {
  font-size: clamp(1.22rem, 2vw, 1.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: none;
}

.section-heading--split {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 1.4rem;
}

.section-heading--catalog {
  justify-items: center;
  margin-bottom: 2.4rem;
  text-align: center;
}

.section-heading--catalog h2 {
  max-width: 28ch;
}

.section-heading h2,
.search-panel__copy h2,
.about-story h2,
.about-catalog-highlight h2,
.editorial-card h3,
.support-card h3,
.value-card h3,
.contact-card h2,
.story-card h2,
.detail-info-card h2,
.vehicle-card h3,
.catalog-card h2,
.catalog-empty-card h2,
.page-hero h1,
.detail-panel h1,
.location-copy h2,
.location-card h3 {
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-transform: none;
}

.section-heading h2 {
  font-size: clamp(1.58rem, 2.5vw, 2.05rem);
}

.section-heading p {
  max-width: 44ch;
}

.editorial-card h3,
.support-card h3,
.value-card h3,
.contact-card h2,
.story-card h2,
.detail-info-card h2 {
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

.vehicle-card h3,
.catalog-card h2 {
  font-size: clamp(1.18rem, 1.8vw, 1.42rem);
}

.catalog-empty-card h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.72rem);
}

.editorial-grid,
.support-strip,
.value-grid,
.contact-grid,
.detail-info-grid {
  display: grid;
  gap: 1.25rem;
}

.editorial-grid,
.support-strip,
.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editorial-grid--reasons {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-shell--about {
  padding: clamp(3rem, 5.5vw, 4.6rem) 0;
}

.about-story {
  display: grid;
  justify-items: center;
  gap: 1.05rem;
  max-width: 940px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  padding: clamp(1.45rem, 3.2vw, 2.35rem);
  border: 1px solid rgba(19, 39, 59, 0.08);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(252, 250, 246, 0.92) 100%);
  box-shadow:
    0 18px 42px rgba(10, 22, 37, 0.065),
    0 1px 0 rgba(255, 255, 255, 0.68) inset;
  text-align: center;
}

.about-story h2 {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(1.62rem, 2.7vw, 2.18rem);
  color: var(--ink);
}

.about-story p {
  max-width: 68ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.78;
}

.about-catalog-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: clamp(1.35rem, 3vw, 2rem);
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--surface-dark-strong) 0%, var(--surface-dark) 62%, var(--surface-soft) 100%);
  color: var(--text);
  box-shadow:
    0 22px 54px rgba(2, 14, 28, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.about-catalog-highlight .section-tag {
  background: rgba(243, 197, 75, 0.16);
  color: #ffe8aa;
}

.about-catalog-highlight h2 {
  margin: 0.85rem 0 0.55rem;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.08;
  color: #fff;
  text-wrap: balance;
}

.about-catalog-highlight__count {
  color: var(--accent);
}

.about-catalog-highlight p {
  max-width: 50ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.value-grid--about-main {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.value-grid--about-main .value-card {
  align-content: start;
  gap: 0.85rem;
  padding: 1.25rem;
  border-color: rgba(19, 39, 59, 0.07);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 14px 32px rgba(10, 22, 37, 0.055),
    0 1px 0 rgba(255, 255, 255, 0.5) inset;
}

.value-grid--about-main .value-card__tag {
  min-height: 28px;
  padding: 0 0.75rem;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.68rem;
}

.value-grid--about-main .value-card h3 {
  font-size: clamp(1.05rem, 1.55vw, 1.22rem);
}

.editorial-card,
.value-card,
.story-card,
.contact-card,
.detail-info-card,
.catalog-empty-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(19, 39, 59, 0.08);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 100%);
  --surface-shadow-rest:
    0 18px 40px rgba(10, 22, 37, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.42) inset;
  --surface-shadow-hover:
    0 28px 58px rgba(10, 22, 37, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.58) inset;
  --surface-border-hover: rgba(19, 39, 59, 0.14);
  box-shadow:
    0 18px 40px rgba(10, 22, 37, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.42) inset;
}

.editorial-card h3,
.support-card h3,
.value-card h3,
.contact-card h2,
.story-card h2,
.detail-info-card h2 {
  font-size: clamp(1.16rem, 1.8vw, 1.45rem);
}

.editorial-card p,
.support-card p,
.value-card p,
.contact-card p,
.story-card p,
.detail-info-card p,
.catalog-empty-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.support-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--surface-soft) 0%, var(--surface-dark-strong) 100%);
  color: var(--text);
  --surface-shadow-rest:
    0 20px 44px rgba(2, 14, 28, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  --surface-shadow-hover:
    0 30px 60px rgba(2, 14, 28, 0.26),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  --surface-border-hover: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 20px 44px rgba(2, 14, 28, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.support-card p {
  color: var(--muted);
}

.support-card__tag {
  background: rgba(243, 197, 75, 0.18);
  color: #ffe8aa;
}

.story-card--dark {
  background: linear-gradient(180deg, var(--surface-soft) 0%, var(--surface-dark-strong) 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text);
  --surface-border-hover: rgba(255, 255, 255, 0.16);
  --surface-shadow-rest:
    0 20px 46px rgba(2, 14, 28, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  --surface-shadow-hover:
    0 30px 62px rgba(2, 14, 28, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.story-card--dark p {
  color: var(--muted);
}

.story-card__metric {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
}

.story-card__metric strong {
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--primary-dark);
}

.inventory {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.inventory-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  max-width: 992px;
  margin: 0 auto;
}

.inventory-grid > * {
  flex: 0 1 304px;
  width: min(100%, 304px);
  max-width: 304px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.vehicle-card,
.catalog-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(19, 39, 59, 0.08);
  border-radius: var(--radius-md);
  background: var(--surface);
  --surface-shadow-rest: 0 18px 42px rgba(10, 22, 37, 0.12);
  --surface-shadow-hover: 0 30px 64px rgba(10, 22, 37, 0.15);
  --surface-border-hover: rgba(19, 39, 59, 0.15);
  box-shadow: 0 18px 42px rgb(0 0 0 / 13%);
}

.vehicle-card {
  cursor: pointer;
}

.vehicle-card:not(.motion-node):hover,
.vehicle-card:not(.motion-node):focus-visible,
.catalog-card:not(.motion-node):hover,
.catalog-card:not(.motion-node):focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

.vehicle-card__media,
.catalog-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.25;
  background: linear-gradient(135deg, var(--surface-soft) 0%, var(--surface-dark-strong) 100%);
}

.vehicle-card__media img,
.catalog-card__media img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.38s var(--motion-ease), filter 0.3s ease;
}

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

.vehicle-card__tag,
.catalog-card__tag,
.sold-stamp {
  position: absolute;
  z-index: 2;
  min-height: 32px;
  padding: 0 0.85rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vehicle-card__tag,
.catalog-card__tag {
  top: 1rem;
  left: 1rem;
  background: rgba(19, 39, 59, 0.86);
  color: var(--text);
}

.sold-stamp {
  top: 1rem;
  right: 1rem;
  background: rgba(243, 197, 75, 0.95);
  color: var(--accent-ink);
}

.vehicle-card__body,
.catalog-card__body {
  display: grid;
  gap: 0.95rem;
  padding: 1.35rem;
}

.vehicle-card__body {
  gap: 0.8rem;
  padding: 1.15rem 1.15rem 1rem;
}

.vehicle-card__eyebrow,
.catalog-card__eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 0.3rem;
}

.vehicle-card__pill,
.catalog-card__pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vehicle-card__pill {
  min-height: 26px;
  padding: 0 0.64rem;
  font-size: 0.68rem;
}

.vehicle-card h3,
.catalog-card h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.62rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.vehicle-card h3 {
  font-size: clamp(1.14rem, 1.45vw, 1.34rem);
  line-height: 1.02;
}

.vehicle-card__summary,
.catalog-card__summary {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.vehicle-card__summary {
  font-size: 0.98rem;
  line-height: 1.65;
}

.spec-grid,
.catalog-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 0.9rem;
  margin: 0;
}

.spec-grid div,
.catalog-specs div {
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.spec-grid div {
  padding-top: 0.68rem;
}

.spec-grid dt,
.catalog-specs dt,
.detail-meta-grid dt {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.spec-grid dd,
.catalog-specs dd,
.detail-meta-grid dd {
  margin: 0.28rem 0 0;
  font-weight: 800;
  color: var(--ink);
}

.vehicle-card__footer,
.catalog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.35rem 1.35rem;
  margin-top: auto;
}

.vehicle-card__hint,
.catalog-card__footer-copy,
.catalog-card__footer--sold span {
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

.vehicle-card__footer {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  padding: 0 1.15rem 1.15rem;
  text-align: center;
}

.vehicle-card__hint {
  display: block;
  max-width: 23ch;
  margin: 0 auto;
  font-size: 0.78rem;
  text-align: center;
}

.vehicle-card__cta,
.catalog-card__footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 46px;
  padding: 0 1rem;
  border-radius: 6px;
  background: var(--surface-dark);
  color: #fff;
  box-shadow: 0 14px 28px rgba(19, 39, 59, 0.12);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vehicle-card__cta {
  width: min(100%, 196px);
  min-height: 46px;
  padding: 0.78rem 0.95rem;
  border-radius: 6px;
  background: linear-gradient(135deg, #274f75 0%, var(--surface-dark) 100%);
  box-shadow: 0 16px 32px rgba(19, 39, 59, 0.2);
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}

.vehicle-card__cta:hover,
.vehicle-card__cta:focus-visible,
.catalog-card__footer a:hover,
.catalog-card__footer a:focus-visible,
.inventory-cta a:hover,
.inventory-cta a:focus-visible {
  background: var(--accent);
}

.vehicle-card__cta:hover,
.vehicle-card__cta:focus-visible {
  color: var(--accent-ink);
  box-shadow: 0 18px 36px rgba(243, 197, 75, 0.22);
}

.catalog-card__footer--sold {
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.catalog-card__footer--sold strong {
  font-family: "Sora", sans-serif;
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.catalog-card.is-sold .catalog-card__media img {
  filter: saturate(0.88) brightness(0.9);
}

.catalog-empty-card h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.inventory-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.inventory-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 54px;
  padding: 0 1.6rem;
  border-radius: 6px;
  background: var(--surface-dark);
  color: #fff;
  box-shadow: 0 16px 30px rgba(19, 39, 59, 0.16);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--text);
  background: linear-gradient(135deg, var(--surface-dark-strong) 0%, var(--surface-dark) 55%, #244d75 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(93, 142, 196, 0.24), transparent 26%),
    radial-gradient(circle at 22% 18%, rgba(243, 197, 75, 0.11), transparent 18%);
}

.page-hero__inner {
  position: relative;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 3.75rem;
  min-width: 0;
}

.page-hero h1 {
  max-width: 12.5ch;
  margin: 0.95rem 0 1rem;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.page-hero p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.page-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 860px;
  margin-top: 2rem;
}

.page-hero__stats article {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
}

.page-hero__stats strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.22rem, 2vw, 1.65rem);
  line-height: 1.05;
  color: #fff;
  text-wrap: balance;
}

.page-hero__stats span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.page-hero__inner {
  padding: clamp(3.1rem, 7vw, 5rem) 0 3.3rem;
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  justify-items: center;
  text-align: center;
}

.page-hero h1 {
  max-width: 30ch;
  margin-inline: auto;
  font-size: clamp(1.9rem, 3.2vw, 2.55rem);
  line-height: 1.06;
}

.page-hero p {
  max-width: 72ch;
  margin-inline: auto;
  font-size: 0.99rem;
}

.page-hero__eyebrow,
.section-heading--catalog .section-tag {
  margin-inline: auto;
}

.page-hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero__stats article {
  flex: 0 1 276px;
  width: min(100%, 276px);
}

.search-panel {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: 1.15rem;
}

.detail-panel h1 {
  font-size: clamp(1.72rem, 2.6vw, 2.25rem);
}

.location-copy h2 {
  font-size: clamp(1.62rem, 2.6vw, 2.08rem);
}

.location-copy p {
  max-width: 52ch;
}

.location-card h3 {
  font-size: clamp(1.16rem, 1.9vw, 1.38rem);
}

.site-footer h3 {
  font-size: 1.16rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: none;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 420px);
  gap: 1rem;
  align-items: end;
  padding: 1.4rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(19, 39, 59, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  --surface-shadow-rest:
    0 18px 40px rgba(10, 22, 37, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.48) inset;
  --surface-shadow-hover:
    0 26px 56px rgba(10, 22, 37, 0.09),
    0 1px 0 rgba(255, 255, 255, 0.58) inset;
  --surface-border-hover: rgba(19, 39, 59, 0.14);
  box-shadow:
    0 18px 40px rgba(10, 22, 37, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.48) inset;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.search-panel__copy {
  min-width: 0;
}

.search-form {
  display: flex;
  min-width: 0;
}

.search-field {
  width: 100%;
  min-height: 56px;
  padding: 0 1rem;
  border: 1px solid rgba(19, 39, 59, 0.12);
  border-radius: 8px;
  background: #fbf8f3;
  color: var(--ink);
}

.search-field::placeholder {
  color: var(--ink-soft);
}

.catalog-empty-state {
  margin: 1.5rem 0 0;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(243, 197, 75, 0.28);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 700;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.value-grid {
  margin: 1.25rem 0;
}

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

.contact-card--accent {
  background: linear-gradient(180deg, var(--surface-soft) 0%, var(--surface-dark-strong) 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text);
  --surface-border-hover: rgba(255, 255, 255, 0.18);
  --surface-shadow-rest:
    0 20px 44px rgba(2, 14, 28, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  --surface-shadow-hover:
    0 30px 60px rgba(2, 14, 28, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.contact-card--accent p {
  color: var(--muted);
}

.contact-card .button,
.contact-card .button-secondary {
  justify-self: start;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.contact-card [data-shared-email] {
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-transform: none;
  overflow-wrap: anywhere;
}

.detail-page {
  padding-top: 3rem;
}

.detail-primary-cta {
  display: none;
}

.detail-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.4rem;
  align-items: start;
}

.detail-spotlight > * {
  min-width: 0;
}

.detail-spotlight > .motion-node {
  transform: translateY(calc(var(--reveal-offset-y) + var(--motion-lift-y)));
}

.detail-spotlight > .motion-node[data-reveal-state="visible"] {
  transform: none;
}

.detail-spotlight > .motion-node[data-reveal-state="visible"]:is(:hover, :focus-visible, [data-tilt-active="true"]) {
  transform: translateY(var(--motion-lift-y));
}

.detail-spotlight > .motion-surface:is(:hover, :focus-visible, [data-tilt-active="true"]) {
  --motion-scale: 1;
}

.detail-gallery {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: start;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 320px;
  min-width: 0;
  contain: inline-size;
  overflow: hidden;
  border-radius: var(--radius-lg);
  --surface-shadow-rest: var(--shadow);
  --surface-shadow-hover:
    0 30px 68px rgba(2, 14, 28, 0.28),
    0 14px 30px rgba(19, 39, 59, 0.12);
  --surface-border-hover: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.detail-gallery.is-single {
  gap: 0;
  grid-template-rows: minmax(0, 1fr);
}

.detail-gallery__stage {
  position: relative;
  width: 100%;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  background: #10263a;
  --detail-image-bg: none;
}

.detail-gallery__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--detail-image-bg);
  background-size: cover;
  background-position: center;
  /* Keep ambience, but with a much cheaper blur pass for smoother image switching. */
  filter: blur(18px) saturate(1.06);
  transform: scale(1.1);
  opacity: 0.76;
  will-change: opacity;
}

.detail-gallery__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(10, 22, 34, 0.2);
}

.detail-gallery__stage [data-detail-image] {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border-radius: 0;
}

.detail-gallery__nav {
  position: absolute;
  top: calc(50% - 22px);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(10, 24, 38, 0.48);
  backdrop-filter: blur(3px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.detail-gallery__nav--prev {
  left: 12px;
}

.detail-gallery__nav--next {
  right: 12px;
}

.detail-gallery__stage:is(:hover, :focus-within) .detail-gallery__nav,
.detail-gallery:is(:hover, :focus-within) .detail-gallery__nav {
  opacity: 1;
  pointer-events: auto;
}

.detail-gallery__nav:hover,
.detail-gallery__nav:focus-visible {
  transform: scale(1.05);
  background: rgba(10, 24, 38, 0.72);
}

.detail-gallery__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(243, 197, 75, 0.95);
  color: var(--accent-ink);
}

.detail-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(62px, 1fr));
  align-self: end;
  margin-top: auto;
  gap: 6px;
  padding: 0 10px 8px;
}

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

.detail-gallery__thumb {
  position: relative;
  padding: 0;
  border: 1px solid rgba(19, 39, 59, 0.2);
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  cursor: pointer;
}

.detail-gallery__thumb.is-active {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.18);
}

.detail-gallery__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 11px;
}

.detail-gallery__thumb--more img {
  filter: blur(2px) brightness(0.62);
  transform: scale(1.06);
}

.detail-gallery__thumb-more-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: rgba(6, 16, 28, 0.34);
}

@media (hover: none) {
  .detail-gallery__nav {
    opacity: 1;
    pointer-events: auto;
  }
}

.detail-panel {
  display: grid;
  align-self: start;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(19, 39, 59, 0.08);
  border-radius: var(--radius-lg);
  background: var(--surface);
  --surface-shadow-rest:
    0 20px 48px rgba(10, 22, 37, 0.09),
    0 1px 0 rgba(255, 255, 255, 0.48) inset;
  --surface-shadow-hover:
    0 30px 64px rgba(10, 22, 37, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.58) inset;
  --surface-border-hover: rgba(19, 39, 59, 0.14);
  box-shadow:
    0 20px 48px rgba(10, 22, 37, 0.09),
    0 1px 0 rgba(255, 255, 255, 0.48) inset;
  min-width: 0;
}

.detail-panel__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-back-link:hover,
.detail-back-link:focus-visible {
  color: var(--ink);
}

.detail-panel__eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-panel h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.detail-description,
.detail-contact-copy {
  margin: 0;
  line-height: 1.8;
}

.detail-description {
  color: var(--ink-soft);
}

.detail-contact-copy {
  padding: 1rem;
  border: 1px solid rgba(93, 142, 196, 0.18);
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--ink);
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  margin: 0;
}

.detail-meta-grid div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbf8f3;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.detail-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.detail-info-grid .detail-info-card {
  align-content: start;
}

.detail-info-card__label {
  align-self: start;
  justify-self: start;
  min-height: 0;
  padding: 0.8rem 1.1rem;
  line-height: 1;
  white-space: nowrap;
}

.detail-info-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.detail-info-list--ordered {
  list-style: decimal;
}

.detail-contact-list {
  display: grid;
  gap: 0.85rem;
}

.detail-contact-list p {
  display: grid;
  gap: 0.3rem;
  margin: 0;
}

.detail-contact-list strong {
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-contact-list a {
  font-weight: 800;
  overflow-wrap: anywhere;
}

.location {
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(93, 142, 196, 0.24), transparent 24%),
    radial-gradient(circle at 78% 22%, rgba(243, 197, 75, 0.12), transparent 20%),
    linear-gradient(180deg, var(--surface-dark) 0%, var(--surface-dark-strong) 100%);
}

.location-shell {
  display: grid;
  gap: 1.5rem;
}

.location .motion-node {
  transform: translateY(calc(var(--reveal-offset-y) + var(--motion-lift-y)));
}

.location .motion-node[data-reveal-state="visible"] {
  transform: none;
}

.location .motion-surface.motion-node[data-reveal-state="visible"]:is(:hover, :focus-visible, [data-tilt-active="true"]) {
  transform: translateY(var(--motion-lift-y));
}

.location .motion-surface:is(:hover, :focus-visible, [data-tilt-active="true"]) {
  --motion-scale: 1;
}

.location-copy {
  max-width: 760px;
  min-width: 0;
}

.location-copy h2 {
  margin: 0.9rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.location-copy p {
  max-width: 58ch;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.map-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1.25rem;
  align-items: stretch;
}

.map-stage {
  overflow: hidden;
  min-height: 25rem;
  border-radius: var(--radius-lg);
  --motion-card-lift: -2px;
  --motion-card-scale: 1.003;
  --surface-shadow-rest: var(--shadow);
  --surface-shadow-hover:
    0 28px 62px rgba(2, 14, 28, 0.24),
    0 12px 26px rgba(19, 39, 59, 0.1);
  --surface-border-hover: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.map-stage iframe {
  width: 100%;
  height: 100%;
  min-height: 25rem;
  border: 0;
}

.location-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  --motion-card-lift: -2px;
  --motion-card-scale: 1.003;
  --surface-shadow-rest:
    0 18px 42px rgba(2, 14, 28, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  --surface-shadow-hover:
    0 24px 50px rgba(2, 14, 28, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  --surface-border-hover: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 18px 42px rgba(2, 14, 28, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  min-width: 0;
}

.location-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.3rem, 2.1vw, 1.6rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.location-card__copy {
  max-width: 34ch;
  margin: -0.25rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.location-details {
  display: grid;
  gap: 0.9rem;
}

.location-details p {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}

.location-details strong {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.location-details span {
  line-height: 1.75;
  color: #fff;
}

[data-shared-hours],
[data-location-hours] {
  white-space: pre-line;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.site-footer {
  color: var(--text);
  background: var(--surface-dark-strong);
}

.footer-shell {
  width: min(1480px, calc(100% - 3rem));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.55fr) repeat(2, minmax(180px, 1fr)) minmax(240px, 1.15fr);
  gap: clamp(1.5rem, 2.6vw, 2.6rem);
  align-items: start;
  padding: 3.25rem 0;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  min-width: 0;
}

.footer-brand-block {
  display: grid;
  gap: 1.1rem;
}

.brand-footer {
  max-width: 240px;
}

.brand-footer .brand-mark {
  width: 100%;
  height: 46px;
}

.brand-footer .brand-text {
  display: none;
}

.footer-brand-copy {
  max-width: 34ch;
}

.brand-footer .brand-text small,
.footer-brand-copy,
.site-footer p,
.site-footer a:not(.social-link) {
  color: var(--muted);
}

.site-footer h3 {
  margin: 0 0 0.7rem;
  font-family: "Sora", sans-serif;
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer p {
  margin: 0 0 0.45rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: auto;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  box-shadow: 0 14px 28px rgba(2, 14, 28, 0.12);
  font-weight: 700;
}

.social-link:hover,
.social-link:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: translate3d(0, -2px, 0) scale(1.01);
  box-shadow: 0 18px 34px rgba(243, 197, 75, 0.24);
}

.footer-bottom {
  border-top: 1px solid var(--line-inverse);
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-bottom__inner p {
  margin: 0;
}

.footer-bottom__inner a {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.floating-whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, #f9db82 0%, var(--accent) 100%);
  color: var(--accent-ink);
  box-shadow: 0 18px 40px rgba(243, 197, 75, 0.24);
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translate3d(0, -2px, 0) scale(1.02);
  box-shadow: 0 24px 46px rgba(243, 197, 75, 0.3);
}

.floating-whatsapp i {
  font-size: 1.7rem;
  line-height: 1;
}

@media (pointer: coarse), (hover: none) {
  :root {
    --motion-card-lift: -4px;
    --motion-card-scale: 1.006;
  }

  .motion-surface::before {
    opacity: calc(var(--surface-highlight-opacity) * 0.58);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-booting .featured-card::after,
  .site-booting [data-vehicle-detail]::after,
  .site-booting .map-shell::after {
    animation: none;
  }

  .motion-node,
  .motion-surface,
  .motion-surface::before,
  .motion-surface::after,
  .button,
  .button::after,
  .featured-footer a,
  .featured-footer a::after,
  .vehicle-card__cta,
  .vehicle-card__cta::after,
  .catalog-card__footer a,
  .catalog-card__footer a::after,
  .inventory-cta a,
  .inventory-cta a::after,
  .social-link,
  .social-link::after,
  .floating-whatsapp,
  .floating-whatsapp::after,
  .main-nav .main-nav-cta,
  .main-nav .main-nav-cta::after {
    transition: none !important;
  }

  .motion-node {
    opacity: 1 !important;
    transform: none !important;
    will-change: auto;
  }

  .motion-surface::before,
  .motion-surface::after,
  .button::after,
  .featured-footer a::after,
  .vehicle-card__cta::after,
  .catalog-card__footer a::after,
  .inventory-cta a::after,
  .social-link::after,
  .floating-whatsapp::after,
  .main-nav .main-nav-cta::after {
    opacity: 0 !important;
    transform: none !important;
  }
}

@media (min-width: 1081px) and (max-height: 940px) {
  .hero {
    padding: clamp(1.8rem, 3.8vh, 2.8rem) 0 clamp(1.6rem, 3vh, 2.2rem);
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    gap: 1.25rem;
  }

  .hero-copy {
    margin-top: 0;
  }

  .hero h1 {
    max-width: 13ch;
    margin: 0.55rem 0 0.75rem;
    font-size: clamp(1.95rem, 3vw, 3rem);
    line-height: 1.04;
  }

  .hero-copy > p {
    line-height: 1.68;
  }

  .hero-actions {
    margin-top: 1.3rem;
  }

  .featured-media {
    aspect-ratio: 1.32 / 1;
  }

  .featured-info {
    gap: 0.75rem;
    padding: 1.2rem;
  }

  .featured-info h2 {
    font-size: clamp(1.34rem, 2.1vw, 1.76rem);
    line-height: 1.02;
  }

  .featured-price {
    margin-top: 0.45rem;
    font-size: clamp(1.08rem, 1.85vw, 1.32rem);
  }

  .featured-meta span {
    font-size: 0.76rem;
  }

  .hero-metrics {
    margin-top: 0;
  }

  .hero-metrics article {
    padding: 0.85rem 0.9rem;
  }
}

@media (min-width: 1081px) and (max-height: 780px) {
  .hero {
    padding: 1.2rem 0 1.2rem;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: 1rem;
  }

  .hero h1 {
    font-size: clamp(1.62rem, 2.7vw, 2.3rem);
    margin: 0.45rem 0 0.6rem;
  }

  .hero-copy > p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-actions {
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .featured-media {
    aspect-ratio: 1.45 / 1;
  }

  .featured-badge {
    top: 0.75rem;
    left: 0.75rem;
    min-height: 1.8rem;
    padding: 0.4rem 0.72rem;
    font-size: 0.68rem;
  }

  .featured-info {
    gap: 0.62rem;
    padding: 1rem 1rem 1.05rem;
  }

  .featured-info h2 {
    font-size: clamp(1.18rem, 1.85vw, 1.42rem);
  }

  .featured-price {
    font-size: clamp(1rem, 1.5vw, 1.16rem);
  }

  .featured-meta {
    gap: 0.45rem;
  }

  .featured-meta span {
    padding: 0.4rem 0.62rem;
    font-size: 0.72rem;
  }

  .featured-footer a {
    min-height: 44px;
    padding: 0.7rem 0.95rem;
    font-size: 0.74rem;
    letter-spacing: 0.09em;
  }

  .hero-metrics {
    gap: 0.65rem;
    max-width: 24rem;
  }

  .hero-metrics article {
    padding: 0.72rem 0.78rem;
  }
}

@media (min-width: 1081px) and (max-height: 700px) {
  .hero-shell {
    grid-template-areas: "copy card";
  }

  .hero-metrics {
    display: none;
  }
}

@media (max-width: 1080px) {
  .about-grid,
  .contact-grid,
  .detail-info-grid,
  .editorial-grid,
  .support-strip,
  .value-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero-shell,
  .detail-spotlight,
  .map-shell,
  .section-heading--split,
  .search-panel {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    grid-template-areas:
      "copy"
      "card";
    gap: 1.2rem;
    max-width: 34rem;
    margin: 0 auto;
  }

  .inventory-grid {
    max-width: 620px;
    gap: 1rem;
  }

  .inventory-grid > * {
    flex-basis: 300px;
    width: min(100%, 300px);
    max-width: 300px;
  }

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

  .hero-copy {
    max-width: none;
    margin-top: 0;
  }

  .section-heading h2,
  .page-hero h1 {
    max-width: none;
  }

  .section-heading p,
  .page-hero p {
    max-width: none;
  }

  .page-hero__inner {
    max-width: 100%;
  }

  .footer-shell {
    width: min(100%, calc(100% - 2rem));
  }
}

@media (max-width: 760px) {
  :root {
    --motion-card-lift: -3px;
    --motion-card-scale: 1.004;
  }

  .motion-node {
    --motion-perspective: 940px;
  }

  .reveal-on-scroll[data-reveal-state="hidden"] {
    --reveal-distance: 18px;
    --reveal-scale: 0.992;
  }

  .inventory-grid {
    max-width: 360px;
  }

  .inventory-grid > * {
    flex-basis: 100%;
    width: min(100%, 360px);
    max-width: 360px;
  }

  .about-catalog-highlight {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .vehicle-card {
    width: 100%;
  }

  .vehicle-card__body {
    padding: 1.05rem 1.05rem 0.95rem;
  }

  .vehicle-card h3 {
    font-size: clamp(1.08rem, 5vw, 1.22rem);
  }

  .vehicle-card__summary {
    font-size: 0.95rem;
  }

  .vehicle-card__footer {
    padding: 0 1.05rem 1.05rem;
  }
}

@media (max-width: 860px) {
  :root {
    --site-header-height: 74px;
  }

  .site-header {
    --mobile-header-height: 74px;
    overflow: visible;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--button-primary-background);
  }

  .header-topbar {
    display: none;
  }

  .header-topbar__links {
    display: none;
  }

  .header-actions .button-whatsapp {
    display: none;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    gap: 0.9rem;
  }

  .brand {
    flex: 0 1 180px;
    max-width: 180px;
  }

  .hero-copy {
    margin-top: 0;
  }

  .hero {
    padding: 2.7rem 0 3.4rem;
  }

  .hero-backdrop {
    background-image:
      linear-gradient(180deg, rgba(8, 18, 31, 0.96) 0%, rgba(8, 18, 31, 0.82) 24%, rgba(8, 18, 31, 0.66) 56%, rgba(8, 18, 31, 0.9) 100%),
      linear-gradient(110deg, rgba(19, 39, 59, 0.82) 0%, rgba(19, 39, 59, 0.34) 42%, rgba(19, 39, 59, 0.72) 100%),
      radial-gradient(circle at 50% 10%, rgba(93, 142, 196, 0.12), transparent 28%),
      var(--hero-image);
    background-position: center, center, center, 58% center;
    background-size: auto, auto, auto, cover;
    opacity: 0.9;
    filter: blur(3.5px) saturate(0.82);
    transform: scale(1.08);
  }

  .hero-shell {
    gap: 1.05rem;
    max-width: 32rem;
  }

  .featured-card {
    width: min(100%, 30rem);
    margin: 0 auto;
    border-radius: 24px;
  }

  .featured-media {
    aspect-ratio: 1.22 / 0.94;
  }

  .featured-info {
    gap: 0.85rem;
    padding: 1.2rem 1.2rem 1.25rem;
  }

  .hero-metrics {
    width: min(100%, 27rem);
    margin: 0.15rem auto 0;
    gap: 0.75rem;
  }

  .hero-metrics article {
    padding: 0.85rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .brand-mark {
    height: 34px;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 90;
    flex: 0 0 auto;
  }

  .main-nav {
    position: fixed;
    top: calc(var(--mobile-header-height) + 0.5rem);
    left: 0.5rem;
    right: 0.5rem;
    z-index: 70;
    width: auto;
    max-width: none;
    max-height: calc(100dvh - var(--mobile-header-height));
    padding: 1.2rem 1.2rem 1.4rem;
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.55rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    border: var(--button-primary-border);
    border-radius: 22px;
    background: var(--button-primary-background);
    box-shadow: var(--button-primary-box-shadow);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    pointer-events: none;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.26s ease,
      opacity 0.2s ease,
      visibility 0.2s ease;
  }

  .main-nav.is-open {
    pointer-events: auto;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    width: 100%;
    justify-content: center;
    min-height: 0;
    padding: 0.95rem 0;
    border-bottom: 0;
    text-align: center;
  }

  .main-nav a:not(.main-nav-cta):not(:first-child)::before {
    content: "";
    position: absolute;
    top: -0.3rem;
    left: 50%;
    width: min(11rem, 54%);
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(19, 39, 59, 0.32), transparent);
    transform: translateX(-50%);
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav .main-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: 0.6rem;
    padding: 0 1rem;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, #32df77 0%, var(--success) 100%);
    color: #fff;
  }

  .main-nav .main-nav-cta:hover,
  .main-nav .main-nav-cta:focus-visible {
    border: 0;
    background: linear-gradient(135deg, #41e284 0%, var(--success-dark) 100%);
    color: #fff;
  }

  .hero-metrics,
  .page-hero__stats,
  .detail-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1,
  .page-hero h1,
  .hero-copy > p,
  .page-hero p {
    max-width: none;
  }

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

@media (max-width: 640px) {
  :root {
    --container: min(100%, calc(100% - 1.25rem));
    --site-header-height: 70px;
  }

  .site-header {
    --mobile-header-height: 70px;
  }

  .footer-shell {
    width: min(100%, calc(100% - 1.25rem));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand {
    flex-basis: 150px;
    max-width: 150px;
  }

  .hero-copy {
    margin-top: 0;
  }

  .brand-mark {
    height: 30px;
  }

  .main-nav {
    top: calc(var(--mobile-header-height) + 0.45rem);
    left: 0.375rem;
    right: 0.375rem;
    width: auto;
  }

  .hero,
  .page-hero__inner,
  .section-block,
  .inventory,
  .page-shell,
  .detail-page,
  .location {
    padding-top: 2.85rem;
    padding-bottom: 3.4rem;
  }

  .hero h1,
  .page-hero h1,
  .location-copy h2,
  .section-heading h2,
  .detail-panel h1 {
    max-width: none;
    font-size: clamp(1.66rem, 8vw, 2.18rem);
    letter-spacing: -0.03em;
  }

  .hero-backdrop {
    opacity: 0.94;
    filter: blur(4px) saturate(0.78);
    transform: scale(1.1);
  }

  .hero-metrics,
  .page-hero__stats,
  .catalog-grid,
  .about-grid,
  .contact-grid,
  .detail-info-grid,
  .editorial-grid,
  .support-strip,
  .value-grid,
  .footer-grid,
  .section-heading--split,
  .search-panel,
  .map-shell,
  .detail-meta-grid {
    grid-template-columns: 1fr;
  }

  .editorial-grid--reasons {
    grid-template-columns: 1fr;
  }

  .inventory-grid {
    max-width: 100%;
  }

  .inventory-grid > * {
    width: 100%;
    max-width: 100%;
  }

  .featured-info,
  .editorial-card,
  .support-card,
  .value-card,
  .story-card,
  .contact-card,
  .detail-info-card,
  .location-card,
  .detail-panel,
  .vehicle-card__body,
  .catalog-card__body {
    padding: 1.15rem;
  }

  .vehicle-card__footer,
  .catalog-card__footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1.15rem 1.15rem;
  }

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

  .vehicle-card__hint {
    text-align: center;
  }

  .catalog-card__footer-copy {
    display: none;
  }

  .hero-shell {
    gap: 1rem;
    max-width: 100%;
  }

  .hero-copy > p,
  .page-hero p,
  .section-heading p,
  .location-copy p {
    max-width: none;
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .hero-copy {
    gap: 0;
  }

  .hero-actions {
    margin-top: 1.4rem;
  }

  .featured-card {
    width: 100%;
  }

  .featured-info h2 {
    font-size: clamp(1.28rem, 6vw, 1.58rem);
  }

  .featured-price {
    font-size: clamp(1.08rem, 4.4vw, 1.24rem);
  }

  .hero-metrics {
    width: 100%;
  }

  .brand-footer {
    max-width: 190px;
  }

  .brand-footer .brand-mark {
    height: 38px;
  }

  .hero-metrics article,
  .page-hero__stats article {
    padding: 0.95rem;
  }

  .featured-card {
    border-radius: 22px;
  }

  .featured-footer a,
  .vehicle-card__cta,
  .catalog-card__footer a {
    width: 100%;
  }

  .detail-panel__topbar,
  .footer-bottom__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-actions,
  .hero-actions,
  .location-actions {
    width: 100%;
  }

  .detail-primary-cta {
    display: flex;
    margin-bottom: 1rem;
  }

  .detail-actions .button,
  .hero-actions .button,
  .about-catalog-highlight .button,
  .location-actions .button,
  .contact-card .button,
  .contact-card .button-secondary,
  .detail-primary-cta .button {
    width: 100%;
  }

  .search-panel {
    padding: 1.15rem;
  }

  .map-stage,
  .map-stage iframe {
    min-height: 20rem;
  }

  .contact-card .button,
  .contact-card .button-secondary,
  .site-footer a:not(.social-link),
  .detail-contact-list a {
    overflow-wrap: anywhere;
  }

  .floating-whatsapp {
    right: 1rem;
    bottom: 1rem;
    width: 56px;
    height: 56px;
  }
}
