.hero-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

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

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

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

.hero-slider h1{
    color: white;
}

/* Overlay limpio y full screen */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.1); /* mucho más transparente */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 8%;
  color: white;
}

/* Texto legible */
.hero-overlay h5 {
  color: #7cffc5;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.hero-overlay h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  max-width: 900px;
  line-height: 1.2;
}

/* Flechas */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: #fff;
  font-size: 3rem;
  padding: 12px 18px;
  cursor: pointer;
  background: rgba(0,0,0,0.35);
  transition: 0.3s ease;
  user-select: none;
}

.hero-arrow:hover {
  background: rgba(0,0,0,0.6);
}

/* Desktop positioning */
.hero-arrow.left { left: 20px; }
.hero-arrow.right { right: 20px; }


/* Tablets (iPads etc) */
@media (max-width: 992px) {
  .hero-arrow {
    top: 62%;
    font-size: 2.5rem;
    padding: 10px 14px;
  }
}

/* Phones */
@media (max-width: 768px) {
  .hero-arrow {
    top: 72%;
    font-size: 2rem;
    padding: 6px 10px;
  }
}
