:root {
  --container-max: 80rem;
  --section-space: clamp(4rem, 6vw, 6rem);
  --radius-card: 0.875rem;
  --border-subtle: #e2e5e9;
  --shadow-card: 0 0.5rem 1.5rem rgba(15, 23, 32, 0.06);
  --text-primary: #171b22;
  --text-muted: #5f6875;
  --surface: #fff;
  --surface-alt: #f5f6f7;
  --accent-premium: #c99a4a;
}

body > .bg-primary:first-of-type {
  background: #12171e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body > .bg-primary:first-of-type > .container {
  display: block;
  max-width: var(--container-max);
  min-height: 2.25rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  flex-wrap: wrap;
  color: #e8ebef;
  font-size: 0.8125rem;
  line-height: 1.4;
}

body > .bg-primary:first-of-type > .container > div {
  display: inline-flex;
  margin-right: 0.4rem;
  vertical-align: -0.18em;
}

body > .bg-primary:first-of-type a {
  color: #f0c979;
  text-underline-offset: 0.18em;
}

body > .bg-primary:first-of-type a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

body > header.bg-white {
  z-index: 60;
  background: #070b10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body > header > .container,
body > .premium-hero-section + section > .container,
body > .premium-hero-section + section + section > .container,
body > .premium-hero-section + section + section + section > .container,
body > footer > .container {
  max-width: var(--container-max);
}

body > header > .container {
  min-height: 4.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

body > header nav.hidden a {
  position: relative;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 190ms ease;
}

body > header nav.hidden a::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 1px;
  background: var(--accent-premium);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 190ms ease;
}

body > header nav.hidden a:hover {
  color: #fff;
}

body > header nav.hidden a:hover::after {
  transform: scaleX(1);
}

body > header a:focus-visible,
body > header button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

body > header #mobile-menu-button {
  width: 2.75rem;
  height: 2.75rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.625rem;
  background: #111820;
  transition: background-color 190ms ease, border-color 190ms ease;
}

body > header #mobile-menu-button:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: #18212b;
}

body > header #mobile-menu {
  overflow: hidden;
  background: #0b1016;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top-color: rgba(255, 255, 255, 0.14);
  border-radius: 0 0 0.75rem 0.75rem;
  box-shadow: 0 1rem 2.25rem rgba(0, 0, 0, 0.22);
}

body > header #mobile-menu nav {
  gap: 0.25rem;
}

body > header #mobile-menu nav a {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  margin: 0;
  padding: 0.625rem 0.75rem;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 0.5rem;
  transition: color 190ms ease, background-color 190ms ease;
}

body > header #mobile-menu nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

body > .premium-hero-section + section,
body > .premium-hero-section + section + section,
body > .premium-hero-section + section + section + section {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

body > .premium-hero-section + section {
  background: var(--surface-alt);
  border-top: 1px solid #eceef1;
}

body > .premium-hero-section + section + section {
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
}

body > .premium-hero-section + section + section + section {
  background: #11161d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body > .premium-hero-section + section h2,
body > .premium-hero-section + section + section h2,
body > .premium-hero-section + section + section + section h2 {
  color: var(--text-primary);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

body > .premium-hero-section + section h2::after,
body > .premium-hero-section + section + section h2::after {
  display: block;
  width: 2.5rem;
  height: 2px;
  margin: 1rem auto 0;
  background: var(--accent-premium);
  content: "";
}

body > .premium-hero-section + section h2 + p,
body > .premium-hero-section + section + section h2 + p,
body > .premium-hero-section + section + section + section h2 + p {
  max-width: 46rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

body > .premium-hero-section + section > .container > .mb-8,
body > .premium-hero-section + section + section > .container > .text-center {
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

body > .premium-hero-section + section > .container > .grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 1.5rem;
}

body > .premium-hero-section + section .car-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transform: none;
  transition: transform 210ms ease, border-color 210ms ease, box-shadow 210ms ease;
}

body > .premium-hero-section + section .car-card > .relative:first-child {
  display: flex;
  aspect-ratio: 16 / 10;
  flex: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f1f3f5;
  border-bottom: 1px solid #eceef1;
}

body > .premium-hero-section + section .car-card > .relative:first-child > img {
  width: 100%;
  height: 100%;
  padding: 0.625rem 0.5rem 0.25rem;
  object-fit: contain;
  object-position: center;
  transform: scale(1);
  transition: transform 210ms ease;
}

body > .premium-hero-section + section .car-card > .relative:first-child > .absolute {
  border: 1px solid rgba(23, 27, 34, 0.1);
  box-shadow: 0 0.25rem 0.75rem rgba(15, 23, 32, 0.08);
}

body > .premium-hero-section + section .car-card > div:last-child {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

body > .premium-hero-section + section .car-card h3 {
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.018em;
}

body > .premium-hero-section + section .car-card h3 + p {
  margin-top: 0.25rem;
  color: var(--text-muted);
  line-height: 1.45;
}

body > .premium-hero-section + section .car-card > div:last-child > div:nth-child(2) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 0.75rem;
  margin-bottom: 1rem;
  color: #68717e;
}

body > .premium-hero-section + section .car-card > div:last-child > div:nth-child(2) > div {
  margin: 0;
}

body > .premium-hero-section + section .car-card > div:last-child > div:nth-child(3) {
  margin-top: auto;
  margin-bottom: 0.75rem;
  gap: 0.625rem;
}

body > .premium-hero-section + section .car-card > div:last-child > div:nth-child(3) > div {
  padding: 0.625rem 0.5rem;
  background: #f7f8f9;
  border: 1px solid #eceef1;
  border-radius: 0.625rem;
}

body > .premium-hero-section + section .car-card > div:last-child > div:nth-child(3) > div:first-child {
  background: #fff5f4;
  border-color: #f2d1ce;
}

body > .premium-hero-section + section .car-card > div:last-child > div:nth-child(3) p:first-child {
  color: #68717e;
  font-size: 0.6875rem;
  letter-spacing: 0.015em;
}

body > .premium-hero-section + section .car-card > div:last-child > div:nth-child(3) p:last-child {
  margin-top: 0.125rem;
  color: var(--text-primary);
  font-size: 1.0625rem;
  line-height: 1.3;
}

body > .premium-hero-section + section .car-card > div:last-child > div:nth-child(3) > div:first-child p:last-child {
  color: #d9342b;
}

body > .premium-hero-section + section .car-card > div:last-child > div:nth-child(4) {
  margin-bottom: 0.75rem;
  padding: 0.625rem;
  background: #f7f8f9;
  border: 1px solid #eceef1;
  border-radius: 0.625rem;
}

body > .premium-hero-section + section .car-card > div:last-child > div:nth-child(4) p {
  color: #626b77;
  line-height: 1.4;
}

body > .premium-hero-section + section .car-card > div:last-child > div:nth-child(5) {
  gap: 0.625rem;
}

body > .premium-hero-section + section .car-card > div:last-child > div:nth-child(5) a {
  min-height: 2.875rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 0.625rem;
  box-shadow: none;
  transition: transform 190ms ease, background-color 190ms ease, border-color 190ms ease;
}

body > .premium-hero-section + section .car-card > div:last-child > div:nth-child(5) a[href^="tel:"] {
  background: #191e25;
  border-color: #191e25;
}

body > .premium-hero-section + section .car-card > div:last-child > div:nth-child(5) a[href^="https://wa.me/"] {
  background: #216f4a;
  border-color: #216f4a;
}

body > .premium-hero-section + section .car-card a:focus-visible {
  outline: 2px solid #171b22;
  outline-offset: 3px;
}

body > .premium-hero-section + section + section > .container > .grid > div {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: 0 0.375rem 1.25rem rgba(15, 23, 32, 0.045);
}

body > .premium-hero-section + section + section + section h2,
body > .premium-hero-section + section + section + section h2 + p {
  color: #fff;
}

body > .premium-hero-section + section + section + section h2 + p {
  color: rgba(255, 255, 255, 0.76);
}

body > .premium-hero-section + section + section + section a:focus-visible,
body > footer a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  body > .premium-hero-section + section .car-card:hover {
    border-color: #cbd0d6;
    box-shadow: 0 0.875rem 2rem rgba(15, 23, 32, 0.09);
    transform: translateY(-2px);
  }

  body > .premium-hero-section + section .car-card:hover > .relative:first-child > img {
    transform: scale(1.02);
  }

  body > .premium-hero-section + section .car-card > div:last-child > div:nth-child(5) a:hover {
    transform: translateY(-1px);
  }

  body > .premium-hero-section + section .car-card > div:last-child > div:nth-child(5) a[href^="tel:"]:hover {
    background: #252b34;
    border-color: #303844;
  }

  body > .premium-hero-section + section .car-card > div:last-child > div:nth-child(5) a[href^="https://wa.me/"]:hover {
    background: #195d3d;
    border-color: #247b50;
  }
}

@media (min-width: 640px) {
  body > .premium-hero-section + section > .container > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  body > .premium-hero-section + section > .container > .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  body > .premium-hero-section + section > .container > .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  :root {
    --section-space: 3.5rem;
  }

  body > header > .container {
    min-height: 4.5rem;
  }

  body > .premium-hero-section + section > .container > .grid {
    gap: 1.125rem;
  }

  body > .premium-hero-section + section .car-card > div:last-child {
    padding: 1.125rem;
  }
}

@media (max-width: 359px) {
  body > .bg-primary:first-of-type > .container {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    font-size: 0.75rem;
  }

  body > .premium-hero-section + section .car-card > div:last-child > div:nth-child(5) {
    gap: 0.5rem;
  }

  body > .premium-hero-section + section .car-card > div:last-child > div:nth-child(5) a {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    font-size: 0.8125rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body > header nav.hidden a,
  body > header nav.hidden a::after,
  body > header #mobile-menu-button,
  body > header #mobile-menu nav a,
  body > .premium-hero-section + section .car-card,
  body > .premium-hero-section + section .car-card > .relative:first-child > img,
  body > .premium-hero-section + section .car-card > div:last-child > div:nth-child(5) a {
    transition: none;
  }

  body > .premium-hero-section + section .car-card:hover,
  body > .premium-hero-section + section .car-card:hover > .relative:first-child > img,
  body > .premium-hero-section + section .car-card > div:last-child > div:nth-child(5) a:hover {
    transform: none;
  }
}
