import{j as e}from"./vendor-query-DoyCFZ4O.js";import{h as z,r as c,L as n}from"./vendor-react-Rhy2aEWQ.js";import{u as T,d as j,S as C}from"./index-CwDwxmPI.js";import{O as A}from"./OptimizedImage-Ch7iZucm.js";import{C as D,B as L}from"./StructuredData-DwdewzgR.js";import{j as w,a0 as R,$ as v,as as I,m as B,e as h,ay as M,u as O,s as F}from"./vendor-utils-BOMyae96.js";import{m as l}from"./vendor-motion-D3eh3-LB.js";const P=i=>{try{return JSON.parse(i||"[]")}catch{return[]}},N=i=>{try{return JSON.parse(i||"[]")}catch{return[]}};function q(i){if(i.trimStart().startsWith("<"))return i;const t=i.split(`
`);let o="";for(const p of t){const d=p.trim();d&&(/^\d+\.\s+[A-Z]/.test(d)?o+="<h2>"+d+"</h2>":/^[A-Z][A-Za-z\s&]+:$/.test(d)?o+="<h3>"+d.replace(/:$/,"")+"</h3>":/^[-•]\s+/.test(d)?o+="<li>"+d.replace(/^[-•]\s+/,"")+"</li>":o+="<p>"+d+"</p>")}return o=o.replace(/(<li>.*?<\/li>)+/g,"<ul>$&</ul>"),o}const x={hidden:{opacity:0,y:24},visible:(i=0)=>({opacity:1,y:0,transition:{duration:.55,delay:i,ease:[.25,.1,.25,1]}})};function J(){const{slug:i}=z(),[t,o]=c.useState(null),[p,d]=c.useState([]),[y,u]=c.useState(!0),[k,_]=c.useState(!1),{t:a}=T("caseStudies");c.useEffect(()=>{i&&(window.scrollTo(0,0),u(!0),Promise.all([j.get("/public/case-studies/"+i),j.get("/public/case-studies")]).then(([s,r])=>{o(s.data),d(r.data.filter(S=>S.slug!==i).slice(0,3))}).catch(()=>_(!0)).finally(()=>u(!1)))},[i]);const m=c.useMemo(()=>P((t==null?void 0:t.tags)||null),[t]),g=c.useMemo(()=>N((t==null?void 0:t.results)||null),[t]),b=c.useMemo(()=>t!=null&&t.content?q(t.content):"",[t]),f=c.useMemo(()=>t!=null&&t.excerpt?t.excerpt.split(`
`).filter(Boolean).map(s=>{const r=s.indexOf(":");return r===-1?null:{label:s.slice(0,r).trim(),value:s.slice(r+1).trim()}}).filter(s=>!!s&&!!s.value):[],[t]);return y?e.jsxs("div",{className:"min-h-screen bg-dark-950",children:[e.jsx("div",{className:"h-[70vh] animate-pulse bg-dark-900"}),e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16",children:e.jsxs("div",{className:"animate-pulse space-y-6",children:[e.jsx("div",{className:"h-8 bg-dark-100 rounded w-3/4"}),e.jsx("div",{className:"h-4 bg-dark-50 rounded w-1/2"}),e.jsx("div",{className:"h-64 bg-dark-50 rounded-2xl"})]})})]}):k||!t?e.jsx("div",{className:"min-h-screen bg-white pt-20 flex items-center justify-center",children:e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"w-16 h-16 rounded-2xl bg-dark-50 flex items-center justify-center mx-auto mb-5",children:e.jsx(w,{className:"w-7 h-7 text-dark-300"})}),e.jsx("h1",{className:"text-3xl font-bold text-dark-900 mb-3",children:a("detail.notFound")}),e.jsx("p",{className:"text-dark-500 mb-6",children:a("detail.notFoundDesc")}),e.jsxs(n,{to:"/case-studies",className:"inline-flex items-center gap-2 px-6 py-3 bg-dark-900 text-white font-semibold rounded-xl hover:bg-dark-800 transition-colors",children:[e.jsx(R,{className:"w-4 h-4"})," ",a("detail.backToCaseStudies")]})]})}):e.jsxs("div",{className:"min-h-screen bg-white",children:[e.jsx(C,{title:t.title,description:t.excerpt,canonical:"/case-studies/"+t.slug}),e.jsx(D,{title:t.title,description:t.excerpt,slug:t.slug,publishedAt:t.published_at||void 0,imageUrl:t.image_url||void 0}),e.jsx(L,{items:[{name:a("common:nav.home"),url:"https://sovrandigital.com/"},{name:a("common:nav.caseStudies"),url:"https://sovrandigital.com/case-studies"},{name:t.title,url:`https://sovrandigital.com/case-studies/${t.slug}`}]}),e.jsxs("section",{className:"relative min-h-[60vh] sm:min-h-[70vh] lg:min-h-[85vh] flex items-center overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br "+t.gradient}),e.jsx("div",{className:"absolute inset-0 bg-dark-950/70"}),e.jsx("div",{className:"absolute inset-0 bg-[linear-gradient(rgba(255,255,255,0.03)_1px,transparent_1px),linear-gradient(90deg,rgba(255,255,255,0.03)_1px,transparent_1px)] bg-[size:48px_48px]"}),e.jsx("div",{className:"relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 w-full py-16 sm:py-20",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 sm:gap-12 lg:gap-16 items-center",children:[e.jsxs(l.div,{initial:"hidden",animate:"visible",children:[e.jsxs(l.div,{variants:x,custom:0,className:"flex items-center gap-2 text-white/50 text-sm mb-6",children:[e.jsx(n,{to:"/",className:"hover:text-white/80 transition-colors",children:a("detail.home")}),e.jsx(v,{className:"w-3.5 h-3.5"}),e.jsx(n,{to:"/case-studies",className:"hover:text-white/80 transition-colors",children:a("detail.caseStudies")}),e.jsx(v,{className:"w-3.5 h-3.5"}),e.jsx("span",{className:"text-white/70 truncate max-w-[180px]",children:t.client})]}),t.category_name&&e.jsxs(l.div,{variants:x,custom:.05,className:"inline-flex items-center gap-2 px-4 py-2 bg-white/10 border border-white/15 rounded-full mb-8",children:[e.jsx("div",{className:"w-2 h-2 rounded-full bg-white/80 animate-pulse"}),e.jsx("span",{className:"text-xs font-semibold text-white/80 tracking-wide uppercase",children:t.category_name})]}),e.jsx(l.h1,{variants:x,custom:.1,className:"text-2xl sm:text-3xl lg:text-[2.75rem] font-extrabold text-white leading-[1.15] tracking-tight",children:t.title}),e.jsxs(l.div,{variants:x,custom:.15,className:"mt-5 flex flex-wrap items-center gap-5 text-sm",children:[e.jsxs("div",{className:"flex items-center gap-2 text-white/60",children:[e.jsx(I,{className:"w-4 h-4 text-white/40"}),e.jsx("span",{className:"font-medium text-white/90",children:t.client})]}),t.published_at&&e.jsxs("div",{className:"flex items-center gap-2 text-white/60",children:[e.jsx(B,{className:"w-4 h-4 text-white/40"}),e.jsx("span",{children:new Date(t.published_at).toLocaleDateString("en-GB",{month:"long",year:"numeric"})})]})]}),m.length>0&&e.jsx(l.div,{variants:x,custom:.2,className:"mt-8 flex flex-wrap gap-2",children:m.map(s=>e.jsx("span",{className:"text-xs font-medium text-white/70 bg-white/10 border border-white/10 px-3 py-1.5 rounded-lg",children:s},s))}),e.jsxs(l.div,{variants:x,custom:.25,className:"mt-10 flex flex-wrap items-center gap-4",children:[e.jsxs(n,{to:"/contact",className:"group inline-flex items-center gap-2.5 px-7 py-3.5 bg-white text-dark-900 font-semibold rounded-xl hover:bg-dark-50 transition-all shadow-xl",children:[a("detail.startYourProject"),e.jsx(h,{className:"w-4 h-4 group-hover:translate-x-0.5 transition-transform"})]}),e.jsx(n,{to:"/case-studies",className:"text-[15px] text-white/60 font-medium hover:text-white transition-colors underline underline-offset-4 decoration-white/20 hover:decoration-white/40",children:a("detail.viewAllCaseStudies")})]})]}),e.jsx(l.div,{initial:{opacity:0,x:40},animate:{opacity:1,x:0},transition:{duration:.8,delay:.2},className:"order-first lg:order-last",children:e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute -inset-4 bg-white/10 rounded-3xl blur-2xl"}),e.jsx("div",{className:"relative rounded-2xl overflow-hidden border border-white/10 shadow-2xl",children:t.image_url?e.jsxs(e.Fragment,{children:[e.jsx(A,{src:t.image_url,alt:t.title,className:"w-full aspect-[4/3] object-cover",sizes:"(max-width: 768px) 100vw, (max-width: 1024px) 80vw, 50vw",loading:"eager"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-dark-950/50 to-transparent"})]}):e.jsx("div",{className:"w-full aspect-[4/3] bg-gradient-to-br "+t.gradient+" flex items-center justify-center",children:e.jsx(w,{className:"w-20 h-20 text-white/10"})})})]})})]})})]}),g.length>0&&e.jsx("section",{className:"bg-white border-b border-dark-100",children:e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-px bg-dark-100",children:g.slice(0,4).map((s,r)=>e.jsxs(l.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.1},className:"text-center px-3 sm:px-4 py-8 sm:py-10 bg-white",children:[e.jsx("p",{className:"text-2xl sm:text-3xl lg:text-4xl font-extrabold bg-gradient-to-r "+t.gradient+" bg-clip-text text-transparent",children:s.value}),e.jsx("p",{className:"text-[10px] sm:text-xs text-dark-500 mt-2 font-semibold uppercase tracking-wider",children:s.label})]},s.label))})})}),f.length>0&&e.jsx("section",{className:"py-16 bg-dark-50/40",children:e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsx(l.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-3 sm:gap-6",children:f.map((s,r)=>e.jsxs("div",{className:"bg-white rounded-xl border border-dark-100 p-5",children:[e.jsx("p",{className:"text-xs font-semibold text-dark-400 uppercase tracking-wider mb-1",children:s.label}),e.jsx("p",{className:"text-sm font-bold text-dark-900",children:s.value})]},r))})})}),e.jsx("section",{className:"py-12 sm: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-[1fr_320px] gap-10 lg:gap-12 xl:gap-16",children:[e.jsxs(l.article,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"min-w-0",children:[b&&e.jsx("div",{className:"case-study-content max-w-none",dangerouslySetInnerHTML:{__html:b}}),m.length>0&&e.jsx(l.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mt-16",children:e.jsxs("div",{className:"bg-dark-950 rounded-2xl p-6 sm:p-8 lg:p-10",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br "+t.gradient+" flex items-center justify-center",children:e.jsx(M,{className:"w-5 h-5 text-white"})}),e.jsx("h3",{className:"text-lg font-bold text-white",children:a("detail.techStack")})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-2 sm:gap-3",children:m.map(s=>e.jsx("div",{className:"p-4 bg-white/5 rounded-xl border border-white/10 text-center hover:border-white/20 transition-colors",children:e.jsx("span",{className:"text-sm font-medium text-white/80",children:s})},s))})]})}),e.jsx(l.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mt-16",children:e.jsxs("div",{className:"relative rounded-2xl overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br "+t.gradient}),e.jsx("div",{className:"absolute inset-0 bg-[linear-gradient(rgba(255,255,255,0.04)_1px,transparent_1px),linear-gradient(90deg,rgba(255,255,255,0.04)_1px,transparent_1px)] bg-[size:40px_40px]"}),e.jsxs("div",{className:"relative py-10 sm:py-12 px-6 sm:px-8 lg:px-12 text-center",children:[e.jsx("h3",{className:"text-xl sm:text-2xl font-bold text-white",children:a("detail.wantSimilarResults")}),e.jsx("p",{className:"mt-3 text-white/80 max-w-md mx-auto",children:a("detail.wantSimilarResultsDesc")}),e.jsx("div",{className:"mt-8 flex flex-wrap justify-center gap-3",children:e.jsxs(n,{to:"/contact",className:"group inline-flex items-center gap-2 px-7 py-3.5 bg-white text-dark-900 font-semibold rounded-xl hover:bg-dark-50 transition-all shadow-xl",children:[a("detail.startAProject")," ",e.jsx(h,{className:"w-4 h-4 group-hover:translate-x-0.5 transition-transform"})]})})]})]})})]}),e.jsx("style",{children:`
                .case-study-content h2 {
                  display: flex;
                  align-items: center;
                  gap: 0.75rem;
                  font-size: 1.5rem;
                  font-weight: 800;
                  color: #0f0f14;
                  margin-top: 3.5rem;
                  margin-bottom: 1.5rem;
                  letter-spacing: -0.025em;
                }
                .case-study-content h2::before {
                  content: '';
                  width: 4px;
                  height: 1.75rem;
                  border-radius: 4px;
                  flex-shrink: 0;
                  background: linear-gradient(to bottom, var(--tw-gradient-from, #4f46e5), var(--tw-gradient-to, #6366f1));
                }
                .case-study-content h3 {
                  font-size: 1.125rem;
                  font-weight: 700;
                  color: #1a1a2e;
                  margin-top: 2rem;
                  margin-bottom: 0.75rem;
                  padding-bottom: 0.5rem;
                  border-bottom: 1px solid #e5e7eb;
                }
                .case-study-content p {
                  font-size: 1rem;
                  line-height: 1.85;
                  color: #4b5563;
                  margin-bottom: 1rem;
                }
                .case-study-content strong {
                  color: #111827;
                  font-weight: 600;
                }
                .case-study-content em {
                  color: #6b7280;
                  font-style: italic;
                }
                /* Lists */
                .case-study-content ul {
                  list-style: none;
                  padding: 0;
                  margin: 1.5rem 0;
                  display: grid;
                  gap: 0.625rem;
                }
                .case-study-content ul li {
                  display: flex;
                  align-items: flex-start;
                  gap: 0.75rem;
                  padding: 0.875rem 1rem;
                  background: #f9fafb;
                  border: 1px solid #e5e7eb;
                  border-radius: 0.75rem;
                  font-size: 0.9375rem;
                  line-height: 1.65;
                  color: #374151;
                }
                .case-study-content ul li::before {
                  content: '✓';
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  width: 1.25rem;
                  height: 1.25rem;
                  min-width: 1.25rem;
                  margin-top: 0.125rem;
                  border-radius: 50%;
                  background: linear-gradient(135deg, #4f46e5, #6366f1);
                  color: white;
                  font-size: 0.625rem;
                  font-weight: 700;
                }
                /* Tables */
                .case-study-content table {
                  width: 100%;
                  border-collapse: separate;
                  border-spacing: 0;
                  border: 1px solid #e5e7eb;
                  border-radius: 1rem;
                  overflow: hidden;
                  margin: 2rem 0;
                  font-size: 0.875rem;
                }
                .case-study-content thead {
                  background: #0f0f14;
                }
                .case-study-content thead th {
                  padding: 0.875rem 1rem;
                  font-weight: 600;
                  color: white;
                  text-align: left;
                  font-size: 0.8125rem;
                  text-transform: uppercase;
                  letter-spacing: 0.05em;
                }
                .case-study-content tbody tr {
                  transition: background 0.15s;
                }
                .case-study-content tbody tr:hover {
                  background: #f9fafb;
                }
                .case-study-content tbody tr:nth-child(even) {
                  background: #fafafa;
                }
                .case-study-content tbody td {
                  padding: 0.875rem 1rem;
                  border-top: 1px solid #f3f4f6;
                  color: #374151;
                  line-height: 1.5;
                }
                .case-study-content tbody td strong {
                  color: #059669;
                  font-weight: 700;
                }
                /* Blockquotes */
                .case-study-content blockquote {
                  position: relative;
                  margin: 2rem 0;
                  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
                  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
                  border-left: 4px solid #4f46e5;
                  border-radius: 0 1rem 1rem 0;
                }
                .case-study-content blockquote p {
                  color: #1e1b4b;
                  font-weight: 500;
                  margin-bottom: 0.5rem;
                }
                .case-study-content blockquote p:last-child {
                  margin-bottom: 0;
                }
                /* Div cards (border-l-4 challenge cards) */
                .case-study-content .grid {
                  display: grid;
                  gap: 1rem;
                  margin: 1.5rem 0;
                }
                .case-study-content [class*="border-l-4"] {
                  padding: 1.25rem 1.5rem;
                  background: white;
                  border-radius: 0 0.75rem 0.75rem 0;
                  border: 1px solid #e5e7eb;
                  border-left: 4px solid #4f46e5;
                  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
                }
                .case-study-content [class*="border-l-4"] h3 {
                  margin-top: 0;
                  padding-bottom: 0;
                  border-bottom: none;
                  font-size: 1rem;
                  font-weight: 700;
                  color: #111827;
                }
                .case-study-content [class*="border-l-4"] p {
                  font-size: 0.9375rem;
                  color: #6b7280;
                  margin-bottom: 0;
                }
                /* Links */
                .case-study-content a {
                  color: #4f46e5;
                  font-weight: 500;
                  text-decoration: none;
                  transition: color 0.15s;
                }
                .case-study-content a:hover {
                  color: #3730a3;
                  text-decoration: underline;
                }
                /* First h2 has less top margin */
                .case-study-content h2:first-child {
                  margin-top: 0;
                }
                /* Mobile responsive adjustments */
                @media (max-width: 640px) {
                  .case-study-content h2 {
                    font-size: 1.25rem;
                    margin-top: 2.5rem;
                    margin-bottom: 1rem;
                  }
                  .case-study-content h3 {
                    font-size: 1rem;
                  }
                  .case-study-content p {
                    font-size: 0.9375rem;
                    line-height: 1.75;
                  }
                  .case-study-content ul li {
                    padding: 0.75rem;
                    font-size: 0.875rem;
                  }
                  .case-study-content table {
                    font-size: 0.8125rem;
                    display: block;
                    overflow-x: auto;
                    -webkit-overflow-scrolling: touch;
                  }
                  .case-study-content thead th {
                    padding: 0.625rem 0.75rem;
                    font-size: 0.75rem;
                  }
                  .case-study-content tbody td {
                    padding: 0.625rem 0.75rem;
                    white-space: nowrap;
                  }
                  .case-study-content blockquote {
                    padding: 1rem 1rem 1rem 1.25rem;
                    margin: 1.5rem 0;
                  }
                }
              `}),e.jsxs("aside",{className:"space-y-6 lg:sticky lg:top-28 lg:self-start",children:[g.length>0&&e.jsx("div",{className:"rounded-2xl overflow-hidden",children:e.jsxs("div",{className:"bg-gradient-to-br "+t.gradient+" p-6",children:[e.jsx(O,{className:"w-5 h-5 text-white/70 mb-3"}),e.jsx("h3",{className:"text-lg font-bold text-white leading-snug",children:a("detail.keyResults")}),e.jsx("div",{className:"mt-4 space-y-3",children:g.map(s=>e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"text-sm text-white/80",children:s.label}),e.jsx("span",{className:"text-sm font-bold text-white",children:s.value})]},s.label))})]})}),e.jsxs("div",{className:"bg-white rounded-2xl border border-dark-100 p-6",children:[e.jsx("h3",{className:"text-sm font-bold text-dark-900 uppercase tracking-wider mb-4",children:a("detail.projectDetails")}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("span",{className:"text-xs font-semibold text-dark-400 uppercase",children:a("detail.client")}),e.jsx("p",{className:"text-sm font-medium text-dark-900 mt-0.5",children:t.client})]}),t.category_name&&e.jsxs("div",{children:[e.jsx("span",{className:"text-xs font-semibold text-dark-400 uppercase",children:a("detail.industry")}),e.jsx("p",{className:"text-sm font-medium text-dark-900 mt-0.5",children:t.category_name})]}),t.published_at&&e.jsxs("div",{children:[e.jsx("span",{className:"text-xs font-semibold text-dark-400 uppercase",children:a("detail.published")}),e.jsx("p",{className:"text-sm font-medium text-dark-900 mt-0.5",children:new Date(t.published_at).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric"})})]}),m.length>0&&e.jsxs("div",{children:[e.jsx("span",{className:"text-xs font-semibold text-dark-400 uppercase",children:a("detail.techStack")}),e.jsx("div",{className:"flex flex-wrap gap-1.5 mt-1.5",children:m.map(s=>e.jsx("span",{className:"px-2 py-0.5 bg-dark-50 text-dark-600 text-xs font-medium rounded-md border border-dark-100",children:s},s))})]})]})]}),e.jsxs("div",{className:"bg-dark-900 rounded-2xl p-6",children:[e.jsx("h3",{className:"text-base font-bold text-white mb-2",children:a("detail.readyToStart")}),e.jsx("p",{className:"text-dark-400 text-sm leading-relaxed mb-5",children:a("detail.readyToStartDesc")}),e.jsxs(n,{to:"/contact",className:"flex items-center justify-center gap-2 w-full px-5 py-3 bg-white text-dark-900 font-bold text-sm rounded-xl hover:bg-dark-50 transition-colors",children:[a("detail.getInTouch"),e.jsx(h,{className:"w-3.5 h-3.5"})]}),e.jsx("div",{className:"mt-4 space-y-2",children:[a("detail.noObligation"),a("detail.response24h")].map(s=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(F,{className:"w-3.5 h-3.5 text-primary-400"}),e.jsx("span",{className:"text-xs text-dark-400",children:s})]},s))})]}),p.length>0&&e.jsxs("div",{className:"bg-white rounded-2xl border border-dark-100 p-6",children:[e.jsx("h3",{className:"text-sm font-bold text-dark-900 uppercase tracking-wider mb-4",children:a("detail.moreCaseStudies")}),e.jsx("div",{className:"space-y-4",children:p.map(s=>{const r=N(s.results);return e.jsx(n,{to:"/case-studies/"+s.slug,className:"group block",children:e.jsxs("div",{className:"flex gap-3",children:[s.image_url?e.jsx("div",{className:"w-16 h-12 rounded-lg overflow-hidden shrink-0 bg-dark-100",children:e.jsx("img",{src:s.image_url,alt:s.title,className:"w-full h-full object-cover",loading:"lazy",decoding:"async"})}):e.jsx("div",{className:"w-16 h-12 rounded-lg bg-gradient-to-br "+s.gradient+" flex items-center justify-center shrink-0",children:e.jsx("span",{className:"text-sm font-bold text-white/40",children:s.title.charAt(0)})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("h4",{className:"text-sm font-semibold text-dark-900 group-hover:text-primary-600 transition-colors line-clamp-2 leading-snug",children:s.title}),r.length>0&&e.jsxs("span",{className:"text-xs text-dark-400 mt-0.5 block",children:[r[0].value," ",r[0].label]})]})]})},s.id)})}),e.jsxs(n,{to:"/case-studies",className:"inline-flex items-center gap-1.5 mt-5 text-xs font-semibold text-primary-600 hover:text-primary-700 transition-colors",children:[a("detail.viewAllCaseStudies")," ",e.jsx(h,{className:"w-3 h-3"})]})]})]})]})})}),e.jsx("section",{className:"py-12 sm:py-16 lg:py-24 bg-dark-50/40 border-t border-dark-100",children:e.jsx("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"relative rounded-2xl sm:rounded-3xl overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-dark-900 via-dark-950 to-dark-900"}),e.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top_right,rgba(99,102,241,0.15),transparent_60%)]"}),e.jsx("div",{className:"relative py-12 sm:py-16 px-6 sm:px-8 lg:px-16",children:e.jsxs("div",{className:"grid lg:grid-cols-[1fr_auto] gap-6 sm:gap-8 items-center",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-xl sm:text-2xl lg:text-3xl font-bold text-white",children:a("detail.readyToTransform")}),e.jsx("p",{className:"mt-3 text-dark-300 max-w-lg",children:a("detail.readyToTransformDesc")})]}),e.jsxs("div",{className:"flex flex-wrap gap-3",children:[e.jsxs(n,{to:"/contact",className:"group inline-flex items-center gap-2 px-7 py-3.5 bg-white text-dark-900 font-semibold rounded-xl hover:bg-dark-50 transition-all shadow-xl",children:[a("detail.startAProject")," ",e.jsx(h,{className:"w-4 h-4 group-hover:translate-x-0.5 transition-transform"})]}),e.jsx(n,{to:"/case-studies",className:"inline-flex items-center gap-2 px-7 py-3.5 border border-white/20 text-white font-medium rounded-xl hover:bg-white/10 transition-all",children:a("detail.moreCaseStudies")})]})]})})]})})})]})}export{J as default};