.testimonial {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255, 107, 157, 0.08), transparent 55%),
    #fff7fa;
}

.community-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: #c44569;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.testimonials .section-title {
  margin: 0;
  max-width: 12ch;
}

.testimonials-intro {
  padding-right: 8px;
}

.testimonials-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 48px 36px 28px 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, #fff 48%),
    #ffffff;
  border: 1px solid rgba(98, 11, 45, 0.12);
  box-shadow: 0 18px 40px rgba(72, 24, 37, 0.1);
}

.testimonials-stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #ff8fb3 0%, #c44569 100%);
}

.testimonials-stage-mark {
  position: absolute;
  top: 6px;
  left: 28px;
  z-index: 0;
  font-size: clamp(6.5rem, 12vw, 9rem);
  font-weight: 500;
  line-height: 0.72;
  color: transparent;
  -webkit-text-stroke: 1px rgb(196 69 105 / 63%);
  pointer-events: none;
}

.testimonials-slides {
  position: relative;
  z-index: 1;
  min-height: 240px;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.testimonial-slide blockquote {
  margin: 0;
  padding-top: 28px;
  font-family: var(--font-serif);
  font-size: clamp(1.28rem, 2.1vw, 1.72rem);
  font-style: italic;
  line-height: 1.42;
  color: #2a0d18;
  flex: 1;
}

.testimonial-logo {
  display: flex;
  align-items: center;
  min-height: 52px;
  margin-top: 28px;
  padding: 16px 108px 4px 0;
  border-top: 1px solid rgba(98, 11, 45, 0.12);
}

.testimonial-logo img {
  width: auto;
  max-width: 170px;
  height: 80px;
  object-fit: contain;
  object-position: left center;
}

.testimonials-controls {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.testimonial-nav-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff8fb3 0%, #ff6b9d 48%, #c44569 100%);
  color: #ffffff;
  font-size: 1.05rem;
  box-shadow: 0 8px 18px rgba(196, 69, 105, 0.28);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-nav-btn:hover,
.testimonial-nav-btn:focus-visible {
  background: linear-gradient(180deg, #ff9ec0 0%, #ff7aa8 48%, #d14a72 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(196, 69, 105, 0.36);
}

@media (max-width: 767.98px) {
    .testimonials-stage {
        padding: 40px 22px 24px 24px;
    }
    .testimonial-slide blockquote {
        font-size: 19px;
    }
}

@media (max-width: 400px) {
    .testimonials-stage {
        padding: 40px 10px 24px 10px;
    }
}