/* TryCar - Carent-inspired layout, TRY/CAR branding */

:root {
  --yellow: #d4af37;
  --gold: #d4af37;
  --gold-soft: #c9a227;
  --ink: #f4efe3;
  --body: #cfc6b4;
  --muted: #9a9180;
  --line: rgba(212, 175, 55, 0.28);
  --soft: #141414;
  --white: #0a0a0a;
  --surface: #111111;
  --radius: 10px;
  --container: 1200px;
  --container-wide: 1460px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--body);
  background: #0a0a0a;
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, .heading-lg {
  font-family: "Instrument Sans", Inter, sans-serif;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 0.4em;
}
h1, .heading-lg { font-size: clamp(40px, 6vw, 64px); line-height: 1.1; }
h2 { font-size: clamp(28px, 3vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.lead { font-size: 18px; color: var(--body); max-width: 46rem; }
.eyebrow { color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; font-weight: 600; margin-bottom: 8px; }

.container, .container-full {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
.container-full { width: min(100% - 32px, var(--container-wide)); }

.btn, .button-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #0a0a0a;
  border: 0;
  border-radius: var(--radius);
  padding: 14px 20px;
  font: 500 18px Inter, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover, .button-submit:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.btn-nav { padding: 10px 16px; font-size: 15px; }
.wa-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
}
.wa-link:hover { transform: translateY(-1px); opacity: .92; }
.icon-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 0;
}
.icon-whatsapp img { width: 28px; height: 28px; display: block; object-fit: contain; }
.wa-link-header .icon-whatsapp img { width: 28px; height: 28px; }
.wa-link-car .icon-whatsapp img,
.wa-link-footer-lg .icon-whatsapp img,
.wa-link-contact .icon-whatsapp img { width: 40px; height: 40px; }
.wa-link-footer .icon-whatsapp img { width: 32px; height: 32px; }
.wa-link-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.wa-link-fab .icon-whatsapp img { width: 56px; height: 56px; }

/* Header */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #000000;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.grid-nav { position: relative; }
.grid-nav {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 76px;
  gap: 16px;
}
.brand, .custom-logo-link { display: flex; align-items: center; text-decoration: none; color: var(--ink); }
.header-logo, .custom-logo { height: 100px; width: auto; }
.right-nav { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.nav-menu { display: flex; align-items: center; gap: 8px 22px; }
.nav-menu ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-menu a, .nav-link {
  text-decoration: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}
.nav-menu .current-menu-item > a,
.nav-link.current-menu-item { color: var(--gold); }
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.lang-switch a { text-decoration: none; color: var(--muted); }
.lang-switch a.is-active { color: var(--gold); }
.menu-button {
  display: none;
  width: 32px;
  height: 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  cursor: pointer;
}
.menu-button span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 0;
  transition: width .2s ease, transform .2s ease, opacity .2s ease;
}
.menu-button span:nth-child(1) { width: 42%; }
.menu-button span:nth-child(2) { width: 70%; }
.menu-button span:nth-child(3) { width: 100%; }
.menu-button.is-open span:nth-child(1) {
  width: 100%;
  transform: translateY(10px) rotate(45deg);
}
.menu-button.is-open span:nth-child(2) {
  width: 100%;
  opacity: 0;
}
.menu-button.is-open span:nth-child(3) {
  width: 100%;
  transform: translateY(-10px) rotate(-45deg);
}

/* Hero – photo keeps natural proportions (no stretch), car on right, left blur on photo */
.hero {
  position: relative;
  width: 100%;
  min-height: clamp(460px, 56.25vw, 720px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #050505;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #050505;
}
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
/* Blurs the actual photo underneath – fades out toward the car */
.hero-blur {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(62%, 820px);
  z-index: 1;
  pointer-events: none;
  backdrop-filter: blur(28px) saturate(0.2);
  -webkit-backdrop-filter: blur(28px) saturate(0.2);
  background: linear-gradient(
    90deg,
    #000000 0%,
    rgba(0, 0, 0, 0.96) 48%,
    rgba(0, 0, 0, 0.45) 74%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 48%, rgba(0, 0, 0, 0.45) 72%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 48%, rgba(0, 0, 0, 0.45) 72%, transparent 100%);
}
/* Near-black left overlay – no gold wash */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.97) 0%,
      rgba(0, 0, 0, 0.9) 36%,
      rgba(0, 0, 0, 0.35) 54%,
      transparent 70%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, transparent 35%, rgba(0, 0, 0, 0.28) 100%);
}
.hero-inner {
  position: relative;
  z-index: 3;
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  padding: 48px 0;
}
.hero-content {
  max-width: 40rem;
  margin: 0;
  text-align: left;
  animation: hero-rise .95s cubic-bezier(.22,1,.36,1) both;
}
.hero h1 {
  color: #fff;
  margin: 0 0 16px;
  text-shadow: 0 10px 32px rgba(0,0,0,.45);
  letter-spacing: -0.04em;
}
.hero .lead {
  color: rgba(244, 239, 227, 0.92);
  max-width: 38rem;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.55;
  margin: 0;
  text-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-btn-secondary {
  border-color: rgba(255,255,255,.42);
  color: #fff;
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(8px);
}
.hero-btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(0,0,0,.4);
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-content { animation: none; transform: none; opacity: 1; }
}
@media (max-width: 720px) {
  .hero {
    min-height: 560px;
  }
  .hero-media img {
    object-fit: cover;
    object-position: 80% 50%;
  }
  .hero-blur {
    width: 100%;
    backdrop-filter: blur(16px) saturate(0.4);
    -webkit-backdrop-filter: blur(16px) saturate(0.4);
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.28) 40%,
      transparent 68%
    );
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 24%, rgba(0, 0, 0, 0.35) 52%, transparent 74%);
    mask-image: linear-gradient(180deg, #000 0%, #000 24%, rgba(0, 0, 0, 0.35) 52%, transparent 74%);
  }
  .hero-veil {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.28) 38%,
      rgba(0, 0, 0, 0.06) 60%,
      transparent 82%
    );
  }
}
.page-hero, .contact-hero { padding: 48px 0 24px; }
.section { padding: 72px 0; }
.section-soft { background: var(--soft); }
.section-head { margin-bottom: 32px; }
.section-title-lg { margin-bottom: 36px; }
.center-cta {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}
.center-cta .btn {
  display: inline-flex;
  margin-left: auto;
  margin-right: auto;
}

.features-grid, .steps-grid, .cars-grid, .reviews-grid, .gallery-grid {
  display: grid;
  gap: 24px;
}
.features-grid { grid-template-columns: repeat(4, 1fr); }
.steps-grid { grid-template-columns: repeat(3, 1fr); }
.cars-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }

.features {
  background:
    linear-gradient(180deg, #0c0c0c 0%, #111 50%, #0c0c0c 100%);
}
.features-grid {
  gap: 0;
}
.feature-item {
  position: relative;
  padding: 8px 28px 8px 0;
  margin: 0;
}
.feature-item:not(:last-child) {
  border-right: 1px solid rgba(212, 175, 55, 0.16);
  padding-right: 28px;
  margin-right: 28px;
}
.feature-index {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: "Instrument Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.06);
  color: var(--gold);
}
.feature-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.feature-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--ink);
}
.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  max-width: 26ch;
}
.feature-item:hover .feature-icon {
  background: rgba(212, 175, 55, 0.14);
  border-color: var(--gold);
}
@media (max-width: 980px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }
  .feature-item,
  .feature-item:not(:last-child) {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
  }
  .feature-item:nth-child(odd) {
    border-right: 1px solid rgba(212, 175, 55, 0.16);
    padding-right: 24px;
  }
  .feature-item p { max-width: none; }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; gap: 28px; }
  .feature-item:nth-child(odd) {
    border-right: 0;
    padding-right: 0;
  }
  .feature-item:not(:last-child) {
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.14);
  }
}
.card-slider {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}
.card-slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.card-slider-reviews .card-slider-track {
  grid-auto-columns: calc((100% - 36px) / 3);
}
.card-slider-track::-webkit-scrollbar { display: none; }
.card-slider-track > * {
  scroll-snap-align: start;
  min-width: 0;
}
.card-slider-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #141414;
  color: var(--gold);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  flex: 0 0 auto;
}
.card-slider-nav:hover {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
}
.card-slider-nav:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
@media (max-width: 980px) {
  .card-slider-track,
  .card-slider-reviews .card-slider-track { grid-auto-columns: calc((100% - 18px) / 2); }
}
@media (max-width: 640px) {
  .card-slider { grid-template-columns: 1fr; }
  .card-slider-nav { display: none; }
  .card-slider-track,
  .card-slider-reviews .card-slider-track { grid-auto-columns: 82%; gap: 14px; }
}
.reviews-grid { grid-template-columns: repeat(2, 1fr); }
.steps-grid article { padding-right: 12px; }
.contact-meta-icon-img { width: 28px; height: 28px; object-fit: contain; display: block; }
.about-photo { margin-bottom: 8px; border-radius: 16px; overflow: hidden; }
.about-photo img { display: block; width: 100%; height: auto; }
.step-num { display: block; color: var(--gold); font-weight: 600; margin-bottom: 10px; }

.car-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  transition: box-shadow .2s ease, transform .2s ease;
}
.car-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.car-card a { text-decoration: none; color: inherit; display: block; }
.car-card-media { aspect-ratio: 1 / 1; background: #141414; overflow: hidden; }
.car-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.car-card-body { padding: 14px 16px 16px; }
.car-card h3 { font-size: 18px; margin-bottom: 6px; }
.car-price { color: var(--muted); margin: 0 0 10px; font-size: 14px; }
.car-price strong { color: var(--ink); font-size: 18px; font-family: "Instrument Sans", sans-serif; }
.car-specs { display: flex; flex-wrap: wrap; gap: 6px 12px; list-style: none; padding: 0; margin: 0; font-size: 12px; color: var(--muted); }
.car-specs li { display: flex; align-items: center; gap: 5px; }
.car-specs svg { width: 14px; height: 14px; }

.review-card {
  margin: 0;
  padding: 28px;
  background: var(--soft);
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.12);
}
.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
  letter-spacing: 0;
}
.review-star {
  font-size: 16px;
  line-height: 1;
  color: rgba(212, 175, 55, 0.25);
}
.review-star.is-on { color: var(--gold); }
.review-card p { font-size: 18px; color: var(--ink); margin: 0 0 18px; }
.review-card footer { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 14px; align-items: center; }
.review-card footer strong { color: var(--ink); }

.section-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 50% 120%, rgba(212, 175, 55, 0.12), transparent 55%),
    linear-gradient(180deg, #0a0a0a 0%, #111 50%, #0a0a0a 100%);
  color: var(--body);
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  text-align: center;
}
.section-cta::before,
.section-cta::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  pointer-events: none;
  border: 1px solid rgba(212, 175, 55, 0.45);
  z-index: 1;
}
.section-cta::before {
  top: 28px;
  left: max(24px, calc(50% - 580px));
  border-right: 0;
  border-bottom: 0;
}
.section-cta::after {
  bottom: 28px;
  right: max(24px, calc(50% - 580px));
  border-left: 0;
  border-top: 0;
}
.cta-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  opacity: 0.55;
  z-index: 0;
}
.cta-glow-a {
  width: 280px;
  height: 280px;
  top: -80px;
  right: 8%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.35), transparent 70%);
  animation: cta-float 9s ease-in-out infinite;
}
.cta-glow-b {
  width: 220px;
  height: 220px;
  bottom: -60px;
  left: 10%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.28), transparent 70%);
  animation: cta-float 11s ease-in-out infinite reverse;
}
.section-cta h2 {
  color: var(--ink);
  position: relative;
}
.section-cta p {
  color: var(--body);
  max-width: 36rem;
  margin: 0 auto;
}
.cta-row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
}
.section-cta .btn {
  background: var(--gold);
  color: #0a0a0a;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35), 0 12px 40px rgba(212, 175, 55, 0.18);
}
.section-cta .btn:hover { filter: brightness(1.08); }
@keyframes cta-float {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50% { transform: translateY(18px); opacity: 0.7; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-glow-a, .cta-glow-b { animation: none; }
}

/* Contact - Carent layout */
.contact-hero-title-wrap { max-width: 720px; margin-bottom: 48px; }
.grid-contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.grid-contact-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
  margin-top: 24px;
}
.contact-meta-item { min-width: 0; }
.contact-meta-icon { display: inline-flex; width: 28px; height: 28px; color: var(--ink); margin-bottom: 12px; }
.contact-meta-icon svg { width: 28px; height: 28px; }
.contact-meta-title { font-weight: 600; color: var(--ink); margin-bottom: 8px; font-family: "Instrument Sans", sans-serif; }
.contact-meta-link-wrap { display: flex; flex-direction: column; gap: 4px; }
.contact-meta-link-wrap a, .contact-meta-content, .contact-meta-text-wrap { text-decoration: none; color: var(--body); }
.input-group { margin-bottom: 16px; }
.input-group label { display: block; margin-bottom: 6px; font-size: 15px; color: var(--ink); }
.input-group-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-input[data-date-range] {
  cursor: pointer;
}

/* Flatpickr – match TryCar dark UI */
.flatpickr-calendar {
  background: #1a1a1a;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  font-family: Inter, sans-serif;
}
.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-weekdays,
span.flatpickr-weekday,
.flatpickr-day {
  color: var(--ink);
  fill: var(--ink);
}
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  fill: var(--gold);
  color: var(--gold);
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
}
.flatpickr-day.inRange {
  background: rgba(201, 169, 98, 0.22);
  border-color: transparent;
  box-shadow: none;
  color: var(--ink);
}
.flatpickr-day:hover,
.flatpickr-day:focus {
  background: rgba(201, 169, 98, 0.35);
  border-color: transparent;
}
.flatpickr-day.today {
  border-color: var(--gold);
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  color: #555;
}
.form-input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 20px;
  font: 400 16px Inter, sans-serif;
  color: var(--ink);
  background: #161616;
}
.form-textarea { height: 140px; resize: vertical; }
.form-banner { padding: 14px 16px; border-radius: var(--radius); margin-bottom: 16px; }
.form-banner.is-ok { background: #e9fbf3; color: #0f7a4a; }
.form-banner.is-error { background: #fdecec; color: #b42318; }

.car-hero { padding: 32px 0 48px; }
.car-hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.car-hero-photo { display: grid; gap: 10px; }
.car-hero-stage {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #141414;
  aspect-ratio: 1 / 1;
}
.car-hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.car-hero-slide.is-active { opacity: 1; pointer-events: auto; }
.car-hero-stage img,
.car-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: rgba(10,10,10,.72);
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.gallery-nav.is-prev { left: 12px; }
.gallery-nav.is-next { right: 12px; }
.gallery-nav:hover { background: var(--gold); color: #0a0a0a; }
.car-hero-thumbs {
  display: grid;
  gap: 8px;
}
.car-hero-thumbs:not([data-slider]) .car-hero-thumbs-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 8px;
}
.car-hero-thumbs[data-slider] {
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 6px;
}
.car-hero-thumbs[data-slider] .car-hero-thumbs-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.car-hero-thumbs[data-slider] .car-hero-thumbs-track::-webkit-scrollbar {
  display: none;
}
.car-hero-thumbs[data-slider] .car-hero-thumb {
  flex: 0 0 calc((100% - 16px) / 3);
  max-width: calc((100% - 16px) / 3);
  scroll-snap-align: start;
}
.thumbs-nav {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.72);
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.thumbs-nav:hover {
  background: var(--gold);
  color: #0a0a0a;
}
.car-hero-thumb {
  padding: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #141414;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}
.car-hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.car-hero-thumb.is-active { border-color: var(--gold); }
.car-price-lg { font-family: "Instrument Sans", sans-serif; font-size: 48px; color: var(--ink); margin: 12px 0; font-weight: 500; }
.car-price-lg span { font-size: 18px; color: var(--muted); font-family: Inter, sans-serif; }
.car-specs-lg { margin-top: 28px; }
.book-call { margin-top: 16px; color: var(--muted); font-size: 15px; }
.feature-pills, .check-list, .price-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature-pills { grid-template-columns: repeat(2, 1fr); }
.feature-pills li, .check-list li { display: flex; gap: 8px; align-items: center; }
.price-list li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.price-list strong { color: var(--ink); font-weight: 600; white-space: nowrap; }
.feature-pills svg, .check-list svg { width: 18px; height: 18px; color: var(--gold); flex: 0 0 auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.gallery-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-item { border-radius: 12px; overflow: hidden; background: var(--soft); }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; }

.about-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 48px; }
.stats { display: grid; gap: 16px; }
.stats div { background: var(--soft); border-radius: 16px; padding: 22px; }
.stats strong { display: block; font-size: 36px; font-family: "Instrument Sans", sans-serif; color: var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-list summary { cursor: pointer; font-weight: 600; color: var(--ink); font-family: "Instrument Sans", sans-serif; font-size: 20px; }
.faq-list p { margin: 12px 0 0; }
.prose { max-width: 760px; }
.pagination { margin-top: 32px; }

.site-footer {
  background: #000;
  color: #9a9a9a;
  padding: 56px 0 28px;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand { margin-bottom: 40px; }
.site-footer .header-logo { filter: none; height: 100px; width: auto; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
  align-items: start;
}
.footer-heading {
  margin: 0 0 18px;
  color: #fff;
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer a {
  color: #bdbdbd;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.35;
  transition: color .15s ease;
}
.site-footer a:hover { color: #fff; }
.footer-contact span {
  display: block;
  font-size: 15px;
  line-height: 1.45;
  color: #bdbdbd;
}
.footer-phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-book {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.footer-btn {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 12px 16px;
  color: #fff;
}
.site-footer .btn.footer-btn {
  color: #fff;
}
.site-footer .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.site-footer .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}
.footer-copy {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #777;
}
.footer-copy p { margin: 0; }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { margin-bottom: 28px; }
}

@media (max-width: 980px) {
  .steps-grid, .grid-contact-form, .car-hero-grid, .two-col, .about-grid, .cta-row {
    grid-template-columns: 1fr;
  }
  .cars-grid, .reviews-grid, .gallery-grid, .feature-pills, .input-group-wrap, .grid-contact-hero {
    grid-template-columns: 1fr 1fr;
  }
  .menu-button { display: flex; }
  .btn-nav { display: none; }
  .wa-link-header { display: inline-flex; }
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-h, 100px);
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    background: #0a0a0a;
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 28px 24px 36px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: none;
    z-index: 60;
  }
  .nav-menu ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nav-menu a,
  .nav-menu .nav-link {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    font-size: 20px;
  }
  .nav-menu a:last-child,
  .nav-menu li:last-child a {
    border-bottom: 0;
  }
  .nav-menu.is-open { display: flex; }
  body.nav-open { overflow: hidden; }
  .navbar { --nav-h: 100px; }
}

@media (max-width: 640px) {
  .cars-grid, .reviews-grid, .gallery-grid, .feature-pills, .input-group-wrap, .grid-contact-hero {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 78vh; }
  .hero-media img { object-position: 84% 48%; }
  .page-hero, .contact-hero { padding-top: 28px; }
  .section { padding: 48px 0; }
}
