import{ax as M,u as D,l as I,s as P,v as H,j as e,W as x,B as g,z as q,D as z,ay as F,o as p,f as Q,K as V,au as b,a0 as j,av as N,ah as v,aw as K,S as W}from"./index-BRjtJt2l.js";import{C as G}from"./CaseStudyCTASection-CwJR4tty.js";import{A as J}from"./arrow-left-B7Fc0vYM.js";import{C as U}from"./circle-alert-CejTRZEi.js";import{Q as X}from"./quote-BsolIW1Q.js";import"./analytics-Bu8LxldC.js";const d=["the-bristol","miami-rentals","coastal-luxury","bristol-hotel","miami-rental"],Y={"the-bristol":{image:b,icon:e.jsx(j,{className:"h-3.5 w-3.5"})},"miami-rentals":{image:N,icon:e.jsx(v,{className:"h-3.5 w-3.5"})},"coastal-luxury":{image:K,icon:e.jsx(W,{className:"h-3.5 w-3.5"})},"bristol-hotel":{image:b,icon:e.jsx(j,{className:"h-3.5 w-3.5"})},"miami-rental":{image:N,icon:e.jsx(v,{className:"h-3.5 w-3.5"})}},le=()=>{const{slug:s}=M(),{t}=D("caseStudies"),f=I();if(P({pageName:`case-study-${s}`}),H({pageName:`case-study-${s}`}),!(s&&d.includes(s)))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:t("page.notFound")}),e.jsx(x,{to:"/",children:e.jsx(g,{variant:"outline",children:t("page.backToHome")})})]})});const c=Y[s],w=d.indexOf(s),o=d[(w+1)%d.length],m=t(`studies.${s}.segment`),a=t(`studies.${s}.companyName`),i=t(`studies.${s}.headline`),u=t(`studies.${s}.subheadline`),y=t(`studies.${s}.heroMetric`),$=t(`studies.${s}.heroMetricLabel`),C=t(`studies.${s}.challenge.title`),S=t(`studies.${s}.challenge.description`),k=t(`studies.${s}.challenge.points`,{returnObjects:!0}),T=t(`studies.${s}.solution.title`),E=t(`studies.${s}.solution.description`),L=t(`studies.${s}.solution.points`,{returnObjects:!0}),O=t(`studies.${s}.results.metrics`,{returnObjects:!0}),R=t(`studies.${s}.results.quote`),n=t(`studies.${s}.person.name`),h=t(`studies.${s}.person.role`),A=t(`studies.${o}.companyName`),B=t(`studies.${o}.segment`);return e.jsxs("main",{className:"min-h-screen bg-background",children:[e.jsx(q,{title:`${a} Review | Cendra Case Study`,description:`${a} review: ${i}. Read this Cendra case study to see how ${m.toLowerCase()} operators achieve real results.`,ogTitle:`${a} Review | Cendra Case Study`,ogDescription:`${a} review: ${i}`,canonicalPath:`/case-study/${s}`}),e.jsx(z,{items:[{name:"Home",path:"/"},{name:"Case Studies",path:"/case-studies"},{name:a,path:`/case-study/${s}`}]}),e.jsx(F,{companyName:a,headline:i,description:u,image:c.image,personName:n,personRole:h,path:`/case-study/${s}`}),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:c.image,alt:a,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(x,{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(J,{className:"h-4 w-4"}),t("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:[c.icon,m]}),e.jsx("h1",{className:"text-2xl md:text-3xl lg:text-4xl font-bold leading-tight text-white",children:i}),e.jsx("p",{className:"text-base md:text-lg text-white/60 leading-relaxed max-w-xl",children:u}),e.jsx("div",{className:"pt-2",children:e.jsxs(g,{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:()=>f("/get-started"),children:[t("cta.startButton"),e.jsx(p,{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:y}),e.jsx("p",{className:"text-base md:text-lg text-white/60",children:$})]})})]})]})]}),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:C}),e.jsx("p",{className:"text-base md:text-lg text-muted-foreground leading-relaxed max-w-2xl",children:S})]}),e.jsx("div",{className:"grid md:grid-cols-2 gap-3",children:k.map((r,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(U,{className:"h-3 w-3 text-destructive"})}),e.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:r})]},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:T}),e.jsx("p",{className:"text-base md:text-lg text-muted-foreground leading-relaxed max-w-2xl",children:E})]}),e.jsx("div",{className:"grid md:grid-cols-2 gap-3",children:L.map((r,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(Q,{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:r})]},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:t("page.theResults")}),e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:O.map((r,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:r.value}),e.jsx("p",{className:"text-xs md:text-sm text-muted-foreground mt-1.5",children:r.label})]},l))}),e.jsxs("div",{className:"bg-card border border-border/50 rounded-2xl p-6 md:p-10 relative",children:[e.jsx(X,{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:['"',R,'"']}),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:n.charAt(0)}),e.jsxs("div",{children:[e.jsx("p",{className:"font-semibold text-foreground text-sm",children:n}),e.jsx("p",{className:"text-xs text-muted-foreground",children:h})]})]})]})]})})}),e.jsx(G,{}),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(x,{to:`/case-study/${o}`,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:t("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:B})]}),e.jsx(p,{className:"h-5 w-5 text-muted-foreground group-hover:text-primary group-hover:translate-x-1 transition-all"})]})})}),e.jsx(V,{})]})};export{le as default};