/* SHORTCODE: TESTIMONIOS [wa_testimonios]
   formato vsl = carrusel de las VSL (tarjeta con foto grande, 37043 / 34723); en tablet y móvil, tarjeta centrada.
   formato edm = carrusel de la plantilla 5325 (Estrategia Digital de Marca).
   Colores y tipografías: variables globales de Elementor (kit 6) con su valor de respaldo. */

/* ---------- carrusel común ---------- */
.wa-testi{position:relative;width:100%;box-sizing:border-box}
.wa-testi *,.wa-testi *::before,.wa-testi *::after{box-sizing:border-box}
.wa-testi-ventana{overflow:hidden;width:100%;touch-action:pan-y}
.wa-testi-pista{display:flex;transition:transform .5s ease;will-change:transform}
.wa-testi-slide{flex:0 0 100%;min-width:0;display:flex}
.wa-testi p{margin:0}
.wa-testi p+p{margin-top:.8em}
.wa-testi img{display:block;max-width:100%;height:auto;border:0;box-shadow:none}
body .wa-testi button.wa-testi-flecha,body .wa-testi button.wa-testi-punto{appearance:none;-webkit-appearance:none;background:transparent;border:0;padding:0;margin:0;box-shadow:none;min-height:0;line-height:0;font-size:0;cursor:pointer}
body .wa-testi button.wa-testi-flecha{position:absolute;top:50%;transform:translateY(-50%);z-index:3;display:flex;align-items:center;justify-content:center}
body .wa-testi button.wa-testi-flecha:focus-visible,body .wa-testi button.wa-testi-punto:focus-visible{outline:1px solid #9C9C9C;outline-offset:3px}
.wa-testi-flecha svg{display:block}
.wa-testi-puntos{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
body .wa-testi button.wa-testi-punto{width:6px;height:6px;border-radius:50%;background:#3a3a3a;transition:background .3s}
body .wa-testi button.wa-testi-punto.is-activo{background:#9C9C9C}

/* estrellas y «Reseña Verificada» */
.wa-testi-estrellas{display:flex;gap:3px}
.wa-testi-estrellas svg{width:18px;height:18px;fill:var(--e-global-color-d00c3e8,#FF6633)}
.wa-testi-verificada{display:flex;align-items:center;justify-content:center;gap:4px;margin:2px 0 4px;font-family:var(--e-global-typography-d5ec554-font-family,"Roboto"),Sans-serif;font-size:var(--e-global-typography-d5ec554-font-size,.875rem);font-weight:var(--e-global-typography-d5ec554-font-weight,400);line-height:var(--e-global-typography-d5ec554-line-height,1.313rem);color:var(--e-global-color-a18d206,#fff)}
.wa-testi-verificada svg{width:18px;height:18px;flex:0 0 18px;margin-top:-1px}

/* ---------- tarjeta centrada (formato edm y tablet/móvil del formato vsl) ---------- */
.wa-testi-centrada{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:60px 110px 70px;border-radius:10px;background:linear-gradient(180deg,#2a2a2a 0%,#1a1a1a 40%,#141414 100%);box-shadow:inset 0 0 70px rgba(0,0,0,.55)}
.wa-testi-centrada>*{max-width:860px}
.wa-testi-logo-cuadrado{margin:0 0 20px}
.wa-testi-logo-cuadrado img{width:105px}
.wa-testi-logo-centrado{margin:0 0 20px}
.wa-testi-logo-centrado img{width:auto;max-width:180px;max-height:80px;object-fit:contain}
.wa-testi-texto-centrado{font-family:var(--e-global-typography-0251c0e-font-family,"Roboto"),Sans-serif;font-size:var(--e-global-typography-0251c0e-font-size,1.563rem);font-weight:var(--e-global-typography-0251c0e-font-weight,500);font-style:var(--e-global-typography-0251c0e-font-style,italic);line-height:var(--e-global-typography-0251c0e-line-height,2.5rem);color:var(--e-global-color-a18d206,#fff)}
.wa-testi-foto-redonda{margin:20px 0 8px}
.wa-testi .wa-testi-foto-redonda img{width:85px;height:85px;object-fit:cover;border-radius:50%}
.wa-testi-firma{font-family:var(--e-global-typography-401d986-font-family,"Roboto"),Sans-serif;font-size:var(--e-global-typography-401d986-font-size,1.125rem);font-weight:var(--e-global-typography-401d986-font-weight,400);line-height:var(--e-global-typography-401d986-line-height,1.375rem);color:var(--e-global-color-accent,#9C9C9C);margin:0 0 4px}
.wa-testi-nombre{color:#fff;font-weight:700}
.wa-testi-cargo{color:var(--e-global-color-d00c3e8,#FF6633)}
.wa-testi--edm button.wa-testi-flecha{color:#515151}
.wa-testi--edm button.wa-testi-flecha svg{width:26px;height:47px}
body .wa-testi--edm button.wa-testi-prev{left:40px}
body .wa-testi--edm button.wa-testi-next{right:40px}
.wa-testi--edm .wa-testi-puntos{position:absolute;left:0;right:0;bottom:28px}

/* ---------- formato vsl: escritorio ---------- */
.wa-testi--vsl{padding:0 25px}
.wa-testi-solo-movil{display:none;width:100%}
.wa-testi-tarjeta{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-height:500px;border:1px solid var(--e-global-color-accent,#9C9C9C);border-radius:20px;overflow:hidden;background:transparent}
.wa-testi-cuerpo{display:flex;flex-direction:column;align-items:flex-start;gap:20px;padding:35px 40px 30px 60px;color:#fff}
.wa-testi-comillas{width:50px;height:50px;fill:#333131;flex:0 0 auto}
.wa-testi-texto{font-family:"Regola",Sans-serif;font-size:1rem;font-weight:300;line-height:1.5rem;color:#fff}
.wa-testi-pie{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;justify-items:center;gap:20px}
.wa-testi-logo img{width:auto;max-width:170px;max-height:75px;object-fit:contain}
.wa-testi-datos{justify-self:start;display:flex;flex-direction:column;gap:2px;font-family:"Regola",Sans-serif;font-weight:300;color:#fff}
.wa-testi-quien{font-size:.8rem;line-height:1.3rem}
.wa-testi-check{display:flex;align-items:center;gap:8px;font-size:15px;line-height:1.6rem}
.wa-testi-check svg{width:15px;height:15px;fill:#fff;flex:0 0 15px}
.wa-testi-datos .wa-testi-estrellas{gap:10px;margin-top:4px}
.wa-testi-datos .wa-testi-estrellas svg{width:15px;height:15px;fill:#fff}
.wa-testi-foto{min-height:500px;background-position:center center;background-repeat:no-repeat;background-size:cover;background-color:#1c1c1c}
.wa-testi--vsl button.wa-testi-flecha{color:#fff}
.wa-testi--vsl button.wa-testi-flecha svg{width:20px;height:20px;fill:currentColor}
body .wa-testi--vsl button.wa-testi-prev{left:0}
body .wa-testi--vsl button.wa-testi-next{right:0}
.wa-testi--vsl .wa-testi-puntos{margin-top:50px}

/* ---------- tablet ---------- */
@media(max-width:1024px){
	.wa-testi .wa-testi-foto-redonda img{width:65px;height:65px}
	.wa-testi-centrada{padding:50px 80px 60px}
	body .wa-testi--edm button.wa-testi-prev{left:20px}
	body .wa-testi--edm button.wa-testi-next{right:20px}
	/* vsl: la tarjeta con foto grande pasa a tarjeta centrada, como la plantilla de móvil de las VSL */
	.wa-testi--vsl{padding:0}
	.wa-testi--vsl .wa-testi-tarjeta{display:none}
	.wa-testi--vsl .wa-testi-solo-movil{display:flex}
	.wa-testi--vsl button.wa-testi-flecha{color:#515151}
	.wa-testi--vsl button.wa-testi-flecha svg{width:26px;height:26px}
	body .wa-testi--vsl button.wa-testi-prev{left:20px}
	body .wa-testi--vsl button.wa-testi-next{right:20px}
	.wa-testi--vsl .wa-testi-puntos{position:absolute;left:0;right:0;bottom:28px;margin:0}
}

/* ---------- móvil ---------- */
@media(max-width:767px){
	.wa-testi-centrada{padding:30px 30px 55px}
	.wa-testi-texto-centrado{font-size:var(--e-global-typography-0251c0e-font-size,1.25rem);line-height:var(--e-global-typography-0251c0e-line-height,1.75rem)}
	.wa-testi-logo-centrado img{max-width:150px;max-height:65px}
	.wa-testi--edm button.wa-testi-flecha svg,.wa-testi--vsl button.wa-testi-flecha svg{width:11px;height:20px}
	body .wa-testi button.wa-testi-prev{left:8px}
	body .wa-testi button.wa-testi-next{right:8px}
	body .wa-testi button.wa-testi-flecha{top:50px;transform:none}
	.wa-testi--edm .wa-testi-puntos,.wa-testi--vsl .wa-testi-puntos{bottom:22px;gap:10px}
}
