/* ============================================================
   TESTIMONIALS — glass stack swiper
   ============================================================ */

.testimonials-section {
  position: relative;
  padding: 90px 0 120px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #1a1d2e 0%, #2a1f3d 50%, #3d2a4d 100%);
}

.testimonials-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(230, 74, 110, 0.25), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(212, 165, 116, 0.25), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(94, 106, 210, 0.15), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.testimonials-section .section-title {
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: -0.02em;
}

/* Stack */
.testimonials-stack {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  min-height: 360px;
}

.testimonial-card {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  padding: 32px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  color: #fff;
  transition: transform .5s cubic-bezier(.22,.61,.36,1),
              opacity .5s ease,
              z-index 0s;
  user-select: none;
  cursor: grab;
  transform-origin: center top;
}

.testimonial-card.is-dragging { transition: none; cursor: grabbing; }

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
}

.testimonial-role {
  font-size: .85rem;
  opacity: .7;
  margin: 2px 0 0;
}

.testimonial-quote {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 24px;
  font-style: italic;
  opacity: .95;
}

.testimonial-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.testimonial-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.testimonial-tag {
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 500;
}

.testimonial-tag.is-featured {
  background: rgba(230, 74, 110, 0.25);
  border: 1px solid rgba(230, 74, 110, 0.5);
  color: #ffd4dc;
}

.testimonial-stats {
  display: flex; gap: 16px;
  font-size: .78rem;
  opacity: .75;
}

.testimonial-stats span i { margin-right: 6px; }

/* Pagination */
.testimonials-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.testimonials-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all .3s;
  padding: 0;
}

.testimonials-dot.active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

@media (max-width: 576px) {
  .testimonials-section { padding: 60px 0 90px; }
  .testimonials-stack { min-height: 420px; }
  .testimonial-card { padding: 24px; }
  .testimonial-quote { font-size: 1rem; }
  .testimonials-section .section-title { font-size: 1.8rem; }
}
