import{j as e}from"./vendor-query-DoyCFZ4O.js";import{f as P,r as n,L as c}from"./vendor-react-Rhy2aEWQ.js";import{u as j,S as y,d as T}from"./index-CwDwxmPI.js";import{m as l}from"./vendor-motion-D3eh3-LB.js";import{s as U,n as d,p as q,ab as L,U as B,Z as _,a3 as z,e as F,g as k,P as m,h as H}from"./vendor-utils-BOMyae96.js";const W={"web-development":"Web Development","custom-web-applications":"Web Development","e-commerce-solutions":"E-Commerce Solutions","ux-ui-design":"UI/UX Design","custom-software-apis":"Custom Software & APIs","software-development":"Custom Software & APIs","seo-optimization":"SEO & Digital Marketing","paid-advertising-ppc":"SEO & Digital Marketing","content-strategy":"SEO & Digital Marketing","conversion-rate-optimization":"SEO & Digital Marketing","programmatic-advertising":"SEO & Digital Marketing","international-seo":"SEO & Digital Marketing","marketing-analytics":"SEO & Digital Marketing","marketing-growth":"SEO & Digital Marketing","ai-automation":"AI & Automation","ai-chatbots":"AI & Automation","process-automation":"AI & Automation","ai-predictive-intelligence":"AI & Automation","sovran-assistant":"AI & Automation","ai-voice-assistants":"AI & Automation","ai-integration-services":"AI & Automation","machine-learning-models":"AI & Automation","it-infrastructure":"IT Infrastructure & Cloud","cloud-architecture-devops":"IT Infrastructure & Cloud","network-architecture":"IT Infrastructure & Cloud","managed-it-support":"IT Infrastructure & Cloud","disaster-recovery":"IT Infrastructure & Cloud","infrastructure-monitoring":"IT Infrastructure & Cloud","server-optimization":"IT Infrastructure & Cloud","data-analytics":"Data Analytics & BI","data-visualization-bi":"Data Analytics & BI","customer-intelligence":"Data Analytics & BI","web-app-measurement":"Data Analytics & BI","data-strategy-governance":"Data Analytics & BI",consulting:"Consulting & Strategy","digital-transformation":"Consulting & Strategy","cto-as-a-service":"Consulting & Strategy","training-workshops":"Consulting & Strategy","martech-consulting":"Consulting & Strategy","growth-consulting":"Consulting & Strategy"};function Y(){var f;const{t}=j("contact"),{t:o}=j("common"),x=[{value:"Web Development",label:t("form.services.webDev")},{value:"E-Commerce Solutions",label:t("form.services.ecommerce")},{value:"UI/UX Design",label:t("form.services.uiux")},{value:"Custom Software & APIs",label:t("form.services.customSoftware")},{value:"SEO & Digital Marketing",label:t("form.services.seoMarketing")},{value:"AI & Automation",label:t("form.services.aiAutomation")},{value:"IT Infrastructure & Cloud",label:t("form.services.itCloud")},{value:"Data Analytics & BI",label:t("form.services.dataAnalytics")},{value:"Consulting & Strategy",label:t("form.services.consulting")},{value:"Other",label:t("form.services.other")}],N=[{value:"Under £5,000",label:t("form.budgetOptions.under5k")},{value:"£5,000 – £15,000",label:t("form.budgetOptions.5to15k")},{value:"£15,000 – £50,000",label:t("form.budgetOptions.15to50k")},{value:"£50,000 – £100,000",label:t("form.budgetOptions.50to100k")},{value:"£100,000+",label:t("form.budgetOptions.over100k")},{value:"Not sure yet",label:t("form.budgetOptions.notSure")}],w=[{value:"ASAP",label:t("form.timelineOptions.asap")},{value:"1 – 3 months",label:t("form.timelineOptions.1to3")},{value:"3 – 6 months",label:t("form.timelineOptions.3to6")},{value:"6+ months",label:t("form.timelineOptions.6plus")},{value:"Ongoing / retainer",label:t("form.timelineOptions.ongoing")},{value:"Just exploring",label:t("form.timelineOptions.exploring")}],S={"Web Development":t("form.services.webDev"),"E-Commerce Solutions":t("form.services.ecommerce"),"UI/UX Design":t("form.services.uiux"),"Custom Software & APIs":t("form.services.customSoftware"),"SEO & Digital Marketing":t("form.services.seoMarketing"),"AI & Automation":t("form.services.aiAutomation"),"IT Infrastructure & Cloud":t("form.services.itCloud"),"Data Analytics & BI":t("form.services.dataAnalytics"),"Consulting & Strategy":t("form.services.consulting")},[C]=P(),u=C.get("service")||"",I=W[u]||((f=x.find(a=>a.value===u))==null?void 0:f.value)||"",[s,i]=n.useState({name:"",email:"",company:"",phone:"",service:I,budget:"",timeline:"",message:""}),[p,A]=n.useState(!1),[D,O]=n.useState(!1),[h,g]=n.useState(!1),[E,b]=n.useState(!1),r=S[s.service]||null,M=async a=>{a.preventDefault(),g(!0),b(!1);try{await T.post("/public/contact",{...s,gdpr_consent:p,consent_timestamp:new Date().toISOString()}),O(!0)}catch{b(!0)}finally{g(!1)}};return D?e.jsxs("div",{className:"min-h-screen bg-white",children:[e.jsx(y,{title:t("success.heading"),description:t("success.description"),canonical:"/contact"}),e.jsx("div",{className:"min-h-screen flex items-center justify-center pt-20 px-4",children:e.jsxs(l.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center max-w-lg mx-auto",children:[e.jsx("div",{className:"w-20 h-20 bg-gradient-to-br from-green-400 to-emerald-500 rounded-2xl flex items-center justify-center mx-auto mb-8 shadow-lg shadow-green-500/20",children:e.jsx(U,{className:"w-10 h-10 text-white"})}),e.jsx("h2",{className:"text-3xl font-bold text-dark-900",children:t("success.heading")}),e.jsx("p",{className:"mt-4 text-dark-500 leading-relaxed",children:t("success.description")}),e.jsx("div",{className:"mt-8 p-4 bg-dark-50 rounded-xl border border-dark-100",children:e.jsxs("div",{className:"flex items-center justify-center gap-2 text-sm text-dark-600",children:[e.jsx(d,{className:"w-4 h-4 text-primary-500"}),e.jsx("span",{children:t("success.responseNote")})]})}),e.jsxs("div",{className:"mt-8 flex flex-wrap justify-center gap-4",children:[e.jsx(c,{to:"/",className:"px-6 py-3 bg-dark-900 text-white font-medium rounded-xl hover:bg-dark-800 transition-colors",children:o("cta.backToHome")}),e.jsx(c,{to:"/case-studies",className:"px-6 py-3 border border-dark-200 text-dark-700 font-medium rounded-xl hover:bg-dark-50 transition-colors",children:o("cta.viewOurWork")})]})]})})]}):e.jsxs("div",{className:"min-h-screen bg-white",children:[e.jsx(y,{title:r?t("seo.titleService",{service:r}):t("seo.title"),description:r?t("seo.descriptionService",{service:r}):t("seo.descriptionDefault"),canonical:"/contact"}),e.jsxs("section",{className:"relative pt-32 pb-20 lg:pt-48 lg:pb-28 overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-dark-950"}),e.jsx("div",{className:"absolute inset-0 bg-[linear-gradient(rgba(99,102,241,0.07)_1px,transparent_1px),linear-gradient(90deg,rgba(99,102,241,0.07)_1px,transparent_1px)] bg-[size:60px_60px]"}),e.jsx("div",{className:"absolute top-0 right-0 w-[600px] h-[600px] bg-primary-500/10 rounded-full blur-[150px] pointer-events-none"}),e.jsx("div",{className:"absolute bottom-0 left-0 w-[400px] h-[400px] bg-violet-500/8 rounded-full blur-[120px] pointer-events-none"}),e.jsx("div",{className:"relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"max-w-3xl",children:[e.jsx(l.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:e.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-white/5 border border-white/10 rounded-full mb-8",children:[e.jsx("div",{className:"w-2 h-2 rounded-full bg-green-400 animate-pulse"}),e.jsx("span",{className:"text-xs font-semibold text-green-300 tracking-wide uppercase",children:r?t("hero.headingServiceEnquiry",{service:r}):t("hero.badge")})]})}),e.jsx(l.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1},className:"text-3xl sm:text-4xl lg:text-6xl font-extrabold text-white leading-[1.1] tracking-tight",children:r?e.jsxs(e.Fragment,{children:[t("hero.headingService")," ",e.jsxs("span",{className:"bg-gradient-to-r from-primary-400 via-violet-400 to-fuchsia-400 bg-clip-text text-transparent",children:[r.toLowerCase()," ",t("hero.headingServiceProject")]})]}):e.jsxs(e.Fragment,{children:[t("hero.headingDefault").split(" ").slice(0,3).join(" ")," ",e.jsx("span",{className:"bg-gradient-to-r from-primary-400 via-violet-400 to-fuchsia-400 bg-clip-text text-transparent",children:t("hero.headingDefault").split(" ").slice(3).join(" ")})]})}),e.jsx(l.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},className:"mt-6 text-lg text-dark-300 leading-relaxed max-w-2xl",children:r?t("hero.descriptionService",{service:r.toLowerCase()}):t("hero.descriptionDefault")}),e.jsx(l.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.3},className:"mt-10 flex flex-wrap items-center gap-6 text-sm text-dark-400",children:[{icon:d,text:t("hero.responseTime")},{icon:q,text:t("hero.gdpr")},{icon:L,text:t("hero.noObligation")}].map(a=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(a.icon,{className:"w-4 h-4 text-primary-400"}),e.jsx("span",{children:a.text})]},a.text))})]})})]}),e.jsx("section",{className:"py-16 lg:py-24",children:e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-8 lg:gap-16",children:[e.jsxs("div",{className:"lg:col-span-7",children:[e.jsxs(l.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1},children:[e.jsx("h2",{className:"text-2xl font-bold text-dark-900",children:t("form.heading")}),e.jsx("p",{className:"mt-2 text-dark-500",children:t("form.subtitle")})]}),e.jsxs(l.form,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},onSubmit:M,className:"mt-10 space-y-8",children:[e.jsxs("div",{children:[e.jsxs("h3",{className:"text-xs font-semibold text-dark-400 uppercase tracking-wider mb-4 flex items-center gap-2",children:[e.jsx(B,{className:"w-3.5 h-3.5"})," ",t("form.aboutYou")]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-5",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"block text-sm font-medium text-dark-700 mb-1.5",children:[t("form.fullName")," ",e.jsx("span",{className:"text-red-400",children:"*"})]}),e.jsx("input",{type:"text",required:!0,value:s.name,onChange:a=>i({...s,name:a.target.value}),className:"w-full px-4 py-3 bg-white border border-dark-200 rounded-xl focus:ring-2 focus:ring-primary-500 focus:border-primary-500 outline-none transition-all text-dark-900 placeholder:text-dark-300",placeholder:t("form.placeholderName")})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"block text-sm font-medium text-dark-700 mb-1.5",children:[t("form.workEmail")," ",e.jsx("span",{className:"text-red-400",children:"*"})]}),e.jsx("input",{type:"email",required:!0,value:s.email,onChange:a=>i({...s,email:a.target.value}),className:"w-full px-4 py-3 bg-white border border-dark-200 rounded-xl focus:ring-2 focus:ring-primary-500 focus:border-primary-500 outline-none transition-all text-dark-900 placeholder:text-dark-300",placeholder:t("form.placeholderEmail")})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-medium text-dark-700 mb-1.5",children:t("form.company")}),e.jsx("input",{type:"text",value:s.company,onChange:a=>i({...s,company:a.target.value}),className:"w-full px-4 py-3 bg-white border border-dark-200 rounded-xl focus:ring-2 focus:ring-primary-500 focus:border-primary-500 outline-none transition-all text-dark-900 placeholder:text-dark-300",placeholder:t("form.placeholderCompany")})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-medium text-dark-700 mb-1.5",children:t("form.phone")}),e.jsx("input",{type:"tel",value:s.phone,onChange:a=>i({...s,phone:a.target.value}),className:"w-full px-4 py-3 bg-white border border-dark-200 rounded-xl focus:ring-2 focus:ring-primary-500 focus:border-primary-500 outline-none transition-all text-dark-900 placeholder:text-dark-300",placeholder:t("form.placeholderPhone")})]})]})]}),e.jsx("div",{className:"border-t border-dark-100"}),e.jsxs("div",{children:[e.jsxs("h3",{className:"text-xs font-semibold text-dark-400 uppercase tracking-wider mb-4 flex items-center gap-2",children:[e.jsx(_,{className:"w-3.5 h-3.5"})," ",t("form.projectDetails")]}),e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"block text-sm font-medium text-dark-700 mb-1.5",children:[t("form.serviceLabel")," ",e.jsx("span",{className:"text-red-400",children:"*"})]}),e.jsxs("select",{required:!0,value:s.service,onChange:a=>i({...s,service:a.target.value}),className:"w-full px-4 py-3 bg-white border border-dark-200 rounded-xl focus:ring-2 focus:ring-primary-500 focus:border-primary-500 outline-none transition-all text-dark-900",children:[e.jsx("option",{value:"",children:t("form.selectService")}),x.map(a=>e.jsx("option",{value:a.value,children:a.label},a.value))]})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-5",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-medium text-dark-700 mb-1.5",children:t("form.budget")}),e.jsxs("select",{value:s.budget,onChange:a=>i({...s,budget:a.target.value}),className:"w-full px-4 py-3 bg-white border border-dark-200 rounded-xl focus:ring-2 focus:ring-primary-500 focus:border-primary-500 outline-none transition-all text-dark-900",children:[e.jsx("option",{value:"",children:t("form.selectBudget")}),N.map(a=>e.jsx("option",{value:a.value,children:a.label},a.value))]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-medium text-dark-700 mb-1.5",children:t("form.timeline")}),e.jsxs("select",{value:s.timeline,onChange:a=>i({...s,timeline:a.target.value}),className:"w-full px-4 py-3 bg-white border border-dark-200 rounded-xl focus:ring-2 focus:ring-primary-500 focus:border-primary-500 outline-none transition-all text-dark-900",children:[e.jsx("option",{value:"",children:t("form.selectTimeline")}),w.map(a=>e.jsx("option",{value:a.value,children:a.label},a.value))]})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"block text-sm font-medium text-dark-700 mb-1.5",children:[t("form.projectDescription")," ",e.jsx("span",{className:"text-red-400",children:"*"})]}),e.jsx("textarea",{required:!0,rows:5,value:s.message,onChange:a=>i({...s,message:a.target.value}),className:"w-full px-4 py-3 bg-white border border-dark-200 rounded-xl focus:ring-2 focus:ring-primary-500 focus:border-primary-500 outline-none transition-all resize-none text-dark-900 placeholder:text-dark-300",placeholder:t("form.placeholderMessage")})]})]})]}),e.jsx("div",{className:"border-t border-dark-100"}),e.jsxs("div",{className:"space-y-5",children:[e.jsxs("label",{className:"flex items-start gap-3 cursor-pointer group",children:[e.jsx("input",{type:"checkbox",required:!0,checked:p,onChange:a=>A(a.target.checked),className:"mt-0.5 w-4 h-4 rounded border-dark-300 text-primary-600 focus:ring-primary-500 shrink-0"}),e.jsxs("span",{className:"text-sm text-dark-500 leading-relaxed",children:[t("form.consentFull")," ",e.jsx(c,{to:"/privacy",className:"text-primary-600 hover:underline font-medium",children:o("footerLegal.privacyPolicy")}),".",e.jsx("span",{className:"text-red-400",children:" *"})]})]}),E&&e.jsxs("div",{role:"alert",className:"flex items-start gap-3 p-4 bg-red-50 border border-red-200 rounded-xl text-sm text-red-700",children:[e.jsx(z,{className:"w-5 h-5 shrink-0 mt-0.5"}),e.jsx("span",{children:t("form.error")})]}),e.jsx("button",{type:"submit",disabled:h,className:"group inline-flex items-center justify-center gap-2.5 w-full sm:w-auto px-10 py-4 bg-dark-900 text-white font-semibold rounded-xl hover:bg-dark-800 transition-all shadow-lg shadow-dark-900/10 disabled:opacity-50 disabled:cursor-not-allowed",children:h?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"w-4 h-4 border-2 border-white/30 border-t-white rounded-full animate-spin"}),t("form.sending")]}):e.jsxs(e.Fragment,{children:[o("cta.sendMessage"),e.jsx(F,{className:"w-4 h-4 group-hover:translate-x-0.5 transition-transform"})]})})]})]})]}),e.jsx("div",{className:"lg:col-span-5",children:e.jsxs(l.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3},className:"lg:sticky lg:top-32 space-y-6",children:[e.jsx("div",{className:"space-y-3",children:[{icon:k,title:t("sidebar.emailUs"),text:"info@sovrandigital.co.uk",sub:t("sidebar.emailReply"),href:"mailto:info@sovrandigital.co.uk"},{icon:m,title:t("sidebar.callUK"),text:"+44 7465 233485",sub:t("sidebar.ukHours"),href:"tel:+447465233485"},{icon:m,title:t("sidebar.callDE"),text:"+49 1575 9755088",sub:t("sidebar.deHours"),href:"tel:+4915759755088"},{icon:H,title:t("sidebar.office"),text:"182-184 High Street North",sub:"East Ham, London E6 2JA, UK",href:void 0},{icon:d,title:t("sidebar.businessHours"),text:t("sidebar.businessDays"),sub:t("sidebar.businessTime"),href:void 0}].map(a=>{var v;return e.jsxs("a",{href:a.href,target:(v=a.href)!=null&&v.startsWith("mailto")?"_blank":void 0,rel:"noopener noreferrer",className:`flex items-start gap-4 p-5 bg-white border border-dark-100 rounded-2xl transition-all ${a.href?"hover:border-primary-200 hover:shadow-md cursor-pointer group":""}`,children:[e.jsx("div",{className:"w-11 h-11 bg-primary-50 rounded-xl flex items-center justify-center shrink-0 group-hover:bg-primary-100 transition-colors",children:e.jsx(a.icon,{className:"w-5 h-5 text-primary-600"})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("h3",{className:"font-semibold text-dark-900 text-sm",children:a.title}),e.jsx("p",{className:"text-sm text-dark-700 mt-0.5",children:a.text}),e.jsx("p",{className:"text-xs text-dark-400 mt-0.5",children:a.sub})]})]},a.title)})}),e.jsxs("div",{className:"p-6 bg-dark-950 rounded-2xl",children:[e.jsx("h3",{className:"text-sm font-semibold text-white mb-4",children:t("whatNext.heading")}),e.jsx("div",{className:"space-y-4",children:[{step:"01",title:t("whatNext.step1"),desc:t("whatNext.step1Desc")},{step:"02",title:t("whatNext.step2"),desc:t("whatNext.step2Desc")},{step:"03",title:t("whatNext.step3"),desc:t("whatNext.step3Desc")}].map(a=>e.jsxs("div",{className:"flex gap-4",children:[e.jsx("span",{className:"text-xs font-bold text-primary-400 bg-primary-400/10 w-8 h-8 rounded-lg flex items-center justify-center shrink-0",children:a.step}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-white",children:a.title}),e.jsx("p",{className:"text-xs text-dark-400 mt-0.5 leading-relaxed",children:a.desc})]})]},a.step))})]}),e.jsx("div",{className:"grid grid-cols-2 gap-3",children:[{value:"<4h",label:t("quickStats.avgResponse")},{value:"50+",label:t("quickStats.projectsDelivered")},{value:"98%",label:t("quickStats.clientSatisfaction")},{value:"12+",label:t("quickStats.countriesServed")}].map(a=>e.jsxs("div",{className:"p-4 bg-dark-50 rounded-xl text-center border border-dark-100",children:[e.jsx("p",{className:"text-xl font-bold text-dark-900",children:a.value}),e.jsx("p",{className:"text-[11px] text-dark-400 mt-0.5 font-medium",children:a.label})]},a.label))})]})})]})})}),e.jsx("section",{className:"py-16 bg-dark-50 border-t border-dark-100",children:e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"text-center max-w-2xl mx-auto",children:[e.jsx("h2",{className:"text-2xl font-bold text-dark-900",children:t("alternative.heading")}),e.jsx("p",{className:"mt-3 text-dark-500",children:t("alternative.description")}),e.jsxs("div",{className:"mt-8 flex flex-wrap justify-center gap-4",children:[e.jsxs("a",{href:"mailto:info@sovrandigital.co.uk",className:"inline-flex items-center gap-2 px-6 py-3 bg-white border border-dark-200 text-dark-700 font-medium rounded-xl hover:border-primary-300 hover:shadow-md transition-all",children:[e.jsx(k,{className:"w-4 h-4"})," info@sovrandigital.co.uk"]}),e.jsxs("a",{href:"tel:+447465233485",className:"inline-flex items-center gap-2 px-6 py-3 bg-white border border-dark-200 text-dark-700 font-medium rounded-xl hover:border-primary-300 hover:shadow-md transition-all",children:[e.jsx(m,{className:"w-4 h-4"})," +44 7465 233485"]})]})]})})})]})}export{Y as default};