* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

.carousel-track {
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .8s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Overlay oscuro */
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.1));
}

/* Contenido */
.slide-content {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 600px;
  z-index: 2;
}

.slide-content h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 10px;
  letter-spacing: 0px;
}

.slide-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.btn_banner {
  display: inline-block;
  padding: 7px 28px;
  background: #ff6600;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.2s ease;
}

.btn_banner:hover {
  font-size: 1.02rem;
}

/* Flechas */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.4);
  border: none;
  color: white;
  font-size: 32px;
  padding: 10px 16px;
  cursor: pointer;
  z-index: 3;
}

.nav.prev { 
  left: 20px; 
  border-radius: 50px;
  padding: 5px 10px;
}

.nav.next { 
  right: 20px; 
  border-radius: 50px;
  padding: 5px 10px;
}

/* Dots */
.dots {
  position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
  z-index: 3;
}

.dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,.5);
  margin: 0 5px;
  border-radius: 50%;
  cursor: pointer;
}

.dots span.active {
  background: #fff;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-carousel {
    height: 70vh;
  }

  .slide-content {
    left: 5%;
    right: 5%;
  }
}




