/* Shared patient proof: a calm, horizontally scrollable manuscript rail. */
.testimonials{padding:104px 0 112px;overflow:hidden;background:var(--cream)}
.testimonials .sec-lead{max-width:760px}
.testi-rail{
  position:relative;width:100%;margin-top:48px;overflow:hidden;
}
.testi-rail::before,.testi-rail::after{
  content:"";position:absolute;z-index:2;top:0;bottom:0;width:clamp(38px,8vw,150px);
  pointer-events:none;
}
.testi-rail::before{left:0;background:linear-gradient(90deg,var(--cream) 0%,rgba(247,234,216,.92) 28%,rgba(247,234,216,0) 100%)}
.testi-rail::after{right:0;background:linear-gradient(270deg,var(--cream) 0%,rgba(247,234,216,.92) 28%,rgba(247,234,216,0) 100%)}
.testi-track{
  display:flex;width:max-content;gap:20px;padding-bottom:18px;
  animation:testimonials-marquee 72s linear infinite;will-change:transform;
}
.testi-group{display:flex;align-items:stretch;gap:20px}
.testi-rail:hover .testi-track{animation-play-state:paused}
@keyframes testimonials-marquee{
  to{transform:translate3d(calc(-50% - 10px),0,0)}
}
.testi{
  position:relative;display:flex;flex:0 0 344px;flex-direction:column;min-height:435px;
  padding:56px 30px 24px;background:var(--card);border-radius:var(--r-lg);
}
.testi__q{
  position:absolute;top:17px;left:28px;color:var(--ink-soft);
  font:400 43px/1 var(--serif);height:32px;
}
.testi p{margin:0;font-size:var(--fs-body);line-height:25.3px;color:var(--ink-soft)}
.testi__who{display:flex;align-items:center;gap:12px;margin-top:auto;padding-top:24px}
.testi__who img{width:46px;height:46px;border-radius:50%;object-fit:cover}
.testi__who b{font-weight:400;font-size:var(--fs-label);color:var(--ink)}
.testimonials__more{display:flex;justify-content:center;margin-top:20px}
.testimonials__more a{
  display:inline-flex;align-items:center;min-height:44px;color:var(--brass-ink);
  font-size:var(--fs-label);text-decoration:underline;text-underline-offset:5px;
  text-decoration-color:var(--gold-line);transition:color var(--t-state);
}
.testimonials__more a:hover{color:var(--gold)}
@media (max-width:860px){
  .testimonials{padding:64px 0 72px}
  .testi-rail{margin-top:36px}
  .testi-track,.testi-group{gap:16px}
  .testi-track{animation-duration:82s}
  @keyframes testimonials-marquee{
    to{transform:translate3d(calc(-50% - 8px),0,0)}
  }
  .testi{flex-basis:min(82vw,344px);min-height:0}
  .testi p{font-size:var(--fs-mobile-body);line-height:24px}
}
@media (prefers-reduced-motion:reduce){
  .testi-rail{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
  .testi-rail::-webkit-scrollbar{display:none}
  .testi-rail::before,.testi-rail::after{display:none}
  .testi-track{animation:none;will-change:auto;padding-inline:24px}
  .testi-group--duplicate{display:none}
  .testi{scroll-snap-align:start}
}
