/* global React */ function Clients() { const t = window.useT(); React.useEffect(() => { const els = document.querySelectorAll('.founder-reveal'); if (!els.length) return; const observer = new IntersectionObserver((entries) => { entries.forEach(entry => { if (entry.isIntersecting) { entry.target.classList.add('is-visible'); observer.unobserve(entry.target); } }); }, { threshold: 0.12 }); els.forEach(el => observer.observe(el)); return () => observer.disconnect(); }, []); const logos = [ { name: 'Aedas Homes', src: 'assets/clients/aedas-homes.webp' }, { name: 'Neinor Homes', src: 'assets/clients/neinor-homes.webp' }, { name: 'Antima Homes', src: 'assets/clients/antima-homes.webp' }, { name: 'BD Capital Real Estate', src: 'assets/clients/bd-capital.png' }, { name: 'RMZ Invest', src: 'assets/clients/rmz-invest.webp' }, { name: 'Cano y Escario Arquitectura', src: 'assets/clients/cano-y-escario.webp' }, { name: 'Pepe Cabrera', src: 'assets/clients/pepe-cabrera.webp' }, { name: 'NH Hoteles', src: 'assets/clients/nh-hoteles.webp' }, { name: 'Vía Célere', src: 'assets/clients/via-celere.webp' }, { name: 'Gestilar', src: 'assets/clients/gestilar.webp' }, { name: 'Grupo Insur', src: 'assets/clients/insur.webp' }, { name: 'Taylor Wimpey España', src: 'assets/clients/taylor-wimpey.webp' }, ]; return (
{/* Header */}
{t('clients.header.label')}

{t('clients.header.title').replace(t('clients.header.subtitle'), '')}
{t('clients.header.subtitle')}

{(() => { const desc = t('clients.header.description'); const splitAt = desc.indexOf('. '); const italic = splitAt !== -1 ? desc.slice(0, splitAt + 1) : desc; const rest = splitAt !== -1 ? desc.slice(splitAt + 2) : ''; return ( <> {italic} {rest ? ' ' + rest : null} ); })()}

{/* Logo grid */}
{logos.map((logo, i) => (
{logo.name}
))}
{/* Founder bio block */}
{/* LEFT: text */}
{/* Eyebrow */}
{t('founder.eyebrow')}
{/* Title h3 */}

{(() => { const title = t('founder.title'); const emphasis = t('founder.title.emphasis'); const idx = title.lastIndexOf(emphasis); if (idx === -1) return title; return ( <> {title.slice(0, idx)} {emphasis} {title.slice(idx + emphasis.length)} ); })()}

{/* Body paragraphs */}

{t('founder.body1')}

{t('founder.body2')}

{/* Signature */}
{t('founder.signature.name')}
{t('founder.signature.role')}
{t('founder.signature.location')}
{/* RIGHT: photo */}
Joaquin · Director creativo de EIDORA
); } window.Clients = Clients;