/* ─── Testimonials ──────────────────────────────────────────────── */
.testimonials { background: var(--bg-surface); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-top: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-top-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 16px rgba(0,0,0,0.04);
}

.testimonial-card:hover {
  border-top-color: var(--accent);
  box-shadow: 0 4px 24px rgba(0,0,0,0.09), 0 16px 48px rgba(0,0,0,0.05);
  transform: translateY(-3px);
}

.testimonial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
}

.tq-mark {
  color: var(--accent);
  opacity: 0.12;
  flex-shrink: 0;
}

.testimonial-quote {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
  margin: 0;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bg-border);
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1px;
}

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}
