1import{r as e,t}from"./jsx-runtime-DGeXAQPT.js";import{t as n}from"./react-BhjfaixL.js";import{t as r}from"./link-DAIPcJ5A.js";import{t as i}from"./useNavigate-BdYwDt_F.js";import{t as a}from"./createLucideIcon-woUNXNh4.js";import{t as o}from"./arrow-right-z4wMTEv0.js";import{t as s}from"./CatalogCard-bERvUQeA.js";import{c,n as l,t as u}from"./catalog-DGHLXqRS.js";import{t as d}from"./PageHero-CGb1z7Tf.js";import{t as f}from"./practicas-_uDwAxm1.js";import{t as p}from"./idiomas-UjgIsVkd.js";import{t as m}from"./estudiar-D0_bm6Ma.js";import{t as h}from"./hero-programas-B8hUPf-7.js";var g=a(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),_=e(n(),1),v=t(),y=`w-full appearance-none rounded-xl border border-border bg-background px-4 py-3 text-sm font-medium text-ink outline-none focus-visible:ring-2 focus-visible:ring-accent`;function b(){let e=i(),[t,n]=(0,_.useState)(``),[r,a]=(0,_.useState)(``);return(0,v.jsx)(`form`,{onSubmit:n=>{n.preventDefault(),e({to:`/programas/buscar`,search:{...t?{pais:t}:{},...r?{tipo:r}:{}}})},className:`rounded-2xl border border-border bg-card/95 p-4 shadow-lift backdrop-blur-md sm:p-5`,children:(0,v.jsxs)(`div`,{className:`grid gap-3`,children:[(0,v.jsxs)(`label`,{className:`block`,children:[(0,v.jsx)(`span`,{className:`mb-1.5 block text-xs font-semibold uppercase tracking-[0.14em] text-muted-foreground`,children:`PaÃs`}),(0,v.jsxs)(`select`,{value:t,onChange:e=>n(e.target.value),className:y,children:[(0,v.jsx)(`option`,{value:``,children:`Todos los paÃses`}),l.map(e=>(0,v.jsx)(`option`,{value:e,children:e},e))]})]}),(0,v.jsxs)(`label`,{className:`block`,children:[(0,v.jsx)(`span`,{className:`mb-1.5 block text-xs font-semibold uppercase tracking-[0.14em] text-muted-foreground`,children:`Tipo de programa`}),(0,v.jsxs)(`select`,{value:r,onChange:e=>a(e.target.value),className:y,children:[(0,v.jsx)(`option`,{value:``,children:`Todos los tipos`}),Object.keys(c).map(e=>(0,v.jsx)(`option`,{value:e,children:c[e].labelEs},e))]})]}),(0,v.jsx)(`div`,{className:`flex items-end`,children:(0,v.jsxs)(`button`,{type:`submit`,className:`btn-base btn-solid mt-1 w-full`,children:[(0,v.jsx)(g,{className:`size-4`}),`Buscar`]})})]})})}var x={internship:f,study:m,language:p};function S(){let e=Object.keys(c);return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(d,{eyebrow:`Programas`,title:`Tres caminos, un catálogo verificado`,lead:`Prácticas profesionales, cursos de idiomas y estudios en el extranjero. Compara con precios y plazos reales, y te decimos cuál encaja contigo.`,image:h,imageAlt:`Grupo de estudiantes internacionales caminando por una ciudad europea`,aside:(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)(`div`,{className:`mb-4`,children:[(0,v.jsx)(`p`,{className:`font-display text-sm font-semibold text-ink-foreground`,children:`Busca por destino o tipo de programa`}),(0,v.jsx)(`p`,{className:`text-sm text-ink-foreground/70`,children:`Te mostramos opciones y luego te guiamos.`})]}),(0,v.jsx)(b,{})]})}),(0,v.jsxs)(`section`,{className:`mx-auto max-w-7xl px-5 py-16 lg:px-8 lg:py-24`,children:[(0,v.jsxs)(`div`,{className:`max-w-2xl`,children:[(0,v.jsx)(`p`,{className:`eyebrow`,children:`Las tres rutas`}),(0,v.jsx)(`h2`,{className:`mt-4 text-3xl font-extrabold text-ink sm:text-4xl`,children:`Elige por dónde empezar`}),(0,v.jsx)(`p`,{className:`mt-4 text-lg leading-relaxed text-muted-foreground`,children:`No comparamos nueve categorÃas. Nos enfocamos en las tres decisiones reales: prácticas, idiomas o estudios.`})]}),(0,v.jsx)(`div`,{className:`mt-14 grid gap-6 md:grid-cols-2 lg:grid-cols-3`,children:e.map(e=>(0,v.jsxs)(`article`,{className:`group overflow-hidden rounded-3xl border border-border bg-card shadow-card transition-shadow hover:shadow-lift`,children:[(0,v.jsx)(`div`,{className:`aspect-16/9 overflow-hidden`,children:(0,v.jsx)(`img`,{src:x[e],alt:c[e].labelEs,loading:`lazy`,width:1024,height:640,className:`size-full object-cover transition-transform duration-500 group-hover:scale-105`})}),(0,v.jsxs)(`div`,{className:`p-7 lg:p-8`,children:[(0,v.jsx)(`p`,{className:`text-xs font-semibold uppercase tracking-[0.14em] text-accent`,children:c[e].label}),(0,v.jsx)(`h3`,{className:`mt-2.5 font-display text-xl font-bold text-ink`,children:c[e].labelEs}),(0,v.jsx)(`p`,{className:`mt-3 text-[0.9375rem] leading-relaxed text-muted-foreground`,children:c[e].lead}),(0,v.jsxs)(r,{to:c[e].path,className:`btn-base btn-outline-ink mt-6 inline-flex`,children:[`Explorar programas`,(0,v.jsx)(o,{className:`size-4 transition-transform group-hover:translate-x-0.5`})]})]})]},e))})]}),(0,v.jsx)(`section`,{className:`bg-surface`,children:(0,v.jsx)(`div`,{className:`mx-auto max-w-7xl px-5 py-16 lg:px-8 lg:py-20`,children:(0,v.jsxs)(`div`,{className:`flex flex-col items-start gap-4 roun
1ded-3xl border border-border bg-card p-8 shadow-card sm:flex-row sm:items-center sm:justify-between lg:p-10`,children:[(0,v.jsxs)(`div`,{children:[(0,v.jsx)(`p`,{className:`font-display text-lg font-bold text-ink`,children:`¿No sabes cuál de las tres rutas es la tuya?`}),(0,v.jsx)(`p`,{className:`text-muted-foreground`,children:`Cuéntanos tu situación y te devolvemos una recomendación clara.`})]}),(0,v.jsxs)(r,{to:`/asesoria-online`,className:`btn-base btn-solid shrink-0`,children:[`Recibir mi recomendación`,(0,v.jsx)(o,{className:`size-4`})]})]})})}),(0,v.jsxs)(`section`,{className:`mx-auto max-w-7xl px-5 pb-20 lg:px-8 lg:pb-28`,children:[(0,v.jsx)(`h2`,{className:`text-2xl font-extrabold text-ink`,children:`Todo el catálogo`}),(0,v.jsx)(`div`,{className:`mt-8 grid gap-6 sm:grid-cols-2 lg:grid-cols-3`,children:u.map(e=>(0,v.jsx)(s,{program:e},e.slug))})]})]})}export{S as component};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.