/* Customer reviews: a full-bleed loop of cards (453 x 426 Figma px, 38px apart). The cards' own size is in vw; everything INSIDE
   a card uses cqw (cqw only works on descendants of a container, never on the container itself). */
.reviews { padding-top: 2.8vw; overflow: hidden; }
.reviews__head { text-align: center; }
.reviews__title { margin-top: .8vw; font-size: clamp(1.9rem, 2.5vw, 3rem); line-height: 1.18; font-weight: 600; letter-spacing: -.02em; color: #101828; }

.reviews__viewport { margin-top: 3.6vw; padding-block: .6vw 1.6vw; }
.reviews__track { display: flex; width: max-content; will-change: transform; }

.review-card {
  container-type: inline-size; flex: none; width: 23.6vw; aspect-ratio: 453 / 426; margin-right: 2vw;
  background: #f5f5f5; border-radius: min(1.15vw, 22px); color: #101828;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.review-card:first-child { margin-left: .4vw; }
.review-card:hover { transform: translateY(-.4rem); box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 12px 24px -10px rgba(16,24,40,.18); }
.review-card__in { height: 100%; padding: 8.6cqw 8.6cqw 8cqw; display: flex; flex-direction: column; }

.review-card__top { display: flex; align-items: center; justify-content: space-between; gap: 4cqw; }
.review-card__avatar { width: 13.4cqw; height: 13.4cqw; border-radius: 50%; object-fit: cover; flex: none; }
.review-card__logo { height: auto; width: auto; max-height: 7.8cqw; max-width: 32cqw; object-fit: contain; }

.review-card__quote { margin: 9cqw 0 0; font-size: 5.5cqw; line-height: 1.5; font-weight: 500; letter-spacing: -.005em; }
.review-card__by { margin-top: auto; display: flex; flex-direction: column; gap: 1.2cqw; }
.review-card__by strong { font-size: 4.4cqw; line-height: 1.3; font-weight: 600; }
.review-card__by span { font-size: 3.3cqw; line-height: 1.4; color: rgba(16,24,40,.6); }

@media (max-width: 1000px) {
  .reviews { padding-top: 1rem; }
  .reviews__title { margin-top: .6rem; }
  .reviews__viewport { margin-top: 1.75rem; }
  .review-card { width: min(78vw, 24rem); margin-right: 1rem; border-radius: 1.1rem; }
  .review-card:first-child { margin-left: var(--gutter); }
  .review-card:hover { transform: none; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reviews__viewport { overflow-x: auto; }
}
