/* Figma 77:974; ten reviews reuse the original 556 × 736 card variants. */
.testimonials {
  --testimonial-gutter: 7.581019vw;
  --testimonial-gap: 2.488426vw;
  position: relative;
  isolation: isolate;
  width: 100%;
  padding-top: 11.574074vw;
  padding-bottom: 11.574074vw;
  overflow-x: clip;
  overflow-y: visible;
  overflow-anchor: none;
}
.testimonials-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .925926vw;
  margin-inline: var(--testimonial-gutter);
  margin-bottom: 7.118056vw;
}
.testimonials-heading h2 {
  margin: 0;
  font-size: 6.672569vw;
  font-weight: 700;
  line-height: 1.025;
  letter-spacing: -.303976vw;
}
.testimonials-heading h2 span { display: block; }
.testimonials-window {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--testimonial-gutter);
  scrollbar-width: thin;
  scrollbar-color: #b190ff transparent;
}
.testimonials-window:focus-visible { outline-offset: -3px; }
.testimonials-track {
  display: flex;
  gap: var(--testimonial-gap);
  width: max-content;
  padding-inline: var(--testimonial-gutter);
}
.testimonial {
  display: flex;
  flex: 0 0 32.175926vw;
  width: 32.175926vw;
  scroll-snap-align: start;
}
.testimonial-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 9.722222vw;
  min-height: 42.592593vw;
  padding: 3.240741vw;
  border-radius: .925926vw;
  color: var(--ink);
  background: #b190ff;
}
.testimonial blockquote {
  width: 100%;
  height: 20.949074vw;
  flex-shrink: 0;
  margin: 0;
  font-size: 2.083333vw;
  font-weight: 600;
  line-height: 1.3;
}
.testimonial-author { display: flex; align-items: center; gap: 1.041667vw; }
.testimonial-author img {
  flex-shrink: 0;
  width: 5.439815vw;
  height: 5.439815vw;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author p { min-width: 0; font-size: max(12px, 1.157407vw); font-weight: 600; line-height: 1.3; }
.testimonial-author p span { display: block; }
.testimonial-dark .testimonial-content { color: #faf8ff; background: #161025; }
.testimonial-purple .testimonial-content { color: #faf8ff; background: #7019f7; }
.testimonials-motion .testimonials-window { overflow-x: clip; scroll-snap-type: none; }
.testimonials-motion .testimonials-track,
.testimonials-motion .testimonial-content,
.testimonials-elastic .testimonial-content { will-change: transform; }

@media (max-width: 767px) {
  .testimonials { --testimonial-gutter: 20px; --testimonial-gap: 20px; padding-block: 72px 96px; }
  .testimonials-heading { gap: 20px; margin-bottom: 48px; }
  .testimonials-heading h2 { font-size: 8.5vw; letter-spacing: -.035em; line-height: 1.025; }
  .testimonials-window { padding-bottom: 14px; }
  .testimonial { flex-basis: 85vw; width: 85vw; max-width: 480px; }
  .testimonial-content { min-height: 112.5vw; padding: 7vw; gap: 48px; border-radius: 12px; }
  .testimonial blockquote { height: auto; font-size: clamp(18px, 4.6vw, 30px); }
  .testimonial-author { gap: 12px; }
  .testimonial-author img { width: clamp(48px, 13vw, 68px); height: clamp(48px, 13vw, 68px); }
  .testimonial-author p { font-size: clamp(12px, 2.7vw, 16px); }
}
