.hero-carousel {
  position: relative;
  display: block !important;
  overflow: hidden;
  background: #081126 !important;
  touch-action: pan-y;
}

.hero-carousel::after { display: none !important; }

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity .65s ease, visibility .65s ease;
}

.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,10,24,.82) 0%, rgba(4,10,24,.55) 37%, rgba(4,10,24,.08) 65%, transparent 100%); }
.hero-slide .hero-text { position: relative; z-index: 2; }
.hero-slide .hero-text > span { font: 700 14px Manrope; letter-spacing: 5px; color: #9eb8ff; }
.hero-slide h1 { font: 800 clamp(42px,5vw,70px)/1.06 Manrope; margin: 18px 0; letter-spacing: -3px; }
.hero-slide h1 b { color: #9eb3ff; }
.hero-slide p { color: #d4d9e4; }
.hero-slide:nth-child(2) .hero-text > span,
.hero-slide:nth-child(2) h1 b { color: #f4c58e; }
.hero-slide:nth-child(3) .hero-text > span,
.hero-slide:nth-child(3) h1 b { color: #efb8dc; }

.carousel-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid #ffffff66;
  border-radius: 50%;
  background: #ffffffdd;
  color: #17213a;
  font-size: 31px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 20px #0002;
}

.carousel-arrow:hover { background: white; transform: translateY(-50%) scale(1.06); }
.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }
.carousel-dots { position: absolute; z-index: 4; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.carousel-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 10px; background: #ffffff88; cursor: pointer; transition: .2s; }
.carousel-dots button.active { width: 28px; background: white; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

@media (max-width: 720px) {
  .hero-carousel { height: 590px !important; }
  .hero-slide { align-items: flex-start; background-position: 64% center; }
  .hero-slide::after { background: linear-gradient(180deg, rgba(4,10,24,.92) 3%, rgba(4,10,24,.72) 56%, rgba(4,10,24,.12) 100%); }
  .hero-slide .hero-text { padding-top: 70px; }
  .carousel-arrow { display: none; }
  .carousel-dots { bottom: 15px; }
}
