import{u as R,a as j,j as e,N as q,r as v,c as B,L as F,P as H,s as t,S as f,d as u,C as N,e as b,R as I,f as k}from"./index-8c6g9roX.js";import{B as y}from"./Breadcrumb-Bi92S28_.js";import{I as w}from"./InlineQuoteForm-CeRbqesX.js";import{s as z}from"./serviceAreaCombos-C579oG6x.js";function U(){var d,x,h,g,p;const{serviceSlug:S}=R(),s=j.find(a=>a.slug===S);if(!s)return e.jsx(q,{to:"/404",replace:!0});const $=((d=s.content)==null?void 0:d.introParagraph)!==null,l=[{label:"Home",path:"/"},{label:"Services",path:"/services"},{label:s.name}],n=v.filter(a=>a.service===s.slug),A=v.filter(a=>a.service!==s.slug),c=n.length>=2?n.slice(0,2):[...n,...A].slice(0,2),r=((x=s.relatedServices)==null?void 0:x.map(a=>j.find(i=>i.slug===a)).filter(Boolean))||[],o=z.filter(a=>a.serviceSlug===s.slug).map(a=>B.find(i=>i.slug===a.areaSlug)).filter(Boolean),C=F[s.icon]||H,m={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:t.domain},{"@type":"ListItem",position:2,name:"Services",item:`${t.domain}/services`},{"@type":"ListItem",position:3,name:s.name,item:`${t.domain}/services/${s.slug}`}]};if(!$)return e.jsxs(e.Fragment,{children:[e.jsx(f,{title:((h=s.content)==null?void 0:h.metaTitle)||`${s.name} | ${t.companyName}`,metaDescription:((g=s.content)==null?void 0:g.metaDescription)||s.shortDescription,canonicalUrl:`${t.domain}/services/${s.slug}`,noindex:!0}),e.jsx(u,{schemas:[m]}),e.jsx(y,{items:l}),e.jsx("section",{className:"section-padding pt-4 bg-white",children:e.jsx("div",{className:"container-narrow",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[e.jsxs("div",{className:"lg:col-span-2",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-xl bg-forest/8 flex items-center justify-center",children:e.jsx(C,{size:24,className:"text-forest"})}),e.jsxs("h1",{className:"text-2xl md:text-3xl",children:[s.name," in Atlanta, GA"]})]}),e.jsx("img",{src:`/images/${s.image}`,alt:`${s.name} service in Atlanta`,width:800,height:450,loading:"lazy",className:"w-full h-64 md:h-80 object-cover rounded-xl mb-6"}),e.jsxs("p",{className:"text-charcoal/70 leading-relaxed mb-6",children:["Detailed information about ",s.name.toLowerCase()," in Atlanta coming soon. Call ",e.jsx("a",{href:t.phoneHref,className:"text-forest font-semibold hover:text-leaf",children:t.phone})," for immediate help."]}),e.jsx("p",{className:"text-charcoal/60 leading-relaxed",children:s.shortDescription})]}),e.jsx("div",{className:"lg:col-span-1",children:e.jsx(w,{})})]})})}),e.jsx(N,{})]});const D={"@context":"https://schema.org","@type":"Service",name:s.name,description:s.shortDescription,provider:{"@type":"HomeAndConstructionBusiness",name:t.companyName,telephone:t.phone},areaServed:{"@type":"City",name:"Atlanta",addressRegion:"GA"},image:`${t.domain}/images/${s.image}`},L=s.faqs?{"@context":"https://schema.org","@type":"FAQPage",mainEntity:s.faqs.map(a=>({"@type":"Question",name:a.question,acceptedAnswer:{"@type":"Answer",text:a.answer}}))}:null,P=[m,D,L].filter(Boolean);return e.jsxs(e.Fragment,{children:[e.jsx(f,{title:s.content.metaTitle,metaDescription:s.content.metaDescription,canonicalUrl:`${t.domain}/services/${s.slug}`}),e.jsx(u,{schemas:P}),e.jsx(y,{items:l}),e.jsx("section",{className:"section-padding pt-4 bg-white",children:e.jsx("div",{className:"container-narrow",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[e.jsxs("div",{className:"lg:col-span-2",children:[e.jsx("h1",{className:"mb-4",children:s.content.h1}),e.jsx("img",{src:`/images/${s.image}`,alt:`${s.name} service in Atlanta, GA`,width:800,height:450,loading:"lazy",className:"w-full h-64 md:h-80 object-cover rounded-xl mb-6"}),s.content.introParagraph&&e.jsx("p",{className:"text-lg text-charcoal/80 leading-relaxed mb-6",children:s.content.introParagraph}),(p=s.content.contentSections)==null?void 0:p.map((a,i)=>e.jsxs("div",{className:"mb-6",children:[a.heading&&e.jsx("h2",{className:"text-xl mb-3",children:a.heading}),a.body&&e.jsx("p",{className:"text-charcoal/70 leading-relaxed mb-3",children:a.body})]},i)),s.content.costNote&&e.jsxs("div",{className:"bg-stone-warm border-l-4 border-l-orange rounded-r-xl p-5 my-8",children:[e.jsx("h3",{className:"text-base font-bold text-forest mb-2",children:"Pricing Note"}),e.jsx("p",{className:"text-sm text-charcoal/70",children:s.content.costNote})]}),s.faqs&&s.faqs.length>0&&e.jsxs("div",{className:"my-8",children:[e.jsx("h2",{className:"text-xl mb-5",children:"Frequently Asked Questions"}),e.jsx("div",{className:"space-y-4",children:s.faqs.map((a,i)=>e.jsxs("div",{className:"bg-stone-warm/50 rounded-xl p-5",children:[e.jsx("h3",{className:"text-base font-bold text-forest mb-2",children:a.question}),e.jsx("p",{className:"text-sm text-charcoal/70 leading-relaxed",children:a.answer})]},i))})]}),r.length>0&&e.jsxs("div",{className:"my-8",children:[e.jsx("h2",{className:"text-xl mb-4",children:"Related Services"}),e.jsx("div",{className:"flex flex-wrap gap-3",children:r.map(a=>e.jsx(b,{to:`/services/${a.slug}`,className:"px-4 py-2 bg-forest/6 text-forest font-medium text-sm rounded-lg hover:bg-forest/12 transition-colors",children:a.name},a.slug))})]}),o.length>0&&e.jsxs("div",{className:"my-8",children:[e.jsxs("h2",{className:"text-xl mb-4",children:[s.name," by Area"]}),e.jsx("div",{className:"flex flex-wrap gap-3",children:o.map(a=>e.jsxs(b,{to:`/services/${s.slug}/${a.slug}`,className:"px-4 py-2 bg-leaf/8 text-forest font-medium text-sm rounded-lg hover:bg-leaf/16 transition-colors",children:[s.name," in ",a.name]},a.slug))})]}),c.length>0&&e.jsxs("div",{className:"my-8",children:[e.jsx("h2",{className:"text-xl mb-4",children:"Customer Reviews"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:c.map(a=>e.jsx(I,{review:a},a.id))})]})]}),e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"sticky top-24",children:[e.jsx(w,{}),e.jsxs("div",{className:"mt-6 p-5 bg-stone-warm rounded-xl",children:[e.jsx("p",{className:"text-sm font-bold text-forest mb-2",children:"Need Help Now?"}),e.jsxs("a",{href:t.phoneHref,className:"flex items-center gap-2 text-forest font-semibold hover:text-leaf transition-colors",children:[e.jsx(k,{size:16}),t.phone]}),e.jsx("p",{className:"text-xs text-charcoal/50 mt-2",children:t.hours.summary})]})]})})]})})}),e.jsx(N,{})]})}export{U as default};