.testimonials { background: var(--paper); border-top: 1px solid var(--line); }
.testimonials > .wrap { max-width: 900px; }
.testimonials .section-heading { margin-bottom: 32px; }
.testimonials .section-heading h2 { font-size: 36px; line-height: 1.18; }
.testimonials-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.testimonial { min-width: 0; margin: 0; }
.testimonials--carousel .testimonials-grid { gap: 0; }
.testimonials--carousel .testimonial { grid-area: 1 / 1; }
.testimonials--carousel .testimonial[data-active="false"] { visibility: hidden; pointer-events: none; }
.testimonial-author { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; padding-top: 24px; border-top: 2px solid var(--teal); }
.testimonial-author strong { font-size: 20px; font-weight: 600; color: var(--deep); }
.testimonial-author span { font-size: 12px; line-height: 1.5; color: var(--muted); }
.testimonial-quote { margin: 24px 0 0; max-width: 780px; color: #405d65; overflow-wrap: break-word; }
.testimonial-quote p { font-size: 15px; line-height: 1.8; }
.testimonial-quote p + p { margin-top: 18px; }
.testimonials-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 24px; margin-top: 28px; border-top: 1px solid var(--line); }
.testimonials-controls[hidden] { display: none; }
.testimonial-dots, .testimonial-arrows { display: flex; align-items: center; gap: 6px; }
.testimonial-dot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
.testimonial-dot span { display: block; width: 7px; height: 7px; border-radius: 50%; background: #82979d; }
.testimonial-dot[aria-pressed="true"] span { width: 20px; border-radius: 4px; background: var(--teal); }
.testimonial-count { min-width: 32px; margin-right: 4px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.testimonial-arrow { border-radius: 50%; flex-shrink: 0; }
.testimonial-arrow:hover { border-color: var(--teal); color: var(--teal); }
.testimonial-arrow-left { transform: rotate(180deg); }
.testimonials-note { margin: -12px 0 26px; font-size: 12px; color: var(--muted); }
.testimonials-more { display: flex; justify-content: flex-start; padding-top: 28px; }
.testimonials--compact { background: var(--wash); }
.testimonials--compact .testimonial-quote p { font-size: 18px; line-height: 1.65; }
@media (max-width: 600px) {
  .testimonials .section-heading h2 { font-size: 30px; }
  .testimonial-quote p { line-height: 1.75; }
  .testimonial-dots { gap: 0; }
  .testimonials--compact .testimonial-quote p { font-size: 17px; }
}
