.km-heroSlider{
  position: relative;
  overflow: hidden;
  background: #0f1720;
}

.km-heroSlider__viewport{
  position: relative;
}

.km-heroSlider__track{
  position: relative;
  min-height: clamp(620px, 86vh, 860px);
}

.km-heroSlide{
  position: absolute;
  inset: 0;
  min-height: clamp(620px, 86vh, 860px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition:
    opacity .85s ease,
    visibility .85s ease,
    transform .85s ease;
  transform: scale(1.015);
}

.km-heroSlide.is-active{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
  transform: scale(1);
}

.km-heroSlide__bg{
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.km-heroSlide__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 5.5s ease;
}

.km-heroSlide.is-active .km-heroSlide__bg img{
  transform: scale(1);
}

.km-heroSlide__overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(8, 14, 24, calc(var(--km-overlay) + 0.10)) 0%,
      rgba(8, 14, 24, var(--km-overlay)) 42%,
      rgba(8, 14, 24, calc(var(--km-overlay) - 0.12)) 100%
    );
}

.km-heroSlide__content{
  position: relative;
  z-index: 2;
  min-height: clamp(620px, 86vh, 860px);
  display: flex;
  align-items: center;
  padding: 110px 0 130px;
}

.km-heroSlide__content,
.km-heroSlide__inner,
.km-heroSlide__actions,
.km-btn{
  box-sizing: border-box;
}

.km-heroSlide__inner{
  width: 100%;
  max-width: 640px;
  color: #fff;
}

.km-heroSlide__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}

.km-heroSlide__title{
  margin: 0 0 18px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0,0,0,.20);
}

.km-heroSlide__desc{
  max-width: 580px;
}

.km-heroSlide__desc p{
  margin: 0;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.75;
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 10px rgba(0,0,0,.16);
}

.km-heroSlide__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
  margin-top: 34px;
  position: relative;
  z-index: 3;
}

.km-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform .25s ease,
    background-color .25s ease,
    color .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.km-btn--primary{
  background: #ffffff;
  color: #111827;
}

.km-btn--primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.km-btn--ghost{
  border: 1px solid rgba(255,255,255,.6);
  color: #fff;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
}

.km-btn--ghost:hover{
  background: rgba(255,255,255,.16);
  transform: translateY(-2px);
}

.km-heroSlider__nav{
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 25, 35, .42);
  color: #fff;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background-color .25s ease, transform .25s ease;
}

.km-heroSlider__nav:hover{
  background: rgba(18, 25, 35, .68);
  transform: translateY(-50%) scale(1.04);
}

.km-heroSlider__nav--prev{
  left: 22px;
}

.km-heroSlider__nav--next{
  right: 22px;
}

.km-heroSlider__dots{
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.km-heroSlider__dot{
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: all .25s ease;
}

.km-heroSlider__dot.is-active{
  width: 30px;
  border-radius: 999px;
  background: #fff;
}

.km-mobile-title{
  display: none;
}

@media (max-width: 991px){
  .km-heroSlider__track{
    min-height: 620px;
  }

  .km-heroSlide{
    min-height: 620px;
  }

  .km-heroSlide__content{
    min-height: 620px;
    align-items: flex-end;
    padding: 120px 0 84px;
  }

  .km-heroSlide__inner{
    max-width: 100%;
  }

  .km-heroSlide__title{
    font-size: clamp(28px, 8vw, 42px);
  }

  .km-heroSlide__desc p{
    font-size: 15px;
    line-height: 1.7;
  }

  .km-heroSlider__nav{
    display: none;
  }

  .km-heroSlide__overlay{
    background:
      linear-gradient(
        180deg,
        rgba(8, 14, 24, .18) 0%,
        rgba(8, 14, 24, var(--km-overlay)) 52%,
        rgba(8, 14, 24, calc(var(--km-overlay) + 0.14)) 100%
      );
  }
}

@media (max-width: 767px){
  .km-heroSlider__track{
    min-height: 560px;
  }

  .km-heroSlide{
    min-height: 560px;
  }

  .km-heroSlide__content{
    min-height: 560px;
    padding: 108px 0 74px;
  }

  .km-heroSlide__inner{
    width: 100%;
    max-width: 100%;
    padding-right: 0;
  }

  .km-heroSlide__title{
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1.12;
  }

  .km-heroSlide__desc p{
    font-size: 14px;
  }

  .km-heroSlide__actions{
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    overflow: hidden;
  }

  .km-btn{
    width: 100%;
    max-width: 100%;
    min-height: 54px;
    padding: 0 18px;
    white-space: normal;
  }

  .km-desktop-title{
    display: none;
  }

  .km-mobile-title{
    display: inline;
  }

  .km-heroSlider__dots{
    bottom: 18px;
  }
}

@media (min-width: 992px){
  .km-heroSlide__actions .km-btn{
    width: auto;
    min-width: 180px;
  }

  .km-heroSlide__desc p{
    font-size: 18px;
    line-height: 1.7;
  }
}