/* Customer feedback: existing Palesya palette and responsive type scale. */
.customer-testimonials .testimonial-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 32px;
}
.customer-testimonials .customer-proof-copy h2 { margin-bottom: 0; }
.customer-testimonials .testimonial-intro {
  margin: 0;
  color: #bdd1ca;
  font-size: var(--funnel-type-lead);
  line-height: 1.52;
}
.customer-testimonials .testimonial-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.customer-testimonials [hidden] { display: none; }
.customer-testimonials .testimonial-toolbar p {
  margin: 0;
  color: #bdd1ca;
  font-size: var(--funnel-type-body);
}
.customer-testimonials .testimonial-navigation { display: flex; gap: 8px; }
.customer-testimonials .testimonial-navigation button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #547b6d;
  border-radius: var(--pool-radius-sm);
  background: var(--pool-green-dark);
  color: var(--pool-lime);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.customer-testimonials .testimonial-navigation button:hover:not(:disabled) {
  background: var(--pool-lime);
  color: var(--pool-green-deep);
}
.customer-testimonials .testimonial-navigation button:disabled {
  border-color: var(--pool-line-dark);
  color: #80988e;
  cursor: default;
}
.customer-testimonials .testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  scrollbar-color: #547b6d var(--pool-green-deep);
  padding-block: 4px 16px;
}
.customer-testimonials .testimonial-track:focus-visible,
.customer-testimonials .testimonial-navigation button:focus-visible {
  outline: 3px solid var(--pool-lime);
  outline-offset: 3px;
}
.customer-testimonials .testimonial-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--pool-line-dark);
  border-radius: var(--pool-radius-md);
  background: var(--pool-green-dark);
  scroll-snap-align: start;
  overflow-wrap: anywhere;
}
.customer-testimonials .testimonial-topic {
  margin: 0 0 20px;
  color: var(--pool-lime);
  font-size: var(--funnel-type-body);
  font-weight: 700;
}
.customer-testimonials .testimonial-card h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: var(--funnel-type-card);
  line-height: 1.12;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.customer-testimonials .testimonial-feedback {
  margin: 0 0 28px;
  color: #bdd1ca;
  font-size: var(--funnel-type-body);
  line-height: 1.55;
}
.customer-testimonials .testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--pool-line-dark);
}
.customer-testimonials .testimonial-initial {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pool-lime);
  color: var(--pool-green-deep);
  font-size: 16px;
  font-weight: 800;
}
.customer-testimonials .testimonial-person > div { min-width: 0; }
.customer-testimonials .testimonial-person strong,
.customer-testimonials .testimonial-person div > span { display: block; }
.customer-testimonials .testimonial-person strong {
  color: #fff;
  font-size: var(--funnel-type-body);
}
.customer-testimonials .testimonial-person div > span {
  color: #bdd1ca;
  font-size: 14px;
  line-height: 1.5;
}
.customer-testimonials .testimonial-disclosure {
  max-width: 1000px;
  margin: 20px 0 0;
  color: #bdd1ca;
  font-size: 14px;
  line-height: 1.55;
}
@media (max-width: 1100px) {
  .customer-testimonials .testimonial-track { grid-auto-columns: calc((100% - 16px) / 2); }
}
@media (max-width: 820px) {
  .customer-testimonials .testimonial-heading { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .customer-testimonials .testimonial-intro { text-align: center; }
}
@media (max-width: 700px) {
  .customer-testimonials .testimonial-track { grid-auto-columns: 100%; }
  .customer-testimonials .testimonial-card { padding: 24px; }
  .customer-testimonials .testimonial-disclosure { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .customer-testimonials .testimonial-track { scroll-behavior: auto; }
}
