.testimonials-hero {
  position: relative;
  padding-top: var(--space-20);
  padding-bottom: var(--space-16);
}

.testimonials-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.testimonials-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.testimonials-hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(122, 92, 255, 0.35), transparent 55%),
              radial-gradient(circle at bottom right, rgba(46, 196, 182, 0.28), transparent 60%),
              linear-gradient(to bottom, rgba(4, 6, 11, 0.8), rgba(10, 14, 20, 0.98));
}

.testimonials-hero__content {
  position: relative;
}

.testimonials-hero .lead {
  max-width: 40rem;
}

.testimonials-hero__meta {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  align-items: center;
  justify-content: space-between;
}

.testimonials-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.testimonials-hero__stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--font-size-3xl);
  color: var(--color-heading);
}

.testimonials-hero__stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.testimonials-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.testimonials-layout__image {
  display: flex;
  align-items: center;
}

.testimonials-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-strong), var(--shadow-glow-violet);
}

.testimonials-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 20, 0.48), transparent 40%);
}

.testimonials-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials-quote__text {
  margin-top: 0;
  font-size: var(--font-size-md);
}

.testimonials-quote__author {
  margin-top: var(--space-4);
  font-weight: 600;
  color: var(--color-heading);
}

.testimonials-quote__meta {
  margin-top: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.testimonials-grid {
  gap: var(--space-6);
}

.testimonials-metrics {
  gap: var(--space-6);
}

.testimonials-metric__label {
  font-weight: 600;
}

.testimonials-metric__value {
  font-family: var(--font-display);
  font-size: var(--font-size-3xl);
  margin-top: var(--space-2);
  margin-bottom: var(--space-2);
  color: var(--color-heading);
}

.testimonials-metric__note {
  margin-bottom: var(--space-4);
}

.testimonials-metric__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
}

.testimonials-gallery {
  display: flex;
  justify-content: center;
}

.testimonials-gallery__item {
  max-width: 960px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  background: var(--color-bg-card);
}

.testimonials-gallery__caption {
  padding: var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.testimonials-gallery__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.testimonials-award .card__title {
  margin-bottom: var(--space-2);
}

.testimonials-award__meta {
  margin-top: var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.testimonials-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.testimonials-cta-row__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.testimonials-final-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(122, 92, 255, 0.22), transparent 55%),
              radial-gradient(circle at bottom right, rgba(46, 196, 182, 0.18), transparent 60%),
              var(--color-bg-card);
  box-shadow: var(--shadow-soft);
}

.testimonials-final-cta__text {
  max-width: 32rem;
}

.testimonials-final-cta__text h3 {
  margin-bottom: var(--space-2);
}

.testimonials-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

@media (max-width: 768px) {
  .testimonials-hero {
    padding-top: var(--space-16);
  }

  .testimonials-hero__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonials-hero__stats {
    width: 100%;
    justify-content: space-between;
  }

  .testimonials-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonials-final-cta {
    padding: var(--space-4);
  }
}

@media (max-width: 480px) {
  .testimonials-hero__stats {
    flex-direction: column;
    align-items: flex-start;
  }
}
