/* ═══════════════════════════════════════════════════════
   DriveKenya – Vehicle Detail Page
   ═══════════════════════════════════════════════════════ */

.vehicle-page {
  padding: 85px 52px 60px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
}

/* Breadcrumb */
.vehicle-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #7888A8;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.vehicle-breadcrumb a {
  color: #1A6BF5;
  text-decoration: none;
  font-weight: 600;
}
.vehicle-breadcrumb a:hover { text-decoration: underline; }
.vehicle-breadcrumb span { color: #B0BCD6; }
.vehicle-breadcrumb .crumb-current { color: #0A0F1E; font-weight: 700; }

/* Hero split */
.vehicle-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
  align-items: center;
}
.vehicle-img-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #F0F4FF;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 60px rgba(26,107,245,0.12);
}
.vehicle-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.vehicle-badge {
  position: absolute; top: 16px; left: 16px;
  padding: 5px 12px; border-radius: 100px;
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.07em; text-transform: uppercase;
}
.vehicle-badge.chip-pop { background: #1A6BF5; color: #fff; }
.vehicle-badge.chip-lux { background: linear-gradient(90deg,#7C3AED,#A855F7); color: #fff; }
.vehicle-badge.chip-eco { background: #10B981; color: #fff; }
.vehicle-badge.chip-saf { background: #D97706; color: #fff; }
.vehicle-badge.chip-van { background: #1E2D50; color: #fff; }
.vehicle-badge.chip-mid { background: #0891B2; color: #fff; }
.vehicle-badge.chip-exec { background: linear-gradient(90deg,#1A6BF5,#00C6FF); color: #fff; }

.vehicle-hero-right { padding: 8px 0; }
.vehicle-eyebrow {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #1A6BF5; margin-bottom: 10px;
}
.vehicle-hero-right h1 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #0A0F1E;
  line-height: 1.15;
  margin-bottom: 12px;
}
.vehicle-tagline {
  font-size: 0.95rem;
  color: #7888A8;
  line-height: 1.6;
  margin-bottom: 22px;
}

/* Price box */
.vehicle-price-box {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(26,107,245,0.06), rgba(0,198,255,0.04));
  border: 1.5px solid rgba(26,107,245,0.2);
  border-radius: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.vehicle-price-main .vp-usd {
  font-size: 2.2rem; font-weight: 900; color: #1A6BF5; line-height: 1;
}
.vehicle-price-main .vp-per {
  font-size: 0.9rem; color: #7888A8; font-weight: 500;
}
.vehicle-price-alt {
  font-size: 0.85rem;
  color: #7888A8;
  font-weight: 600;
}

/* Spec grid */
.vehicle-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}
.vspec {
  background: #F0F4FF;
  border: 1px solid #D6E0F5;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0A0F1E;
  text-align: center;
}

/* CTAs */
.vehicle-cta-row {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.vehicle-book-btn {
  flex: 1;
  min-width: 200px;
  background: linear-gradient(135deg, #1A6BF5, #1250C4);
  color: #fff;
  border: none;
  padding: 14px 22px;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(26,107,245,0.35);
}
.vehicle-book-btn:hover {
  opacity: 0.94; transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26,107,245,0.45);
}
.vehicle-book-btn-lg {
  font-size: 1.05rem;
  padding: 16px 28px;
  width: auto;
  min-width: 280px;
}
.vehicle-wa-btn {
  padding: 14px 22px;
  border-radius: 10px;
  background: #25D366;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  display: inline-flex; align-items: center;
  white-space: nowrap;
}
.vehicle-wa-btn:hover {
  opacity: 0.94; transform: translateY(-1px);
}

.vehicle-trust-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #7888A8;
  font-weight: 600;
}

/* Content sections */
.vehicle-content {
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.vehicle-section {
  background: #fff;
  border: 1px solid #D6E0F5;
  border-radius: 16px;
  padding: 30px 32px;
}
.vehicle-section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0A0F1E;
  margin-bottom: 16px;
  line-height: 1.25;
}
.vehicle-section p {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.75;
}
.vehicle-section p strong { color: #0A0F1E; font-weight: 700; }

/* Features grid */
.vehicle-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.vfeature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  background: #F0F4FF;
  border-radius: 10px;
}
.vfeature-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vfeature strong {
  display: block;
  color: #0A0F1E;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.vfeature span {
  color: #7888A8;
  font-size: 0.78rem;
  line-height: 1.4;
}

/* Steps */
.vehicle-steps {
  list-style: none;
  counter-reset: vstep;
  padding-left: 0;
}
.vehicle-steps li {
  counter-increment: vstep;
  position: relative;
  padding-left: 54px;
  margin-bottom: 18px;
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.7;
  min-height: 38px;
}
.vehicle-steps li::before {
  content: counter(vstep);
  position: absolute;
  left: 0; top: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A6BF5, #00C6FF);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(26,107,245,0.3);
}
.vehicle-steps li strong { color: #0A0F1E; }

/* Pricing table */
.vehicle-pricing-table {
  display: flex;
  flex-direction: column;
}
.vpt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #E2E8F5;
  font-size: 0.9rem;
  color: #7888A8;
  gap: 16px;
}
.vpt-row:last-child { border-bottom: none; }
.vpt-row strong { color: #0A0F1E; font-weight: 700; text-align: right; }
.vpt-row.vpt-ok strong { color: #059669; }
.vpt-row.vpt-warn strong { color: #D97706; }

/* Related */
.vehicle-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.vrelated-card {
  background: #fff;
  border: 1px solid #D6E0F5;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.vrelated-card:hover {
  box-shadow: 0 12px 32px rgba(26,107,245,0.12);
  transform: translateY(-3px);
  border-color: #1A6BF5;
}
.vrelated-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #F0F4FF;
}
.vrelated-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.vrelated-card:hover .vrelated-img img { transform: scale(1.05); }
.vrelated-body { padding: 12px 14px; }
.vrelated-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0A0F1E;
  margin-bottom: 3px;
  line-height: 1.2;
}
.vrelated-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1A6BF5;
}

/* Final CTA */
.vehicle-final-cta {
  background: linear-gradient(135deg, #0D1A3A, #1A2F6A);
  border-radius: 20px;
  padding: 44px 32px;
  text-align: center;
  color: #fff;
}
.vehicle-final-cta h2 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.vehicle-final-cta p {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

/* Responsive */
@media (max-width: 900px) {
  .vehicle-page { padding: 76px 24px 40px; }
  .vehicle-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 36px;
  }
  .vehicle-hero-right h1 { font-size: 1.6rem; }
  .vehicle-section { padding: 24px 20px; }
  .vehicle-section h2 { font-size: 1.2rem; }
  .vehicle-price-main .vp-usd { font-size: 1.9rem; }
}

@media (max-width: 600px) {
  .vehicle-page { padding: 72px 16px 32px; }
  .vehicle-section { padding: 20px 16px; }
  .vehicle-cta-row { flex-direction: column; }
  .vehicle-book-btn, .vehicle-wa-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .vehicle-book-btn-lg { min-width: 100%; }
  .vehicle-features { grid-template-columns: 1fr; }
  .vehicle-steps li { padding-left: 46px; font-size: 0.88rem; }
  .vehicle-steps li::before { width: 32px; height: 32px; font-size: 0.9rem; }
  .vehicle-final-cta { padding: 32px 20px; }
  .vehicle-final-cta h2 { font-size: 1.3rem; }
  .vpt-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 0;
  }
  .vpt-row strong { text-align: left; }
}