/* ============================================================
   Customer testimonials — WhatsApp + audio
   ============================================================ */

.lp-testimonials {
  background: var(--rc-bg-2, #eef3fa);
}

.lp-testimonial-audio {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: center;
  padding: clamp(1.1rem, 3vw, 1.5rem);
  margin-bottom: 1.75rem;
  border-radius: var(--rc-radius-lg, 26px);
  background: linear-gradient(135deg, #081024 0%, #0e1a35 55%, #07223a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--rc-shadow-lg);
  color: #fff;
  overflow: hidden;
}

.lp-testimonial-audio::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(37, 211, 102, 0.18), transparent 45%);
  pointer-events: none;
}

.lp-testimonial-audio__icon {
  position: relative;
  z-index: 1;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 211, 102, 0.15);
  color: #4ade80;
  font-size: 1.35rem;
}

.lp-testimonial-audio__body {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.lp-testimonial-audio__body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.lp-testimonial-audio__body > p {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.lp-testimonial-audio__badge {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #86efac;
}

.lp-testimonial-audio__badge i {
  font-size: 0.45rem;
  animation: lp-tm-pulse 1.8s ease-in-out infinite;
}

@keyframes lp-tm-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.lp-audio-player {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lp-audio-play {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: var(--rc-grad, linear-gradient(135deg, #0ea5e9, #10b981));
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.lp-audio-play:hover {
  transform: scale(1.05);
}

.lp-audio-play.is-playing i.fa-play {
  display: none;
}

.lp-audio-play:not(.is-playing) i.fa-pause {
  display: none;
}

.lp-audio-play.is-playing i.fa-pause {
  display: inline;
}

.lp-audio-track {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lp-audio-progress {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  overflow: hidden;
}

.lp-audio-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #25d366, #38bdf8);
  transition: width 0.1s linear;
}

.lp-audio-time {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
  min-width: 2.5rem;
  text-align: left;
}

/* Screenshots */
.lp-testimonial-shots__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--rc-ink-mute);
  margin: 0 0 0.75rem;
}

@media (min-width: 768px) {
  .lp-testimonial-shots__hint {
    display: none;
  }
}

.lp-testimonial-shots__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0.15rem 0.75rem;
  scrollbar-width: none;
}

.lp-testimonial-shots__track::-webkit-scrollbar {
  display: none;
}

@media (min-width: 960px) {
  .lp-testimonial-shots__track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    padding: 0;
  }
}

.lp-testimonial-shot {
  flex: 0 0 min(82vw, 300px);
  scroll-snap-align: center;
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: var(--rc-radius);
  padding: 0.75rem;
  box-shadow: var(--rc-shadow-sm);
}

@media (min-width: 960px) {
  .lp-testimonial-shot {
    flex: none;
  }
}

.lp-testimonial-shot__img-wrap {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: #f0f2f5;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
}

.lp-testimonial-shot__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 360px;
  object-fit: contain;
  object-position: top center;
}

.lp-testimonial-shot__zoom {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.lp-testimonial-shot__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rc-ink-soft);
}

.lp-testimonial-shot__flag {
  border-radius: 2px;
  object-fit: cover;
}

.lp-testimonial-shot__via {
  margin-right: auto;
  color: #25d366;
  font-size: 0.72rem;
}

.lp-testimonial-shot__quote {
  margin: 0.55rem 0 0;
  padding: 0;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--rc-ink-mute);
  border: none;
}

/* Lightbox */
.lp-testimonial-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(6, 12, 28, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lp-testimonial-lightbox[hidden] {
  display: none;
}

.lp-testimonial-lightbox__close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
}

.lp-testimonial-lightbox__figure {
  margin: 0;
  max-width: min(520px, 100%);
  text-align: center;
}

.lp-testimonial-lightbox__figure img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
}

.lp-testimonial-lightbox__figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #cbd5e1;
}

@media (min-width: 640px) {
  .lp-testimonial-audio__badge {
    grid-column: auto;
    align-self: start;
    margin-top: 0.25rem;
  }

  .lp-testimonial-audio {
    grid-template-columns: auto 1fr auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-testimonial-audio__badge i {
    animation: none;
  }

  .lp-audio-play:hover {
    transform: none;
  }
}
