/* ==========================================================================
   Civil Legals — testimonials styles
   ========================================================================== */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}

.quote {
  position: relative;
  margin: 0;
  padding: 1.6rem 1.4rem 1.3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

/* oversized quotation mark */
.quote::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  right: 16px;
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--navy-100);
  pointer-events: none;
}

.quote__stars {
  display: flex;
  gap: 3px;
  margin-bottom: .8rem;
}
.quote__stars svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  color: var(--gold);
}

.quote__text {
  margin: 0 0 1.2rem;
  padding: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  flex: 1;
}

.quote__who {
  display: flex;
  align-items: center;
  gap: .75rem;
  border-top: 1px solid var(--line);
  padding-top: .9rem;
}

.quote__avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: .04em;
}

.quote__name {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.quote__name strong {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 1rem;
  color: var(--navy);
}
.quote__name span {
  font-size: .84rem;
  color: var(--muted);
}

@media (max-width: 960px) {
  .testimonials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .testimonials { grid-template-columns: 1fr; }
}
