/* ================================================================
   TESTIMONIALS
   ================================================================ */
#testimonials { background: var(--charcoal); padding: 56px 0; }
.testimonials-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.testimonials-inner .section-title { color: white; }

/* Video poster */
.video-poster {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 40px;
  aspect-ratio: 16/9;
  background: #1e2028;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.video-poster-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #1e2028 0%, #2b2d35 100%); }
.video-poster-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 250ms var(--ease-spring), transform 250ms var(--ease-spring);
}
.video-poster-play svg { width: 28px; height: 28px; fill: var(--olive); margin-left: 4px; transition: fill 250ms ease; }
.video-poster:hover .video-poster-play { background: var(--olive); transform: translate(-50%, -50%) scale(1.1); }
.video-poster:hover .video-poster-play svg { fill: white; }

.video-poster-caption { position: absolute; bottom: 20px; left: 24px; }
.video-poster-name { font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--olive); display: block; margin-bottom: 2px; }
.video-poster-sub { font-weight: 300; font-size: 13px; color: rgba(255,255,255,0.6); }

.video-embed { display: none; width: 100%; max-width: 800px; margin: 0 auto 40px; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; }
.video-embed iframe { width: 100%; height: 100%; border: none; }

/* Testimonial carousel */
.testimonials-carousel { position: relative; }
.carousel-track-wrap { overflow: hidden; }
.carousel-track { display: flex; transition: transform 500ms var(--ease-out); }
.carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 60px;
  box-sizing: border-box;
}
.carousel-slide .testimonial-card { max-width: 640px; width: 100%; }
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent; color: white;
  font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  line-height: 1; padding: 0;
  transition: background 200ms ease, border-color 200ms ease;
  flex-shrink: 0;
}
.carousel-btn:hover { background: var(--olive); border-color: var(--olive); }
.carousel-dots { display: flex; gap: 8px; align-items: center; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3); border: none; cursor: pointer; padding: 0;
  transition: background 200ms ease, transform 200ms ease;
}
.carousel-dot.active { background: var(--olive); transform: scale(1.4); }

/* Testimonial cards */
.testimonials-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 32px; padding-top: 60px; }

.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 0 28px 28px;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.testimonial-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid var(--olive);
  overflow: hidden;
  flex-shrink: 0;
  margin-top: -55px;
  background: var(--olive-wash);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.testimonial-avatar img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; object-position: top center; display: block; }

.testimonial-quotes-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 12px 0 8px;
  width: 100%;
}
.testimonial-q {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: var(--olive);
  line-height: 1;
  user-select: none;
}

.testimonial-text { font-weight: 300; font-size: 14px; line-height: 1.75; color: var(--body); margin: 0 0 20px; text-align: center; }
.testimonial-name { font-weight: 700; font-size: 15px; color: var(--heading-dark); margin-bottom: 2px; }
.testimonial-role { font-weight: 400; font-size: 13px; color: var(--olive); }

/* Responsive */
@media (max-width: 900px) {
  .testimonials-inner { padding: 0 20px; }
}
@media (max-width: 640px) {
  .testimonials-cards-grid { grid-template-columns: 1fr; }
}
