/* Full-color partner marks on a neutral surface. */
.client-logos {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(10px, 1.7vw, 25px);
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: clamp(54px, 6vw, 75px);
  padding: 7px 10px;
  overflow: hidden;
  border-radius: 9px;
  background: #fff;
}
.client-name {
  color: var(--forest, #005f56);
  font-size: clamp(.9rem, 1.45vw, 1.25rem);
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
}
.client-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* One moving quote and its separate reviewer profile. */
.testimonials-section {
  overflow: hidden;
  background: radial-gradient(ellipse at 25% 43%, #123129 0%, #0b1a15 68%);
  scroll-margin-top: 90px;
}
.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(27px, 4vw, 51px);
}
.testimonial-header .eyebrow {
  color: var(--gold);
  margin-bottom: 17px;
}
.testimonial-header h2 {
  font-size: clamp(39px, 5.3vw, 79px);
  line-height: 1.08;
  letter-spacing: -.048em;
}
.testimonial-header h2 em { color: var(--gold-light); }
.testimonial-count {
  color: var(--muted);
  white-space: nowrap;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .13em;
  padding-bottom: 7px;
}
.testimonial-count #quote-number { color: var(--gold-light); }

.quote-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(160px, 20vw, 252px);
  align-items: stretch;
  gap: clamp(17px, 3.2vw, 45px);
  touch-action: pan-y pinch-zoom;
}
.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  min-height: 300px;
  padding: clamp(25px, 4vw, 58px);
  border: 1px solid #c9b47a55;
  border-radius: 30px;
  background: linear-gradient(140deg, #66887930, #224c3a28 58%, #0b1a1590);
  box-shadow: inset 0 1px #fff1, 0 23px 55px #0003;
  backdrop-filter: blur(14px);
}
.quote-mark {
  color: var(--gold);
  font: 400 94px/.56 'Cormorant Garamond', Georgia, serif;
  margin-bottom: 12px;
}
.quote-card blockquote {
  margin: 0;
  max-width: 36em;
  color: var(--ivory);
  font-size: clamp(17px, 2.08vw, 30px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -.025em;
}
.quote-person {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 21px;
  padding: 23px 0 23px clamp(18px, 3vw, 38px);
  border-inline-start: 1px solid #c9b47a42;
}
.quote-avatar {
  display: block;
  width: clamp(60px, 6.5vw, 86px);
  height: clamp(60px, 6.5vw, 86px);
  padding: 5px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: #fff;
}
#quote-name {
  color: var(--gold-light);
  font-size: clamp(15px, 1.5vw, 22px);
  font-weight: 600;
  line-height: 1.38;
  overflow-wrap: anywhere;
}
#quote-role {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
#quote-role:empty { display: none; }

.quote-navigation {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 24px;
}
.quote-navigation .round-button {
  position: relative;
  width: 53px;
  height: 53px;
  color: var(--gold-light);
  border-color: var(--gold);
  background: #142b23;
  transition: color .22s, background .22s, transform .25s;
}
.quote-navigation .round-button::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 1px solid #c9b47a75;
  border-radius: inherit;
  opacity: 0;
  transform: scale(.88);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.quote-navigation .round-button:is(:hover, :focus-visible) {
  color: #0b1a15;
  background: var(--gold-light);
}
.quote-navigation .round-button:is(:hover, :focus-visible)::after {
  opacity: 1;
  transform: scale(1);
}
.quote-navigation .round-button:active { transform: scale(.94); }
.quote-navigation .icon { width: 22px; height: 22px; }

@media (max-width: 650px) {
  .client-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quote-stage { grid-template-columns: minmax(0, 1fr); }
  .quote-card { min-height: 310px; border-radius: 23px; }
  .quote-mark { font-size: 73px; }
  .quote-person {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 0 3px;
    border-inline-start: 0;
  }
  .quote-avatar { width: 52px; height: 52px; padding: 3px; }
  .quote-navigation { margin-top: 15px; }
  .quote-navigation .round-button { width: 47px; height: 47px; }
}

@media (prefers-reduced-motion: reduce) {
  .quote-navigation .round-button,
  .quote-navigation .round-button::after { transition: none; transform: none; }
}
