/* ═══════════════════════════════════════════════════════════
   HERO SLIDER - Estilo Yucatán al Minuto
   CSS Completamente Rediseñado
   ═══════════════════════════════════════════════════════════ */

/* ═══ CONTENEDOR DEL SLIDER ═══ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 500px; /* Reducido de 600px a 500px */
  overflow: hidden;
  background: #000;
}

/* ═══ SLIDES INDIVIDUALES ═══ */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 60px; /* Reducido de 100px a 60px */
  z-index: 0; /* Asegurar z-index bajo por defecto */
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1; /* z-index más alto cuando está activo */
}

/* ═══ OVERLAY OSCURO (Solo parte inferior) ═══ */
.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%; /* Reducido de 65% a 60% */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.75) 20%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.25) 60%,
    transparent 100%
  );
  z-index: 1;
}

/* ═══ CONTENEDOR DE CONTENIDO ═══ */
.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  padding: 0 40px;
  text-align: center;
  color: white;
}

/* ═══ BADGE SUPERIOR ═══ */
.hero-badge {
  display: inline-block;
  padding: 6px 14px; /* Reducido de 8px 18px */
  background: #DC143C;
  color: white;
  font-size: 10px; /* Reducido de 11px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px; /* Reducido de 1px */
  border-radius: 3px;
  margin-bottom: 14px; /* Reducido de 20px */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ═══ TÍTULO ═══ */
.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem); /* Reducido de 4rem a 3.2rem */
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px 0; /* Reducido de 20px a 16px */
  color: white;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}

.hero-title .highlight {
  color: #FFD700;
  display: inline;
}

/* ═══ DESCRIPCIÓN ═══ */
.hero-description {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem); /* Reducido de 1.2rem a 1.1rem */
  line-height: 1.5; /* Reducido de 1.6 a 1.5 */
  margin: 0 0 20px 0; /* Reducido de 30px a 20px */
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  max-width: 700px; /* Reducido de 800px a 700px */
  margin-left: auto;
  margin-right: auto;
}

/* ═══ BOTONES ═══ */
.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  text-shadow: none;
}

.hero-btn-primary {
  background: #DC143C;
  color: white;
  border: 2px solid #DC143C;
}

.hero-btn-primary:hover {
  background: #B91230;
  border-color: #B91230;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 20, 60, 0.4);
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

/* ═══ FLECHAS DE NAVEGACIÓN ═══ */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-arrow:hover {
  background: rgba(220, 20, 60, 0.8);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.hero-arrow-prev {
  left: 30px;
}

.hero-arrow-next {
  right: 30px;
}

/* ═══ INDICADORES (DOTS) ═══ */
.hero-indicators {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.hero-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.hero-dot.active {
  background: white;
  width: 40px;
  border-radius: 5px;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* ═══ ANIMACIONES ═══ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-slide.active .hero-badge {
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-slide.active .hero-title {
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-slide.active .hero-description {
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-slide.active .hero-buttons {
  animation: fadeInUp 0.8s ease 0.8s both;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

/* ═══ TABLET ═══ */
@media (max-width: 1024px) {
  .hero-slider {
    height: 450px; /* Reducido de 550px */
  }

  .hero-slide {
    padding-bottom: 50px; /* Reducido de 90px */
  }

  .hero-container {
    padding: 0 30px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  }

  .hero-description {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
  }

  .hero-arrow {
    width: 45px;
    height: 45px;
  }

  .hero-arrow-prev {
    left: 20px;
  }

  .hero-arrow-next {
    right: 20px;
  }

  .hero-indicators {
    bottom: 30px; /* Reducido de 35px */
  }
}

/* ═══ MÓVIL ═══ */
@media (max-width: 768px) {
  .hero-slider {
    height: 400px; /* Reducido de 500px */
  }

  .hero-slide {
    padding-bottom: 45px; /* Reducido de 80px */
  }

  .hero-container {
    padding: 0 20px; /* Reducido de 25px */
  }

  .hero-badge {
    padding: 5px 12px;
    font-size: 9px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 5.5vw, 2.2rem);
    margin-bottom: 12px;
  }

  .hero-description {
    font-size: clamp(0.85rem, 2.2vw, 0.95rem);
    margin-bottom: 18px;
    line-height: 1.4;
  }

  .hero-btn {
    padding: 10px 24px;
    font-size: 13px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-arrow-prev {
    left: 15px;
  }

  .hero-arrow-next {
    right: 15px;
  }

  .hero-indicators {
    bottom: 22px;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
  }

  .hero-dot.active {
    width: 32px;
  }
}

/* ═══ MÓVIL PEQUEÑO ═══ */
@media (max-width: 480px) {
  .hero-slider {
    height: 380px; /* Reducido de 450px */
  }

  .hero-slide {
    padding-bottom: 40px; /* Reducido de 70px */
  }

  .hero-container {
    padding: 0 18px;
  }

  .hero-badge {
    padding: 4px 10px;
    font-size: 8px;
    margin-bottom: 10px;
  }

  .hero-title {
    font-size: clamp(1.4rem, 5.5vw, 1.8rem);
    margin-bottom: 10px;
  }

  .hero-description {
    font-size: clamp(0.8rem, 2.2vw, 0.9rem);
    margin-bottom: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 8px;
    max-width: 260px;
    margin: 0 auto;
  }

  .hero-btn {
    width: 100%;
    padding: 9px 20px;
    font-size: 12px;
  }

  .hero-arrow {
    width: 36px;
    height: 36px;
  }

  .hero-arrow-prev {
    left: 12px;
  }

  .hero-arrow-next {
    right: 12px;
  }

  .hero-indicators {
    bottom: 20px;
  }

  .hero-dot {
    width: 7px;
    height: 7px;
  }

  .hero-dot.active {
    width: 28px;
  }
}

/* ═══ MÓVIL MUY PEQUEÑO ═══ */
@media (max-width: 360px) {
  .hero-slider {
    height: 350px; /* Reducido de 400px */
  }

  .hero-slide {
    padding-bottom: 35px; /* Reducido de 60px */
  }

  .hero-container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: clamp(1.2rem, 5.5vw, 1.5rem);
  }

  .hero-description {
    font-size: 0.8rem;
  }

  .hero-btn {
    font-size: 11px;
    padding: 8px 18px;
  }
}