.testimonials-section-heading{max-width:760px;margin:0 auto 2rem;text-align:center}
.testimonials-section-heading h2{margin:.8rem 0 .65rem;font-size:clamp(1.6rem,2.5vw,2.15rem)}
.testimonials-section-heading p{max-width:62ch;margin:0 auto;color:var(--muted);font-size:.96rem;line-height:1.7}
.testimonials-featured-grid{margin-bottom:4.2rem}
.testimonial-card{display:flex;flex-direction:column;gap:1.1rem;padding:1.35rem;height:100%;border-color:var(--border);box-shadow:var(--shadow-sm);transition:transform var(--transition),border-color var(--transition),box-shadow var(--transition)}
.testimonial-card:hover{transform:translateY(-3px);border-color:rgba(21,101,192,.25);box-shadow:var(--shadow)}
.testimonial-card-featured{min-height:310px;padding:1.55rem}
.testimonial-card-top{display:flex;align-items:center;justify-content:space-between;gap:.7rem;flex-wrap:wrap}
.testimonial-demo-label{display:inline-flex;align-items:center;min-height:28px;padding:.32rem .58rem;border:1px solid rgba(21,101,192,.18);border-radius:999px;background:rgba(21,101,192,.07);color:var(--primary);font-size:.67rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.testimonial-rating{display:inline-flex;align-items:center;gap:.42rem;white-space:nowrap}
.testimonial-rating .stars{margin:0;font-size:.82rem;letter-spacing:.08em;color:var(--accent)}
.testimonial-rating-value{color:var(--heading);font-size:.78rem;font-weight:800}
.testimonial-quote{flex:1;margin:0}
.testimonial-quote p{margin:0;color:var(--text);font-size:.97rem;line-height:1.72}
.testimonial-card-featured .testimonial-quote p{font-size:1.02rem}
.testimonial-author{display:flex;align-items:center;gap:.8rem;padding-top:1rem;border-top:1px solid var(--border)}
.testimonial-avatar{display:grid;place-items:center;flex:0 0 auto;width:48px;height:48px;border:1px solid rgba(255,255,255,.65);border-radius:50%;background:var(--gradient-primary);color:#fff;font-family:var(--font-head);font-size:.9rem;font-weight:800}
.testimonial-card-featured .testimonial-avatar{width:54px;height:54px;font-size:1rem}
.testimonial-author-copy{display:grid;gap:.15rem;min-width:0}
.testimonial-author-copy strong{color:var(--heading);font-size:.92rem;line-height:1.35}
.testimonial-author-copy span{color:var(--muted);font-size:.8rem;line-height:1.4;overflow-wrap:anywhere}
.testimonial-category{align-self:flex-start;padding:.28rem .58rem;border:1px solid var(--border);border-radius:999px;color:var(--muted);font-size:.7rem;font-weight:700}
.testimonials-carousel-section{padding-top:1rem}
.testimonial-carousel{outline:none}
.testimonial-carousel:focus-visible{outline:3px solid rgba(21,101,192,.32);outline-offset:6px;border-radius:var(--radius)}
.testimonial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:stretch}
.testimonial-controls{display:flex;justify-content:center;align-items:center;gap:1rem;margin-top:1.5rem}
.testimonial-controls>.btn{width:44px;height:44px;min-width:44px;min-height:44px;flex:0 0 44px}
.testimonial-indicators{display:flex;align-items:center;justify-content:center;gap:.15rem}
.testimonial-dot{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}
.testimonial-dot::before{content:"";width:7px;height:7px;border-radius:50%;background:#9aaabc;transition:transform var(--transition),background var(--transition)}
.testimonial-dot.active::before{transform:scale(1.35);background:var(--primary)}
.testimonial-dot:focus-visible{outline:2px solid var(--primary);outline-offset:1px}
.testimonial-page-count{margin:.7rem 0 0;text-align:center;color:var(--muted);font-size:.82rem}
@media(max-width:1199.98px){.testimonial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767.98px){.testimonials-featured-grid{margin-bottom:3rem}.testimonial-grid{grid-template-columns:1fr}.testimonial-card-featured{min-height:0}}
@media(prefers-reduced-motion:reduce){.testimonial-card,.testimonial-dot::before{transition:none}}
