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

.testimonials-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
}

.testimonials-hero-text p {
  max-width: 34rem;
}

.testimonials-hero-actions {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.testimonials-hero-subnote {
  margin-top: var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text-soft);
}

.testimonials-hero-figure {
  max-width: 480px;
  margin-left: auto;
}

.testimonials-hero-figure img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-medium);
}

.testimonials-section-header {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-grid .testimonial {
  height: 100%;
}

.testimonials-inline-figure {
  margin-bottom: var(--space-4);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.testimonials-inline-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.guest-stories-grid {
  gap: var(--space-8);
}

.guest-story-figure {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.guest-story-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guest-gallery-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.guest-gallery-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.testimonials-cta-inline {
  text-align: right;
}

.guest-community {
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  background: radial-gradient(circle at top left, rgba(200, 155, 60, 0.18), transparent 55%),
              rgba(10, 10, 18, 0.98);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-soft);
}

.guest-community-title {
  font-size: var(--font-size-2xl);
}

.guest-community-subtitle {
  margin-top: var(--space-2);
}

.guest-community-grid .testimonial {
  background: transparent;
  box-shadow: none;
}

.testimonials-bottom-cta p {
  color: var(--color-text-soft);
}

@media (max-width: 1024px) {
  .testimonials-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .testimonials-hero-figure {
    max-width: 400px;
    margin-inline: auto;
  }

  .testimonials-cta-inline {
    text-align: left;
  }
}

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

  .guest-community {
    padding: var(--space-4);
  }

  .guest-community-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonials-bottom-cta .flex-center {
    flex-direction: column;
  }
}
