/* ===== HERO SECTION - Fondo blanco, slide de fotos, imagen grande ===== */

.hero-section {
  min-height: 560px;
  position: relative;
  margin-top: 1.5rem;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #ffffff;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Contenedor de dos columnas */
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 520px;
}

/* Columna izquierda: texto */
.hero-text {
  flex: 0 1 50%;
  max-width: 520px;
}

/* Etiqueta superior (ej. NOVEDADES) */
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #333333;
  margin-bottom: 0.5rem;
}

/* Título principal: primera línea gris, segunda línea color acento */
.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-title-line1 {
  color: #333333;
  display: block;
}

.hero-title-line2 {
  color: #609ba0;
  display: block;
}

/* Párrafo descriptivo */
.hero-desc {
  font-size: 0.95rem;
  color: #888888;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 420px;
}

/* Botón CTA estilo reference */
.hero-cta {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666666;
  background-color: #f0f0f0;
  border: 1px solid #666666;
  border-radius: 0;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero-cta:hover {
  background-color: #e5e5e5;
  color: #333333;
  border-color: #333333;
}

/* Columna derecha: slide de imágenes (más grande) */
.hero-image-wrap {
  flex: 0 1 55%;
  max-width: 640px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 0;
}

/* Carrusel del hero */
.hero-carousel {
  width: 100%;
  max-width: 100%;
  position: relative;
}

.hero-carousel .carousel-inner {
  border-radius: 0.5rem;
  width: 100%;
  overflow: hidden;
}

/* Cada item ocupa todo el ancho; solo el activo se muestra (no pisar display de Bootstrap en inactivos) */
.hero-carousel .carousel-item {
  min-height: 480px;
  width: 100%;
  background: #ffffff;
  transition: transform 0.5s ease-in-out;
}

.hero-carousel .carousel-item.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-product-img {
  max-width: 100%;
  width: 100%;
  max-height: 520px;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.08));
}

/* Controles del carrusel (flechas) */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  opacity: 1;
  transition: background 0.2s ease;
}

.hero-carousel .carousel-control-prev {
  left: -12px;
}

.hero-carousel .carousel-control-next {
  right: -12px;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
  background: rgba(0, 0, 0, 0.2);
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  width: 24px;
  height: 24px;
}

/* Indicadores (puntos) del carrusel */
.hero-carousel .carousel-indicators {
  margin-bottom: 0.5rem;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.35);
}

.hero-carousel .carousel-indicators .active {
  background-color: #609ba0;
}

/* Responsive: apilar en móvil, imagen arriba o abajo según prefieras */
@media (max-width: 991px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    min-height: auto;
    padding: 2rem 0;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image-wrap {
    justify-content: center;
    order: -1;
    max-width: 100%;
  }

  .hero-carousel .carousel-item {
    min-height: 340px;
  }

  .hero-product-img {
    max-height: 320px;
    object-position: center;
  }

  .hero-carousel .carousel-control-prev {
    left: 4px;
  }

  .hero-carousel .carousel-control-next {
    right: 4px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-carousel .carousel-item {
    min-height: 260px;
  }

  .hero-product-img {
    max-height: 240px;
  }
}

/* Optimizado para móviles ~430px (ej. iPhone 14 Pro Max, Galaxy S21) */
@media (max-width: 430px) {
  .hero-section {
    min-height: auto;
    margin-top: 0.75rem;
    border-radius: 0.5rem;
    padding: 0.5rem 0;
  }

  .hero-section .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .hero-inner {
    gap: 1rem;
    padding: 1rem 0;
  }

  .hero-text {
    padding: 0 0.25rem;
  }

  .hero-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.25rem;
  }

  .hero-title {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }

  .hero-desc {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.5;
  }

  .hero-cta {
    padding: 0.65rem 1.25rem;
    font-size: 0.7rem;
  }

  .hero-image-wrap {
    padding: 0.5rem 0;
  }

  .hero-carousel .carousel-item {
    min-height: 200px;
  }

  .hero-product-img {
    max-height: 200px;
  }

  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    width: 36px;
    height: 36px;
  }

  .hero-carousel .carousel-control-prev-icon,
  .hero-carousel .carousel-control-next-icon {
    width: 18px;
    height: 18px;
  }

  .hero-carousel .carousel-control-prev {
    left: 2px;
  }

  .hero-carousel .carousel-control-next {
    right: 2px;
  }

  .hero-carousel .carousel-indicators {
    margin-bottom: 0.25rem;
  }

  .hero-carousel .carousel-indicators [data-bs-target] {
    width: 6px;
    height: 6px;
  }
}
