.b-hero {
  background: #a7a9ac;
}

.b-hero .container {
  max-width: 1831px;
}

.b-hero__title {
  margin: 0 0 6px;
}

.b-hero__text {
  font-weight: 300;
  font-size: clamp(21px, 1.6vw, 31px);
  line-height: 1.25;
}

.b-hero__logo {
  margin-bottom: 5vh;
  width: clamp(100px, 9vw, 150px);
}

.b-hero__btn {
  margin-top: 3vh;
  min-width: 178px;
}

.b-hero__swiper {
  overflow: initial;
}

.b-hero__slide {
  z-index: 1;
  cursor: pointer;
  opacity: 0;
}

.b-hero__slide:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  opacity: 0.77;
  transition: 0.8s ease all;
}

.b-hero__slide-thumb {
  transition: 1s ease all;
  background: #eee;
}

.b-hero__slide-thumb img {
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.b-hero__slide-content {
  background: #ffeb6c;
  z-index: -1;
  transition: 1s ease all;
  overflow: hidden;
  line-height: 1.2;
}

.b-hero__slide-title {
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 300;
  line-height: 1.1;
}

.b-hero__slide-text {
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: rgba(0,0,0,0.7);
  font-size: clamp(15px, 1.4vw, 24px);
  font-weight: 300;
  color: #fff;
  padding: 0 clamp(30px, 3vw, 60px);
  line-height: 1.2;
  opacity: 0;
  transition: 0.4s ease all;
}

.b-hero__slide.swiper-slide-prev,
.b-hero__slide.swiper-slide-next,
.b-hero__slide.swiper-slide-active {
  opacity: 1;
}

.b-hero__slide.swiper-slide-prev:after {
  background: #3b3bf4;
}

.b-hero__slide.swiper-slide-next:after {
  background: #ff4e4b;
}

.b-hero__slide.swiper-slide-active:after {
  opacity: 0;
}

.b-hero__slide.swiper-slide-active .b-hero__slide-thumb {
  border-radius: 50%;
}

.b-hero__slide.swiper-slide-active .b-hero__slide-content {
  padding: 10px;
}

.b-hero__slide.swiper-slide-active:hover .b-hero__slide-text {
  opacity: 1;
}




@media screen and (min-width: 1200px) {
  .b-hero .container {
    min-height: 100vh;
    gap: 150px;
  }

  .b-hero__swiper {
    height: 100vh;
    width: 50vh;
    min-width: 50vh;
    margin-right: 0;
  }

  .b-hero__part {
    max-width: clamp(600px, 46vw, 810px);
    flex: 1 1;
    padding-bottom: 14vh;
    margin-left: 2vw;
  }

  .b-hero__slide-content {
    right: 50%;
    top: 0;
    bottom: 0;
    width: 0;
  }

  .b-hero__slide-content-in {
    width: 140px;
  }

  .b-hero__slide-content img {
    height: 15%;
    object-fit: contain;
    width: 100%;
  }

  .b-hero__slide.swiper-slide-active .b-hero__slide-content {
    width: 82%;
  }
}

@media screen and (max-width: 1199px) {
  .b-hero {
    padding: 60px 0 30px;
  }

  .b-hero__btn {
    width: 100%;
  }

  .b-hero__swiper {
    width: 100%;
    max-width: 420px;
    margin: 0 auto clamp(60px, 25vw, 120px);
  }

  .b-hero__part {
    max-width: 480px;
    margin: 0 auto;
  }

  .b-hero__slide-thumb {
    width: 100%;
  }

  .b-hero__slide-thumb:before {
    content: '';
    display: block;
    padding-top: 100%;
  }

  .b-hero__slide-thumb > img {
    position: absolute;
    left: 0;
    top: 0;
  }

  .b-hero__slide-content {
    left: 0;
    right: 0;
    top: 50%;
    height: 0;
  }

  .b-hero__slide-content-in {
    width: 100%;
  }

  .b-hero__slide-content img {
    max-height: 30px;
    object-fit: contain;
    flex: 1 1;
    max-width: 40%;
  }

  .b-hero__slide-title {
    max-width: 50%;
  }

  .b-hero__slide.swiper-slide-active .b-hero__slide-content {
    height: 82%;
  }
}

@media screen and (min-width: 1200px) {
  .b-hero__nav {
    margin: 0;
    width: 100%;
    height: 25vh;
    left: 0;
    right: 0;
  }

  .b-hero__nav.prev {
    top: 0;
  }

  .b-hero__nav.prev:hover ~ .swiper-wrapper .b-hero__slide.swiper-slide-prev:after {
    background: #ffca2c;
  }

  .b-hero__nav.next {
    bottom: 0;
    top: auto;
  }

  .b-hero__nav.next:hover ~ .swiper-wrapper .b-hero__slide.swiper-slide-next:after {
    background: #ffca2c;
  }

  .b-hero__nav:after {
    content: none;
  }
}

@media screen and (max-width: 1199px) {
  .b-hero__nav {
    margin: 0;
    width: 63%;
    height: 100%;
    top: 0;
    bottom: 0;
  }

  .b-hero__nav.prev {
    right: 81%;
    left: auto;
  }

  .b-hero__nav.prev:hover ~ .swiper-wrapper .b-hero__slide.swiper-slide-prev:after {
    background: #ffca2c;
  }

  .b-hero__nav.next {
    left: 81%;
    right: auto;
  }

  .b-hero__nav.next:hover ~ .swiper-wrapper .b-hero__slide.swiper-slide-next:after {
    background: #ffca2c;
  }

  .b-hero__nav:after {
    content: none;
  }
}