import{au as I,u as P,f as B,g as D,h as q,j as e,L as c,s as u,S as F,v as h,Z as H,y as Q,ar as g,_ as p,as as b,af as j,at as z,n as V}from"./index-DTnfwphX.js";import{C as Z}from"./CaseStudyCTASection-Bxwayh6f.js";import{A as _}from"./arrow-left-DNkbXFfp.js";import{C as G}from"./circle-alert-DNBrRE5Y.js";import{Q as J}from"./quote-KmYToK9A.js";import"./analytics-Bu8LxldC.js";const i=["the-bristol","miami-rentals","coastal-luxury","bristol-hotel","miami-rental"],K={"the-bristol":{image:g,icon:e.jsx(p,{className:"h-3.5 w-3.5"})},"miami-rentals":{image:b,icon:e.jsx(j,{className:"h-3.5 w-3.5"})},"coastal-luxury":{image:z,icon:e.jsx(V,{className:"h-3.5 w-3.5"})},"bristol-hotel":{image:g,icon:e.jsx(p,{className:"h-3.5 w-3.5"})},"miami-rental":{image:b,icon:e.jsx(j,{className:"h-3.5 w-3.5"})}},ae=()=>{const{slug:t}=I(),{t:s}=P("caseStudies"),N=B();if(D({pageName:`case-study-${t}`}),q({pageName:`case-study-${t}`}),!(t&&i.includes(t)))return e.jsx("main",{className:"min-h-screen bg-background flex items-center justify-center",children:e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx("h1",{className:"text-2xl font-bold text-foreground",children:s("page.notFound")}),e.jsx(c,{to:"/",children:e.jsx(u,{variant:"outline",children:s("page.backToHome")})})]})});const n=K[t],v=i.indexOf(t),d=i[(v+1)%i.length],x=s(`studies.${t}.segment`),r=s(`studies.${t}.companyName`),o=s(`studies.${t}.headline`),f=s(`studies.${t}.subheadline`),w=s(`studies.${t}.heroMetric`),y=s(`studies.${t}.heroMetricLabel`),$=s(`studies.${t}.challenge.title`),C=s(`studies.${t}.challenge.description`),k=s(`studies.${t}.challenge.points`,{returnObjects:!0}),S=s(`studies.${t}.solution.title`),T=s(`studies.${t}.solution.description`),E=s(`studies.${t}.solution.points`,{returnObjects:!0}),L=s(`studies.${t}.results.metrics`,{returnObjects:!0}),O=s(`studies.${t}.results.quote`),m=s(`studies.${t}.person.name`),R=s(`studies.${t}.person.role`),A=s(`studies.${d}.companyName`),M=s(`studies.${d}.segment`);return e.jsxs("main",{className:"min-h-screen bg-background",children:[e.jsx(F,{title:`${r} Review | Cendra Case Study`,description:`${r} review: ${o}. Read this Cendra case study to see how ${x.toLowerCase()} operators achieve real results.`,ogTitle:`${r} Review | Cendra Case Study`,ogDescription:`${r} review: ${o}`,canonicalPath:`/case-study/${t}`}),e.jsxs("section",{className:"relative bg-[hsl(var(--dark-page-bg))] text-white overflow-hidden",children:[e.jsxs("div",{className:"absolute inset-0",children:[e.jsx("img",{src:n.image,alt:r,className:"w-full h-full object-cover opacity-20"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[hsl(var(--dark-page-bg))] via-[hsl(var(--dark-page-bg)/0.95)] to-[hsl(var(--dark-page-bg))]"})]}),e.jsx("div",{className:"absolute inset-0 opacity-[0.015]",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E")`}}),e.jsxs("div",{className:"relative max-w-5xl mx-auto px-6 pt-28 pb-16 md:pt-36 md:pb-24",children:[e.jsxs(c,{to:"/case-studies",className:"inline-flex items-center gap-2 text-white/50 hover:text-white text-sm mb-8 transition-colors",children:[e.jsx(_,{className:"h-4 w-4"}),s("page.backToCaseStudies")]}),e.jsxs("div",{className:"grid lg:grid-cols-5 gap-8 lg:gap-12 items-start",children:[e.jsxs("div",{className:"lg:col-span-3 space-y-5",children:[e.jsxs("div",{className:"inline-flex items-center gap-1.5 px-3 py-1 rounded-full text-xs font-medium bg-white/5 text-white/70 border border-white/10 backdrop-blur-sm",children:[n.icon,x]}),e.jsx("h1",{className:"text-2xl md:text-3xl lg:text-4xl font-bold leading-tight text-white",children:o}),e.jsx("p",{className:"text-base md:text-lg text-white/60 leading-relaxed max-w-xl",children:f}),e.jsx("div",{className:"pt-2",children:e.jsxs(u,{size:"lg",className:"h-12 px-8 bg-gradient-to-r from-accent-500 to-accent-400 hover:from-accent-500/90 hover:to-accent-400/90 text-white border-0 shadow-lg shadow-accent-500/25",onClick:()=>N("/get-started"),children:[s("cta.startButton"),e.jsx(h,{className:"h-5 w-5 ml-2"})]})})]}),e.jsx("div",{className:"lg:col-span-2",children:e.jsxs("div",{className:"bg-white/5 backdrop-blur-sm rounded-2xl p-8 text-center border border-white/10",children:[e.jsx("div",{className:"text-5xl md:text-6xl lg:text-7xl font-bold bg-gradient-to-r from-white to-white/80 bg-clip-text text-transparent mb-2",children:w}),e.jsx("p",{className:"text-base md:text-lg text-white/60",children:y})]})})]})]})]}),e.jsx("section",{className:"py-16 md:py-20 bg-secondary/30",children:e.jsx("div",{className:"max-w-4xl mx-auto px-6",children:e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-foreground",children:$}),e.jsx("p",{className:"text-base md:text-lg text-muted-foreground leading-relaxed max-w-2xl",children:C})]}),e.jsx("div",{className:"grid md:grid-cols-2 gap-3",children:k.map((a,l)=>e.jsxs("div",{className:"flex items-start gap-3 bg-card p-4 rounded-xl border border-border/50 hover:border-border transition-colors",children:[e.jsx("div",{className:"h-5 w-5 rounded-full bg-destructive/10 flex items-center justify-center shrink-0 mt-0.5",children:e.jsx(G,{className:"h-3 w-3 text-destructive"})}),e.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:a})]},l))})]})})}),e.jsx("section",{className:"py-16 md:py-20",children:e.jsx("div",{className:"max-w-4xl mx-auto px-6",children:e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-foreground",children:S}),e.jsx("p",{className:"text-base md:text-lg text-muted-foreground leading-relaxed max-w-2xl",children:T})]}),e.jsx("div",{className:"grid md:grid-cols-2 gap-3",children:E.map((a,l)=>e.jsxs("div",{className:"flex items-start gap-3 bg-card p-4 rounded-xl border border-border/50 hover:border-success/30 transition-colors",children:[e.jsx(H,{className:"h-5 w-5 text-success-600 shrink-0 mt-0.5"}),e.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:a})]},l))})]})})}),e.jsx("section",{className:"py-16 md:py-20 bg-gradient-to-b from-secondary/30 to-background",children:e.jsx("div",{className:"max-w-4xl mx-auto px-6",children:e.jsxs("div",{className:"space-y-10",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-foreground text-center",children:s("page.theResults")}),e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:L.map((a,l)=>e.jsxs("div",{className:"bg-card p-5 rounded-xl border border-border/50 text-center hover:border-primary/30 hover:shadow-premium-md hover:-translate-y-0.5 transition-all duration-200",children:[e.jsx("div",{className:"text-2xl md:text-3xl font-bold bg-gradient-to-r from-accent-500 to-accent-400 bg-clip-text text-transparent",children:a.value}),e.jsx("p",{className:"text-xs md:text-sm text-muted-foreground mt-1.5",children:a.label})]},l))}),e.jsxs("div",{className:"bg-card border border-border/50 rounded-2xl p-6 md:p-10 relative",children:[e.jsx(J,{className:"absolute top-6 left-6 h-8 w-8 text-accent-500/20"}),e.jsxs("blockquote",{className:"text-lg md:text-xl text-foreground leading-relaxed mb-6 pt-6 pl-2",children:['"',O,'"']}),e.jsxs("div",{className:"flex items-center gap-3 pl-2",children:[e.jsx("div",{className:"h-11 w-11 rounded-full bg-primary/10 flex items-center justify-center text-primary font-bold",children:m.charAt(0)}),e.jsxs("div",{children:[e.jsx("p",{className:"font-semibold text-foreground text-sm",children:m}),e.jsx("p",{className:"text-xs text-muted-foreground",children:R})]})]})]})]})})}),e.jsx(Z,{}),e.jsx("section",{className:"border-t border-border/50 py-10 md:py-12 bg-secondary/20",children:e.jsx("div",{className:"max-w-4xl mx-auto px-6",children:e.jsxs(c,{to:`/case-study/${d}`,className:"flex items-center justify-between group bg-card hover:bg-card/80 rounded-xl p-5 md:p-6 border border-border/50 hover:border-primary/30 hover:shadow-premium-md transition-all duration-200",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-muted-foreground mb-1 uppercase tracking-wider",children:s("page.nextCaseStudy")}),e.jsx("p",{className:"text-lg md:text-xl font-semibold text-foreground group-hover:text-primary transition-colors",children:A}),e.jsx("p",{className:"text-sm text-muted-foreground",children:M})]}),e.jsx(h,{className:"h-5 w-5 text-muted-foreground group-hover:text-primary group-hover:translate-x-1 transition-all"})]})})}),e.jsx(Q,{})]})};export{ae as default};