.home-banner-slider {
  padding: 36px 0 28px;
}

.home-banner-slider__viewport {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.home-banner-slider__track {
  position: relative;
  overflow: hidden;
  border-radius: 56px;
  min-height: 560px;
  background: #16327c;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
}

.home-banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 560px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(36px);
  transition: opacity .55s ease, transform .55s ease, visibility .55s ease;
}

.home-banner-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 2;
}

.home-banner-slide__inner {
  min-height: 560px;
  padding: 84px 88px 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-banner-slide__content {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.home-banner-slide__eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  letter-spacing: 0.18em;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.68;
}

.home-banner-slide__title {
  margin: 0;
  font-size: clamp(32px, 4.9vw, 66px);
  line-height: 1.14;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.home-banner-slide__title span {
  display: block;
}

.home-banner-slide__title em {
  font-style: normal;
  color: #4ea1ff;
}

.home-banner-slide__desc {
  max-width: 760px;
  margin: 28px auto 0;
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.9;
  opacity: 0.9;
  text-align: center;
}

.home-banner-slide__actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.home-banner-slide__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.home-banner-slide__btn:hover {
  transform: translateY(-2px);
}

.home-banner-slide__media {
  display: none !important;
}

.theme-deepblue {
  background: #16327c;
  color: #fff;
}

.theme-deepblue .home-banner-slide__btn {
  background: #fff;
  color: #16327c;
}

.theme-dark {
  background: linear-gradient(135deg, #09142d 0%, #16327c 100%);
  color: #fff;
}

.theme-dark .home-banner-slide__btn {
  background: #fff;
  color: #09142d;
}

.theme-ink {
  background: linear-gradient(135deg, #08101f 0%, #1b367f 100%);
  color: #fff;
}

.theme-ink .home-banner-slide__btn {
  background: #fff;
  color: #08101f;
}

.theme-silver {
  background: linear-gradient(135deg, #eef2f8 0%, #dfe7f4 100%);
  color: #0d1220;
}

.theme-silver .home-banner-slide__btn {
  background: #16327c;
  color: #fff;
}

.theme-light {
  background: linear-gradient(135deg, #f7f9fc 0%, #eaf1ff 100%);
  color: #111827;
}

.theme-light .home-banner-slide__btn {
  background: #16327c;
  color: #fff;
}

.home-banner-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}

.home-banner-slider__arrow:hover {
  background: rgba(255, 255, 255, 0.26);
}

.theme-silver .home-banner-slider__arrow,
.theme-light .home-banner-slider__arrow {
  color: #16327c;
  background: rgba(255, 255, 255, 0.52);
}

.home-banner-slider__arrow--prev {
  left: 18px;
}

.home-banner-slider__arrow--next {
  right: 18px;
}

.home-banner-slider__arrow span {
  font-size: 34px;
  line-height: 1;
}

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

.home-banner-slider__dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.home-banner-slider__dot.is-active {
  width: 34px;
  background: rgba(255, 255, 255, 0.96);
}

.theme-silver .home-banner-slider__dot,
.theme-light .home-banner-slider__dot {
  background: rgba(17, 24, 39, 0.18);
}

.theme-silver .home-banner-slider__dot.is-active,
.theme-light .home-banner-slider__dot.is-active {
  background: #16327c;
}

@media (max-width: 1100px) {
  .home-banner-slider__track,
  .home-banner-slide,
  .home-banner-slide__inner {
    min-height: 500px;
  }

  .home-banner-slide__inner {
    padding: 64px 42px 84px;
  }

  .home-banner-slide__title {
    font-size: clamp(30px, 5.8vw, 56px);
    line-height: 1.16;
  }

  .home-banner-slide__desc {
    font-size: 18px;
  }

  .home-banner-slider__arrow--prev {
    left: 16px;
  }

  .home-banner-slider__arrow--next {
    right: 16px;
  }
}

@media (max-width: 780px) {
  .home-banner-slider {
    padding-top: 18px;
  }

  .home-banner-slider__viewport {
    padding: 0 12px;
  }

  .home-banner-slider__track,
  .home-banner-slide,
  .home-banner-slide__inner {
    min-height: 420px;
  }

  .home-banner-slider__track {
    border-radius: 30px;
  }

  .home-banner-slide__inner {
    padding: 42px 20px 78px;
  }

  .home-banner-slide__eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .home-banner-slide__title {
    font-size: clamp(26px, 8vw, 40px);
    line-height: 1.18;
    letter-spacing: -0.04em;
  }

  .home-banner-slide__desc {
    max-width: 92%;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.85;
  }

  .home-banner-slide__btn {
    width: 100%;
  }

  .home-banner-slider__arrow {
    display: none;
  }

  .home-banner-slider__dots {
    bottom: 18px;
  }
}
