/* ── TESTIMONIALS ──────────────────────────────────────── */
.testimonials {
  background: var(--off-white);
  padding: 110px var(--page-px);
  color: var(--black);
}
.testimonials .section-header {
  justify-content: center;
}
.testimonials .section-header > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonials .section-heading {
  text-align: center;
  margin: 0 auto;
}
.testimonials-subheading {
  font-size: 15px;
  font-weight: 300;
  color: var(--gray-40);
  text-align: center;
  max-width: 560px;
  margin: 12px auto 0;
  line-height: 1.7;
}

.testimonials-logo-circles {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.testimonials-logo-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--off-white);
  overflow: hidden;
  flex-shrink: 0;
}
.testimonials-logo-circle + .testimonials-logo-circle {
  margin-left: -14px;
}
.testimonials-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 56px;
}
.testimonial-card { background: #fff; padding: 36px 32px 40px; display: flex; flex-direction: column; }
.testimonials-grid .testimonial-card:nth-child(2) {
  transform: translateY(50px);
}
.testimonial-tag {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gray-40);
  margin-bottom: 20px;
}
.testimonial-rating {
  display: inline-flex;
  align-self: flex-start;
  gap: 2px;
  background: var(--black);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11px;
  margin-bottom: 16px;
  color: var(--yellow);
}
.testimonial-quote {
  font-family: 'Geist', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.55;
  letter-spacing: -0.01em;
  flex: 1;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}
.testimonial-quote.is-expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}
.testimonial-card.no-read-more .testimonial-quote {
  margin-bottom: 28px;
}
.testimonial-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-40);
  margin-bottom: 20px;
  transition: color 0.15s;
}
.testimonial-read-more:hover { color: var(--black); }
.testimonial-read-more .material-icons {
  font-size: 16px;
  transition: transform 0.2s;
}
.testimonial-read-more.is-expanded .material-icons { transform: rotate(45deg); }
.testimonial-read-more.is-hidden { display: none; }
.testimonial-name { font-size: 13px; font-weight: 600; color: var(--black); }
.testimonial-author { font-size: 12px; font-weight: 300; color: #888; }

/* ── TESTIMONIALS — responsive ───────────────────────── */

/* Tablet: 2 columns, stagger disabled */
@media (max-width: 1023px) {
  .testimonials {
    padding: 80px 40px;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
  }
  .testimonials-grid .testimonial-card:nth-child(2) {
    transform: none;
  }
}

/* Mobile: 1 column */
@media (max-width: 599px) {
  .testimonials {
    padding: 64px clamp(18px, 5vw, 32px);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }
  .testimonial-card {
    padding: 28px 24px 32px;
  }
}
