.testimonials-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 1.25rem;
  background-color: var(--bg-light);
}

/* =====================
   TOP HEADER
   ===================== */
.t-header {
  text-align: center;
  margin-bottom: 3rem;
}

.t-header__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal-black);
  margin-bottom: 1rem;
}

.t-header__sub {
  font-size: var(--font-size-body);
  color: var(--gray-muted);
  line-height: 1.6;
  max-width: 45rem;
  margin: 0 auto;
}

/* =====================
   SECTION INTRO
   ===================== */
.t-intro {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

.t-intro__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  font-weight: 700;
  line-height: 1.3;
  color: var(--charcoal-black);
}

.t-intro__body {
  font-size: var(--font-size-body);
  color: var(--gray-muted);
  line-height: 1.7;
}

/* =====================
   CAROUSEL WRAPPER
   ===================== */
.t-carousel-wrapper {
  position: relative;
}

.t-carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  /* Hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.t-carousel::-webkit-scrollbar {
  display: none;
}

/* =====================
   TESTIMONIAL CARD
   ===================== */
.t-card {
  background: var(--bg-light);
  border-radius: 3px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
  padding: 1.5rem;
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition-fast);
}

.t-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.11);
}

.t-card__stars {
  color: var(--primary);
  font-size: 1rem;
  letter-spacing: 2px;
}

.t-card__quote {
  font-size: var(--font-size-body);
  color: var(--gray-muted);
  line-height: 1.7;
  flex: 1;
}

.t-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid rgba(22, 22, 22, 0.1);
  padding-top: 0.75rem;
  margin-top: auto;
}

.t-card__name {
  font-size: var(--font-size-body);
  font-weight: 700;
  color: var(--charcoal-black);
  font-family: var(--font-heading);
}

.t-card__date {
  font-size: var(--font-size-small);
  color: var(--gray-muted);
}

/* =====================
   CAROUSEL CONTROLS
   ===================== */
.t-carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding: 0 0.5rem;
}

.t-nav-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.t-counter {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal-black);
  min-width: 40px;
  text-align: center;
}

.t-play-btn {
  background: var(--charcoal-black);
  color: #ffffff;
  border: none;
  border-radius: 3px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.t-play-btn:hover {
  background: var(--primary);
}

.t-play-btn .play-icon,
.t-play-btn .pause-icon {
  display: none;
}

.t-play-btn.playing .pause-icon {
  display: block;
}

.t-play-btn.paused .play-icon {
  display: block;
}

.t-btn-prev,
.t-btn-next {
  background: var(--charcoal-black);
  color: #ffffff;
  border: none;
  border-radius: 3px;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.t-btn-prev:hover,
.t-btn-next:hover {
  background: var(--primary);
}

.t-btn-prev:disabled,
.t-btn-next:disabled {
  background: #cccccc;
  cursor: default;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 3rem var(--container-padding-mobile);
  }

  .t-intro {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .t-card {
    flex: 0 0 280px;
  }
}

@media (max-width: 640px) {
  .t-card {
    flex: 0 0 270px;
  }
}
