/* ============================================
   SLIDER INDEX - ESTILOS
   ============================================ */

/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Contenedor principal del hero */
.hero-section {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  color: white;
}

/* Fondo del hero (imagen/video) */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

/* Overlay del hero */
.hero-overlay {
  position: relative;
  z-index: 1;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Contenedor principal */
.hero-main {
  display: flex;
  gap: 2rem;
  margin-left: 0;
  align-items: flex-end;
  flex-wrap: wrap;
  width: 100%;
}

/* Contenedor de contenido */
.hero-content {
  width: 600px;
  min-height: 280px;
  max-height: 280px;
  background: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 16px;
  margin-left: 2rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-content h1 {
  display: block;
  font-size: 2em;
  margin-block-start: 0;
  margin-block-end: 0.5em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hero-content p {
  display: block;
  margin-block-start: 0;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Botones del hero */
.hero-buttons .btn {
  margin-top: 1rem;
  margin-right: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.btn.primary {
  background-color: #15934e;
  color: white;
}

.btn.secondary {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid white;
}

/* Indicadores de puntos del slider */
.slider-dots {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 100;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  backdrop-filter: blur(5px);
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.slider-dot.active {
  background: #44f4a1;
  border-color: white;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(68, 244, 161, 0.5);
}

/* ============================================
   MEDIA QUERIES - RESPONSIVE
   ============================================ */

/* Pantallas grandes (1920px) */
@media (max-width: 1920px) {
    .hero-content {
    width: 700px;
    min-height: 350px;
    max-height: 350px;
    padding: 2.5rem;
    }

  
  
  .hero-content h1 {
    font-size: 2.2em;
    -webkit-line-clamp: 2;
  }
  
  .hero-content p {
    font-size: 1.1em;
    -webkit-line-clamp: 3;
  }
  
  .hero-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
  }
}

/* Laptops (1400px) */
@media (max-width: 1400px) {
  .hero-content {
    width: 600px;
    min-height: 260px;
    max-height: 260px;
    padding: 1.8rem;
  }
  
  .hero-content h1 {
    font-size: 1.8em;
    -webkit-line-clamp: 2;
  }
  
  .hero-content p {
    font-size: 1em;
    -webkit-line-clamp: 3;
  }
}

/* Móviles (768px) */
@media (max-width: 768px) {
  .hero-section {
    margin-top: -2vh;
    height: 90%;
  }
  
  .hero-main {
    margin-top: auto;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
  }
  
  .hero-content {
    width: 100%;
    min-height: 200px;
    max-height: 250px;
    margin-left: 0;
    margin-bottom: 0.5rem;
    padding: 1.5rem;
  }
  
  .hero-content h1 {
    font-size: 1.5em;
    margin-block-end: 0.3em;
    -webkit-line-clamp: 2;
  }
  
  .hero-content p {
    font-size: 0.9em;
    -webkit-line-clamp: 3;
  }
  
  .hero-overlay {
    padding: 1rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
    display: block;
  }
}
