.hs__h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hs {
  position: relative;
  width: 100%;
  height: min(92svh, 920px);
  min-height: 560px;
  overflow: hidden;
  background: #0a1024;
}

.hs-container,
.hs .swiper-wrapper,
.hs__slide { height: 100%; }

.hs__slide { position: relative; overflow: hidden; }

.hs__media { position: absolute; inset: 0; z-index: 0; }

.hs__media video,
.hs__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hs__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 10, 26, var(--shade, .4)) 0%, rgba(6, 10, 26, calc(var(--shade, .4) * .45)) 52%, transparent 88%),
    linear-gradient(180deg, rgba(6, 10, 26, .38) 0%, transparent 26%, transparent 58%, rgba(6, 10, 26, .55) 100%);
}

.hs__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding-bottom: clamp(60px, 42px + 2vw, 88px);
}

.hs__content {
  max-width: 780px;
  color: #fff;
}

.hs__sub {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: GothamPro-Medium;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}

.hs__sub::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, #d8bd88, transparent);
}

.hs__title {
  margin: 0 0 26px;
  font-family: GothamPro-Bold;
  font-size: clamp(32px, 20px + 3.2vw, 68px);
  line-height: 1.06;
  letter-spacing: -.01em;
  color: #fff;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .35);
}

.hs__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 9px 9px 9px 32px;
  border-radius: 50px;
  overflow: hidden;
  background: #fff;
  font-family: GothamPro-Medium;
  font-size: 16px;
  color: #14243f;
  isolation: isolate;
  transition: transform .35s cubic-bezier(.2, .8, .3, 1), box-shadow .35s, color .4s;
}

.hs__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, #3f74c4 0%, #24497f 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .5s cubic-bezier(.22, .8, .28, 1);
}

.hs__btn:hover {
  transform: translateY(-3px);
  color: #fff;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
}

.hs__btn:hover::before { transform: scaleX(1); }

.hs__btn-txt { position: relative; z-index: 1; }

.hs__btn-ico {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(20, 36, 63, .08);
  color: #14243f;
  transition: background .4s, color .4s, transform .4s cubic-bezier(.2, .8, .3, 1);
}

.hs__btn-ico svg { width: 19px; height: 19px; }

.hs__btn:hover .hs__btn-ico {
  background: #fff;
  color: #24497f;
  transform: translateX(4px);
}

.hs__content > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.22, .8, .28, 1), transform .9s cubic-bezier(.22, .8, .28, 1);
}

.swiper-slide-active .hs__content > * { opacity: 1; transform: none; }
.swiper-slide-active .hs__content > *:nth-child(1) { transition-delay: .25s; }
.swiper-slide-active .hs__content > *:nth-child(2) { transition-delay: .38s; }
.swiper-slide-active .hs__content > *:nth-child(3) { transition-delay: .52s; }


.hs__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .3s, border-color .3s, scale .3s;
}

.hs__arrow:hover { background: rgba(255, 255, 255, .24); border-color: rgba(255, 255, 255, .5); scale: 1.06; }
.hs__arrow svg { width: 24px; height: 24px; }
.hs__arrow_prev { left: clamp(14px, 1.6vw, 34px); }
.hs__arrow_next { right: clamp(14px, 1.6vw, 34px); }


.hs__bars {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(26px, 20px + 1vw, 40px);
  z-index: 4;
}

.hs__bars-in { display: flex; gap: 10px; }

.hs__bar {
  position: relative;
  flex: 1 1 0;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, .28);
  overflow: hidden;
  cursor: pointer;
  transition: background .3s;
}

.hs__bar:hover { background: rgba(255, 255, 255, .5); }

.hs__bar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 3px;
  background: #fff;
}

.hs__bar.is-done i { width: 100%; }
.hs__bar.is-active i { animation: hsFill linear forwards; animation-duration: var(--dur, 7s); }

@keyframes hsFill { to { width: 100%; } }


@media (max-width: 991px) {
  .hs { height: min(86svh, 720px); min-height: 460px; }
  .hs__arrow { width: 44px; height: 44px; }
  .hs__arrow svg { width: 20px; height: 20px; }
  .hs__inner { padding-bottom: clamp(64px, 50px + 3vw, 96px); }
}

@media (max-width: 575px) {
  .hs__btn { padding: 7px 7px 7px 24px; font-size: 15px; gap: 10px; }
  .hs__btn-ico { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .hs__content > * { opacity: 1; transform: none; transition: none; }
  .hs__bar.is-active i { animation: none; width: 100%; }
}

/* до поднятия свайпера показываем только первый кадр */
.hs-container:not(.swiper-initialized) .hs__slide { width: 100%; flex: 0 0 100%; }
.hs-container:not(.swiper-initialized) .hs__slide:not(:first-child) { display: none; }

/* подложка под видос */
.hs__still {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.hs__title img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hs__media video {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity .7s ease;
}

.hs__slide.is-playing .hs__media video { opacity: 1; }

@media (min-width: 992px) {
  .hs__title_mob { display: none; }
}

@media (max-width: 991px) {
  .hs {
    height: auto;
    aspect-ratio: 9 / 16;
    max-height: none;
    min-height: 0;
  }

  .hs__inner { padding-bottom: clamp(52px, 40px + 3vw, 76px); }
  .hs__title { margin-bottom: 20px; }
}

@media (max-width: 991px) and (orientation: landscape) {
  .hs { aspect-ratio: auto; height: 100svh; min-height: 320px; }
}

/* полоска под видос а не под таймер */
.hs__bar.is-live i {
  animation: none;
  width: var(--p, 0%);
  transition: width .2s linear;
}

.hs__bar.is-wait i { width: 0; animation: none; }

.hs__bar.is-wait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  animation: hsWait 1.2s linear infinite;
}

@keyframes hsWait {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}