.partners {
  overflow: hidden;
  text-align: center;
}
.partners .container {
  overflow: hidden;
}
.partners__slider {
  padding: 30px 0;
  overflow: hidden;
  background-color: var(--light-gray-200);
  border-radius: 16px;
}
.partners__swiper-wrapper {
  align-items: center;
}
.partners__link {
  display: block;
  text-align: center;
}
.partners__link img {
  width: 100%;
}
.partners__link_disabled {
  cursor: unset;
}
.partners__logo-dark {
  display: none;
}
@media (width <= 768px) {
  .partners {
    margin-bottom: 80px;
  }
  .partners__slider {
    width: calc(100vw + 30px);
    margin-left: -15px;
    padding: 21.5px 0;
  }
}

.trust {
  position: relative;
  padding: 12px 15px;
  color: var(--gray-500);
  font-size: 16px;
  line-height: 20px;
  background-color: var(--light-gray-200);
  border-radius: 12px;
  backdrop-filter: blur(140px);
}
.trust__wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
}
.trust__image {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}
.trust__image-dark {
  display: none;
}
.trust__rating {
  color: var(--color-invert);
  font-weight: 700;
}
.trust__link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.trust__rating {
  pointer-events: none;
}
@media (width <= 768px) {
  .trust {
    padding: 4.5px 12px;
    font-size: 10px;
  }
  .trust__rating {
    font-size: 12px;
  }
  .trust__image img {
    width: 84px;
  }
}

.service-block {
  padding: 20px 28px 24px;
  color: var(--white);
  font-size: 12px;
  background-color: var(--black-700);
  background-image:
    url("../img/service-waves.svg"), url("../img/service-gradient.svg");
  background-size: cover;
  border-radius: 16px;
}
.service-block__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.service-block__title {
  position: relative;
  z-index: var(--z-index-second);
  max-width: 120px;
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
}
.service-block__image {
  translate: 20px -8px;
}
.service-block__promo {
  width: 100%;
  margin-bottom: 13px;
  color: hsl(from var(--white) h s l/0.8);
  text-transform: uppercase;
}
.service-block__promo strong {
  color: var(--white);
}
.service-block__rows {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  color: var(--light-gray-200);
  font-weight: 300;
  border-bottom: 0.5px solid var(--high-gray-300);
}
.service-block__row {
  position: relative;
  padding-left: 24px;
}
.service-block__row::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  background-image: url("../img/icons/checks.svg");
  filter: var(--primary-filter);
  translate: 0 -50%;
}
.service-block__bottom {
  color: var(--light-gray-200);
  font-weight: 300;
}
.service-block__toggle {
  display: none;
}
@media (width <= 1200px) {
  .service-block {
    padding: 14px 18px;
    background-image:
      url("../img/service-waves-mobile.svg"),
      url("../img/service-gradient-mobile.svg");
    background-position: right;
    border-radius: 12px;
  }
  .service-block.active .service-block__top {
    margin-bottom: 6px;
  }
  .service-block.active .service-block__content {
    display: block;
  }
  .service-block.active .service-block__toggle {
    rotate: 180deg;
  }
  .service-block.active .service-block__promo {
    margin-bottom: 5px;
  }
  .service-block__top {
    position: relative;
    gap: 5px;
    padding: 0 40px;
  }
  .service-block__content {
    display: none;
    padding: 0 10px;
  }
  .service-block__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    translate: 0;
  }
  .service-block__title {
    max-width: initial;
    margin-bottom: 0;
    font-size: 16px;
  }
  .service-block__promo {
    margin-bottom: 0;
    color: hsl(from var(--white) h s l/0.72);
    font-size: 9px;
  }
  .service-block__promo strong {
    color: var(--white);
  }
  .service-block__toggle {
    position: absolute;
    top: 50%;
    right: 0;
    display: grid;
    width: 24px;
    height: 24px;
    background-color: hsl(from var(--white) h s l/0.1);
    border-radius: 4.5px;
    place-items: center;
    translate: 0 -50%;
  }
  .service-block__toggle img {
    filter: invert(1);
  }
}

.promo {
  margin-top: 70px;
  margin-bottom: 105px;
}
.promo__container {
  position: relative;
}
.promo__top {
  max-width: 800px;
  margin-right: auto;
  margin-bottom: 25px;
  margin-left: auto;
  color: var(--color-invert);
  text-align: center;
}
.promo__title {
  margin-bottom: 20px;
}
.promo__small {
  font-weight: 500;
  font-size: 22px;
}
.promo__light {
  color: #6e7277;
  font-weight: 300;
  font-size: 18px;
}
.promo__block {
  position: absolute;
  top: 190px;
  right: 15px;
}
.promo__swiper {
  width: 286px;
}
.promo__trust {
  margin-top: 10px;
}
@media (width <= 1200px) {
  .promo__swiper {
    width: 100%;
  }
  .promo__block {
    position: static;
  }
}
@media (width <= 768px) {
  .promo {
    margin-top: 40px;
    margin-bottom: 20px;
  }
  .promo__block {
    margin-bottom: 20px;
  }
  .promo__title {
    margin-bottom: 12px;
  }
  .promo__swiper {
    width: 100%;
  }
}

.steps__top {
  max-width: 546px;
  margin-right: auto;
  margin-bottom: 55px;
  margin-left: auto;
}
.steps__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 20px;
  align-items: flex-start;
}
.steps__item {
  display: grid;
  gap: 30px;
  place-items: center;
}
.steps__desc {
  padding: 0 20px;
  background-color: var(--bg);
}
.steps__number {
  margin-bottom: 5px;
  color: var(--color-invert);
  font-weight: 600;
  font-size: 22px;
}
.steps__image-dark {
  display: none;
}
@media (width <= 768px) {
  .steps.is-active .steps__scroll-section {
    overflow: hidden;
  }
  .steps.is-active .steps__scroll-wrapper {
    height: calc(100vh + 60px);
  }
  .steps.is-active .steps__items {
    gap: 0;
  }
  .steps.is-active .steps__item {
    position: absolute;
    z-index: 0;
    display: block;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-align: center;
  }
  .steps.is-active .steps__item:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 95%;
    background-color: var(--white);
  }
  .steps.is-active .steps__item img {
    position: relative;
    z-index: 2;
    height: 70vh;
    margin-bottom: 10px;
    object-fit: contain;
  }
  .steps.is-active .steps__item:nth-child(1) {
    z-index: 1;
  }
  .steps.is-active .steps__item:nth-child(2) {
    z-index: var(--z-index-second);
  }
  .steps.is-active .steps__item:nth-child(3) {
    z-index: 3;
  }
  .steps.is-active .steps__item:nth-child(4) {
    z-index: 4;
  }
  .steps.is-active .steps__desc {
    position: relative;
    z-index: 2;
  }
  .steps__item {
    text-align: center;
  }
}

@media (width <= 768px) {
  .index-page__promo {
    margin-top: -16px;
    margin-bottom: 84px;
  }
}
