/* ============================================================
   TESTIMONIALS.CSS — Swiper Testimonial Slider
   ============================================================ */
.testimonials {
  background: var(--clr-bg-2);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '"';
  position: absolute;
  top: -2rem;
  left: 3%;
  font-family: Georgia, serif;
  font-size: 20rem;
  color: var(--clr-accent);
  opacity: 0.03;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ---- Swiper Override ---- */
.testimonialSwiper {
  padding-bottom: 3.5rem !important;
  overflow: visible !important;
}
.testimonialSwiper .swiper-wrapper {
  align-items: stretch;
}
.testimonialSwiper .swiper-slide {
  height: auto;
  opacity: 0.5;
  transition: opacity var(--dur-base) var(--ease);
}
.testimonialSwiper .swiper-slide-active,
.testimonialSwiper .swiper-slide-visible {
  opacity: 1;
}

/* Pagination */
.testimonialSwiper .swiper-pagination {
  bottom: 0 !important;
}
.testimonialSwiper .swiper-pagination-bullet {
  background: var(--clr-text-3);
  opacity: 0.4;
  width: 8px;
  height: 8px;
  transition: all var(--dur-base) var(--ease);
}
.testimonialSwiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--clr-accent);
  width: 24px;
  border-radius: var(--r-full);
}

/* ---- Testimonial Card ---- */
.testimonial-card {
  height: 100%;
  background: var(--clr-glass);
  border: 1px solid var(--clr-glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--dur-base) var(--ease-spring);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,102,255,0.15);
}

/* Top row */
.t-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Avatar */
.t-avatar { flex-shrink: 0; }
.avatar-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: #fff;
  font-family: var(--font-head);
}
.av-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.av-2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.av-3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.av-4 { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.av-5 { background: linear-gradient(135deg, #fa709a, #fee140); }
.av-6 { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }

/* Info */
.t-info { flex: 1; }
.t-info h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 0.15rem;
}
.t-info span {
  font-size: var(--fs-xs);
  color: var(--clr-text-3);
}

/* Stars */
.t-stars {
  color: #F59E0B;
  font-size: var(--fs-sm);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

/* Quote */
.t-quote {
  font-family: Georgia, serif;
  font-size: 3.5rem;
  color: var(--clr-accent);
  opacity: 0.25;
  line-height: 0.6;
  height: 1.5rem;
  user-select: none;
}

/* Text */
.t-text {
  font-size: clamp(var(--fs-sm), 1.4vw, var(--fs-base));
  color: var(--clr-text-2);
  line-height: 1.75;
  flex: 1;
}
