/* ============================================================
   TESTIMONIOS SLIDER
   ============================================================ */
.tfl-testimonials {
  padding: var(--section-pad);
  max-width: var(--max-width);
  margin: 0 auto;
  overflow: hidden;
}

.tfl-testimonials h2 {
  margin-bottom: 48px;
}

.tfl-slider {
  position: relative;
}

.tfl-slider__track {
  display: flex;
  gap: 24px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

/* Cada card ocupa 1/3 del contenedor visible (3 visibles en desktop) */
.tfl-tcard {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color .2s, transform .2s;
}

.tfl-tcard:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.tfl-tcard__stars {
  color: var(--blue);
  font-size: 18px;
  letter-spacing: 2px;
}

.tfl-tcard__quote {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-text);
  font-style: normal;
  flex: 1;
}

.tfl-tcard__quote::before { content: '\201C'; }
.tfl-tcard__quote::after  { content: '\201D'; }

.tfl-tcard__author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.tfl-tcard__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
}

.tfl-tcard__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

.tfl-tcard__platform {
  font-size: 13px;
  color: var(--gray-muted);
  margin: 0;
}

/* Controles */
.tfl-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.tfl-slider__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  background: transparent;
  color: var(--blue);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
  font-family: inherit;
}

.tfl-slider__btn:hover {
  background: var(--blue);
  color: var(--white);
}

.tfl-slider__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tfl-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
}

.tfl-slider__dot.is-active {
  background: var(--blue);
  transform: scale(1.35);
}

/* Responsive */
@media (max-width: 900px) {
  .tfl-tcard {
    flex: 0 0 calc(100% - 0px);
  }
}
