/* =========================
   VEHICULOS PAGE - GLOBAL
========================= */

.vehiculos-page {
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 12%, rgba(37, 99, 235, 0.14), transparent 40%),
    radial-gradient(circle at 82% 28%, rgba(96, 165, 250, 0.1), transparent 45%),
    radial-gradient(circle at 50% 92%, rgba(37, 99, 235, 0.06), transparent 50%),
    linear-gradient(180deg, #020617 0%, #000000 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.vehiculos-page a {
  color: inherit;
}

/* =========================
   HERO
========================= */

.vehiculos-hero {
  padding: 120px 20px 70px;
  text-align: center;
}

.vehiculos-hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.vehiculos-hero h1 {
  font-size: 42px;
  margin-bottom: 12px;
}

.vehiculos-hero p {
  opacity: 0.85;
  font-size: 18px;
}

.hero-cta {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================
   SECTIONS
========================= */

.vehiculos-section,
.vehiculo-detail-shell,
.vehiculo-related {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.vehiculos-section {
  padding-top: 80px;
  padding-bottom: 100px;
}

.vehiculos-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.vehiculos-section-header h2 {
  font-size: 34px;
}

.vehiculos-section-header p {
  opacity: 0.8;
  margin-top: 6px;
}

/* =========================
   TRUST
========================= */

.trust-section {
  padding: 80px 20px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.trust-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-5px);
  border-color: #2563eb;
}

/* =========================
   GRID
========================= */

.vehiculos-grid,
.vehiculo-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* =========================
   CARD
========================= */

.auto,
.vehiculo-summary-panel,
.vehiculo-panel,
.vehiculo-related-card,
.sell-box {
  background: rgba(17, 24, 39, 0.9);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

.auto {
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.auto:hover,
.vehiculo-related-card:hover {
  transform: translateY(-6px);
  border-color: #2563eb;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.auto-info,
.vehiculo-summary-panel,
.vehiculo-panel,
.vehiculo-related-card {
  padding: 22px;
}

.auto-info h3 {
  font-size: 20px;
  line-height: 1.3;
}

.vehiculo-title-link {
  color: #93c5fd;
  text-decoration: none;
}

.vehiculo-title-link:hover,
.vehiculo-link:hover,
.vehiculo-secondary-link:hover {
  text-decoration: underline;
}

.vehiculo-resumen,
.vehiculo-copy {
  margin: 14px 0 0;
  opacity: 0.85;
  line-height: 1.65;
}

.meta-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  opacity: 0.85;
  margin-top: 10px;
}

.meta-sep {
  opacity: 0.4;
}

.precio,
.vehiculo-price {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 16px;
}

.vehiculo-price-note {
  margin-top: 6px;
  opacity: 0.72;
  font-size: 14px;
}

.vehiculo-quick-specs,
.vehiculo-specs {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.vehiculo-quick-specs li,
.vehiculo-specs li {
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  font-size: 14px;
}

.vehiculo-specs strong {
  color: #93c5fd;
}

/* =========================
   CAROUSEL
========================= */

.vehiculo-media {
  padding: 14px 14px 0;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.92);
}

.auto .carousel {
  height: 220px;
}

.vehiculo-gallery-panel .carousel {
  height: 420px;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}

.carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 0 0 100%;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 2;
  border-radius: 8px;
}

.arrow.left {
  left: 12px;
}

.arrow.right {
  right: 12px;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 4px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: #334155;
  cursor: pointer;
  padding: 0;
}

.dot.active {
  background: #60a5fa;
}

/* =========================
   ACTIONS
========================= */

.acciones,
.vehiculo-cta-stack {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.boton:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.35);
}

.boton-secundario,
.vehiculo-secondary-link {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(96, 165, 250, 0.5);
  color: #60a5fa;
  box-shadow: none;
}

.boton-secundario:hover,
.vehiculo-secondary-link:hover {
  background: rgba(96, 165, 250, 0.08);
}

.vehiculo-link,
.vehiculo-secondary-link {
  text-decoration: none;
}

.vehiculo-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 11px 16px;
  font-weight: 600;
}

/* =========================
   DETAIL PAGE
========================= */

.vehiculo-detail-shell {
  padding-top: 120px;
  padding-bottom: 50px;
}

.vehiculo-breadcrumbs {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.vehiculo-breadcrumbs a {
  color: #93c5fd;
  text-decoration: none;
}

.vehiculo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 30px;
  align-items: start;
}

.vehiculo-gallery-panel {
  padding: 18px;
  background: rgba(17, 24, 39, 0.7);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vehiculo-summary-panel h1 {
  font-size: 38px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.vehiculo-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.vehiculo-badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.25);
  font-size: 13px;
  color: #bfdbfe;
}

.vehiculo-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.vehiculo-panel h2,
.vehiculo-related h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.vehiculo-panel p {
  line-height: 1.7;
  opacity: 0.85;
}

.vehiculo-related {
  padding-bottom: 100px;
}

.vehiculo-related-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.vehiculo-related-header p {
  opacity: 0.78;
  line-height: 1.65;
}

.vehiculo-related-card {
  text-decoration: none;
}

.vehiculo-related-card strong {
  display: block;
  color: #93c5fd;
  font-size: 18px;
  line-height: 1.35;
}

.vehiculo-related-card span {
  display: block;
  opacity: 0.75;
  margin-top: 10px;
}

/* =========================
   SELL SECTION
========================= */

.sell-section {
  padding: 100px 20px;
}

.sell-box {
  max-width: 820px;
  margin: auto;
  background:
    radial-gradient(circle at top, rgba(37, 99, 235, 0.15), transparent 60%),
    rgba(2, 6, 23, 0.9);
  border: 1px solid rgba(96, 165, 250, 0.25);
  padding: 40px 34px;
  text-align: center;
}

.sell-box h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.sell-box p {
  opacity: 0.85;
  font-size: 16px;
}

.sell-highlights {
  margin: 26px 0;
  display: grid;
  gap: 10px;
  text-align: left;
}

.sell-item {
  font-size: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.sell-emphasis {
  margin: 20px 0;
  font-size: 15px;
  font-weight: 600;
  color: #60a5fa;
}

/* =========================
   ICON
========================= */

.wa-icon {
  width: 16px;
  height: 16px;
  background-image: url("https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/whatsapp.svg");
  background-size: contain;
  background-repeat: no-repeat;
  filter: invert(1);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 960px) {
  .vehiculo-layout,
  .vehiculo-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .vehiculos-hero h1,
  .vehiculo-summary-panel h1 {
    font-size: 34px;
  }

  .vehiculo-gallery-panel .carousel {
    height: 320px;
  }

  .sell-box h2,
  .vehiculo-panel h2,
  .vehiculo-related h2 {
    font-size: 26px;
  }
}

@media (max-width: 560px) {
  .vehiculos-hero {
    padding-top: 110px;
  }

  .vehiculos-section,
  .vehiculo-detail-shell,
  .vehiculo-related {
    padding-left: 16px;
    padding-right: 16px;
  }

  .auto .carousel {
    height: 210px;
  }

  .vehiculo-gallery-panel .carousel {
    height: 260px;
  }

  .hero-cta,
  .acciones,
  .vehiculo-cta-stack {
    flex-direction: column;
  }

  .boton,
  .vehiculo-secondary-link {
    width: 100%;
  }
}
