.hero { position: relative; overflow: hidden; }
.hero-media, .hero-video, .hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video, .hero-image { object-fit: cover; }
.hero-image { display: none; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2,6,23,.92), rgba(15,23,42,.72) 42%, rgba(15,23,42,.22)),
    linear-gradient(0deg, #0f172a 0%, transparent 34%);
}
@media (max-width: 768px) { .hero-video { display: none; } .hero-image { display: block; } }
.hero-search { border-radius: 2rem; padding: 1.5rem; align-self: end; }
.hero-search label, #contact label { display: grid; gap: .5rem; }
.hero-search label span, #contact label span {
  color: #94a3b8;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.market-strip { margin-top: -2rem; position: relative; z-index: 12; }
.strip-card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1.5rem;
  background: rgba(17,24,39,.82);
  padding: 1.2rem 1.4rem;
  backdrop-filter: blur(16px);
}
.strip-card strong { display: block; color: white; font-size: 2rem; font-weight: 800; line-height: 1; }
.strip-card span { color: #94a3b8; font-size: .88rem; }
.category-card {
  min-height: 9rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgba(17,24,39,.9), rgba(15,23,42,.72));
  padding: 1.4rem;
  color: white;
  display: flex;
  align-items: end;
  justify-content: space-between;
  font-weight: 800;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.category-card:hover { transform: translateY(-5px); border-color: rgba(59,130,246,.55); background: rgba(59,130,246,.14); }
.category-card svg { width: 1.5rem; height: 1.5rem; color: #60a5fa; }
#inventory { background: rgba(2,6,23,.25); }
.car-item { display: block; }
.car-item.hidden-item { display: none; }
.show-all .car-item.hidden-item { display: block; animation: reveal .45s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.car-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1.6rem;
  background: #111827;
  box-shadow: 0 20px 60px rgba(2,6,23,.28);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.car-card:hover { transform: translateY(-7px); border-color: rgba(59,130,246,.55); box-shadow: 0 30px 90px rgba(2,6,23,.42); }
.car-image-wrap { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #020617; }
.car-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.car-card:hover .car-image-wrap img { transform: scale(1.07); }
.car-badge, .favorite-btn, .car-view { position: absolute; z-index: 2; }
.car-badge {
  left: 1rem; top: 1rem;
  border-radius: 999px;
  background: rgba(2,6,23,.72);
  border: 1px solid rgba(255,255,255,.15);
  color: white;
  font-size: .78rem;
  font-weight: 800;
  padding: .45rem .75rem;
  backdrop-filter: blur(12px);
}
.favorite-btn {
  right: 1rem; top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem; height: 2.4rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(2,6,23,.62);
  color: white;
  backdrop-filter: blur(12px);
}
.car-view {
  left: 1rem; right: 1rem; bottom: 1rem;
  border-radius: 999px;
  background: rgba(59,130,246,.95);
  color: white;
  font-size: .82rem;
  font-weight: 800;
  padding: .75rem 1rem;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}
.car-card:hover .car-view { opacity: 1; transform: translateY(0); }
.car-card h3 { color: white; font-size: 1.12rem; font-weight: 800; line-height: 1.25; }
.car-card p { margin-top: .25rem; color: #94a3b8; font-size: .9rem; }
.car-card strong { color: #93c5fd; font-size: 1.12rem; white-space: nowrap; }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem; }
.spec-grid span { display: flex; align-items: center; gap: .45rem; min-width: 0; color: #cbd5e1; font-size: .86rem; }
.spec-grid svg { width: 1rem; height: 1rem; flex: none; color: #60a5fa; }
.trust-card {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(17,24,39,.9), rgba(15,23,42,.9));
  padding: 1.5rem;
  transition: transform .25s ease, border-color .25s ease;
}
.trust-card:hover { transform: translateY(-5px); border-color: rgba(59,130,246,.5); }
.trust-card svg { color: #60a5fa; width: 2rem; height: 2rem; }
.trust-card h3 { margin-top: 1.25rem; color: white; font-size: 1.08rem; font-weight: 800; }
.trust-card p { margin-top: .65rem; color: #94a3b8; line-height: 1.7; }
.about-media { position: relative; overflow: hidden; border-radius: 2rem; min-height: 34rem; border: 1px solid rgba(255,255,255,.1); }
.about-media img { width: 100%; height: 100%; min-height: 34rem; object-fit: cover; }
.about-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,6,23,.55), transparent); }
.about-float {
  position: absolute;
  left: 1.25rem; bottom: 1.25rem; z-index: 2;
  max-width: 14rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(2,6,23,.72);
  padding: 1.2rem;
  backdrop-filter: blur(14px);
}
.about-float strong { display: block; color: white; font-size: 2.5rem; font-weight: 800; line-height: 1; }
.about-float span { color: #cbd5e1; font-size: .88rem; }
.mini-stat { border: 1px solid rgba(255,255,255,.1); border-radius: 1.2rem; background: rgba(255,255,255,.04); padding: 1rem; }
.mini-stat strong { display: block; color: #93c5fd; font-size: 1.6rem; font-weight: 800; }
.mini-stat span { color: #94a3b8; font-size: .82rem; }
.cta-block { display: flex; flex-direction: column; gap: 2rem; padding: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 900px) { .cta-block { flex-direction: row; align-items: center; justify-content: space-between; } }
.contact-row {
  display: flex;
  gap: 1rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1.2rem;
  background: rgba(255,255,255,.04);
  padding: 1rem;
}
.contact-row > svg {
  flex: none;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 1rem;
  background: rgba(59,130,246,.14);
  color: #60a5fa;
  padding: .7rem;
}
.contact-row h4 { color: white; font-weight: 800; }
.contact-row p, .contact-row small { color: #94a3b8; line-height: 1.7; }
