/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #000;
}

.hero__poster {
  position: absolute;
  inset: 0;
  transform: scale(1.08);
  animation: heroDrift 28s ease-in-out infinite alternate;
}

.hero__video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero__video.is-playing {
  opacity: 1;
}

@keyframes heroDrift {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-1.5%, -1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__poster {
    animation: none;
    transform: scale(1.05);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.45) 0%, rgba(5, 5, 5, 0.2) 32%, rgba(5, 5, 5, 0.88) 100%),
    radial-gradient(ellipse at 68% 38%, transparent 0%, rgba(5, 5, 5, 0.5) 72%);
}

.hero__content {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin: 0 auto;
  padding-bottom: clamp(4.5rem, 10vw, 7rem);
  padding-top: calc(var(--nav-h) + 2rem);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 13vw, 9rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.86;
  max-width: 8ch;
  color: var(--text);
}

.hero__title .line:last-child span {
  color: var(--accent);
}

.hero__tagline {
  margin-top: 1.35rem;
  font-family: var(--font-editorial);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: rgba(247, 247, 245, 0.92);
}

.hero__sub {
  margin-top: 0.85rem;
  max-width: 30rem;
  font-size: clamp(0.98rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.72);
}

.hero .btn-group {
  margin-top: 2.1rem;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 2rem;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(var(--accent), transparent);
  transform-origin: top;
  animation: scrollPulse 2.2s var(--ease) infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    transform: scaleY(0.45);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (min-width: 900px) {
  .hero__scroll {
    display: flex;
  }
}

/* —— Featured —— horizontal showroom rail —— */
.featured__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

@media (min-width: 800px) {
  .featured__header {
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
  }

  .featured__header .section__lead {
    margin-top: 0;
    text-align: right;
  }
}

.featured__grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(16.5rem, 18.5rem);
  gap: 1.15rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-dim) transparent;
}

.featured__grid::-webkit-scrollbar {
  height: 4px;
}

.featured__grid::-webkit-scrollbar-thumb {
  background: var(--accent-dim);
}

.featured .car-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--light-surface, #fff);
  border: 1px solid var(--border);
  overflow: hidden;
  scroll-snap-align: start;
  transform-style: preserve-3d;
  color: inherit;
}

.featured .car-card:focus-within {
  outline: none;
  border-color: var(--accent);
}

.featured .car-card__media {
  aspect-ratio: 4 / 5;
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}

.featured .car-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #000;
  transition: transform 700ms var(--ease-out);
}

.featured .car-card:hover .car-card__media img {
  transform: scale(1.04);
}

.featured .car-card__body {
  display: grid;
  gap: 0.55rem;
  padding: 1.1rem 1.15rem 1.25rem;
  background: transparent;
  flex: 1;
  align-content: start;
}

.featured .car-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.86rem;
  max-width: none;
}

.featured .car-card__meta {
  justify-content: space-between;
  gap: 0.5rem;
}

.featured .car-card__specs {
  display: grid;
  gap: 0.25rem;
}

.featured .car-card__actions {
  margin-top: auto;
  padding-top: 0.35rem;
}

@media (min-width: 700px) {
  .featured__grid {
    grid-auto-columns: minmax(17.5rem, 19.5rem);
    gap: 1.25rem;
  }
}

@media (min-width: 1100px) {
  .featured__grid {
    grid-auto-columns: minmax(18.5rem, 20.5rem);
  }
}

.car-card__tag {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.car-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  color: var(--text);
}

.car-card__excerpt {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.car-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.car-card__specs {
  padding-top: 0.4rem;
  border-top: 1px solid var(--border);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.car-card__specs em {
  font-style: normal;
  color: var(--text);
  margin-right: 0.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.58rem;
}

.car-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.btn--sm {
  min-height: 2.45rem;
  padding: 0.55rem 0.95rem;
  font-size: 0.6rem;
}

/* —— Experience —— compact content-first —— */
.experience {
  padding-block: var(--section-y);
  border-block: 1px solid var(--border);
  background: var(--bg);
}

.experience__shell {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.experience__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: none;
  max-width: 40rem;
}

.experience__list {
  margin-top: 2rem;
  display: grid;
  gap: 0;
}

.experience__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  transition: color 0.25s ease, padding-left var(--duration-ui) var(--ease-out);
}

.experience__item:first-child {
  border-top: 1px solid var(--border);
}

.experience__item span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.experience__item:hover {
  color: var(--accent);
  padding-left: 0.4rem;
}

.experience__media {
  margin: 0;
  width: min(100%, 22rem);
  justify-self: start;
  overflow: hidden;
  background: #000;
  aspect-ratio: 4 / 5;
  max-height: 28rem;
}

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

@media (min-width: 900px) {
  .experience__shell {
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 22rem);
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }

  .experience__media {
    justify-self: end;
    width: 100%;
  }
}

/* —— Collections —— */
.collections__toolbar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

@media (min-width: 960px) {
  .collections__toolbar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2rem;
  }

  .collections__toolbar .filters {
    grid-column: 1 / -1;
  }
}

.filters {
  display: flex;
  gap: 0.15rem 1.35rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  position: relative;
  flex: 0 0 auto;
  min-height: 2.5rem;
  padding: 0.45rem 0;
  border: none;
  background: transparent;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--duration-hover) ease;
}

.filter-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.5rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-ui) var(--ease-out);
}

.filter-btn:hover {
  color: var(--text);
}

.filter-btn.is-active {
  color: var(--text);
}

.filter-btn.is-active::after {
  transform: scaleX(1);
}

.filter-btn:active {
  transform: scale(0.98);
}

.collections__grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
  position: relative;
}

@media (min-width: 640px) {
  .collections__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.collection-item {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  color: inherit;
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
}

.collection-item:focus-within {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

.collection-item.is-hidden {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
}

.collection-item__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
}

.collection-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #000;
  transition: transform 700ms var(--ease-out);
}

.collection-item:hover .collection-item__media img {
  transform: scale(1.035);
}

.collection-item__body {
  display: grid;
  gap: 0.55rem;
  padding: 1.15rem 1.2rem 1.35rem;
  flex: 1;
}

.collection-item__tag {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.collection-item__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
}

.collection-item__excerpt {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.collection-item__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.collection-item__price {
  margin-top: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.collection-item__specs {
  display: grid;
  gap: 0.3rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--border);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.collection-item__specs em {
  font-style: normal;
  color: var(--text);
  margin-right: 0.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.6rem;
}

.collection-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.collections__empty {
  margin-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* —— Showcase —— */
.showcase {
  padding-block: 0;
}

.showcase__row {
  display: grid;
  border-top: 1px solid var(--border);
}

.showcase__row:last-child {
  border-bottom: 1px solid var(--border);
}

.showcase__media {
  min-height: 55vh;
  overflow: hidden;
  background: #000;
}

.showcase__media img {
  width: 100%;
  height: 100%;
  min-height: 55vh;
  object-fit: cover;
  object-position: center;
  background: #000;
}

.showcase__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 5rem) var(--gutter);
  background: var(--bg);
}

.showcase__name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
}

.showcase__desc {
  margin-top: 1.15rem;
  max-width: 38ch;
  font-size: 1rem;
}

.showcase__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1.25rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.showcase__stat dt {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.showcase__stat dd {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  color: var(--text);
}

.showcase__cta {
  align-self: flex-start;
  margin-top: 2rem;
}

@media (min-width: 960px) {
  .showcase__row {
    grid-template-columns: 1.2fr 1fr;
    min-height: 85vh;
  }

  .showcase__row--reverse .showcase__media {
    order: 2;
  }

  .showcase__row--reverse .showcase__content {
    order: 1;
    border-right: 1px solid var(--border);
  }

  .showcase__row:not(.showcase__row--reverse) .showcase__content {
    border-left: 1px solid var(--border);
  }

  .showcase__media,
  .showcase__media img {
    min-height: 100%;
    height: 100%;
  }
}

.showcase__media--bw img {
  filter: grayscale(1) contrast(1.05);
}

/* —— Why —— */
.why__grid {
  display: grid;
  gap: 1px;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  background: var(--border);
  border: 1px solid var(--border);
}

@media (min-width: 700px) {
  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .why__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-card {
  background: var(--bg);
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.4rem, 3vw, 2rem);
  min-height: 15rem;
  transition: background 0.4s ease;
}

.why-card:hover {
  background: #0c0c0c;
}

.why-card__num {
  display: block;
  margin-bottom: 2.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.why-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: var(--text);
}

.why-card__text {
  font-size: 0.92rem;
  max-width: 28ch;
  color: var(--text-muted);
}

/* —— Testimonials —— */
.testimonials__grid {
  display: grid;
  gap: 0;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--border);
}

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

.testimonial {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 2rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  min-height: 100%;
}

@media (min-width: 800px) {
  .testimonial {
    border-bottom: none;
    border-right: 1px solid var(--border);
    padding: 2.25rem 1.75rem 1.75rem 0;
  }

  .testimonial:last-child {
    border-right: none;
    padding-right: 0;
  }

  .testimonial + .testimonial {
    padding-left: 1.75rem;
  }
}

.testimonial__quote {
  font-family: var(--font-editorial);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--text);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.testimonial__author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial__author span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* —— CTA —— */
.cta {
  position: relative;
  min-height: min(78vh, 700px);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.cta__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

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

.cta__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.55), rgba(5, 5, 5, 0.78)),
    radial-gradient(circle at center, transparent 0%, rgba(5, 5, 5, 0.6) 100%);
}

.cta__content {
  width: min(100% - (var(--gutter) * 2), 900px);
  padding-block: clamp(5rem, 12vw, 8rem);
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin-bottom: 2rem;
  color: var(--text);
  text-transform: none;
}

/* —— Footer —— */
.footer {
  border-top: 1px solid var(--border);
  padding-block: clamp(3.5rem, 8vw, 5.5rem) 2rem;
  background: #060910;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 700px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__brand span {
  color: var(--accent);
}

.footer__tagline {
  max-width: 28ch;
  font-size: 0.92rem;
}

.footer__col h3 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.footer__col a,
.footer__col p {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
  transition: color 0.3s ease;
}

.footer__col a:hover {
  color: var(--text);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (min-width: 700px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer__credit a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.footer__credit a:hover {
  border-bottom-color: var(--accent);
}

/* —— Contact —— */
.contact-form-section {
  border-top: 1px solid var(--border);
}

.contact-layout {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
}

@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-copy .section__lead {
  max-width: 36ch;
}

.contact-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  margin-top: 2rem;
}

.contact-assurances li {
  position: relative;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-assurances li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.85rem;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 560px;
}

.form-status {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--accent-dim);
  background: var(--accent-soft);
  color: inherit;
  font-size: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: normal;
  text-transform: none;
  transition: border-color var(--duration-hover) ease;
}

.contact-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form input:user-invalid,
.contact-form select:user-invalid {
  border-color: #c45c5c;
}

.contact-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
    linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* —— Light sections (white / soft gray) —— */
.section--light {
  --text: var(--light-text);
  --text-muted: var(--light-muted);
  --border: var(--light-border);
  --surface: var(--light-surface);
  --bg: var(--light-bg);
  background: var(--light-bg);
  color: var(--light-text);
}

.section--light .car-card,
.section--light .collection-item {
  background: transparent;
  border-color: var(--light-border);
}

.section--light .featured .car-card {
  background: var(--light-surface);
  border-color: var(--light-border);
}

.section--light .car-card__body,
.section--light .collection-item__body {
  background: transparent;
}

.section--light .section__title,
.section--light .car-card__name,
.section--light .collection-item__name,
.section--light .why-card__title,
.section--light .testimonial__quote,
.section--light .testimonial__author strong {
  color: var(--light-text);
}

.section--light .section__lead,
.section--light .car-card__excerpt,
.section--light .collection-item__excerpt,
.section--light .collection-item__price,
.section--light .why-card__text,
.section--light .contact-assurances li,
.section--light p {
  color: var(--light-muted);
}

.section--light .car-card__meta,
.section--light .collection-item__meta,
.section--light .car-card__specs,
.section--light .collection-item__specs {
  color: var(--light-muted);
  border-color: var(--light-border);
}

.section--light .car-card__specs em,
.section--light .collection-item__specs em {
  color: var(--light-text);
}

.section--light .btn--ghost {
  color: var(--light-text);
  border-color: rgba(11, 18, 32, 0.22);
}

.section--light .btn--ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.section--light .filters {
  border-bottom-color: var(--light-border);
}

.section--light .filter-btn {
  color: var(--light-muted);
}

.section--light .filter-btn:hover,
.section--light .filter-btn.is-active {
  color: var(--light-text);
}

.section--light .why__grid {
  background: var(--light-border);
  border-color: var(--light-border);
}

.section--light .why-card {
  background: var(--light-surface);
}

.section--light .why-card:hover {
  background: #eef3fa;
}

.section--light .contact-form input,
.section--light .contact-form textarea,
.section--light .contact-form select {
  background: var(--light-surface);
  border-color: var(--light-border);
  color: var(--light-text);
}

.section--light .btn--primary {
  color: #fff;
}

.section--light .featured__header .section__lead {
  color: var(--light-muted);
}

.section--light .collections__empty {
  color: var(--light-muted);
}

.section--light .form-status {
  color: var(--light-text);
}

/* —— Car detail modal —— */
.car-modal {
  padding: 0;
  border: none;
  background: transparent;
  max-width: min(1080px, calc(100vw - 2rem));
  width: 100%;
  margin: auto;
  color: var(--text);
  z-index: 100000;
}

.car-modal::backdrop {
  background: rgba(5, 7, 11, 0.72);
  backdrop-filter: blur(10px);
}

.car-modal[open] {
  animation: modalIn 200ms var(--ease-out);
}

.car-modal[open]::backdrop {
  animation: fadeIn 180ms ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.car-modal__panel {
  position: relative;
  display: grid;
  background: #0b1018;
  border: 1px solid var(--border);
  overflow: hidden;
  max-height: min(90vh, 860px);
  overflow-y: auto;
  pointer-events: auto;
  cursor: auto;
}

@media (min-width: 860px) {
  .car-modal__panel {
    grid-template-columns: 1.05fr 1fr;
    max-height: min(86vh, 780px);
    overflow: hidden;
  }
}

.car-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 7, 11, 0.55);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  transition:
    transform var(--duration-press) var(--ease-out),
    border-color var(--duration-hover) ease;
}

.car-modal__close:hover {
  border-color: var(--accent);
}

.car-modal__close:active {
  transform: scale(0.96);
}

.car-modal__media {
  background: #000;
  min-height: 220px;
}

.car-modal__media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

@media (min-width: 860px) {
  .car-modal__media,
  .car-modal__media img {
    min-height: 100%;
    height: 100%;
  }

  .car-modal__content {
    overflow-y: auto;
  }
}

.car-modal__content {
  padding: clamp(1.4rem, 3vw, 2.25rem);
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.car-modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: #fff;
}

.car-modal__summary {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
}

.car-modal__details {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.car-modal__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  margin: 0.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.car-modal__stat dt {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.car-modal__stat dd {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: #fff;
}

.car-modal__highlights {
  display: grid;
  gap: 0.45rem;
  margin: 0.35rem 0 0;
  padding: 0;
}

.car-modal__highlights li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.car-modal__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.car-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  .car-modal[open],
  .car-modal[open]::backdrop {
    animation: none;
  }
}
