/* Testimonials page */

.testimonials-hero {
  background: var(--dark-gradient);
  color: #fff;
}

.testimonials-hero-content {
  padding: clamp(3rem, 7vw, 6rem) 1.5rem;
}

.testimonials-hero h1 {
  max-width: 820px;
  margin: 1.25rem 0 1rem;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.05;
}

.testimonials-hero h1 span {
  color: var(--accent-gold);
}

.testimonials-hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
}

.testimonials-section {
  background: var(--bg-alt);
}

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

.testimonials-load-more {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.testimonial-card {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: var(--shadow-lg);
}

.testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.testimonial-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-weight: 800;
}

.testimonial-stars {
  color: var(--accent-gold);
  letter-spacing: 0.12rem;
  font-size: 0.9rem;
}

.testimonial-card blockquote {
  flex: 1;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.testimonial-author strong {
  color: var(--primary);
  font-family: var(--font-heading);
}

.testimonial-author span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.testimonials-cta {
  margin: 4rem auto 0;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: #fff;
  text-align: center;
}

.testimonials-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.testimonials-cta p {
  margin: 0.6rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 1441px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

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

@media (max-width: 760px) {
  .testimonials-hero-content {
    text-align: center;
  }

  .testimonials-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .testimonials-hero-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .testimonial-card {
    padding: 1.1rem;
  }

  .testimonial-card-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .testimonial-stars {
    letter-spacing: 0.08rem;
  }

  .testimonials-cta {
    padding: 1.5rem 1rem;
  }
}
