import{u as f,s as j,v as N,r,j as e,z as y,D as w,U as k,a as x,W as S,a2 as K,f as C,o as I,K as E,a0 as n,au as H,ah as u,av as R,S as T,aw as $,M as q,Q as D}from"./index-BRjtJt2l.js";import"./analytics-Bu8LxldC.js";import{C as B}from"./CaseStudyCTASection-CwJR4tty.js";import{S as z}from"./star-C2IPyPIv.js";const A="/assets/bristol-boutique-68AfKkto.webp",F="/assets/miami-beach-rental-B5-oMTFM.webp",g=[{slug:"the-bristol",segmentKey:"boutiqueHotel",segmentIcon:e.jsx(n,{className:"h-3.5 w-3.5"}),image:H,kpis:[{value:"94%",label:"faster response"},{value:"+0.4★",label:"reviews"}]},{slug:"bristol-hotel",segmentKey:"boutiqueHotel",segmentIcon:e.jsx(n,{className:"h-3.5 w-3.5"}),image:A,kpis:[{value:"23%",label:"revenue increase"},{value:"99%",label:"night response"}]},{slug:"miami-rentals",segmentKey:"vacationRentals",segmentIcon:e.jsx(u,{className:"h-3.5 w-3.5"}),image:R,kpis:[{value:"5hrs",label:"saved daily"},{value:"92%",label:"satisfaction"}]},{slug:"miami-rental",segmentKey:"vacationRentals",segmentIcon:e.jsx(u,{className:"h-3.5 w-3.5"}),image:F,kpis:[{value:"4hrs",label:"saved daily"},{value:"87%",label:"auto-resolution"}]},{slug:"coastal-luxury",segmentKey:"luxuryVillas",segmentIcon:e.jsx(T,{className:"h-3.5 w-3.5"}),image:$,kpis:[{value:"3.2x",label:"rebookings"},{value:"€45K",label:"saved/year"}]}],V=()=>{const{t:a}=f("caseStudies");j({pageName:"case_studies"}),N({pageName:"case_studies"});const o=r.useRef(null),[p,h]=r.useState(!0),c=[{key:"all",label:a("filters.all")},{key:"boutiqueHotel",label:a("filters.boutiqueHotel")},{key:"vacationRentals",label:a("filters.vacationRentals")},{key:"luxuryVillas",label:a("filters.luxuryVillas")}],[t,i]=r.useState("all"),d=t==="all"?g:g.filter(s=>s.segmentKey===t),b=[{value:"500+",labelKey:"propertiesUsing",icon:e.jsx(n,{className:"h-5 w-5"})},{value:"2M+",labelKey:"messagesHandled",icon:e.jsx(q,{className:"h-5 w-5"})},{value:"94%",labelKey:"automationRate",icon:e.jsx(D,{className:"h-5 w-5"})},{value:"4.8★",labelKey:"reviewImprovement",icon:e.jsx(z,{className:"h-5 w-5"})}];return r.useEffect(()=>{const s=o.current;if(!s)return;const l=()=>h(!1);return s.addEventListener("scroll",l,{once:!0}),()=>s.removeEventListener("scroll",l)},[]),e.jsxs("main",{className:"min-h-screen bg-background",children:[e.jsx(y,{title:a("meta.title"),description:a("meta.description"),ogTitle:a("meta.ogTitle"),ogDescription:a("meta.ogDescription"),canonicalPath:"/case-studies"}),e.jsx(w,{items:[{name:"Home",path:"/"},{name:a("meta.title"),path:"/case-studies"}]}),e.jsxs("section",{className:"relative pt-28 pb-12 md:pt-36 md:pb-16 overflow-hidden bg-[hsl(var(--dark-page-bg))]",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[hsl(206,61%,12%)] via-[hsl(var(--dark-page-bg))] 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.jsx("div",{className:"container mx-auto px-4 relative z-10",children:e.jsxs("div",{className:"max-w-3xl mx-auto text-center",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 mb-6 backdrop-blur-sm",children:[e.jsx(k,{className:"h-3 w-3"}),a("hero.badge")]}),e.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-white tracking-tight mb-4 leading-[1.15]",children:a("hero.title")}),e.jsx("p",{className:"text-base md:text-lg text-white/60 max-w-xl mx-auto leading-relaxed",children:a("hero.subtitle")})]})})]}),e.jsx("section",{className:"sticky top-[var(--nav-height)] z-20 bg-background/80 backdrop-blur-xl border-b border-border/50",children:e.jsxs("div",{className:"container mx-auto px-4 py-4",children:[e.jsx("div",{className:"hidden md:flex justify-center",children:e.jsx("div",{className:"inline-flex items-center p-1 rounded-full bg-secondary/50 border border-border/50",children:c.map(s=>e.jsx("button",{onClick:()=>i(s.key),className:x("px-5 py-2 rounded-full text-sm font-medium transition-all duration-200",t===s.key?"bg-primary text-primary-foreground shadow-sm":"text-muted-foreground hover:text-foreground hover:bg-secondary"),children:s.label},s.key))})}),e.jsxs("div",{className:"md:hidden relative",children:[e.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-6 bg-gradient-to-r from-background/80 to-transparent z-10 pointer-events-none"}),e.jsx("div",{className:"absolute right-0 top-0 bottom-0 w-6 bg-gradient-to-l from-background/80 to-transparent z-10 pointer-events-none"}),e.jsx("div",{ref:o,className:"flex gap-2 overflow-x-auto scrollbar-hide px-2 -mx-2",children:c.map(s=>e.jsx("button",{onClick:()=>i(s.key),className:x("flex-shrink-0 px-4 py-2.5 rounded-full text-sm font-medium transition-all duration-200 touch-manipulation min-h-[44px]",t===s.key?"bg-primary text-primary-foreground shadow-sm":"bg-secondary text-muted-foreground active:bg-secondary/80"),children:s.label},s.key))}),p&&e.jsx("div",{className:"absolute right-8 top-1/2 -translate-y-1/2 text-xs text-muted-foreground animate-pulse",children:"←"})]})]})}),e.jsx("section",{className:"py-10 md:py-12 bg-secondary/30 border-b border-border/50",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsx("p",{className:"text-xs font-medium text-muted-foreground text-center uppercase tracking-wider mb-6",children:"Trusted at scale"}),e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 md:gap-8 max-w-4xl mx-auto",children:b.map(s=>e.jsxs("div",{className:"text-center group",children:[e.jsx("div",{className:"inline-flex items-center justify-center w-10 h-10 rounded-full bg-primary/5 text-primary mb-3 group-hover:bg-primary/10 transition-colors",children:s.icon}),e.jsx("div",{className:"text-2xl md:text-3xl font-bold text-foreground mb-1",children:s.value}),e.jsx("p",{className:"text-xs md:text-sm text-muted-foreground",children:a(`stats.${s.labelKey}`)})]},s.labelKey))})]})}),e.jsx("section",{className:"py-12 md:py-20",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsx("div",{className:"max-w-5xl mx-auto space-y-6",children:d.map((s,l)=>e.jsx(S,{to:`/case-study/${s.slug}`,className:"group block",children:e.jsx("article",{className:"relative bg-card rounded-2xl border border-border/50 overflow-hidden transition-[transform,border-color,box-shadow] duration-200 hover:shadow-premium-lg hover:border-primary/20 hover:-translate-y-0.5 will-change-transform content-auto-lg",style:{animationDelay:`${l*100}ms`},children:e.jsxs("div",{className:"flex flex-col md:flex-row",children:[e.jsxs("div",{className:"relative md:w-64 lg:w-72 flex-shrink-0",children:[e.jsxs("div",{className:"aspect-[16/10] md:aspect-auto md:h-full",children:[e.jsx("img",{src:s.image,alt:a(`cards.${s.slug}.companyName`),className:"w-full h-full object-cover"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 via-black/20 to-transparent md:bg-gradient-to-r md:from-transparent md:via-transparent md:to-black/10"})]}),e.jsx("div",{className:"absolute top-3 left-3",children:e.jsxs(K,{className:"bg-black/50 text-white border-0 backdrop-blur-sm text-[10px] font-medium gap-1 px-2 py-0.5",children:[s.segmentIcon,a(`filters.${s.segmentKey}`)]})})]}),e.jsxs("div",{className:"flex-1 p-5 md:p-6 flex flex-col md:flex-row md:items-center gap-4 md:gap-6",children:[e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("h3",{className:"font-semibold text-lg text-foreground mb-1.5 group-hover:text-primary transition-colors leading-snug",children:a(`cards.${s.slug}.companyName`)}),e.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed line-clamp-2",children:a(`cards.${s.slug}.headline`)}),e.jsx("div",{className:"flex flex-wrap gap-2 mt-3",children:s.kpis.map((m,v)=>e.jsxs("div",{className:"inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full bg-success/10 text-success-700 text-xs font-medium",children:[e.jsx(C,{className:"h-3 w-3"}),m.value," ",m.label]},v))})]}),e.jsxs("div",{className:"hidden lg:flex flex-col items-start p-4 bg-secondary/50 rounded-xl max-w-[240px] border border-border/30",children:[e.jsxs("p",{className:"text-xs text-muted-foreground italic leading-relaxed line-clamp-3",children:['"',a(`studies.${s.slug}.results.quote`).slice(0,100),'..."']}),e.jsxs("div",{className:"flex items-center gap-2 mt-2",children:[e.jsx("div",{className:"w-6 h-6 rounded-full bg-primary/10 flex items-center justify-center text-primary text-[10px] font-bold",children:a(`studies.${s.slug}.person.name`).charAt(0)}),e.jsx("div",{children:e.jsx("p",{className:"text-[11px] font-medium text-foreground",children:a(`studies.${s.slug}.person.name`)})})]})]}),e.jsx("div",{className:"flex items-center",children:e.jsxs("div",{className:"flex items-center gap-2 text-primary text-sm font-medium group-hover:gap-3 transition-all",children:[e.jsx("span",{className:"hidden md:inline",children:a("card.readStory")}),e.jsx(I,{className:"h-4 w-4"})]})})]})]})})},s.slug))}),d.length===0&&e.jsxs("div",{className:"text-center py-16 max-w-md mx-auto",children:[e.jsx("p",{className:"text-muted-foreground mb-3",children:a("empty.noResults")}),e.jsx("button",{onClick:()=>i("all"),className:"text-primary font-medium hover:underline",children:a("empty.viewAll")})]})]})}),e.jsx(B,{}),e.jsx(E,{})]})};export{V as default};