/* global React, HeroPreview, SectorArt, Glyphs, Social */ // sections.jsx — Secciones de la landing FersaMedia const { useRef, useEffect, useState } = React; /* ---------- Hook: scroll reveal ---------- */ function useReveal() { useEffect(() => { const els = document.querySelectorAll('.reveal'); const io = new IntersectionObserver((entries) => { entries.forEach((e) => { if (e.isIntersecting) {e.target.classList.add('in');io.unobserve(e.target);} }); }, { threshold: 0.16, rootMargin: '0px 0px -8% 0px' }); els.forEach((el) => io.observe(el)); return () => io.disconnect(); }); } /* ---------- Wordmark ---------- */ function Wordmark() { return FERSAMEDIA; } /* ---------- NAV ---------- */ function Nav() { const [scrolled, setScrolled] = useState(false); const [menu, setMenu] = useState(false); useEffect(() => { const onScroll = () => setScrolled(window.scrollY > 24); onScroll(); window.addEventListener('scroll', onScroll, { passive: true }); return () => window.removeEventListener('scroll', onScroll); }, []); const links = [['#sectores', 'Sectores'], ['#filosofia', 'Cómo trabajamos'], ['#testimonios', 'Testimonios']]; return (
{links.map(([h, l]) => setMenu(false)}>{l})}
); } /* ---------- HERO ---------- */ function Hero({ variant }) { const videoRef = useRef(null); useEffect(() => { const v = videoRef.current; if (!v) return; const tryPlay = () => {const p = v.play();if (p && p.catch) p.catch(() => {});}; tryPlay(); document.addEventListener('pointerdown', tryPlay, { once: true }); return () => document.removeEventListener('pointerdown', tryPlay); }, []); return (
{variant === 'stacked' ?

Una agencia que trabaja para tus clientes.

:

Una agencia que trabaja para tus clientes.

}

Somos expertos en generar relevancia para marcas, con las redes sociales como eje central de todo lo que hacemos.

Agenda una llamada
); } /* ---------- BANNER MARQUEE ---------- */ function Banner() { const items = ['Contenido Trending', 'SEO & GEO', 'Google Ads', 'Meta Ads', 'Contenido Organico', 'Automatización con IA', 'Reputación online', 'Diseño web', 'Redes sociales']; const Group = () =>