/* utils */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.reviews {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 28 * (100vw - 375px) / 1065 + 72px, 100px) 0;
  background-color: #fff;
}

.reviews__container {
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 768px) {
  .reviews__title-thumb {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
.reviews__tag {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 110%;
  letter-spacing: -0.01em;
  color: #8067f5;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto 16px;
}

.reviews__title h2 {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: clamp(32px, 16 * (100vw - 375px) / 1065 + 32px, 48px);
  line-height: 100%;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: clamp(24px, 12 * (100vw - 375px) / 1065 + 24px, 36px);
}

.reviews__slider {
  position: relative;
}

.reviews__slider.is-native-slider .reviews__swiper {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.reviews__slider.is-native-slider .reviews__swiper::-webkit-scrollbar {
  display: none;
}
.reviews__slider.is-native-slider .reviews__list {
  display: flex;
  width: -moz-max-content;
  width: max-content;
  gap: 16px;
}
.reviews__slider.is-native-slider .reviews__item {
  flex: 0 0 auto;
  height: clamp(420px, 40 * (100vw - 375px) / 1065 + 420px, 460px);
}

.reviews__swiper {
  overflow: visible;
}

.reviews__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.reviews__item {
  border-radius: clamp(16px, 8 * (100vw - 375px) / 1065 + 16px, 24px);
  padding: clamp(16px, 16 * (100vw - 375px) / 1065 + 16px, 32px) clamp(16px, 8 * (100vw - 375px) / 1065 + 16px, 24px);
  width: 307px;
  height: clamp(420px, 40 * (100vw - 375px) / 1065 + 420px, 460px);
  background: #f6f7f9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media screen and (min-width: 768px) {
  .reviews__item {
    width: 390px;
  }
}

.reviews__messages {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  max-height: clamp(240px, 36 * (100vw - 375px) / 1065 + 240px, 276px);
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.reviews__messages::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.reviews__message {
  display: flex;
  flex-direction: column;
}

.reviews__message--client {
  align-self: flex-start;
}

.reviews__message--company {
  align-self: flex-end;
  max-width: 66%;
}
.reviews__message--company:first-child {
  margin-top: clamp(8px, 8 * (100vw - 375px) / 1065 + 8px, 16px);
}
.reviews__message--company .reviews__message-label {
  text-align: end;
}

.reviews__message-label {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 125%;
  letter-spacing: -0.02em;
  color: #6e6f76;
  margin-bottom: 8px;
}

.reviews__message-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 125%;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  border-radius: 12px;
  padding: 12px;
}

.reviews__message--default .reviews__message-text {
  background: #fff;
  color: var(--text-dark);
}

.reviews__message--dark .reviews__message-text {
  background: var(--text-dark);
  color: #f8fffc;
}

.reviews__message--purple .reviews__message-text {
  background: #8067f5;
  color: #f8fffc;
}

.reviews__message--peach .reviews__message-text {
  background: #fcd9bc;
  color: var(--text-dark);
}

.reviews__author {
  display: flex;
  align-items: center;
  gap: clamp(12px, 4 * (100vw - 375px) / 1065 + 12px, 16px);
}

.reviews__avatar-thumb {
  border-radius: 50px;
  width: clamp(44px, 8 * (100vw - 375px) / 1065 + 44px, 52px);
  height: clamp(44px, 8 * (100vw - 375px) / 1065 + 44px, 52px);
  overflow: hidden;
  background: #1f1e22;
}

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

.reviews__author-info {
  min-width: 0;
}

.reviews__author-name {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.01em;
  color: #1f1e22;
  margin-bottom: 4px;
}

.reviews__author-position {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: -0.02em;
  color: #6e6f76;
}

.reviews__nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(24px, 8 * (100vw - 375px) / 1065 + 24px, 32px);
}

.reviews__slider.is-navigation-hidden .reviews__nav {
  display: none;
}

.reviews__button {
  width: clamp(44px, 8 * (100vw - 375px) / 1065 + 44px, 52px);
  height: clamp(44px, 8 * (100vw - 375px) / 1065 + 44px, 52px);
  border: none;
  border-radius: 12px;
  background: #1f1e22;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.reviews__button svg {
  width: 8px;
  height: 17px;
  stroke: currentColor;
  fill: currentColor;
}
.reviews__button:hover {
  opacity: 0.85;
}
.reviews__button:active {
  transform: scale(0.96);
}
.reviews__button:disabled, .reviews__button.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.reviews__button--prev svg {
  transform: rotate(180deg);
}

.reviews__item.swiper-slide {
  height: clamp(420px, 40 * (100vw - 375px) / 1065 + 420px, 460px);
}
/*# sourceMappingURL=reviews.css.map */
