/* Whole slides only: 3 per view on desktop, 2 on tablet, 1 on phone.
   Side padding + negative margin give the card shadows room without shifting the grid. */
.testi-track{
  --per-view:3; --gap:20px;
  display:flex;gap:var(--gap);overflow-x:auto;scroll-snap-type:x mandatory;
  padding:6px 12px 28px;margin:0 -12px;scroll-padding-inline:12px;
  scrollbar-width:none;
}
@media (max-width:1000px){ .testi-track{--per-view:2} }
@media (max-width:640px){ .testi-track{--per-view:1} }
.testi-track::-webkit-scrollbar{display:none}
.testi-card{
  scroll-snap-align:start;
  flex:0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);
  padding:26px;box-shadow:var(--shadow-soft);
  display:flex;flex-direction:column;
}
.testi-stars{font-size:14px;margin-bottom:14px}
.testi-quote{font-size:15px;color:var(--ink);line-height:1.55;flex:1}
.testi-person{display:flex;align-items:center;gap:11px;margin-top:20px}
.testi-avatar{
  width:42px;height:42px;border-radius:50%;flex:none;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-size:14px;font-weight:700;color:#fff;
  background:var(--accent);
}
.testi-name{font-size:14px;font-weight:800}
.testi-meta{font-size:12.5px;color:var(--ink-faint);margin-top:1px}
.testi-nav{display:flex;gap:10px;justify-content:center;margin-top:18px}
.testi-nav button{
  width:38px;height:38px;border-radius:50%;border:1px solid var(--line);
  background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;
}
.testi-nav button:hover{background:var(--bg-soft)}

@media (max-width:640px){
  .testi-card{padding:22px}
  .testi-nav{margin-top:10px}
  .testi-nav button{width:44px;height:44px}
}