﻿.hero {
  position: relative;
  overflow: hidden;
  background: #030712;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(220,38,38,0.12);
  filter: blur(120px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6rem 0 8rem;
}
@media (min-width: 1024px) {
  .hero-content {
    padding: 8rem 0 10rem;
  }
}
.hero-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--primary);
  margin-bottom: 1rem;
}
.hero-title {
  color: var(--white);
  max-width: 56rem;
  margin: 0 auto 1.5rem;
}
.hero-subtitle {
  color: #9ca3af;
  font-size: 1.125rem;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}
.hero-search-section {
  position: relative;
  z-index: 10;
  margin-top: -4rem;
  padding: 0 1.5rem;
}
@media (min-width: 640px) {
  .hero-search-section {
    padding: 0 3rem;
  }
}
@media (min-width: 1024px) {
  .hero-search-section {
    padding: 0 5rem;
  }
}
.hero-search-wrapper {
  max-width: 64rem;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid #1f2937;
  background: #111827;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.6);
}
.hero-search-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.3);
}
@media (min-width: 1024px) {
  .hero-search-inner {
    flex-direction: row;
  }
}
.hero-search-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  flex: 1;
}
@media (min-width: 1024px) {
  .hero-search-fields {
    grid-template-columns: repeat(4, 1fr);
  }
}
.hero-search-field {
  position: relative;
  background: #ffffff;
  padding: 1rem 1.25rem;
  border-left: 1px solid #e5e7eb;
}
.hero-search-field:nth-child(odd) {
  border-left: none;
}
@media (min-width: 1024px) {
  .hero-search-field:nth-child(odd) {
    border-left: 1px solid #e5e7eb;
  }
  .hero-search-field:first-child {
    border-left: none;
  }
}
.hero-search-field:nth-child(n+3) {
  border-top: 1px solid #e5e7eb;
}
@media (min-width: 1024px) {
  .hero-search-field:nth-child(n+3) {
    border-top: none;
  }
}
.hero-search-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9ca3af;
}
.hero-search-control {
  position: relative;
}
.field-select {
  width: 100%;
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  padding-right: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1f2937;
  cursor: pointer;
  outline: none;
}
.field-select option {
  color: #1f2937;
  background: #ffffff;
}
.field-input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1f2937;
  outline: none;
}
.field-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}
.field-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}
.hero-search-chevron {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: #9ca3af;
  pointer-events: none;
}
.hero-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: var(--secondary);
  color: #ffffff;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.2s;
}
@media (min-width: 1024px) {
  .hero-search-btn {
    padding: 1rem 2rem;
  }
}
.hero-search-btn:hover {
  background: rgba(153,27,27,0.9);
}
.hero-search-icon {
  width: 1.25rem;
  height: 1.25rem;
}
.features-section {
  background: #111827;
  padding: 5rem 0;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: #030712;
  border: 1px solid rgba(220,38,38,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover {
  border-color: rgba(220,38,38,0.25);
  transform: translateY(-2px);
}
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(220,38,38,0.1);
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 {
  color: var(--white);
  margin-bottom: 0.75rem;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}
.stats-section {
  background: #030712;
  padding: 4.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; }
.stat-number {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.featured-section {
  background: #030712;
  padding: 5rem 0;
}
.search-section {
  background: #111827;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.search-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
}
.search-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.search-input-wrap {
  flex: 1;
  min-width: 220px;
  position: relative;
}
.search-input-wrap svg {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  pointer-events: none;
}
.search-input-wrap input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 1rem 0.65rem 2.75rem;
  color: var(--text);
  font-size: 0.9375rem;
  transition: border-color var(--transition);
  outline: none;
}
.search-input-wrap input::placeholder { color: var(--text-dim); }
.search-input-wrap input:focus { border-color: var(--primary); }
.vehicles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 600px)  { .vehicles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .vehicles-grid { grid-template-columns: repeat(3, 1fr); } }
.vehicle-card {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.16);
}
.vehicle-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.vehicle-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.vehicle-card:hover .vehicle-card-img img { transform: scale(1.05); }
.card-year-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.3rem 0.6rem;
  border-radius: 0.5rem;
  pointer-events: none;
  user-select: none;
}
.discount-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  background: #dc2626;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.3rem 0.55rem;
  border-radius: 0.375rem;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  pointer-events: none;
  user-select: none;
}
.reserved-badge {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  background: #d97706;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.3rem 0.6rem;
  border-radius: 0.375rem;
  letter-spacing: 0.03em;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  pointer-events: none;
  user-select: none;
}
.card-hover-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--secondary, #e58a00), var(--primary, #dc2626));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  pointer-events: none;
}
.vehicle-card:hover .card-hover-line {
  transform: scaleX(1);
}
.vehicle-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.vehicle-card-body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}
.card-specs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: #6b7280;
  margin-top: 0.25rem;
}
.card-spec {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.card-spec svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.card-spec-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d1d5db;
  flex-shrink: 0;
}
.vehicle-card-overlay {
  position: absolute;
  inset-x: 0;
  bottom: 0;
  background: transparent;
  padding: 4rem 1.25rem 1.25rem;
}
.vehicle-card-overlay h3 {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.25rem;
}
.vehicle-card-price-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}
.vehicle-card-price-row .price {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}
.vehicle-card-price-row .mileage {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}
.vehicle-card.dark {
  position: relative;
  background: transparent;
  border: none;
}
.vehicle-card.dark .vehicle-card-img { border-radius: var(--radius-lg); }
.vehicle-card.dark .vehicle-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 55%);
  pointer-events: none;
}
.vehicle-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
}
.vehicle-price .price-original {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
  display: block;
  margin-bottom: 0.1rem;
}
.vehicle-price.contact {
  color: var(--secondary);
  font-size: 0.875rem;
  font-weight: 600;
}
.inventory-page {
  background: #f9fafb;
  min-height: 100vh;
}
.inventory-hero {
  background: var(--primary);
  padding: 4rem 0 3.5rem;
}
.inventory-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0.75rem;
  line-height: 1.15;
}
.inventory-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.0625rem;
  margin-top: 0.5rem;
}
.inv-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
}
.inv-breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.inv-breadcrumb a:hover { color: #fff; }
.inv-breadcrumb svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.inv-breadcrumb span { color: #fff; }
.inv-tabs-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.inv-tabs {
  display: flex;
  gap: 0.5rem;
}
.inv-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #4b5563;
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}
.inv-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.inv-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(220,38,38,0.3);
}
.inventory-count {
  margin-left: auto;
  font-size: 0.875rem;
  color: #6b7280;
}
.inventory-count strong { color: #111827; font-weight: 600; }
.filter-bar {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.filter-search-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}
.filter-search-wrap {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.filter-search-wrap svg {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #9ca3af;
  pointer-events: none;
}
.filter-search-wrap input {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 0.6rem 0.875rem 0.6rem 2.5rem;
  font-size: 0.875rem;
  color: #374151;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.filter-search-wrap input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}
.filter-sort select {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 0.6rem 2rem 0.6rem 0.875rem;
  font-size: 0.875rem;
  color: #374151;
  appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24' stroke='%239ca3af' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19 9-7 7-7-7'/%3E%3C/svg%3E") no-repeat right 0.5rem center;
  cursor: pointer;
  outline: none;
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}
@media (min-width: 640px)  { .filter-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .filter-grid { grid-template-columns: repeat(6, 1fr); } }
.filter-group label,
.filter-label-sm {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}
.filter-select-wrap {
  position: relative;
}
.filter-select-wrap svg {
  position: absolute;
  right: 0.625rem;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: #9ca3af;
  pointer-events: none;
}
.filter-select-wrap select {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1.75rem 0.5rem 0.625rem;
  font-size: 0.8125rem;
  color: #374151;
  appearance: none;
  background: var(--white);
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition);
}
.filter-select-wrap select:focus { border-color: var(--primary); }
.inventory-count {
  color: #6b7280;
  font-size: 0.875rem;
  margin-left: auto;
}
.inventory-count strong { color: #111827; font-weight: 600; }
.inv-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 4rem;
}
.inv-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.inv-page-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.inv-page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(220,38,38,0.25);
}
.inv-page-arrow { padding: 0; min-width: 2.5rem; }
.inv-page-arrow svg { width: 1rem; height: 1rem; }
.vehicle-card.light {
  background: var(--white);
  border: 1px solid #f3f4f6;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  color: #111827;
}
.vehicle-card.light .vehicle-card-img {
  aspect-ratio: 16 / 10;
}
.vehicle-card.light:hover {
  border-color: rgba(220,38,38,0.2);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.18);
  transform: translateY(-4px);
}
.vehicle-card.light .vehicle-card-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}
.vehicle-card.light .vehicle-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.vehicle-card.light .spec-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: #6b7280;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.vehicle-card.light .spec-tag svg { width: 11px; height: 11px; }
.vehicle-card.light .vehicle-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-top: 0.5rem;
}
.vehicle-card.light .vehicle-price.contact {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
}
.vehicle-detail {
  background: #ffffff;
  min-height: 100vh;
}
.vehicle-detail-header {
  background: var(--white);
  border-bottom: 1px solid #e5e7eb;
  padding: 2rem 0;
}
.vehicle-detail-header h1 { color: #111827; }
.vehicle-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 0.75rem;
}
.vehicle-detail-meta span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: #6b7280;
}
.vehicle-detail-meta span svg { width: 15px; height: 15px; color: #9ca3af; }
.vehicle-detail-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 0 4rem;
}
@media (min-width: 1024px) {
  .vehicle-detail-content {
    grid-template-columns: 1fr 380px;
    align-items: start;
  }
}
.vehicle-description {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 1.5rem;
}
.vehicle-description h3 {
  color: #111827;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.vehicle-description p {
  color: #4b5563;
  font-size: 0.9375rem;
  line-height: 1.75;
}
.recently-sold-page {
  background: #f9fafb;
}
.sold-badge-overlay {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(0,0,0,0.75);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.about-page {
  background: var(--white);
}
.about-article {
  max-width: 48rem;
  color: #374151;
  font-family: var(--font-body);
  font-size: 0.9375rem;
}
.about-article h1,
.about-article h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.about-article h1 { font-size: 1.5rem; }
.about-article h2 { font-size: 1.2rem; }
.about-article p { margin-bottom: 1rem; line-height: 1.8; color: #374151; }
.about-article a { color: var(--primary); text-decoration: none; }
.about-article a:hover { text-decoration: underline; }
.about-article strong { font-weight: 700; color: #111827; }
.about-article ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.about-article li { margin-bottom: 0.5rem; line-height: 1.7; }
.policy-page {
  background: var(--white);
}
.policy-article {
  max-width: 52rem;
  color: #374151;
  font-family: var(--font-body);
  font-size: 0.9375rem;
}
.policy-article h1,
.policy-article h2,
.policy-article h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.policy-article h1 { font-size: 1.5rem; }
.policy-article h2 { font-size: 1.15rem; }
.policy-article h3 { font-size: 1rem; font-weight: 600; }
.policy-article p  { margin-bottom: 1rem; line-height: 1.8; font-size: 0.9375rem; color: #374151; }
.policy-article a { color: var(--primary); text-decoration: none; }
.policy-article a:hover { text-decoration: underline; }
.policy-article strong { font-weight: 700; color: #111827; }
.policy-article ul,
.policy-article ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.policy-article ul { list-style: disc; }
.policy-article ol { list-style: decimal; }
.policy-article li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  font-size: 0.9375rem;
  color: #374151;
}
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal-name-phone-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 480px) {
  .modal-name-phone-row { grid-template-columns: 1fr 1fr; }
}
.modal {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  width: 100%;
  max-width: 34rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  animation: modal-in 0.25s ease-out;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  background: #f3f4f6;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-close:hover { background: #e5e7eb; color: #374151; }
.modal-close svg { width: 1rem; height: 1rem; }
.modal-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(220,38,38,0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto 1rem;
  flex-shrink: 0;
}
.modal-icon svg { 
  width: 1.5rem; 
  height: 1.5rem;
}
.modal h3 { 
  color: var(--primary); 
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}
.modal .modal-sub { 
  color: #6b7280; 
  font-size: 0.9375rem; 
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.modal .form-group { margin-bottom: 1rem; }
.modal .form-group label { 
  color: #374151; 
  font-size: 0.875rem; 
  font-weight: 500; 
  display: block; 
  margin-bottom: 0.375rem;
}
.modal .form-group input,
.modal .form-group select,
.modal .form-group textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  color: #111827;
  background: #ffffff;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}
.modal .form-group input::placeholder,
.modal .form-group textarea::placeholder {
  color: #9ca3af;
}
.modal .form-group input:focus,
.modal .form-group select:focus,
.modal .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
  outline: none;
}
.modal .form-group textarea { 
  resize: vertical; 
  min-height: 110px;
  font-family: inherit;
  line-height: 1.5;
}
.phone-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.2s;
}
.phone-input-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}
.phone-prefix {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 0.75rem;
  border-right: 1px solid #d1d5db;
  background: #f9fafb;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151 !important;
  white-space: nowrap;
  flex-shrink: 0;
}
.phone-input-wrap input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 1;
  min-width: 0;
}
.phone-input-wrap input:focus {
  border: none !important;
  box-shadow: none !important;
  outline: none;
}
.modal .form-submit {
  margin-top: 1.25rem;
}
.modal-submit-btn {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.modal-submit-btn:hover {
  background: var(--primary-dark);
}
@media (max-width: 639px) {
  .hero { min-height: 80vh; }
  .hero-content { padding: 4rem 0 3rem; }
  .vehicle-detail-content { padding: 1.5rem 0 3rem; }
  .filter-bar { padding: 1.25rem; }
  .filter-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-thumb { width: 64px; height: 48px; }
  .detail-specs-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .modal { padding: 1.5rem; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .vehicle-detail-content { grid-template-columns: 1fr; }
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
}
@media (min-width: 1024px) {
  .detail-layout {
    grid-template-columns: 3fr 2fr;
    align-items: start;
  }
}
.detail-media { min-width: 0; }
.gallery {
  border-radius: 1rem;
  overflow: hidden;
  background: #f3f4f6;
}
.gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: #f3f4f6;
  cursor: zoom-in;
}
.gallery-main img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-main:hover img { transform: scale(1.02); }
.gallery-zoom-hint {
  position: absolute;
  top: 0.875rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  white-space: nowrap;
}
.gallery-main:hover .gallery-zoom-hint { opacity: 1; }
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  border: none;
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 2;
}
.gallery-nav:hover { background: rgba(0,0,0,0.8); }
.gallery-nav svg { width: 20px; height: 20px; }
.gallery-nav.prev { left: 0.75rem; }
.gallery-nav.next { right: 0.75rem; }
.gallery-counter {
  position: absolute;
  bottom: 0.875rem;
  left: 0.875rem;
  background: rgba(0,0,0,0.55);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-top: 0.625rem;
}
.gallery-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  border: none;
  outline: none;
  box-shadow: inset 0 0 0 0px var(--primary);
  transition: box-shadow var(--transition), opacity var(--transition);
  opacity: 0.6;
  padding: 0;
}
.gallery-thumb.active {
  box-shadow: inset 0 0 0 3px var(--primary);
  opacity: 1;
}
.gallery-thumb:hover { opacity: 0.9; }
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-section {
  margin-top: 1rem;
}
.video-section-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.video-section-title svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.video-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}
.video-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  background: #111;
  opacity: 0.85;
  transition: opacity var(--transition);
}
.video-thumb:hover { opacity: 1; }
.video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.38);
  transition: background var(--transition);
}
.video-thumb:hover .video-play-btn { background: rgba(0, 0, 0, 0.55); }
.video-play-btn svg {
  width: 36px;
  height: 36px;
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.6));
}
.vehicle-info-card {
  padding: 0;
  background: transparent;
  border: none;
}
.detail-title {
  color: #111827;
  font-size: clamp(1.35rem, 3vw, 1.875rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.detail-price-row {
  margin: 0.5rem 0 1rem;
}
.detail-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}
.detail-price.contact-price {
  font-size: 1.125rem;
  font-weight: 600;
  color: #6b7280;
}
.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: #f3f4f6;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}
.spec-pill svg { width: 14px; height: 14px; color: #6b7280; flex-shrink: 0; }
.detail-specs-grid {
  overflow: hidden;
  border-radius: 0.75rem;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  margin-bottom: 1.5rem;
}
.spec-row {
  display: contents;
}
.detail-specs-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.spec-cell {
  padding: 0.75rem 1.125rem;
  border-bottom: 1px solid #f3f4f6;
}
.spec-cell:nth-child(odd) { border-right: 1px solid #f3f4f6; }
.spec-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9ca3af;
  margin-bottom: 0.2rem;
}
.spec-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
}
.spec-cell.full { grid-column: 1 / -1; border-right: none; }
.vehicle-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.vehicle-cta-buttons .btn {
  width: 100%;
  justify-content: center;
  padding: 0.875rem;
  box-sizing: border-box;
  max-width: 100%;
}
.vehicle-cta-buttons .btn-buy-now {
  width: 100%;
  max-width: 100%;
}
.sold-detail-banner {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 0.625rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.detail-description {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 2rem;
}
.detail-description h2 {
  color: #111827;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.detail-description p {
  color: #4b5563;
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 0.875rem;
}
.detail-notice {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  padding: 1rem 1.125rem;
  margin-top: 1.25rem;
}
.detail-notice svg {
  width: 20px;
  height: 20px;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 1px;
}
.detail-notice div { display: flex; flex-direction: column; gap: 0.2rem; }
.detail-notice strong { font-size: 0.875rem; color: #15803d; font-weight: 600; }
.detail-notice span   { font-size: 0.8125rem; color: #4b5563; }
.vehicle-card.light a { text-decoration: none; }
.vehicle-card-body {
  padding: 1rem 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.vehicle-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  padding-top: 0.75rem;
  border-top: 1px solid #f3f4f6;
  margin-top: auto;
}
.vehicle-price .price-original {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #9ca3af;
  text-decoration: line-through;
  display: block;
  margin-bottom: 0.1rem;
}
.vehicle-price.contact {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #6b7280;
}
.sold-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(220,38,38,0.92);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  z-index: 2;
}
.vehicle-card.sold .vehicle-card-img img {
  filter: grayscale(40%);
}
.sold-price {
  color: #9ca3af;
  text-decoration: line-through;
}
.form-card-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}
.form-card-header h2 {
  color: #111827;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.form-card-header p {
  color: #6b7280;
  font-size: 0.9375rem;
}
.form-section-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 1.75rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f3f4f6;
}
.form-section-title:first-of-type { margin-top: 0; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}
.checkbox-label span {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.5;
}
.required {
  color: var(--primary);
  font-weight: 600;
}
.btn-lg {
  padding: 1rem 2.5rem !important;
  font-size: 1rem !important;
  width: 100%;
}
.policy-date {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin-bottom: 1.5rem;
}
.sold-grid { opacity: 0.85; }
.sold-grid .vehicle-card { cursor: default; }
.sold-grid .vehicle-card.light:hover {
  transform: none;
  box-shadow: none;
  border-color: #e5e7eb;
}
.sold-grid .vehicle-card.light:hover .view-btn {
  background: #f9fafb;
  color: #374151;
}
.reviews-section {
  background: var(--dark-surface, #0f0f0f);
  padding: 5rem 0;
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 640px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  background: #171717;
  border: 1px solid #2a2a2a;
  border-radius: 0.75rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s;
}
.review-card:hover { border-color: rgba(220,38,38,0.3); }
.review-stars {
  display: flex;
  gap: 0.2rem;
}
.review-stars svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--primary);
}
.review-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #d1d5db;
  flex: 1;
}
.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 0.75rem;
  border-top: 1px solid #2a2a2a;
}
.review-author strong {
  font-size: 0.875rem;
  color: #fff;
}
.review-author span {
  font-size: 0.75rem;
  color: #6b7280;
}
.review-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.review-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}
.review-modal-content {
  position: relative;
  background: #f9fafb;
  border-radius: 1.25rem;
  padding: 2.5rem;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.review-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.review-modal-close:hover {
  color: #374151;
}
.review-modal-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  .review-modal-content {
    padding: 1.5rem;
    max-height: 95vh;
  }
}
.inv-contact-section {
  background: #f9fafb;
  padding: 5rem 0 6rem;
}
.inv-contact-heading {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}
.inv-contact-heading h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--primary);
}
.inv-contact-heading p {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: #4b5563;
}
.inv-contact-form-wrap {
  max-width: 42rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.08);
  text-align: center;
}
@media (min-width: 640px) {
  .inv-contact-form-wrap { padding: 3rem 3.5rem; }
}
.inv-contact-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(220,38,38,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary);
}
.inv-contact-icon-wrap svg { width: 1.5rem; height: 1.5rem; }
.inv-contact-form-wrap h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}
.inv-contact-sub {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: #6b7280;
}
.inv-contact-form {
  margin-top: 1.75rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
.inv-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) {
  .inv-contact-row { grid-template-columns: 1fr; }
}
.inv-contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.inv-contact-field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}
.inv-contact-field input,
.inv-contact-field textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: #111827;
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.inv-contact-field input::placeholder,
.inv-contact-field textarea::placeholder { color: #9ca3af; }
.inv-contact-field input:focus,
.inv-contact-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}
.inv-contact-field textarea { resize: none; }
.inv-phone-wrap {
  display: flex;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.inv-phone-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}
.inv-phone-prefix {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0 0.75rem;
  background: #f9fafb;
  border-right: 1px solid #d1d5db;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
}
.inv-phone-wrap input {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  flex: 1;
}
.inv-contact-btn {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(220,38,38,0.25);
  transition: background 0.2s, transform 0.1s;
  margin-top: 0.25rem;
}
.inv-contact-btn:hover { background: var(--primary-dark); }
.inv-contact-btn:active { transform: scale(0.98); }
.min-h-screen bg-gray-50-page,
.bg-gray-50-page {
  background: #f9fafb;
  min-height: 100vh;
}
.sold-hero {
  background: var(--primary);
  padding: 4rem 0 3.5rem;
}
.sold-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0.75rem;
  line-height: 1.15;
}
.sold-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.0625rem;
  margin-top: 0.5rem;
  max-width: 40rem;
}
.sold-content-section {
  background: #f9fafb;
  padding: 3.5rem 0 5rem;
}
.sold-count {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 2.5rem;
}
.sold-badge-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: #dc2626;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  pointer-events: none;
}
.sold-price-wrap {
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}
.sold-price-strikethrough {
  font-size: 1.5rem;
  font-weight: 700;
  color: #9ca3af;
  text-decoration: line-through;
}
.sold-cta-block {
  margin-top: 5rem;
  background: var(--primary);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  .sold-cta-block { padding: 3.5rem; }
}
.sold-cta-block h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 700;
  color: #fff;
}
.sold-cta-block > p {
  margin: 1rem auto 0;
  max-width: 40rem;
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.sold-cta-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.sold-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--secondary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(153,27,27,0.4);
  transition: background 0.2s, transform 0.1s;
}
.sold-cta-btn-primary:hover {
  background: #7f1d1d;
  transform: scale(1.02);
}
.sold-cta-btn-outline {
  display: inline-flex;
  align-items: center;
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.sold-cta-btn-outline:hover { background: rgba(255,255,255,0.1); }
.sold-grid.vehicles-grid .vehicle-card { cursor: pointer; }
.sold-detail-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.2);
  color: var(--primary);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.25rem;
}
.sell-form-card {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,0.12);
}
@media (min-width: 640px) { .sell-form-card { padding: 2.5rem; } }
.sell-form-section { margin-bottom: 0; }
.sell-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.sell-section-header h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #111827;
}
.sell-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(220,38,38,0.08);
  color: var(--primary);
  flex-shrink: 0;
}
.sell-divider {
  height: 1px;
  background: #f3f4f6;
  margin: 2rem 0;
}
.sell-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 540px) { .sell-grid-2 { grid-template-columns: 1fr; } }
.sell-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.sell-field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}
.sell-field input,
.sell-field textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: #111827;
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
  font-family: inherit;
}
.sell-field input::placeholder,
.sell-field textarea::placeholder { color: #9ca3af; }
.sell-field input:focus,
.sell-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}
.sell-select-wrap {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sell-select-wrap select {
  width: 100%;
  flex: 1;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.625rem 2rem 0.625rem 1rem;
  font-size: 0.875rem;
  color: #111827;
  background: #fff;
  appearance: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.sell-select-wrap select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}
.sell-phone-wrap {
  display: flex;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.sell-phone-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}
.sell-phone-prefix {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0 0.75rem;
  background: #f9fafb;
  border-right: 1px solid #d1d5db;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
  flex-shrink: 0;
}
.sell-phone-wrap input {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  flex: 1;
}
.sell-submit-btn {
  width: 100%;
  margin-top: 0.5rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(220,38,38,0.25);
  transition: background 0.2s, transform 0.1s;
  font-family: inherit;
}
.sell-submit-btn:hover { background: var(--primary-dark); transform: scale(1.01); }
.sell-submit-btn:active { transform: scale(0.98); }
.fin-honeypot {
  display: none !important;
}
.fin-field-full {
  grid-column: 1 / -1;
}
.fin-ssn-note {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #9ca3af;
  margin: 0;
}
.fin-license-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.15s;
  flex: 1;
}
.fin-license-label:hover { border-color: var(--primary); }
.fin-license-label input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  border: 1px solid #d1d5db;
  cursor: pointer;
  accent-color: var(--primary);
  flex-shrink: 0;
}
.fin-security-notice {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  padding: 0.75rem 1rem;
}
.fin-security-notice p {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #1d4ed8;
  margin: 0;
  line-height: 1.5;
}