.hero {
  background-image: url("../images/backgrounds/herobg.png");
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* info block */

.hero__info {
  min-height: 603px;
  max-width: 747px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 auto;
}
@media (max-width: 1440px) {
  .hero__info {
    min-height: 495px;
  }
}
@media (max-width: 979px) {
  .hero__info {
    min-height: 484px;
    max-width: 456px;
  }
}
@media (max-width: 767px) {
  .hero__info {
    min-height: 384px;
    max-width: 93%;
  }
}

.hero__title {
  color: var(--c-white);
  font-size: 60px;
  line-height: 120%;
  font-weight: 700;
  text-align: center;
}
@media (max-width: 979px) {
  .hero__title {
    font-size: 40px;
  }
}
@media (max-width: 767px) {
  .hero__title {
    font-size: 20px;
  }
}

.hero__text {
  margin: 24px 0 40px;
  color: var(--c-white);
  font-size: 24px;
  line-height: 120%;
  font-weight: 500;
  text-align: center;
}
@media (max-width: 979px) {
  .hero__text {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  .hero__text {
    font-size: 12px;
  }
}

.hero__btn {
  width: 240px;
}
@media (max-width: 767px) {
  .hero__btn {
    width: 192px;
  }
}

/* slider */

.hero__slider {
  padding-bottom: 41px;
}
@media (max-width: 979px) {
  .hero__slider {
    padding-bottom: 53ppp;
  }
}
@media (max-width: 767px) {
  .hero__slider {
    padding-bottom: 44px;
  }
}

.hero__swiper::before {
  content: "";
  background: -o-linear-gradient(
    359.09deg,
    rgba(16, 23, 37, 0.8) 0%,
    rgba(79, 83, 93, 0.550629) 25%,
    rgba(79, 83, 93, 0) 99.3%
  );
  background: linear-gradient(
    90.91deg,
    rgba(16, 23, 37, 0.8) 0%,
    rgba(79, 83, 93, 0.550629) 25%,
    rgba(79, 83, 93, 0) 99.3%
  );
  position: absolute;
  top: 0;
  left: 0;
  width: 140px;
  height: 100%;
  z-index: 2;
}
.hero__swiper::after {
  content: "";
  background: -o-linear-gradient(
    359.09deg,
    rgba(79, 83, 93, 0) 0.85%,
    rgba(79, 83, 93, 0.550629) 63.86%,
    rgba(16, 23, 37, 0.8) 99.3%
  );
  background: linear-gradient(
    90.91deg,
    rgba(79, 83, 93, 0) 0.85%,
    rgba(79, 83, 93, 0.550629) 63.86%,
    rgba(16, 23, 37, 0.8) 99.3%
  );
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 100%;
  z-index: 2;
}
@media (max-width: 979px) {
  .hero__swiper::before, .hero__swiper::after {
   display: none;
  }
}

.hero__slide {
  width: 400px;
  height: 256px;
}
@media (max-width: 1440px) {
  .hero__slide {
    width: 290px;
    height: 185px;
  }
}
@media (max-width: 767px) {
  .hero__slide {
    width: 188px;
    height: 120px;
  }
}

.hero__slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  border-radius: 12px;
}

.hero__controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 979px) {
  .hero__controls {
    margin-top: 32px;
  }
}
@media (max-width: 767px) {
  .hero__controls {
    gap: 12px;
  }
}

.hero__swiper-btn {
  opacity: 40%;
}
