.testimonial-slider {
  position: relative;
  padding: clamp(3.5rem, 6vw, 5.5rem) 1rem;
  /* background removed */
  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;
}

.testimonial-slide__card {
  position: relative;
  min-height: 500px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.58), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(255, 214, 228, 0.42), transparent 26%),
    linear-gradient(180deg, rgba(255, 250, 247, 0.96) 0%, rgba(255, 239, 246, 0.92) 100%);
  box-shadow:
    0 24px 60px rgba(89, 56, 56, 0.08),
    0 8px 22px rgba(89, 56, 56, 0.05);
  overflow: hidden;
  isolation: isolate;
}

.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(178, 78, 97, 0.14);
}

.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 20px 28px rgba(28, 26, 26, 0.12));
}

.testimonial-slider__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.1rem;
  width: min(220px, 44%);
  height: 4px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(123, 52, 72, 0.14);
  overflow: hidden;
}

.testimonial-slider__progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, #b24e61 0%, #ef8aa0 48%, #e3a92e 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;
  }

  .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;
  }
}