.hero-slider {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  height: calc(100vh - 136px);
  min-height: 620px;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  background: #0b2341;
}

.hero-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility .6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
}

.hero-slide__bg picture,
.hero-slide__bg picture img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-slide__bg picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  z-index: 1;
}

.hero-slide__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 540px 20px 40px;
}

.hero-slide__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 58px;
  padding: 16px 32px;
  border-radius: 999px;
  background: #1295ff;
  color: #fff !important;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  transition: background .2s ease, transform .2s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.hero-slide__button:hover {
  background: #0b7fe0;
  color: #fff !important;
  transform: translateY(-1px);
}

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  color: #0d3f8a;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
}

.hero-slider__arrow:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #082c63;
}

.hero-slider__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider__arrow--prev {
  left: 40px;
}

.hero-slider__arrow--next {
  right: 40px;
}

.hero-slider__arrow {
  padding: 0;
}

.hero-slider__arrow--prev {
  padding-right: 3px;
}

.hero-slider__arrow--next {
  padding-left: 3px;
}

.hero-slider__arrow {
  padding: 0;
  line-height: 0.8;
}

.hero-slider__arrow--prev {
  padding-right: 3px;
  padding-bottom: 4px;
}

.hero-slider__arrow--next {
  padding-left: 3px;
  padding-bottom: 4px;
}

.hero-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 5;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-slider__dot {
  width: 44px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  padding: 0;
}

.hero-slider__dot.is-active {
  background: #ffffff;
}

@media (max-width: 991px) {
  .hero-slider {
    width: 100%;
    max-width: 100%;
    left: 0;
    transform: none;
    margin-left: 0;
    margin-right: 0;
    height: 70vh;
    min-height: 520px;
  }

  .hero-slide__content {
    padding: 530px 20px 40px;
  }

  .hero-slider__arrow {
    width: 44px;
    height: 44px;
    margin-top: -22px;
    font-size: 22px;
  }

  .hero-slider__arrow--prev {
    left: 12px;
  }

  .hero-slider__arrow--next {
    right: 12px;
  }
}

@media (max-width: 767px) {
  .hero-slider {
    min-height: 460px;
    height: 75vh;
  }

  .hero-slide__content {
    padding: 450px 16px 30px;
  }

  .hero-slide__button {
    min-width: 180px;
    min-height: 48px;
    font-size: 15px;
    padding: 12px 18px;
  }

  .hero-slider__arrow {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    font-size: 20px;
  }

  .hero-slider__arrow--prev {
    left: 8px;
  }

  .hero-slider__arrow--next {
    right: 8px;
  }

  .hero-slider__dots {
    bottom: 16px;
    gap: 8px;
  }

  .hero-slider__dot {
    width: 32px;
  }
  .hero-slider__arrow {
    display: none !important;
  }

@media (max-width: 1270px) {
  .hero-slider {
    height: 78vh;
    min-height: 720px;
  }

  .hero-slide__content {
    padding: 560px 20px 40px;
  }

  .hero-slide__bg picture img {
    object-fit: cover;
    object-position: center center;
  }

  .hero-slider__arrow {
    width: 46px;
    height: 46px;
    font-size: 24px;
  }

  .hero-slider__arrow--prev {
    left: 16px;
  }

  .hero-slider__arrow--next {
    right: 16px;
  }
}