

.page-references .subhero__text { max-width: 860px; }

.references__logos { margin-top: 0; }

.testimonial-swiper {
  margin-top: 32px;
  padding: 40px 0 56px;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
          mask: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.testimonial-swiper .swiper-wrapper { align-items: stretch; }
.testimonial-swiper .swiper-slide {
  height: auto;
  display: flex;
  opacity: .75;
  transform: scale(.92);
  filter: none;
  transition: opacity .55s var(--easing-out), transform .55s var(--easing-out);
  z-index: 1;
}
.testimonial-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1.05);
  filter: none;
  z-index: 3;
}

.testimonial {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  min-height: 240px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: box-shadow .5s var(--easing-out), border-color .5s var(--easing-out);
}
.testimonial-swiper .swiper-slide-active .testimonial {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(var(--primary-rgb), 0.18);
  border-color: transparent;
}
.testimonial__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 18px;
  flex: 0 0 auto;
}
.testimonial blockquote {
  margin: 0;
  font-size: var(--body);
  line-height: var(--lh-relaxed);
  color: var(--ink-2);
}
.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.testimonial figcaption strong {
  font-size: var(--body-sm);
  font-weight: var(--fw-semibold);
  color: var(--ink);
}
.testimonial figcaption span {
  font-size: var(--text-xs);
  color: var(--text-faint);
}

.page-references .sec--muted { padding: 80px 0; }

@media (max-width: 1024px) {
  .testimonial { padding: 24px; min-height: 220px; }
  .testimonial-swiper .swiper-slide { transform: scale(.94); opacity: .75; filter: none; }
  .testimonial-swiper .swiper-slide-active { transform: scale(1.04); opacity: 1; }
}

@media (max-width: 768px) {
  .page-references .sec--muted { padding: 56px 0 32px; }
  .testimonial-swiper {
    padding: 24px 0 56px;
    -webkit-mask: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
            mask: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  }
  .testimonial-swiper .swiper-slide { transform: scale(.95); opacity: .7; filter: none; }
  .testimonial-swiper .swiper-slide-active { transform: scale(1.02); opacity: 1; }
  .testimonial { padding: 22px; min-height: 190px; }
}

@media (max-width: 640px) {
  .references__logos .logo-cell { aspect-ratio: 3 / 2; padding: 14px; }
}
