.hero-carousel {
  position: relative;
  touch-action: pan-y;
}

.hero-slides {
  position: relative;
}

.hero-slide {
  display: none;
}

.hero-slide.active {
  display: block;
  animation: hero-fade 0.45s ease;
}

.hero-dots {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 24px;
  display: flex;
  gap: 7px;
}

@keyframes hero-fade {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

.hero-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.active {
  width: 22px;
  background: #fff;
}

.hero-controls {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 18px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.hero-control {
  width: 46px;
  height: 46px;
  display: grid;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(8, 9, 13, 0.5);
  color: #fff;
  opacity: 0.72;
  pointer-events: auto;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  transition: opacity 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.hero-control:hover,
.hero-control:focus-visible {
  opacity: 1;
  background: rgba(241, 66, 114, 0.88);
  transform: scale(1.06);
}

.hero-control svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 699px) {
  .hero-controls {
    right: 12px;
    left: 12px;
  }

  .hero-control {
    width: 40px;
    height: 40px;
    opacity: 0.58;
  }
}
