import{j as a,S as o}from"./app-C417rstp.js";import{F as n,H as l,L as d}from"./index-C9OncgsG.js";import m from"./ProgramaCard-D37HdCy1.js";import{m as r}from"./proxy-Bepa3l_N.js";const c=[{label:"Años de Experiencia",value:"50+",icon:n},{label:"Graduados",value:"3000+",icon:l},{label:"Tasa de Empleabilidad",value:"95%",icon:d}];function g({pregrados:t=[]}){const i=t.length;return a.jsxs(a.Fragment,{children:[a.jsx(o,{title:"Pregrado - DETRI"}),a.jsxs("section",{className:"relative min-h-[65vh] flex items-center justify-center overflow-hidden",children:[a.jsx("div",{className:`absolute inset-0 bg-gradient-to-br from-primary-50 via-white to-secondary-50
                      dark:from-primary-950 dark:via-primary-900 dark:to-secondary-950`}),a.jsx(r.div,{className:"pointer-events-none absolute inset-0 opacity-20",style:{backgroundImage:"radial-gradient(circle, rgba(99,102,241,0.4) 1px, transparent 1px)",backgroundSize:"30px 30px"},animate:{backgroundPosition:["0px 0px","30px 30px"]},transition:{duration:20,repeat:1/0,ease:"linear"}}),a.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[a.jsx(r.div,{className:`absolute top-20 right-20 w-72 h-72 rounded-full
                     bg-gradient-to-br from-primary-400/20 to-secondary-400/20 blur-3xl`,animate:{scale:[1,1.2,1],opacity:[.3,.5,.3]},transition:{duration:8,repeat:1/0,ease:"easeInOut"}}),a.jsx(r.div,{className:`absolute bottom-20 left-20 w-96 h-96 rounded-full
                     bg-gradient-to-tr from-secondary-400/20 to-primary-400/20 blur-3xl`,animate:{scale:[1,1.3,1],opacity:[.3,.6,.3]},transition:{duration:10,repeat:1/0,ease:"easeInOut",delay:1}})]}),a.jsxs("div",{className:"relative z-10 text-center px-6 max-w-5xl mx-auto",children:[a.jsxs(r.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.8,ease:[.23,1,.32,1]},children:[a.jsxs(r.div,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},className:`inline-flex items-center gap-2 px-4 py-2 rounded-full
                       bg-gradient-to-r from-primary-100 to-secondary-100
                       dark:from-primary-900/50 dark:to-secondary-900/50
                       border border-primary-200/50 dark:border-primary-700/50
                       mb-6`,children:[a.jsx("span",{className:"w-2 h-2 rounded-full bg-gradient-to-r from-primary-500 to-secondary-500 animate-pulse"}),a.jsx("span",{className:"text-sm font-semibold text-primary-700 dark:text-primary-300",children:"Programas de Pregrado"})]}),a.jsxs("h1",{className:`text-4xl sm:text-5xl lg:text-6xl font-black tracking-tight
                         text-primary-900 dark:text-white mb-6`,children:["Oferta Académica"," ",a.jsx("span",{className:"bg-gradient-to-r from-primary-600 to-secondary-600 bg-clip-text text-transparent",children:"DETRI"})]}),a.jsx(r.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,delay:.3},className:"text-lg text-primary-700 dark:text-primary-200 max-w-3xl mx-auto leading-relaxed",children:i>0?`Explora ${i} ${i===1?"programa disponible":"programas disponibles"} en nuestro departamento.`:"Pronto encontrarás aquí todos nuestros programas de pregrado."})]}),a.jsx(r.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.5},className:"mt-12 grid grid-cols-1 sm:grid-cols-3 gap-6 max-w-3xl mx-auto",children:c.map((e,s)=>a.jsx(r.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{duration:.5,delay:.6+s*.1},className:"relative group",children:a.jsxs("div",{className:`px-6 py-4 rounded-2xl backdrop-blur-md
                              bg-white/70 dark:bg-primary-900/70
                              border border-primary-200/50 dark:border-primary-700/50
                              shadow-lg hover:shadow-xl
                              transition-all duration-300 hover:scale-105`,children:[a.jsx(e.icon,{className:"w-8 h-8 mx-auto mb-2 text-primary-600 dark:text-primary-400 group-hover:scale-110 transition-transform"}),a.jsx("div",{className:"text-3xl font-bold bg-gradient-to-r from-primary-600 to-secondary-600 bg-clip-text text-transparent",children:e.value}),a.jsx("div",{className:"text-sm text-primary-700 dark:text-primary-300 font-medium mt-1",children:e.label})]})},e.label))})]})]}),a.jsx("section",{className:`py-20 bg-gradient-to-b from-white via-primary-50/30 to-white
                        dark:from-primary-950 dark:via-primary-900/30 dark:to-primary-950`,children:a.jsxs("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:[a.jsxs(r.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-16",children:[a.jsx("h2",{className:"text-3xl font-bold text-primary-900 dark:text-white mb-4",children:"Nuestros Programas"}),a.jsx("p",{className:"text-primary-700 dark:text-primary-300 max-w-2xl mx-auto",children:"Descubre la carrera que transformará tu futuro profesional"})]}),t.length===0?a.jsx("p",{className:"text-center text-gray-500",children:"No hay carreras disponibles por el momento."}):a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 lg:gap-10",children:t.map((e,s)=>a.jsx(m,{p:e,i:s},e.id??e.slug))})]})})]})}export{g as default};
