1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4787],{6109:function(e,t,r){r.d(t,{P:function(){return c}});var i=r(5893),n=r(7294),a=r(2417),l=r(5528);let o=(0,r(483).Z)("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);var s=r(4712);function c(e){let{title:t,price:r,quantity:c=1,serviceId:d,currencyId:u="CLP",userEmail:m,buttonText:p="Pagar con Mercado Pago",className:h="",variant:x="default",size:y="lg"}=e,[f,g]=(0,n.useState)(!1),v=async()=>{try{g(!0);let e=await fetch("/api/mercadopago/create-preference",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:t,price:r,quantity:c,serviceId:d,currency_id:u,userEmail:m})}),i=e.headers.get("content-type"),n={};if(i&&i.includes("application/json"))n=await e.json();else{let t=await e.text();throw console.error("API response non-JSON:",t),Error("El servidor no devolvi\xf3 una respuesta JSON v\xe1lida. Aseg\xfarate de reiniciar 'npm run dev'.")}if(!e.ok)throw Error(n.error||"No se pudo iniciar el proceso de pago.");if(n.init_point)window.location.href=n.init_point;else throw Error("No se obtuvo la URL de pago de Mercado Pago.")}catch(e){console.error("Payment error:",e),s.Am.error(e.message||"Ocurri\xf3 un error al procesar el pago.")}finally{g(!1)}};return(0,i.jsx)(a.z,{type:"button",variant:x,size:y,onClick:e=>{e.preventDefault(),e.stopPropagation(),v()},disabled:f,className:"font-medium transition-all ".concat(h),children:f?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.Z,{className:"w-5 h-5 mr-2 animate-spin"}),"Procesando..."]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o,{className:"w-5 h-5 mr-2"}),p]})})}},8932:function(e,t,r){r.d(t,{j:function(){return f}});var i=r(5893),n=r(8384),a=r(1664),l=r.n(a),o=r(2417),s=r(6204),c=r(2275),d=r(5688),u=r(46),m=r(6667),p=r(87),h=r(6509);let x={"01":c.Z,"02":d.Z,"03":u.Z,"04":m.Z,default:p.Z},y=(e,t)=>{let r=t.toLowerCase();return r.includes("discovery")||r.includes("book")||r.includes("onboarding")||r.includes("start")?c.Z:r.includes("concept")||r.includes("share")||r.includes("vision")||r.includes("design direction")?d.Z:r.includes("refine")||r.includes("design development")||r.includes("meet")||r.includes("session")?u.Z:r.includes("delivery")||r.includes("realization")||r.includes("finish")||r.includes("complete")?m.Z:x[e]||x.default};function f(e){let{badge:t,title:r,description:a,steps:c,showCta:d=!0}=e,{t:u,localizePath:m}=(0,s.Z)();return(0,i.jsxs)("section",{className:"py-24 bg-secondary/10 relative overflow-hidden",children:[(0,i.jsxs)("div",{className:"absolute top-0 left-0 w-full h-full overflow-hidden pointer-events-none opacity-20",children:[(0,i.jsx)("div",{className:"absolute -top-[10%] -left-[10%] w-[40%] h-[40%] bg-primary/5 rounded-full blur-[120px]"}),(0,i.jsx)("div",{className:"absolute -bottom-[10%] -right-[10%] w-[40%] h-[40%] bg-primary/5 rounded-full blur-[120px]"})]}),(0,i.jsxs)("div",{className:"container mx-auto px-4 relative z-10",children:[(0,i.jsxs)("div",{className:"max-w-3xl mx-auto text-center mb-20",children:[(0,i.jsx)(n.E.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-sm uppercase tracking-[0.3em] text-[#4A200B] mb-4",children:t}),(0,i.jsx)(n.E.h3,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1},className:"text-4xl md:text-5xl font-mirage mb-6 text-[#4A200B]",children:r}),(0,i.jsx)(n.E.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.2},className:"text-lg text-muted-foreground font-light",children:a})]}),(0,i.jsxs)("div",{className:"grid md:grid-cols-2 gap-8 lg:gap-12 relative ".concat(3===c.length?"lg:grid-cols-3":"lg:grid-cols-4"),children:[(0,i.jsx)("div",{className:"hidden lg:block absolute top-[2.25rem] left-[10%] right-[10%] h-[1px] bg-primary/10 -z-10"}),c.map((e,t)=>{let r=e.icon||y(e.number,e.title);return(0,i.jsxs)(n.E.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1*t},className:"group relative text-center md:text-left",children:[(0,i.jsx)("div",{className:"text-8xl font-mirage process-number text-[#6F724E]/40 absolute -top-8 left-1/2 -translate-x-1/2 md:left-auto md:-left-4 md:translate-x-0 group-hover:text-[#6F724E]/60 transition-colors pointer-events-none select-none",children:e.number}),(0,i.jsxs)("div",{className:"relative pt-6 h-full flex flex-col items-center md:items-start",children:[(0,i.jsx)("div",{className:"w-12 h-12 rounded-full bg-background border border-[#6F724E]/40 flex items-center justify-center mb-6 group-hover:border-[#6F724E]/70 hover:bg-[#D7D0BD] transition-all duration-500 shadow-sm relative z-20",children:(0,i.jsx)(r,{className:"w-5 h-5 text-[#6F724E] group-hover:text-[#6F724E] transition-colors"})}),(0,i.jsxs)("div",{className:"space-y-4",children:[(0,i.jsxs)("h4",{className:"text-xl font-mirage md:group-hover:translate-x-1 transition-transform inline-flex items-center justify-center md:justify-start gap-2",children:[e.title,(0,i.jsx)(h.Z,{className:"hidden md:block w-3 h-3 opacity-0 -translate-x-2 group-hover:opacity-100 group-hover:translate-x-0 transition-all text-primary"})]}),(0,i.jsx)("p",{className:"text-muted-foreground leading-relaxed font-light text-sm whitespace-pre-line",children:e.description})]}),(0,i.jsx)("div",{className:"mt-auto pt-6",children:(0,i.jsx)("div",{className:"w-8 h-[1px] bg-primary/20 group-hover:w-16 transition-all duration-500 mx-auto md:mx-0"})})]})]},t)})]}),d&&(0,i.jsx)(n.E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.4},className:"flex justify-center mt-16",children:(0,i.jsx)(o.z,{size:"lg",className:"h-14 px-10 text-base rounded-full bg-primary text-primary-foreground hover:bg-primary/95 group transition-all duration-300 shadow-md border-none",asChild:!0,children:(0,i.jsxs)(l(),{href:m("/contact"),className:"flex items-center gap-3",children:[u("contact.getInTouch"),(0,i.jsx)(h.Z,{className:"w-4 h-4 group-hover:translate-x-1 transition-transform"})]})})})]})]})}},3930:function(e,t,r){r.d(t,{Z:function(){return i}});let i=(0,r(483).Z)("Compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",ke
1y:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},5528:function(e,t,r){r.d(t,{Z:function(){return i}});let i=(0,r(483).Z)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},87:function(e,t,r){r.d(t,{Z:function(){return i}});let i=(0,r(483).Z)("MousePointer2",[["path",{d:"M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z",key:"edeuup"}]])},5688:function(e,t,r){r.d(t,{Z:function(){return i}});let i=(0,r(483).Z)("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]])},46:function(e,t,r){r.d(t,{Z:function(){return i}});let i=(0,r(483).Z)("Ruler",[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]])},2275:function(e,t,r){r.d(t,{Z:function(){return i}});let i=(0,r(483).Z)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])}}]);
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.