/* Reviews — Отзывы */

.reviews {
  width: 100%;
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, #0040bf 0%, #ff840b 100%);
  color: #ffffff;
}

.reviews__inner {
  width: 100%;
  max-width: 1425px;
  margin-left: auto;
  margin-right: auto;
  padding: 80px 72.5px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.reviews__header {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
  width: 100%;
  max-width: 1215px;
  margin-left: auto;
  margin-right: auto;
}

.reviews__title-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  width: 100%;
  text-align: center;
  color: #ffffff;
  word-break: break-word;
}

.reviews__tag {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  color: #ffffff;
}

.reviews__title {
  margin: 0;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: 89px;
  line-height: 1.1;
  width: 100%;
  color: #ffffff;
}

.reviews__lead {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  text-align: center;
  color: #ffffff;
  width: 100%;
  word-break: break-word;
}

.reviews__swiper {
  width: 100%;
  align-self: stretch;
  position: relative;
  overflow: hidden;
}

.reviews__swiper .swiper-wrapper {
  align-items: stretch;
}

.reviews__swiper .swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.reviews__card {
  background: #ffffff;
  border-radius: 10px;
  padding: 35px;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  color: #051133;
}

.reviews__quote {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  color: #051133;
  margin: 0;
}

.reviews__client {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  text-align: left;
}

.reviews__client-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 15px;
  min-width: 0;
  color: #051133;
}

.reviews__client-info > div {
  color: #051133;
}

.reviews__client-name {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  color: #051133;
}

.reviews__client-info > div:not(.reviews__client-name) {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
}

.reviews__avatar-wrap {
  width: 90px;
  height: 90px;
  border-radius: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

.reviews__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reviews__divider {
  width: 1px;
  background-color: #000;
  align-self: stretch;
  flex-shrink: 0;
}

.reviews__logo-wrap {
  flex-shrink: 0;
  width: 7.5rem;
  height: 3rem;
  display: flex;
  align-items: center;
}

.reviews__logo {
  display: block;
  max-width: 100%;
  max-height: 3rem;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.reviews__swiper-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 30px;
  min-height: 45px;
  z-index: 2;
}

.reviews__pagination.swiper-pagination {
  position: static;
  width: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.reviews__pagination .swiper-pagination-bullet {
  width: 0.5rem;
  height: 0.5rem;
  margin: 0 !important;
  background: #ffffff;
  opacity: 0.35;
}

.reviews__pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

.reviews__arrows {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.reviews__arrow {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #051133;
  color: #ffffff;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background-color 0.2s ease-in-out;
}

.reviews__arrow:not(.reviews__arrow--disabled):hover {
  background-color: #ff840b;
}

.reviews__arrow--disabled {
  background: #d9d9d9;
  color: #999999;
  cursor: default;
  pointer-events: none;
}

.reviews__arrow svg {
  width: 14px;
  height: 14px;
  display: block;
}

@media screen and (min-width: 768px) {
  .reviews__swiper {
    width: min(1425px, 100%);
    max-width: 1425px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 1410px) {
  .reviews__inner {
    gap: 40px;
  }

  .reviews__header {
    gap: 2rem;
  }
}

@media screen and (max-width: 1200px) and (min-width: 768px) {
  .reviews__inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media screen and (max-width: 991px) {
  .reviews__card {
    padding: 20px;
    gap: 20px;
  }

  .reviews__quote {
    font-size: 1rem;
    line-height: 1.2;
  }

  .reviews__client {
    flex-direction: row;
    align-items: center;
  }

  .reviews__client-info {
    flex: 1;
    width: auto;
    margin-bottom: 0;
  }

  .reviews__divider {
    display: block;
    align-self: stretch;
  }
}

@media screen and (max-width: 767px) {
  .reviews__inner {
    padding: 4rem var(--page-gutter);
    gap: 2rem;
    overflow: visible;
  }

  .reviews__header {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    gap: 1.5rem;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  .reviews__title-block {
    gap: 1rem;
  }

  .reviews__tag {
    font-size: 1rem;
    line-height: 1.2;
  }

  .reviews__title {
    font-size: 2rem;
    line-height: 1.1;
  }

  .reviews__lead {
    font-size: 1rem;
    line-height: 1.2;
  }

  .reviews .reviews__swiper {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  .reviews__swiper-footer {
    left: auto;
    right: auto;
    width: 100%;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  .reviews__pagination.swiper-pagination {
    width: 100%;
    justify-content: center;
  }

  .reviews__arrows {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .reviews__client {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .reviews__divider {
    display: none;
  }

  .reviews__client-info {
    flex: none;
    width: 100%;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0;
  }
}
