// Results, Social Proof & Logos const { useState: useStateR, useEffect: useEffectR, useRef: useRefR } = React; function ResultsSection() { const ref = useRefR(null); const [play, setPlay] = useStateR(false); useEffectR(() => { const obs = new IntersectionObserver((entries) => { entries.forEach((e) => { if (e.isIntersecting) setPlay(true); }); }, { threshold: 0.3 }); if (ref.current) obs.observe(ref.current); return () => obs.disconnect(); }, []); const stats = [ { num: 327, suffix: '', label: 'planes financieros creados', sub: 'en 2025' }, { num: 4.9, suffix: '/5', label: 'puntuación media', sub: 'Google reviews', decimals: 1 }, { num: 1.85, prefix: '', suffix: ' %', label: 'ahorro medio en comisiones', sub: 'vs. producto bancario equivalente', decimals: 2 }, { num: 94, suffix: ' %', label: 'clientes renuevan', sub: 'al cabo del primer año' }, ]; return (
{/* Glow */}
); } function Testimonials() { const testimonials = [ { name: 'Carlos M.', role: 'Ingeniero, 42 años', initials: 'CM', rating: 5, text: 'Tenía el dinero aparcado en la cuenta del BBVA desde hacía 3 años. En una sesión me enseñaron dónde estaba perdiendo dinero real. El plan fue claro y lo pude ejecutar yo mismo.', }, { name: 'Marta L.', role: 'Autónoma, 35 años', initials: 'ML', rating: 5, text: 'Me daba pánico hablar de inversiones. El asesor tuvo paciencia infinita y no intentó venderme nada. Salí con un plan a 20 años y entendiendo cada decisión.', }, { name: 'Javier R.', role: 'Funcionario, 51 años', initials: 'JR', rating: 5, text: 'Llevaba años oyendo que tenía que "hacer algo" con mi plan de pensiones. Me hicieron el cálculo real y cambié de producto. Me ahorro unos 800 € al año en comisiones.', }, ]; return (
{testimonials.map((t, i) => (
{Array.from({ length: t.rating }).map((_, i) => ( ))}

"{t.text}"

{t.initials}
{t.name}
{t.role}
))}
); } function LogosSection() { const logos = [ { name: 'El Referente', style: { fontFamily: 'serif', fontWeight: 600, fontStyle: 'italic' } }, { name: '20minutos', style: { fontWeight: 700, color: '#0075C9' } }, { name: 'Finect', style: { fontWeight: 600, letterSpacing: '-0.02em' } }, { name: 'Emprendedores', style: { fontWeight: 700, color: '#E31E24' } }, { name: 'El Economista', style: { fontFamily: 'serif', fontWeight: 500 } }, { name: 'Cinco Días', style: { fontFamily: 'serif', fontWeight: 600 } }, ]; return (
Nos han visto en
{logos.map((l, i) => (
{ e.currentTarget.style.filter = 'none'; }} onMouseLeave={(e) => { e.currentTarget.style.filter = 'grayscale(1)'; }} > {l.name}
))}
); } window.ResultsSection = ResultsSection; window.LogosSection = LogosSection;