/* ============================================================
   HIMPULSA — testimonios.css
   ============================================================ */

.testimonios {
  padding: var(--section-pad);
  background: var(--bg2);
  overflow: hidden;
}

.testimonios-titulo {
  font-family: var(--font-titulo);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.2;
}
.testimonios-titulo span { color: var(--morado); }

.testimonios-sub {
  text-align: center;
  font-size: 15px;
  font-weight: 400;
  color: var(--gris);
  margin-bottom: 56px;
}

/* ─── TRACK ─── */
.testimonios-track-wrap {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonios-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scrollTrack 32s linear infinite;
}
.testimonios-track:hover { animation-play-state: paused; }

@keyframes scrollTrack {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── CARD ─── */
.testi-card {
  background: var(--bg);
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 28px 28px 24px;
  width: 320px;
  flex-shrink: 0;
  transition: border-color 0.3s ease, transform 0.3s ease;
  cursor: default;
}
.testi-card:hover {
  border-color: rgba(127,119,221,0.35);
  transform: translateY(-4px);
}

.testi-estrellas {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}
.testi-estrella {
  color: #FFD700;
  font-size: 15px;
}

.testi-texto {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-autor {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--morado), var(--morado-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-titulo);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.testi-info {}
.testi-nombre {
  font-size: 14px;
  font-weight: 500;
  color: var(--blanco);
  margin-bottom: 2px;
}
.testi-cargo {
  font-size: 12px;
  color: var(--gris);
}
.testi-plan {
  margin-left: auto;
  font-size: 10px;
  font-weight: 500;
  color: var(--morado-light);
  border: 0.5px solid rgba(127,119,221,0.3);
  border-radius: var(--radio-pill);
  padding: 3px 10px;
  white-space: nowrap;
}

/* ─── RESULTADO badge ─── */
.testi-resultado {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(127,119,221,0.12);
  border: 0.5px solid rgba(127,119,221,0.25);
  border-radius: var(--radio-pill);
  padding: 5px 12px;
  font-size: 12px;
  color: var(--morado-light);
  margin-bottom: 14px;
}
.testi-resultado span { font-weight: 600; color: #fff; }