/* ==============================
   Vehicle Detail Navigation Arrows
   (used by vehicle.html — do not remove)
   ============================== */
.nav-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}
.nav-arrow {
  pointer-events: all;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #ffffff;
  color: #374151;
  font-size: 1.5rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.nav-arrow:hover {
  opacity: 1;
  border-color: #c0392b;
}

/* ==============================
   DESIGN TOKENS
   ============================== */
:root {
  --navy: #0d1b2a;
  --red: #c0392b;
  --red-hover: #a93226;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --text: #1a2332;
  --text-muted: #64748b;
  --border: rgba(0,0,0,0.08);
  --card-shadow: 0 2px 12px rgba(0,0,0,0.07);
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container-max: 1280px;
  --radius: 6px;
}

/* ==============================
   RESET & BASE
   ============================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==============================
   HEADER / NAV
   ============================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-image {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.logo-text { display: flex; flex-direction: column; }

.logo-main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.logo-sub {
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-family: var(--font-body);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }

.header-social-link {
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.header-social-link:hover { color: var(--white); }

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.mobile-nav {
  display: none;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav.open { display: block; }

.mobile-nav-inner {
  padding: 0.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  color: rgba(255, 255, 255, 0.8);
  padding: 0.8rem 0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover { color: var(--white); }

@media (max-width: 768px) {
  .mobile-menu-toggle { display: flex; }
  .nav { display: none; }
}

/* ==============================
   BUTTONS
   ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  line-height: 1;
}

.btn:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

/* ==============================
   HERO
   ============================== */
.hero {
  background: var(--navy);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0px,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 60px
  );
  min-height: 520px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
}

.hero-watermark {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18vw;
  color: var(--white);
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-text { max-width: 580px; }

.hero-accent-bar {
  width: 48px;
  height: 4px;
  background: var(--red);
  margin-bottom: 1.25rem;
  border-radius: 2px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 3rem;
  flex-shrink: 0;
}

.hero-stat {
  text-align: center;
  padding: 1.25rem 0;
}

.hero-stat-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
  font-family: var(--font-body);
}

.hero-stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
}

.hero-stat-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.3);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-stats {
    flex-direction: row;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-left: 0;
    padding-top: 1.5rem;
    justify-content: space-around;
    width: 100%;
  }
  .hero-stat-divider { display: none; }
  .hero { padding: 3.5rem 0 3rem; }
}

/* ==============================
   SECTIONS
   ============================== */
.section { padding: 5rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ==============================
   INVENTORY
   ============================== */
.inventory-section { background: var(--white); }

.vehicle-grid, .car-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .vehicle-grid, .car-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .vehicle-grid, .car-grid { grid-template-columns: 1fr; }
}

.vehicle-card, .car-card {
  background: #111d2b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.vehicle-card:hover, .car-card:hover {
  transform: translateY(-4px);
  border-color: rgba(192, 57, 43, 0.5);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.vehicle-image-container, .car-image-wrap {
  position: relative;
  padding-top: 56.25%;
  background: #0a1520;
  overflow: hidden;
}

.vehicle-image, .car-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  gap: 0.4rem;
}

.badge {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

.badge-available { background: var(--red); color: var(--white); }
.badge-sold { background: #374151; color: rgba(255, 255, 255, 0.65); }
.badge-pending { background: #b45309; color: var(--white); }

.favorite-btn { display: none; }

.vehicle-content, .car-details {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.vehicle-meta {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.meta-icon {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.vehicle-title, .car-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.4rem;
  line-height: 1.15;
}

.vehicle-price, .car-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.vehicle-description, .car-description {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}

.vehicle-specs-mini, .car-mini-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.spec-mini-item { display: flex; flex-direction: column; gap: 0.1rem; }

.spec-mini-label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.spec-mini-value {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.vehicle-actions, .car-action {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.vehicle-actions .btn, .car-action .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
}

.dealer-badge { display: none; }
.btn-icon { display: none; }

/* ==============================
   EMPTY INVENTORY / SKELETON
   ============================== */
.empty-inventory {
  position: relative;
  min-height: 320px;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  opacity: 0.15;
  pointer-events: none;
  user-select: none;
}

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

.skeleton-card {
  background: #111d2b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
}

.skeleton-img {
  padding-top: 56.25%;
  background: rgba(255, 255, 255, 0.06);
}

.skeleton-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.skeleton-line {
  height: 12px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.skeleton-line.wide { width: 80%; }
.skeleton-line.medium { width: 55%; }
.skeleton-line.narrow { width: 35%; }

.empty-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  text-align: center;
}

.empty-overlay svg { color: var(--text-muted); margin-bottom: 0.25rem; }

.empty-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

.empty-overlay p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* ==============================
   REVIEWS
   ============================== */
.reviews-section { background: var(--off-white); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

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

.review-card {
  background: var(--white);
  border-radius: 8px;
  border-top: 2px solid var(--red);
  box-shadow: var(--card-shadow);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 0.75rem;
}

.star-icon {
  width: 16px;
  height: 16px;
  color: #f59e0b;
  flex-shrink: 0;
}

.review-text {
  font-style: italic;
  font-size: 0.93rem;
  color: #374151;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
}

.review-author { margin-bottom: 0.5rem; }

.review-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}

.review-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.review-vehicle {
  display: inline-block;
  background: #f1f5f9;
  color: #64748b;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  margin-top: 0.25rem;
}

.reviews-cta { text-align: center; }

/* ==============================
   WHY CHOOSE US
   ============================== */
.why-choose-section { background: var(--white); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

.feature-card {
  background: var(--white);
  border-left: 3px solid var(--red);
  padding: 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.2s ease, border-left-color 0.2s ease;
}

.feature-card:hover {
  border-left-color: var(--red-hover);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon-wrap {
  width: 40px;
  height: 40px;
  background: rgba(192, 57, 43, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.feature-description {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.55;
}

/* ==============================
   CONTACT
   ============================== */
.contact-section { background: var(--white); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1.5px solid #d1d5db;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.form-textarea { min-height: 130px; resize: vertical; }

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.form-feedback {
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
  display: none;
}

.form-feedback.show { display: block; }
.form-feedback.success { color: #16a34a; }
.form-feedback.error { color: #dc2626; }

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-info-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.65;
}

.contact-info-item a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.contact-info-item a:hover { color: var(--white); }

/* -- input icon wraps -- */
.input-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.form-input.has-icon,
.form-select.has-icon {
  padding-left: 2.5rem;
}

/* -- label hint -- */
.label-hint {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 0.4rem;
}

/* -- inline field errors -- */
.field-error {
  display: none;
  font-size: 0.78rem;
  color: #dc2626;
  margin-top: 0.3rem;
}

.field-error.visible { display: block; }

/* -- textarea footer (counter + error row) -- */
.textarea-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.3rem;
}

.char-counter {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: auto;
  white-space: nowrap;
}

.char-counter.near-limit { color: #f59e0b; }
.char-counter.at-limit { color: #dc2626; }

/* -- office hours block -- */
.contact-hours {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
}

.contact-hours-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.75rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.4rem;
}

.hours-row:last-child { margin-bottom: 0; }

.hours-row span:last-child {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* -- map link inside dark card -- */
.map-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.map-link:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ==============================
   FOOTER
   ============================== */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
  max-width: 280px;
}

.footer-badges-text {
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
}

.footer-col-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-link:hover { color: var(--white); }

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.55;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}

.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-bottom-location { color: rgba(255, 255, 255, 0.22); }

/* ==============================
   SCROLL REVEAL ANIMATIONS
   ============================== */
.reveal-card,
.reveal-heading {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-card.visible,
.reveal-heading.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   MODAL (quick view)
   ============================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  z-index: 1;
  line-height: 1;
  padding: 0.25rem;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

@media (max-width: 640px) { .modal-body { grid-template-columns: 1fr; } }

.modal-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius) 0 0 var(--radius);
  display: block;
}

@media (max-width: 640px) {
  .modal-image { border-radius: var(--radius) var(--radius) 0 0; }
}

.modal-details { padding: 1.5rem; }

.modal-details h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.modal-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 0.4rem;
}

.modal-mileage {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.modal-description {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.55;
}

/* ==============================
   LOADING STATE
   ============================== */
.loading-state {
  color: var(--text-muted);
  font-size: 0.95rem;
}
