:root {
  --brand-blue: #254c9d;
  --brand-blue-dark: #163572;
  --brand-yellow: #f8c332;
  --brand-yellow-soft: #fff4cf;
  --white: #ffffff;
  --gray-50: #f7f8fb;
  --gray-100: #f5f5f5;
  --gray-200: #e6e8ee;
  --gray-500: #687083;
  --ink: #111111;
  --ink-soft: #333333;
  --success: #147a4a;
  --line: rgba(17, 17, 17, 0.12);
  --shadow: 0 18px 55px rgba(17, 32, 65, 0.12);
  --radius: 8px;
  --container: 1180px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color-scheme: only light;
}

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

html,
body,
main,
section,
article,
header,
footer,
dialog {
  forced-color-adjust: none;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  background: var(--white);
  color-scheme: only light;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color-scheme: only light;
}

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

img {
  height: auto;
}

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

button,
input {
  font: inherit;
  color-scheme: light;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

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

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--brand-blue);
  border-radius: var(--radius);
  font-weight: 700;
}

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

.container {
  width: calc(100% - 32px);
  max-width: var(--container);
  margin-inline: auto;
}

.section-pad {
  padding: 70px 0;
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.section-head h2 {
  max-width: 760px;
  color: var(--brand-blue-dark);
  font-size: 2rem;
  font-weight: 800;
}

.section-head p {
  max-width: 780px;
  color: var(--gray-500);
}

.section-head-row {
  align-items: end;
  justify-content: space-between;
}

.eyebrow {
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), background 220ms var(--ease-out), color 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

.btn-primary {
  color: var(--ink);
  background: var(--brand-yellow);
  box-shadow: 0 10px 26px rgba(248, 195, 50, 0.28);
}

.btn-secondary {
  color: var(--brand-blue);
  background: var(--white);
  border: 1px solid rgba(37, 76, 157, 0.22);
}

.btn-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.btn-map {
  color: var(--white);
  background: var(--brand-blue);
}

@media (hover: hover) {
  .btn:hover,
  .vehicle-card:hover,
  .recent-card:hover,
  .advantage-card:hover,
  .finance-card:hover,
  .about-value:hover {
    transform: translateY(-2px);
  }

  .btn-primary:hover {
    box-shadow: 0 16px 32px rgba(248, 195, 50, 0.35);
  }

  .vehicle-card:hover {
    border-color: rgba(37, 76, 157, 0.28);
    box-shadow: 0 18px 42px rgba(17, 32, 65, 0.13);
  }

  .vehicle-card:hover .vehicle-card__media img {
    filter: saturate(1.08) contrast(1.03);
    transform: scale(1.025);
  }

  .vehicle-card:hover .vehicle-card__overlay {
    opacity: 1;
    transform: none;
  }
}

.text-link {
  color: var(--brand-blue);
  font-weight: 800;
  border-bottom: 2px solid var(--brand-yellow);
}

.icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--brand-blue-dark);
  background: var(--brand-yellow);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(248, 195, 50, 0.22);
}

.section-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(37, 76, 157, 0.98);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: calc(100% - 24px);
  max-width: 1240px;
  min-height: 74px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  flex-shrink: 1;
}

.brand-logo {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid rgba(248, 195, 50, 0.9);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.brand-text {
  min-width: 0;
}

.brand strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.05;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.nav-links {
  position: fixed;
  inset: 74px 12px auto 12px;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav-links.is-open {
  display: flex;
}

.nav-links a {
  padding: 12px;
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brand-blue);
  background: var(--gray-100);
}

.nav-links a[aria-current="page"] {
  color: var(--brand-blue);
  background: var(--brand-yellow-soft);
}

.language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 3px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
}

.language-switcher button {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  min-height: 32px;
  padding: 6px 8px;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.language-switcher button.is-active {
  color: var(--ink);
  background: var(--brand-yellow);
}

.language-switcher button:hover,
.language-switcher button:focus-visible {
  color: var(--ink);
  background: var(--brand-yellow);
}

.nav-whatsapp {
  display: none;
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  gap: 4px;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 78vh;
  min-height: 78svh;
  color: var(--white);
  background: var(--brand-blue-dark);
  overflow: clip;
}

.hero-media {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  opacity: 0.62;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #0d2148;
  border-radius: var(--radius);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 28, 62, 0.96) 0%, rgba(12, 28, 62, 0.82) 45%, rgba(12, 28, 62, 0.38) 100%),
    linear-gradient(180deg, rgba(12, 28, 62, 0.2) 0%, rgba(12, 28, 62, 0.82) 100%);
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 22px;
  padding: 120px 0 46px;
}

.hero .eyebrow {
  color: var(--brand-yellow);
}

.hero h1 {
  max-width: 790px;
  font-size: 2.7rem;
  font-weight: 900;
  overflow-wrap: break-word;
}

.hero-copy {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .btn {
  min-width: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 860px;
  margin-top: 8px;
}

.hero-stats div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.hero-stats dt {
  color: var(--brand-yellow);
  font-size: 1.3rem;
  font-weight: 900;
}

.hero-stats dd {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
}

.page-hero {
  position: relative;
  color: var(--white);
  background: var(--brand-blue-dark);
  overflow: clip;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 28, 62, 0.96) 0%, rgba(12, 28, 62, 0.72) 58%, rgba(12, 28, 62, 0.42) 100%),
    linear-gradient(180deg, rgba(12, 28, 62, 0.16) 0%, rgba(12, 28, 62, 0.78) 100%);
  z-index: 1;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
  opacity: 0.42;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0d2148;
  border-radius: var(--radius);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  padding: 86px 0 56px;
}

.page-hero .eyebrow {
  color: var(--brand-yellow);
}

.page-hero h1 {
  max-width: 760px;
  font-size: 2.55rem;
  font-weight: 900;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  font-weight: 600;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.advantages {
  background: var(--gray-50);
}

.advantage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.advantage-card,
.vehicle-card,
.recent-card,
.contact-card,
.finance-panel,
.finance-card,
.about-visual,
.about-value,
.finance-steps article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(17, 32, 65, 0.06);
}

.advantage-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.advantage-card span {
  width: max-content;
  padding: 4px 8px;
  color: var(--brand-blue);
  background: var(--brand-yellow-soft);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 900;
}

.advantage-card h3 {
  color: var(--brand-blue-dark);
  font-size: 1.05rem;
}

.advantage-card p {
  color: var(--gray-500);
}

.featured {
  background: var(--white);
}

.inventory {
  background: var(--gray-50);
}

.inventory-head {
  gap: 22px;
}

.inventory-count {
  justify-self: start;
  display: inline-grid;
  gap: 2px;
  min-width: 132px;
  padding: 16px;
  color: var(--white);
  background: var(--brand-blue);
  border-radius: var(--radius);
}

.inventory-count strong {
  color: var(--brand-yellow);
  font-size: 1.8rem;
  line-height: 1;
}

.inventory-count span {
  font-size: 0.82rem;
  font-weight: 800;
}

.catalog-tools {
  position: sticky;
  top: 74px;
  z-index: 30;
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(17, 32, 65, 0.08);
}

.search-box {
  display: grid;
  gap: 6px;
}

.search-box span {
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.search-box input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--gray-100);
  border: 1px solid transparent;
  border-radius: var(--radius);
}

.search-box input:focus {
  border-color: var(--brand-blue);
  outline: 0;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 11px;
  color: var(--brand-blue);
  background: var(--white);
  border: 1px solid rgba(37, 76, 157, 0.18);
  border-radius: var(--radius);
  font-size: 0.84rem;
  font-weight: 850;
}

.filter-pill.is-active {
  color: var(--ink);
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
}

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

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

.vehicle-card {
  display: grid;
  min-width: 0;
  overflow: clip;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

.vehicle-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.vehicle-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 360ms var(--ease-out), filter 360ms var(--ease-out);
}

.vehicle-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 9px;
  color: var(--brand-blue-dark);
  background: var(--brand-yellow);
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 900;
}

.vehicle-card__overlay {
  position: absolute;
  inset: auto 12px 12px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  color: var(--white);
  background: rgba(22, 53, 114, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 900;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.vehicle-card__body {
  display: grid;
  gap: 13px;
  padding: 16px;
  min-width: 0;
}

.vehicle-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.category-tag,
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}

.category-tag {
  color: var(--brand-blue);
  background: rgba(37, 76, 157, 0.08);
}

.category-tag .icon {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}

.status-tag {
  color: var(--success);
  background: rgba(20, 122, 74, 0.1);
}

.vehicle-card h3 {
  min-width: 0;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

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

.vehicle-facts span {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 7px;
  align-items: center;
  min-width: 0;
  padding: 8px;
  color: var(--ink-soft);
  background: var(--gray-100);
  border-radius: 6px;
  font-size: 0.78rem;
  min-width: 0;
}

.vehicle-facts .icon {
  grid-row: span 2;
  color: var(--brand-blue);
}

.vehicle-facts b {
  color: var(--gray-500);
  font-size: 0.66rem;
  line-height: 1;
  text-transform: uppercase;
}

.vehicle-facts em {
  min-width: 0;
  overflow: visible;
  color: var(--ink-soft);
  font-style: normal;
  font-weight: 850;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: anywhere;
}

.media-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.media-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 8px;
  color: var(--brand-blue-dark);
  background: var(--brand-yellow-soft);
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 900;
}

.media-chips .icon {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}

.vehicle-price {
  min-width: 0;
  color: var(--brand-blue-dark);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.vehicle-card__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.vehicle-card__actions .btn {
  min-width: 0;
  white-space: normal;
}

.vehicle-card__actions .icon {
  width: 16px;
  height: 16px;
}

.empty-state {
  padding: 22px;
  color: var(--gray-500);
  background: var(--white);
  border: 1px dashed rgba(37, 76, 157, 0.35);
  border-radius: var(--radius);
  font-weight: 700;
}

.finance {
  color: var(--white);
  background: var(--brand-blue-dark);
}

.finance .eyebrow,
.finance h2 {
  color: var(--brand-yellow);
}

.finance-layout {
  display: grid;
  gap: 20px;
}

.finance-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  color: var(--white);
  background: var(--brand-blue);
  border-color: rgba(255, 255, 255, 0.15);
}

.finance-panel p {
  color: rgba(255, 255, 255, 0.86);
}

.finance-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.finance-highlights span {
  display: grid;
  gap: 2px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.finance-highlights strong {
  color: var(--brand-yellow);
  font-size: 1.18rem;
  line-height: 1;
}

.finance-highlights small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.finance-aside {
  display: grid;
  gap: 12px;
}

.finance-benefits {
  display: grid;
  gap: 12px;
}

.finance-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  color: var(--ink);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.finance-card h3 {
  margin-bottom: 5px;
  color: var(--brand-blue-dark);
  font-size: 1rem;
}

.finance-card p {
  color: var(--gray-500);
  font-size: 0.93rem;
  font-weight: 650;
}

.finance-steps {
  display: grid;
  gap: 12px;
}

.finance-steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  color: var(--ink);
}

.finance-steps strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--brand-yellow);
  border-radius: var(--radius);
}

.finance-steps span {
  color: var(--ink-soft);
  font-weight: 750;
}

.recent {
  background: var(--white);
}

.recent-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.recent-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.recent-card img {
  width: 120px;
  height: 92px;
  object-fit: contain;
  background: var(--gray-100);
  border-radius: var(--radius);
}

.recent-card h3 {
  margin-bottom: 7px;
  color: var(--brand-blue-dark);
  font-size: 1rem;
}

.recent-card p {
  color: var(--gray-500);
  font-size: 0.88rem;
  font-weight: 700;
}

.about {
  background: var(--gray-50);
}

.about-layout {
  display: grid;
  gap: 22px;
  align-items: center;
}

.about h2 {
  color: var(--brand-blue-dark);
  font-size: 2rem;
}

.about-story {
  display: grid;
  gap: 15px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.about-visual {
  position: relative;
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--white);
}

.about-visual div {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.about-visual strong {
  color: var(--brand-blue-dark);
  font-size: 1.05rem;
}

.about-visual span {
  color: var(--gray-500);
  font-weight: 700;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 22px;
}

.about-value {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.about-value h3 {
  color: var(--brand-blue-dark);
  font-size: 1.05rem;
}

.about-value p {
  color: var(--gray-500);
  font-weight: 650;
}

.contact {
  background: var(--white);
}

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

.contact-main {
  display: grid;
  align-content: start;
  gap: 16px;
}

.contact-main h2 {
  color: var(--brand-blue-dark);
  font-size: 2rem;
}

.contact-main p {
  color: var(--gray-500);
}

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

.contact-card {
  padding: 20px;
}

.contact-card dl {
  display: grid;
  gap: 16px;
}

.contact-card dt {
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card dd {
  margin-top: 4px;
  color: var(--ink-soft);
  font-weight: 650;
}

.contact-card a {
  color: var(--brand-blue-dark);
  font-weight: 800;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.social-links a {
  padding: 8px 10px;
  background: var(--brand-yellow-soft);
  border-radius: var(--radius);
}

.site-footer {
  color: rgba(255, 255, 255, 0.84);
  background: var(--brand-blue-dark);
}

.footer-layout {
  display: grid;
  gap: 18px;
  padding: 34px 0;
}

.footer-brand {
  width: max-content;
}

.footer-brand .brand-logo {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
  border-color: rgba(248, 195, 50, 0.75);
  box-shadow: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links a {
  color: var(--white);
  font-weight: 800;
}

.copyright {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.86rem;
}

.copyright span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.52);
}

.vehicle-dialog {
  width: min(1120px, calc(100% - 22px));
  max-height: calc(100vh - 26px);
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.vehicle-dialog::backdrop {
  background: rgba(12, 24, 52, 0.72);
}

.dialog-shell {
  position: relative;
}

.dialog-close {
  position: sticky;
  top: 10px;
  left: calc(100% - 54px);
  z-index: 20;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 10px 10px -54px auto;
  color: var(--white);
  background: var(--brand-blue);
  border-radius: var(--radius);
  font-size: 1.7rem;
  line-height: 1;
}

.dialog-content {
  display: grid;
  gap: 0;
  max-height: calc(100vh - 26px);
  overflow: auto;
}

.dialog-media {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: var(--gray-50);
}

.media-viewer {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.media-stage {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.media-viewer img,
.media-viewer video {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  background: var(--gray-100);
}

.media-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 52px;
  color: var(--white);
  background: rgba(22, 53, 114, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.media-nav--prev {
  left: 12px;
}

.media-nav--next {
  right: 12px;
}

.media-nav:hover,
.media-nav:focus-visible {
  background: var(--brand-blue);
  transform: translateY(-50%) scale(1.04);
}

.media-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 9px;
  color: var(--white);
  background: rgba(17, 17, 17, 0.62);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 900;
}

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

.gallery-item {
  position: relative;
  min-height: 112px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  outline: 0;
}

.gallery-item.is-active {
  border-color: var(--brand-yellow);
  box-shadow: 0 0 0 2px rgba(248, 195, 50, 0.55);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 2px;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: var(--gray-100);
}

.gallery-item span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 7px;
  color: var(--white);
  background: rgba(22, 53, 114, 0.86);
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 900;
}

.dialog-info {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 24px;
}

.dialog-info h2 {
  color: var(--brand-blue-dark);
  font-size: 2rem;
}

.dialog-info p {
  color: var(--ink-soft);
}

.dialog-price {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.price-pill {
  padding: 8px 10px;
  color: var(--ink);
  background: var(--brand-yellow);
  border-radius: var(--radius);
  font-weight: 900;
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.spec-list div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--gray-500);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.spec-list dd {
  color: var(--ink-soft);
  font-weight: 750;
}

.dialog-actions {
  display: grid;
  gap: 10px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-split] {
  opacity: 1;
  transform: none;
}

@media (min-width: 540px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

@media (min-width: 720px) {
  .section-pad {
    padding: 86px 0;
  }

  .section-head-row {
    display: flex;
  }

  .hero h1 {
    font-size: 3.6rem;
  }

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

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

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

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

  .finance-layout,
  .contact-layout,
  .about-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    padding: 0;
    color: var(--white);
    background: transparent;
    box-shadow: none;
  }

  .nav-links a {
    padding: 10px 9px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
  }

  .nav-links a[aria-current="page"] {
    color: var(--ink);
    background: var(--brand-yellow);
  }

  .nav-whatsapp {
    display: inline-flex;
  }

  .hero {
    min-height: 80vh;
    min-height: 80svh;
  }

  .hero-media {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    grid-template-rows: 1fr 1fr;
  }

  .hero-media img:first-child {
    grid-row: span 2;
  }

  .hero h1 {
    font-size: 4.15rem;
  }

  .page-hero h1 {
    font-size: 4rem;
  }

  .hero-copy {
    font-size: 1.16rem;
  }

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

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

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

  .catalog-tools {
    grid-template-columns: minmax(260px, 360px) 1fr;
    align-items: end;
  }

  .inventory-head {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

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

  .finance-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .about-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  }

  .dialog-content {
    grid-template-columns: minmax(0, 1.22fr) minmax(350px, 0.78fr);
  }

  .dialog-info {
    position: sticky;
    top: 0;
    max-height: calc(100vh - 26px);
    overflow: auto;
  }

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

@media (min-width: 1280px) {
  .section-head h2,
  .about h2,
  .contact-main h2 {
    font-size: 2.4rem;
  }

  .hero h1 {
    font-size: 4.7rem;
  }

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

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

@media (max-width: 600px) {
  body {
    color: #111111;
    background: #ffffff;
    background-image: linear-gradient(#ffffff, #ffffff);
  }

  .nav-shell {
    width: min(calc(100% - 24px), 366px);
    margin-left: 12px;
    margin-right: auto;
  }

  .site-header {
    background: #254c9d;
    background-image: linear-gradient(#254c9d, #254c9d);
    box-shadow: 0 2px 0 rgba(248, 195, 50, 0.65);
  }

  .nav-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.38);
  }

  .advantages,
  .about,
  .inventory,
  .dialog-media {
    background: #f7f8fb;
    background-image: linear-gradient(#f7f8fb, #f7f8fb);
  }

  .featured,
  .recent,
  .contact,
  .vehicle-card__body,
  .about-visual div,
  .media-viewer,
  .gallery-item {
    background: #ffffff;
    background-image: linear-gradient(#ffffff, #ffffff);
  }

  .advantage-card,
  .vehicle-card,
  .recent-card,
  .contact-card,
  .finance-card,
  .about-visual,
  .about-value,
  .finance-steps article {
    color: #111111;
    background: #ffffff;
    background-image: linear-gradient(#ffffff, #ffffff);
    border-color: rgba(37, 76, 157, 0.16);
    box-shadow: 0 12px 28px rgba(17, 32, 65, 0.08);
    -webkit-text-fill-color: #111111;
  }

  .section-head h2,
  .advantage-card h3,
  .vehicle-card h3,
  .recent-card h3,
  .about h2,
  .about-value h3,
  .contact-main h2 {
    color: #163572;
    -webkit-text-fill-color: #163572;
  }

  .section-head p,
  .advantage-card p,
  .vehicle-facts em,
  .recent-card p,
  .about-story,
  .about-value p,
  .contact-main p,
  .contact-card dd {
    color: #4f596b;
    -webkit-text-fill-color: #4f596b;
  }

  .eyebrow,
  .text-link,
  .vehicle-price,
  .contact-card dt,
  .contact-card a {
    color: #254c9d;
    -webkit-text-fill-color: #254c9d;
  }

  .catalog-tools {
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .search-box {
    gap: 5px;
  }

  .search-box input {
    min-height: 46px;
    padding-inline: 12px;
    font-size: 0.98rem;
  }

  .filter-pills {
    flex-wrap: nowrap;
    gap: 8px;
    margin-inline: -12px;
    padding: 0 12px 5px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .filter-pills::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    flex: 0 0 auto;
    min-height: 42px;
    max-width: 84vw;
    padding: 8px 14px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .advantage-card span,
  .vehicle-card__badge,
  .filter-pill.is-active {
    color: #111111;
    background: #f8c332;
    background-image: linear-gradient(#f8c332, #f8c332);
    -webkit-text-fill-color: #111111;
  }

  .vehicle-facts span,
  .search-box input,
  .vehicle-card__media,
  .recent-card img,
  .media-viewer img,
  .media-viewer video,
  .gallery-item img,
  .gallery-item video {
    background: #f5f5f5;
    background-image: linear-gradient(#f5f5f5, #f5f5f5);
  }

  .hero-inner {
    width: min(100% - 32px, 358px);
    margin-left: 16px;
    margin-right: auto;
  }

  .hero h1 {
    max-width: 10.5ch;
    font-size: 2rem;
  }

  .page-hero-inner {
    width: min(100% - 32px, 358px);
    margin-left: 16px;
    margin-right: auto;
    padding: 68px 0 44px;
  }

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

  .page-hero-media img:nth-child(n+2) {
    display: none;
  }

  .page-hero h1 {
    max-width: 10ch;
    font-size: 2.2rem;
  }

  .page-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 330px;
  }

  .hero-copy {
    max-width: 34ch;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 330px;
  }

  .about-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 330px;
  }

  .hero-actions .btn {
    padding-inline: 12px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .hero-stats div {
    padding: 10px 8px;
  }

  .hero-stats dt {
    font-size: 1.08rem;
  }

  .hero-stats dd {
    font-size: 0.72rem;
  }

  .recent-card {
    grid-template-columns: 1fr;
  }

  .recent-card img {
    width: 100%;
    height: 170px;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .media-nav {
    width: 38px;
    height: 48px;
  }

  .media-nav--prev {
    left: 8px;
  }

  .media-nav--next {
    right: 8px;
  }
}

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