/* ========================================================= Secciones mid (rev. usuario): - Sec 4: Cinco razones honestas (IA en el centro) - Sec 5: Zonas - Sec 6: CEO Isaac Ruiz (con foto y badges) - Sec 7: Viviendas destacadas - Sec 8: Propiedades (tabs + grid) ========================================================= */ /* ---------- Sec 4: 5 razones honestas — IA en el centro ---------- */ function Differentiators() { return (
Por qué Innovaria

Cinco razones para confiarnos tu venta

Compromisos firmados que te protegen. Sin tácticas de presión y sin promesas vacías.

01

No cobramos doble

El precio anunciado es el precio final. Al comprador no se le añade comisión: lo que ve es lo que paga.

02

Exclusiva compartida MLS

Una sola exclusiva, tu casa en toda la red MLS y un único interlocutor para ti.

{/* Centro: tarjeta IA (razón estrella) */}
Razón estrella · IA

IA aplicada a vender tu casa

Pioneros en aplicar inteligencia artificial al proceso de venta. La IA no sustituye al agente: lo hace más efectivo.

Robot IA de Innovaria
03

Servicios por contrato

Todo lo que prometemos va por escrito. Si no cumplimos, la exclusiva no te obliga a ti.

04

Marketing de verdad

18 años de experiencia en marketing aplicados a vender: producción, contenido y campañas medibles.

); } /* ---------- Sec 5: Zonas (tiles con banda navy) ---------- */ const ZONES = [ { slug: "playa-del-cura", name: "Playa del Cura", count: "12 Propiedades", img: "assets/zone-playa-cura.jpg", desc: "Una de las zonas más demandadas de Torrevieja por su cercanía al mar, paseo marítimo, servicios y alta demanda de compradores durante todo el año." }, { slug: "punta-prima", name: "Punta Prima", count: "8 Propiedades", img: "assets/zone-punta-prima.jpg", desc: "Urbanizaciones modernas junto al mar y alta demanda exterior." }, { slug: "playa-de-la-mata", name: "Playa de la Mata", count: "9 Propiedades", img: "assets/zone-playa-mata.jpg", desc: "Playa natural, tranquilidad y compradores internacionales." }, { slug: "torrevieja-centro", name: "Torrevieja Centro", count: "15 Propiedades", img: "assets/zone-torrevieja-centro.jpeg", desc: "Comercios, servicios y alta demanda durante todo el año." }, { slug: "los-balcones", name: "Los Balcones", count: "6 Propiedades", img: "https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=900&q=80", desc: "Urbanización residencial con lago natural, parque botánico y excelentes conexiones. Ideal para familias." }, { slug: "los-frutales", name: "Los Frutales", count: "4 Propiedades", img: "https://images.unsplash.com/photo-1582719508461-905c673771fd?auto=format&fit=crop&w=900&q=80", desc: "Zona tranquila al norte de la ciudad con chalets independientes y precios competitivos." }]; function Zones() { const [active, setActive] = useState(0); return (
Zonas destacadas

Explora Torrevieja

Trabajamos donde vivimos. Cuatro zonas, una sola ciudad y un equipo que la conoce calle a calle.

{ZONES.map((z, i) => setActive(i)} onFocus={() => setActive(i)} style={{ backgroundImage: `url(${z.img})` }}> )}
); } /* ---------- Sec 6: CEO Isaac Ruiz ---------- */ function CEOSection() { const ref = useRef(null); const [visible, setVisible] = useState(false); useEffect(() => { const el = ref.current; if (!el || visible) return; const obs = new IntersectionObserver((entries) => { entries.forEach((e) => { if (e.isIntersecting) { setVisible(true); obs.disconnect(); } }); }, { threshold: 0.2 }); obs.observe(el); return () => obs.disconnect(); }, [visible]); return (
Quién está detrás

Isaac Ruiz. 18 años de marketing aplicados a vender.

"Llevo 18 años en marketing y 7 en el sector inmobiliario. Innovaria nace de ver cómo se podía hacer mucho mejor. Estrategia, datos y trato cercano. Sin atajos."

Isaac Ruiz CEO · Fundador de Innovaria
Titulado por la Universidad de Alicante
Formación CRS (Certified Residential Specialist)
Colegiado APIAL · RAICV 2926
); } /* ---------- Property card ---------- */ function PropCard({ p }) { const href = `vivienda.html${p.ref ? `?ref=${encodeURIComponent(p.ref)}` : ""}`; return (
{p.title}
{p.tag === "IA optimizado" ? {p.tag} : p.tag === "Destacado" ? {p.tag} : {p.tag} } En venta

{p.title}

{p.location}
{p.beds} hab {p.baths} baños {p.area} m²
{p.price}
); } /* ---------- Sec 7: Viviendas destacadas ---------- */ const FEATURED = [ { title: "Villa con vistas al mar en Cabo Roig", location: "Cabo Roig, Orihuela Costa", img: "https://images.unsplash.com/photo-1613490493576-7fde63acd811?auto=format&fit=crop&w=900&q=80", tag: "Destacado", price: "895.000 €", beds: 4, baths: 3, area: 280 }, { title: "Bungalow reformado a 200 m de la playa", location: "La Zenia, Orihuela Costa", img: "https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?auto=format&fit=crop&w=900&q=80", tag: "Nuevo", price: "265.000 €", beds: 3, baths: 2, area: 95 }, { title: "Ático con terraza panorámica en Torrevieja", location: "Torrevieja Centro", img: "https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=900&q=80", tag: "IA optimizado", price: "320.000 €", beds: 2, baths: 2, area: 110 }, { title: "Chalet de obra nueva en Punta Prima", location: "Punta Prima, Torrevieja", img: "https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=900&q=80", tag: "Destacado", price: "650.000 €", beds: 4, baths: 3, area: 210 }, { title: "Piso reformado en Playa del Cura", location: "Playa del Cura, Torrevieja", img: "https://images.unsplash.com/photo-1493809842364-78817add7ffb?auto=format&fit=crop&w=900&q=80", tag: "Nuevo", price: "215.000 €", beds: 2, baths: 1, area: 82 }, { title: "Villa familiar con piscina privada", location: "Playa de la Mata, Torrevieja", img: "https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=900&q=80", tag: "IA optimizado", price: "535.000 €", beds: 5, baths: 3, area: 245 }]; function DiscoverSpecial() { const VISIBLE = 3; const N = FEATURED.length; // Cards + VISIBLE clones at the end for seamless loop const items = [...FEATURED, ...FEATURED.slice(0, VISIBLE)]; const [start, setStart] = useState(0); const [withTransition, setWithTransition] = useState(true); const viewportRef = useRef(null); const [cardW, setCardW] = useState(0); const gap = 28; useEffect(() => { const update = () => { if (!viewportRef.current) return; const w = viewportRef.current.offsetWidth; const perView = window.innerWidth >= 1100 ? VISIBLE : window.innerWidth >= 700 ? 2 : 1; setCardW((w - gap * (perView - 1)) / perView); }; update(); window.addEventListener("resize", update); return () => window.removeEventListener("resize", update); }, []); // Seamless wraparound: when we pass N, snap silently to 0 useEffect(() => { if (start === N) { const t = setTimeout(() => { setWithTransition(false); setStart(0); }, 500); return () => clearTimeout(t); } if (!withTransition) { const t = setTimeout(() => setWithTransition(true), 50); return () => clearTimeout(t); } }, [start, withTransition]); const next = () => { if (!withTransition) return; setStart((s) => Math.min(s + 1, N)); }; const prev = () => { if (!withTransition) return; if (start === 0) { setWithTransition(false); setStart(N); setTimeout(() => { setWithTransition(true); setStart(N - 1); }, 60); } else { setStart((s) => s - 1); } }; const trackOffset = -start * (cardW + gap); const activeDot = start % N; return (
Viviendas destacadas

Descubre algo especial

Selección de la semana. Cada anuncio pasa por nuestro proceso de imagen, copy multilingüe y campañas optimizadas con IA.

{items.map((p, i) =>
0 ? cardW + "px" : "100%" }}>
)}
{FEATURED.map((_, i) => )}
); } /* ---------- Sec 8: Propiedades (tabs + grid) ---------- */ const TABS = ["Todas", "Villas", "Apartamentos", "Áticos", "Bungalows", "Adosados"]; const LISTINGS = [ { ref: "INV-2001", title: "Villa moderna en Los Balcones", location: "Los Balcones, Torrevieja", img: "https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=900&q=80", tag: "Destacado", price: "560.000 €", beds: 4, baths: 3, area: 220 }, { ref: "INV-2002", title: "Apartamento luminoso en Punta Prima", location: "Punta Prima, Orihuela Costa", img: "https://images.unsplash.com/photo-1502672023488-70e25813eb80?auto=format&fit=crop&w=900&q=80", tag: "Nuevo", price: "189.000 €", beds: 2, baths: 1, area: 78 }, { ref: "INV-2003", title: "Adosado con jardín en Villamartín", location: "Villamartín, Orihuela Costa", img: "https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=900&q=80", tag: "IA optimizado", price: "298.000 €", beds: 3, baths: 2, area: 130 }, { ref: "INV-2004", title: "Chalet con piscina en Playa Flamenca", location: "Playa Flamenca, Orihuela Costa", img: "https://images.unsplash.com/photo-1600585154526-990dced4db0d?auto=format&fit=crop&w=900&q=80", tag: "Destacado", price: "725.000 €", beds: 5, baths: 4, area: 310 }, { ref: "INV-2005", title: "Ático con vistas al mar en La Zenia", location: "La Zenia, Orihuela Costa", img: "https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=900&q=80", tag: "Nuevo", price: "395.000 €", beds: 3, baths: 2, area: 125 }, { ref: "INV-2006", title: "Bungalow planta baja en Torrevieja", location: "Torrevieja", img: "https://images.unsplash.com/photo-1600585154363-67eb9e2e2099?auto=format&fit=crop&w=900&q=80", tag: "IA optimizado", price: "165.000 €", beds: 2, baths: 1, area: 70 }]; function LatestListings() { const [tab, setTab] = useState(TABS[0]); return (
Cartera actual

Descubre nuestras últimas viviendas

Cartera viva en Torrevieja y Orihuela Costa. Filtra por tipo y encuentra lo que buscas.

{TABS.map((t) => )}
{LISTINGS.map((p, i) => )}
); } Object.assign(window, { Differentiators, Zones, CEOSection, DiscoverSpecial, LatestListings, PropCard });