body {
  font-family: 'Manrope', sans-serif;
}

/* Carrusel */
.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 75px;
}

.carousel-track {
  display: flex;
  transition: transform 0.8s ease-in-out;
  width: 300%;
  cursor: pointer;
}

.carousel-track img {
  width: 100vw;
  height: auto;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.6);
  border: none;
  font-size: 2em;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* Opciones */
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  padding: 0 10px;
  justify-items: center;
  margin: 20px 0;
}

.option-item {
  text-align: center;
  text-decoration: none;
  color: #000;
  font-size: 1em;
}

.option-item img {
  width: 48px;
  height: 48px;
  display: block;
  margin: 0 auto 10px;
}

/* Separador */
.separator {
  width: 100%;
  height: 40px;
  background: #e0e0e0;
  margin: 0;
}

/* Vehículos */
.vehiculos-grid {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.vehiculo {
  width: 25%;
  aspect-ratio: 4/3;
  background: #fff;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.vehiculo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.vehiculo h3 {
  margin: 5px 10px 0;
  font-size: 18px;
  text-align: left;
}

.vehiculo-btns {
  display: flex;
  margin-top: 5px;
}

.vehiculo-btns a {
  flex: 1;
  text-align: center;
  padding: 8px;
  background: #003057;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
}

.vehiculo-btns a:last-child {
  background: #0052a5;
}

/* Promociones */
.promociones-grid {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.promocion {
  width: 20%;
  aspect-ratio: 1/1;
  background: #fff;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.promocion img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.promocion h3 {
  margin: 5px 10px 0;
  font-size: 16px;
  text-align: left;
}

.promocion p {
  font-size: 14px;
  text-align: left;
  margin: 5px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-height: 1.4em;
  max-height: 4.2em;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Ver más para autos */
.ver-mas-card-auto {
  width: 25%;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/autos/fondoauto.png') center/cover no-repeat;
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
  color: #fff;
  text-align: center;
}

.ver-mas-card-auto::before {
  content: '+';
  font-size: 64px;
  margin-bottom: 8px;
}

.ver-mas-card-auto::after {
  content: 'Ver más';
  font-size: 18px;
  font-weight: bold;
}

/* Ver más para promociones */
.ver-mas-card-promo {
  width: 20%;
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/promos/fondopromo.png') center/cover no-repeat;
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
  color: #fff;
  text-align: center;
}

.ver-mas-card-promo::before {
  content: '+';
  font-size: 48px;
  margin-bottom: 8px;
}

.ver-mas-card-promo::after {
  content: 'Ver más';
  font-size: 16px;
  font-weight: bold;
}

/* Formulario de cotización */
.formulario-cotizacion {
  padding: 40px 20px;
  max-width: 600px;
  margin: auto;
  background-color: #f5f5f5;
  border-radius: 8px;
}

.formulario-cotizacion h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #003057;
}

.formulario-cotizacion form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.formulario-cotizacion input,
.formulario-cotizacion select,
.formulario-cotizacion textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.formulario-cotizacion button {
  padding: 12px;
  background-color: #003057;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.formulario-cotizacion button:hover {
  background-color: #0052a5;
}

/* Responsive ajustado para dispositivos más anchos */
@media (max-width: 768px) {
  .option-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .vehiculo, .ver-mas-card-auto {
    width: 50%;
  }

  .vehiculos-grid .vehiculo:nth-child(n+2),
  .vehiculos-grid .ver-mas-card-auto:nth-child(n+3) {
    display: none;
  }

  .promocion, .ver-mas-card-promo {
    width: 33.33%;
  }

  .promociones-grid .promocion:nth-child(n+3),
  .promociones-grid .ver-mas-card-promo:nth-child(n+4) {
    display: none;
  }

  .option-item {
    font-size: 0.9em;
  }

  .option-item img {
    width: 44px;
    height: 44px;
  }

  .vehiculo-btns a {
    font-size: 11px;
    padding: 6px;
  }
}

.vehiculo-btns a,
.formulario-cotizacion button {
  font-weight: 500;
  letter-spacing: 0.3px;
  border-radius: 6px;
  text-transform: uppercase;
}
.vehiculo h3,
.promocion h3,
.formulario-cotizacion h2 {
  font-weight: 600;
  letter-spacing: 0.2px;
}





.carrusel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px 0;
  max-width: 100%;
}

.carrusel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carrusel-item {
  min-width: 300px;
  margin: 0 20px;
  text-align: center;
  transform: scale(0.7);
  opacity: 0.5;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.carrusel-item img {
  width: 100%;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  border-radius: 0;
}

.carrusel-item.active {
  transform: scale(1);
  opacity: 1;
}

.carrusel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
}

.carrusel-btn.prev { left: 10px; }
.carrusel-btn.next { right: 10px; }

h3 { margin-top: 10px; font-size: 18px; color: #003057; }
