.testimonials-page {
  background: #f8fafc;
  min-height: 75vh;
  padding-top: 5.5rem;
}

.testimonials-hero {
  background:
    linear-gradient(135deg, rgba(8, 47, 73, .97), rgba(8, 145, 178, .9)),
    url("/assets/images/gallery/san-blas-2.webp") center/cover;
  color: #fff;
  padding: 5rem 1.25rem;
  text-align: center;
}

.testimonials-hero > div {
  margin: 0 auto;
  max-width: 52rem;
}

.testimonials-hero p {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.testimonials-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
}

.testimonials-hero span { font-size: 1.1rem; line-height: 1.7; }

.testimonials-content {
  margin: 0 auto;
  max-width: 76rem;
  padding: 4rem 1.25rem 5rem;
}

.testimonials-heading { margin-bottom: 2rem; text-align: center; }
.testimonials-heading h2 { color: #082f49; font-size: 2rem; margin-bottom: .5rem; }
.testimonials-heading p { color: #64748b; }

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card,
.testimonials-empty {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, .07);
  padding: 1.75rem;
}

.testimonial-stars { color: #f59e0b; letter-spacing: .12em; margin-bottom: 1rem; }
.testimonial-card blockquote { color: #334155; line-height: 1.75; margin: 0 0 1.5rem; }
.testimonial-card footer { border-top: 1px solid #e2e8f0; display: flex; flex-direction: column; gap: .25rem; padding-top: 1rem; }
.testimonial-card footer strong { color: #082f49; }
.testimonial-card footer span { color: #64748b; font-size: .875rem; }
.testimonials-empty { margin: 0 auto; max-width: 38rem; text-align: center; }
.testimonials-empty h3 { color: #082f49; }
.testimonials-empty p { color: #64748b; margin-bottom: 0; }

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

@media (max-width: 599px) {
  .testimonials-page { padding-top: 4.75rem; }
  .testimonials-hero { padding: 3.5rem 1rem; }
  .testimonials-content { padding: 3rem 1rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
}
