/**
 * TWC Testimonials Block Styles
 */

.twc-testimonials {
  --twc-dark-navy: #060f1d;
  --twc-white:     #f0f2f5;
  --twc-grey:      #8a96a8;
  --twc-accent:    #0976bb;

  position: relative;
  z-index: 2;
  padding: 120px 24px;
  background: rgba(9, 124, 195, 0.02);
  border-top:    1px solid rgba(9, 124, 195, 0.06);
  border-bottom: 1px solid rgba(9, 124, 195, 0.06);
}

.twc-testimonials__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.twc-testimonials__inner .twc-section-label {
  font-size: 13px;
  color: var(--twc-accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 40px;
  font-family: 'DM Sans', sans-serif;
}

/* ─── Stage ─── */
.twc-testimonials__stage {
  min-height: 200px;
  position: relative;
}

/* ─── Slides ─── */
@keyframes twc-fade-slide {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.twc-testimonial-slide {
  display: none;
}

.twc-testimonial-slide.is-active {
  display: block;
  animation: twc-fade-slide 0.6s ease;
}

/* Quote mark */
.twc-testimonial__mark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 64px;
  color: var(--twc-accent);
  line-height: 0.5;
  margin-bottom: 24px;
  opacity: 0.4;
  display: block;
}

/* Quote text */
.twc-testimonial__text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(18px, 3vw, 24px);
  color: var(--twc-white);
  line-height: 1.6;
  font-style: italic;
  margin: 0 0 32px;
}

/* Author */
.twc-testimonial__author {
  font-size: 15px;
  color: var(--twc-accent);
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
}

/* Organization */
.twc-testimonial__org {
  font-size: 13px;
  color: var(--twc-grey);
  margin-top: 4px;
  font-family: 'DM Sans', sans-serif;
}

/* ─── Dots ─── */
.twc-testimonials__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
}

.twc-testimonial__dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: width 0.4s ease, background 0.4s ease;
  padding: 0;
}

.twc-testimonial__dot.is-active {
  width: 24px;
  background: var(--twc-accent);
}

/* ─── Scroll reveal (theme.js) ─── */
.twc-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.twc-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.block-editor .twc-reveal {
  opacity: 1;
  transform: none;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .twc-testimonials {
    padding: 80px 24px;
  }
}
