/* =========================
   Hero Carousel (aislado)
   ========================= */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;            /* Cámbialo a 500px si lo quieres entre secciones */
  overflow: hidden;
  background: #000;
}

.hero-carousel .hc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease-in-out;
}

.hero-carousel .hc-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-carousel .hc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Controles (discretos) */
.hero-carousel .hc-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.4);
  border: none;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .3s ease;
  z-index: 2;
}

.hero-carousel .hc-control:hover { background: rgba(0,0,0,.6); }
.hero-carousel .hc-control.prev { left: 16px; }
.hero-carousel .hc-control.next { right: 16px; }

/* Bullets */
.hero-carousel .hc-indicators {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero-carousel .hc-indicators button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: background .3s ease, transform .2s ease;
}

.hero-carousel .hc-indicators button.active {
  background: #fff;
  transform: scale(1.1);
}
