.testimonials-section{border-bottom:1px solid #303033;background:#0d0d0e}
/* One row regardless of the number of published cards; only this rail scrolls. */
.testimonials-section .testimonial-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 52px)/3);min-width:0;max-width:100%;overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-x:contain;padding:10px 0 20px;scrollbar-width:thin;scrollbar-color:#666 #19191c}
.testimonials-section .testimonial-card{scroll-snap-align:start}
.testimonials-section .testimonial-grid:focus-visible{outline:2px solid var(--red);outline-offset:5px}
@media(max-width:1000px){.testimonials-section .testimonial-grid{grid-auto-columns:calc((100% - 18px)/2)}}
@media(max-width:700px){.testimonials-section .testimonial-grid{grid-auto-columns:85%;scroll-snap-type:x mandatory}}
.testimonial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;align-items:stretch}
.testimonial-card{--testimonial-accent:#6D40EE;--testimonial-ink:#fff;position:relative;display:flex;flex-direction:column;min-width:0;min-height:410px;padding:30px 26px 22px;border:0;border-radius:30px;background:var(--testimonial-accent);color:var(--testimonial-ink);box-shadow:none;transition:transform .35s ease}
.testimonial-card::before{content:none}
.testimonial-mark{color:inherit;opacity:.6;font:60px/1 Grandis,Arial,sans-serif;height:44px}
.testimonial-card blockquote{margin:16px 0 36px;font:400 clamp(18px,1.65vw,25px)/1.45 Grandis,Arial,sans-serif;letter-spacing:-.035em;overflow-wrap:anywhere}
.testimonial-company{display:flex;align-items:center;gap:16px;margin-top:auto;min-height:96px;padding:20px;border-radius:18px;background:#0d0d0e;color:#f4f4f0}
.testimonial-company img{width:70px;height:54px;object-fit:contain;flex-shrink:0;filter:none;transition:transform .35s ease}
.testimonial-company strong{font:400 12px/1.6 Grandis,Arial,sans-serif;overflow-wrap:anywhere;min-width:0}
.testimonial-logo-placeholder{width:44px;height:44px;border:1px solid #ffffff40;border-radius:50%;display:grid;place-items:center;font-size:22px;flex-shrink:0}
.testimonial-admin-preview{margin-top:40px;padding:28px;border-radius:12px;background:#0d0d0e}.testimonial-admin-preview .notice{margin-bottom:28px}.testimonial-admin-preview .testimonial-card{min-height:340px;padding:24px}.testimonial-admin-preview blockquote{font-size:17px}
@media(hover:hover) and (pointer:fine){.testimonial-card:hover{transform:translateY(-8px)}.testimonial-card:hover .testimonial-company img{transform:rotate(-3deg) scale(1.04)}}
@media(max-width:1000px){.testimonial-grid{gap:18px}.testimonial-card{padding:26px 20px 20px;min-height:380px}.testimonial-company{padding:16px;gap:12px;flex-wrap:wrap}.testimonial-admin-preview .testimonial-grid{grid-template-columns:1fr}.testimonial-admin-preview .testimonial-card{min-height:280px}}
@media(max-width:700px){.testimonial-grid{grid-template-columns:1fr;gap:24px}.testimonial-card{min-height:310px;padding:28px 24px 22px;border-radius:26px}.testimonial-card blockquote{font-size:21px}.testimonial-company{flex-wrap:nowrap}}
@media(prefers-reduced-motion:reduce){.testimonial-card,.testimonial-company img{transition:none!important}.testimonial-card:hover,.testimonial-card:hover .testimonial-company img{transform:none}}
