.vehicle-grid,
.inventory-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vehicle-card,
.inventory-card,
.benefit-card,
.story-card,
.contact-card,
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.vehicle-card,
.inventory-card {
  color: inherit;
  display: block;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.vehicle-card:hover,
.inventory-card:hover {
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.vehicle-image-shell {
  align-items: center;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.86), rgba(31, 41, 55, 0.84)),
    radial-gradient(circle at 70% 35%, rgba(37, 99, 235, 0.35), transparent 30%);
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.vehicle-image-shell::before {
  color: rgba(255, 255, 255, 0.86);
  content: attr(data-image-label);
  font-size: clamp(1.1rem, 2.4vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  position: absolute;
  text-align: center;
  z-index: 1;
}

.vehicle-image-shell::after {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.62);
  content: attr(data-filename);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 7px 12px;
  position: absolute;
  z-index: 1;
}

.vehicle-image-shell img {
  aspect-ratio: 16 / 10;
  height: 100%;
  object-fit: cover;
  position: relative;
  transition: transform 0.45s ease;
  width: 100%;
  z-index: 2;
}

.vehicle-card:hover .vehicle-image-shell img,
.inventory-card:hover .vehicle-image-shell img {
  transform: scale(1.035);
}

.vehicle-body,
.inventory-body {
  padding: 24px;
}

.vehicle-title,
.inventory-title {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.vehicle-title span,
.inventory-title span,
.inventory-status {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vehicle-specs,
.inventory-specs {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0 22px;
}

.vehicle-specs span,
.inventory-specs span {
  background: #f5f7fa;
  border-radius: 12px;
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 9px 10px;
}

.compact-specs span {
  display: grid;
  gap: 2px;
}

.compact-specs small {
  color: #8a94a6;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vehicle-footer,
.inventory-footer {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.vehicle-footer strong,
.inventory-footer strong {
  color: var(--primary);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.benefit-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit-card,
.story-card,
.contact-card,
.contact-panel {
  padding: 30px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.benefit-card:hover,
.story-card:hover,
.contact-card:hover,
.contact-panel:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-icon {
  background: #edf4ff;
  border-radius: 999px;
  color: var(--accent);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 22px;
  padding: 8px 12px;
}

.benefit-card h3,
.story-card h2,
.contact-card h3 {
  margin-bottom: 12px;
}

.brand-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brand-grid span {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  color: var(--primary);
  display: flex;
  font-size: 1.05rem;
  font-weight: 900;
  justify-content: center;
  min-height: 96px;
  padding: 18px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.brand-grid span:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-3px);
}

.cta-section {
  padding-top: 0;
}

.cta-card {
  align-items: center;
  background: linear-gradient(135deg, #111111, #202938);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: flex;
  gap: 30px;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(34px, 6vw, 68px);
  position: relative;
}

.cta-card::after {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.36), transparent 62%);
  content: "";
  height: 320px;
  position: absolute;
  right: -120px;
  top: -110px;
  width: 320px;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card h2,
.cta-card p {
  color: #ffffff;
}

.cta-card p:not(.eyebrow) {
  margin-top: 14px;
  opacity: 0.72;
}

.inventory-toolbar {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(240px, 1fr) 1.7fr;
  margin-bottom: 22px;
  padding: 18px;
}

.search-label {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

#vehicle-search {
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary);
  min-height: 52px;
  padding: 0 18px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}

#vehicle-search:focus {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  outline: none;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.filter-button {
  background: #f5f7fa;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 800;
  min-height: 44px;
  padding: 0 16px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.filter-button:hover,
.filter-button.is-active {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-1px);
}

.inventory-meta {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.inventory-meta p {
  color: var(--primary);
  font-weight: 800;
}

.inventory-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.inventory-badges span {
  background: #f3f6fb;
  border-radius: 999px;
  color: #4b5563;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 7px 10px;
}

.inventory-status.available {
  color: #047857;
}

.inventory-status.reserved {
  color: #b45309;
}

.inventory-card .inventory-status,
.vehicle-detail-summary .inventory-status {
  background: #ecfdf3;
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  padding: 7px 10px;
}

.inventory-card .inventory-status.reserved,
.vehicle-detail-summary .inventory-status.reserved {
  background: #fffbeb;
}

.empty-state {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--primary);
  font-weight: 800;
  padding: 28px;
  text-align: center;
}

.split-layout {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: 0.95fr 1.05fr;
}

.split-layout p + p {
  margin-top: 16px;
}

.large-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  height: 520px;
  object-fit: cover;
  width: 100%;
}

.showroom-placeholder {
  align-items: center;
  background:
    linear-gradient(rgba(17, 17, 17, 0.72), rgba(17, 17, 17, 0.62)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 28px),
    linear-gradient(135deg, #111111, #243042);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.showroom-placeholder span {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.showroom-placeholder strong {
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.06em;
  line-height: 1;
  margin-top: 12px;
}

.values-layout {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats-section {
  padding-top: 70px;
}

.stats-grid {
  background: var(--primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.stats-grid div {
  background: linear-gradient(135deg, #151515, #1d2430);
  padding: 42px 24px;
  text-align: center;
}

.stats-grid strong {
  color: #ffffff;
  display: block;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.stats-grid span {
  color: rgba(255, 255, 255, 0.68);
  display: block;
  font-weight: 800;
  margin-top: 10px;
}

.contact-layout {
  align-items: start;
  display: grid;
  gap: 26px;
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-panel h2 {
  margin-bottom: 16px;
}

.contact-panel .btn {
  margin-top: 26px;
}

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

.map-section {
  padding-top: 0;
}

.map-placeholder {
  align-items: center;
  background:
    linear-gradient(rgba(17, 17, 17, 0.78), rgba(17, 17, 17, 0.72)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 24px),
    #1f2937;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: flex;
  min-height: 420px;
  overflow: hidden;
  padding: clamp(34px, 6vw, 70px);
}

.map-placeholder h2,
.map-placeholder p {
  color: #ffffff;
}

.map-placeholder p:not(.eyebrow) {
  max-width: 560px;
  opacity: 0.76;
}

.vehicle-detail-layout {
  align-items: stretch;
  display: grid;
  gap: 34px;
  grid-template-columns: 1.15fr 0.85fr;
}

.details-image {
  aspect-ratio: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  min-height: 560px;
}

.vehicle-detail-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(28px, 5vw, 46px);
}

.vehicle-detail-summary h2 {
  margin-top: 18px;
}

.detail-price {
  color: var(--primary);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 18px 0;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.detail-section {
  margin-top: 76px;
}

.detail-spec-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-spec {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 20px;
}

.detail-spec span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.detail-spec strong {
  color: var(--primary);
  font-size: 1.02rem;
}

.description-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(28px, 5vw, 46px);
}

.description-card h2 {
  margin-bottom: 16px;
}

.description-card .btn {
  margin-top: 28px;
}

.detail-empty {
  display: grid;
  gap: 16px;
  justify-items: center;
}
