/* =====================================================
   SECCIÓN: HERO - SISTEMA BASE
   ===================================================== */

/* =====================================================
   HERO BASE
   ===================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 5% 60px;
  background: var(--bg-dark);
  text-align: center;
}

/* =====================================================
   SLIDER DE FONDO
   ===================================================== */
.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
}

/* Slides específicos (definir en cada página) */
.hero-slide.slide-1 {
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80');
}

.hero-slide.slide-2 {
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80');
}

.hero-slide.slide-3 {
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80');
}

/* =====================================================
   OVERLAY OSCURO
   ===================================================== */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* =====================================================
   CONTENIDO DEL HERO
   ===================================================== */
.hero-inner {
  max-width: var(--maxw-content);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 2rem;
  font-weight: 600;
  line-height: 1.4;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* =====================================================
   ELEMENTOS ESPECIALES
   ===================================================== */

/* Kicker/Badge superior */
.kicker {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: inline-block;
}

/* Texto con efecto typing */
.typed-text {
  color: var(--accent);
  font-weight: 700;
}

/* CTA Row (botones del hero) */
.cta-row {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* =====================================================
   MODIFICADORES DEL HERO
   ===================================================== */

/* Hero más pequeño (para páginas internas) */
.hero--small {
  min-height: 60vh;
  padding: 80px 5% 40px;
}

/* Hero sin imagen de fondo */
.hero--solid {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* Hero con overlay más oscuro */
.hero--dark::before {
  background: rgba(0, 0, 0, 0.5);
}

/* Hero con overlay más claro */
.hero--light::before {
  background: rgba(0, 0, 0, 0.2);
}

/* Hero alineado a la izquierda */
.hero--left {
  text-align: left;
}

.hero--left .hero-inner {
  margin-left: 0;
}

.hero--left .cta-row {
  justify-content: flex-start;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 992px) {
  .hero {
    padding: 80px 5% 50px;
  }
  
  .hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  
  .hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
    padding: 70px 5% 40px;
  }
  
  .hero--small {
    min-height: 50vh;
  }
  
  .cta-row {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-row .btn {
    width: 50%;
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 90vh;
    padding: 60px 20px 30px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .kicker {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
}