.event-testimonials {
  display: none;
  position: relative;
  padding: clamp(42px, 7vw, 76px) 0;
  isolation: isolate;
}

.event-testimonials.is-visible {
  display: block;
}

.event-testimonials::before {
  content: '';
  position: absolute;
  inset: 10% auto auto 50%;
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(246, 213, 118, .14), transparent 68%);
  filter: blur(10px);
  z-index: -1;
}

.testimonial-shell {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(246, 213, 118, .34);
  border-radius: clamp(18px, 3vw, 28px);
  padding: clamp(26px, 5vw, 46px) clamp(20px, 5vw, 44px);
  background:
    linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.025)),
    radial-gradient(circle at 12% 0%, rgba(246,213,118,.18), transparent 42%),
    radial-gradient(circle at 92% 100%, rgba(217,164,65,.16), transparent 46%),
    rgba(9, 7, 10, .82);
  box-shadow:
    0 30px 80px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.11);
  backdrop-filter: blur(10px);
}

.testimonial-shell::before {
  content: '';
  position: absolute;
  inset: 0 12% auto;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, #f6d576, #d9a441, #f6d576, transparent);
  box-shadow: 0 0 24px rgba(246, 213, 118, .45);
}

.testimonial-shell::after {
  content: '“';
  position: absolute;
  top: 18px;
  left: clamp(20px, 4vw, 34px);
  color: rgba(246, 213, 118, .13);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(86px, 18vw, 160px);
  line-height: .75;
  pointer-events: none;
}

.testimonial-heading {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: clamp(22px, 4vw, 34px);
}

.testimonial-heading .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border: 1px solid rgba(246, 213, 118, .38);
  border-radius: 999px;
  background: rgba(246, 213, 118, .08);
  color: #f6d576;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.testimonial-heading h2 {
  margin: 14px 0 0;
  color: #fff8e7;
  font-family: Montserrat, Poppins, system-ui, sans-serif;
  font-size: clamp(25px, 5vw, 38px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.12;
}

.testimonial-viewport {
  position: relative;
  z-index: 1;
  min-height: clamp(220px, 34vw, 265px);
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: clamp(220px, 34vw, 265px);
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  transform: translateY(16px) scale(.985);
  transition: opacity .55s ease, transform .55s ease, visibility 0s linear .55s;
  pointer-events: none;
}

.testimonial-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
  pointer-events: auto;
}

.testimonial-name {
  order: 2;
  margin: 16px 0 0;
  color: #f6d576;
  font-family: Montserrat, Poppins, system-ui, sans-serif;
  font-size: clamp(17px, 3.4vw, 23px);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.testimonial-name span {
  display: block;
  margin-top: 4px;
  color: rgba(243, 237, 226, .68);
  font-family: Poppins, system-ui, sans-serif;
  font-size: .72em;
  font-weight: 700;
  letter-spacing: .03em;
}

.testimonial-content {
  order: 1;
  max-width: 720px;
  margin: 0 auto;
  color: #fff8e7;
  font-size: clamp(16px, 3.7vw, 21px);
  font-weight: 500;
  line-height: 1.78;
  text-align: center;
}

.testimonial-content::before,
.testimonial-content::after {
  color: #f6d576;
  font-weight: 900;
}

.testimonial-content::before { content: '“'; }
.testimonial-content::after { content: '”'; }

.testimonial-dots {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
}

.testimonial-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255,255,255,.32);
  cursor: default;
  transition: width .28s ease, background-color .28s ease, box-shadow .28s ease;
}

.testimonial-dot.is-active {
  width: 28px;
  background: linear-gradient(90deg, #f6d576, #d9a441);
  box-shadow: 0 0 18px rgba(246, 213, 118, .45);
}

@media (max-width: 640px) {
  .event-testimonials {
    padding: 38px 0 56px;
  }

  .testimonial-shell {
    border-radius: 20px;
  }

  .testimonial-viewport,
  .testimonial-slide {
    min-height: 310px;
  }
}
