.testimonial-slider {
  position: relative;
  padding: clamp(3.5rem, 6vw, 5.5rem) 1rem;
  background: transparent;
  overflow: hidden;
}

.testimonial-slider__inner {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.testimonial-slider__intro {
  margin-bottom: 1.25rem;
}

.testimonial-slider__eyebrow {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7b3448;
}

.testimonial-slider__stage {
  position: relative;
  min-height: 560px;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.65s ease,
    visibility 0.65s ease;
}

.testimonial-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

/* =========================
   UPDATED TESTIMONIAL CARD
   White Card + Neon Pink Border
========================= */

.testimonial-slide__card {
  position: relative;
  min-height: 500px;
  border-radius: 34px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 252, 253, 0.90) 100%
    );

  border: 3px solid #ff4fa3;

  box-shadow:
    0 0 0 10px rgba(255, 79, 163, 0.16),
    0 34px 86px rgba(120, 45, 80, 0.22),
    0 12px 28px rgba(89, 56, 56, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);

  overflow: hidden;
  isolation: isolate;
}

/* soft colorful card glows */
.testimonial-slide__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background:
    radial-gradient(
      circle at 12% 16%,
      rgba(255, 79, 163, 0.22) 0%,
      rgba(255, 79, 163, 0.13) 20%,
      transparent 38%
    ),
    radial-gradient(
      circle at 92% 18%,
      rgba(98, 199, 255, 0.25) 0%,
      rgba(98, 199, 255, 0.14) 22%,
      transparent 42%
    ),
    radial-gradient(
      circle at 76% 88%,
      rgba(255, 210, 56, 0.28) 0%,
      rgba(255, 210, 56, 0.13) 22%,
      transparent 42%
    );
}

/* subtle glass shine */
.testimonial-slide__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  background:
    linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.52) 0%,
      rgba(255, 255, 255, 0.22) 26%,
      rgba(255, 255, 255, 0) 58%
    );
}

.testimonial-slide__content {
  position: relative;
  z-index: 3;
  width: min(52%, 560px);
  padding: 3.2rem 0 3rem 3.4rem;
}

.testimonial-slide__kicker {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b24e61;
}

.testimonial-slide__quote-mark {
  margin: 0 0 0.25rem;
  font-family: Georgia, serif;
  font-size: 4.8rem;
  line-height: 0.7;
  color: rgba(255, 79, 163, 0.18);
}

.testimonial-slide__quote {
  margin: 0;
  max-width: 26ch;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: clamp(1.8rem, 3vw, 3.25rem);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #3a1f19;
}

.testimonial-slide__name {
  margin: 1.3rem 0 0;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #7b3448;
}

.testimonial-slide__media {
  position: absolute;
  right: 3.5rem;
  bottom: 0;
  width: min(34%, 360px);
  z-index: 3;
}

.testimonial-slide__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 22px 30px rgba(28, 26, 26, 0.16))
    saturate(1.04);
}

.testimonial-slider__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.1rem;
  width: min(220px, 44%);
  height: 5px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(123, 52, 72, 0.16);
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(120, 45, 80, 0.10);
}

.testimonial-slider__progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(
    90deg,
    #7b3448 0%,
    #ff4fa3 46%,
    #ffd238 100%
  );
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px) {
  .testimonial-slider__stage {
    min-height: 620px;
  }

  .testimonial-slide__card {
    min-height: 560px;
  }

  .testimonial-slide__content {
    width: min(58%, 560px);
    padding: 2.8rem 0 2.6rem 2.6rem;
  }

  .testimonial-slide__quote {
    font-size: clamp(1.7rem, 4vw, 2.7rem);
  }

  .testimonial-slide__media {
    right: 1.75rem;
    width: min(36%, 320px);
  }
}

@media (max-width: 720px) {
  .testimonial-slider {
    padding: 3.25rem 1rem 4rem;
  }

  .testimonial-slider__intro {
    margin-bottom: 1rem;
  }

  .testimonial-slider__eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    line-height: 1.35;
  }

  .testimonial-slider__stage {
    min-height: 620px;
  }

  .testimonial-slide__card {
    min-height: 580px;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    border-width: 2px;
    box-shadow:
      0 0 0 7px rgba(255, 79, 163, 0.15),
      0 26px 64px rgba(120, 45, 80, 0.18),
      0 10px 24px rgba(89, 56, 56, 0.10),
      inset 0 1px 0 rgba(255, 255, 255, 0.88);
  }

  .testimonial-slide__card::before {
    background:
      radial-gradient(
        circle at 16% 12%,
        rgba(255, 79, 163, 0.18) 0%,
        transparent 38%
      ),
      radial-gradient(
        circle at 92% 26%,
        rgba(98, 199, 255, 0.20) 0%,
        transparent 42%
      ),
      radial-gradient(
        circle at 68% 92%,
        rgba(255, 210, 56, 0.22) 0%,
        transparent 42%
      );
  }

  .testimonial-slide__content {
    width: 100%;
    padding: 2.2rem 1.35rem 0;
  }

  .testimonial-slide__kicker {
    margin-bottom: 0.8rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }

  .testimonial-slide__quote-mark {
    font-size: 3.8rem;
  }

  .testimonial-slide__quote {
    max-width: 100%;
    font-size: clamp(1.65rem, 7vw, 2.35rem);
    line-height: 1.02;
  }

  .testimonial-slide__name {
    margin-top: 1rem;
    font-size: 0.95rem;
  }

  .testimonial-slide__media {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(62%, 240px);
    margin: auto auto 0;
  }

  .testimonial-slide__media img {
    max-height: 230px;
    object-fit: contain;
  }

  .testimonial-slider__progress {
    bottom: -1.25rem;
    width: min(190px, 58%);
  }
}

@media (max-width: 480px) {
  .testimonial-slider {
    padding: 3rem 0.85rem 4rem;
  }

  .testimonial-slider__stage {
    min-height: 600px;
  }

  .testimonial-slide__card {
    min-height: 560px;
    border-radius: 24px;
  }

  .testimonial-slide__content {
    padding: 2rem 1.1rem 0;
  }

  .testimonial-slide__quote {
    font-size: clamp(1.5rem, 8vw, 2rem);
    line-height: 1.04;
  }

  .testimonial-slide__media {
    width: min(68%, 220px);
  }

  .testimonial-slide__media img {
    max-height: 210px;
  }
}

@media (max-width: 380px) {
  .testimonial-slider__stage {
    min-height: 570px;
  }

  .testimonial-slide__card {
    min-height: 535px;
  }

  .testimonial-slide__content {
    padding: 1.75rem 1rem 0;
  }

  .testimonial-slide__quote {
    font-size: clamp(1.35rem, 8.5vw, 1.8rem);
  }

  .testimonial-slide__media {
    width: min(72%, 200px);
  }

  .testimonial-slide__media img {
    max-height: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-slide {
    transition: none;
  }
}