import{c as b,u as N,b as u,a as v,j as e,N as y,H as S,s as i,C as $,L as o,M as w,P as A}from"./index-BFpjkRLY.js";import{S as L}from"./SEOHead-ChmRU6mV.js";import{S as C}from"./SchemaMarkup-CCGxt7Le.js";import{B as F}from"./Breadcrumb-CVy-FEgr.js";import{Q as z}from"./QuickContactForm-e9H7zVte.js";import{C as P}from"./CTABanner-BN3di8NS.js";import k from"./NotFound-CWm520XD.js";import{s as d}from"./serviceAreaCombos-D5IjO84R.js";import{D}from"./dollar-sign-C01oA2zf.js";import{A as x}from"./arrow-right-DphdN3_M.js";import"./check-circle-BfIwUvMB.js";import"./home-CZ-KLTjQ.js";/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const H=b("HelpCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);function K(){const{serviceSlug:l,areaSlug:m}=N(),a=u.find(s=>s.slug===l),n=v.find(s=>s.slug===m);if(!a||!n)return e.jsx(y,{to:"/services",replace:!0});const t=d.find(s=>s.serviceSlug===l&&s.areaSlug===m);if(!t)return e.jsxs(e.Fragment,{children:[e.jsx(S,{children:e.jsx("meta",{name:"robots",content:"noindex, nofollow"})}),e.jsx(k,{})]});const c=`${i.domain}/services/${l}/${m}`,f={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:i.domain},{"@type":"ListItem",position:2,name:"Services",item:`${i.domain}/services`},{"@type":"ListItem",position:3,name:a.name,item:`${i.domain}/services/${a.slug}`},{"@type":"ListItem",position:4,name:n.name,item:c}]},j={"@context":"https://schema.org","@type":"Service",name:`${a.name} in ${n.name}, FL`,description:t.metaDescription||`${a.name} in ${n.name}, FL. Same-day service, fair pricing.`,provider:{"@type":"HomeAndConstructionBusiness",name:i.companyName,telephone:i.phone,email:i.email,url:i.domain,address:{"@type":"PostalAddress",addressLocality:i.address.city,addressRegion:i.address.state,postalCode:i.address.zip,addressCountry:"US"}},areaServed:{"@type":"City",name:n.name,addressRegion:"FL"},serviceType:a.name},p=[f,j];if(t.faqs&&t.faqs.length>0){const s={"@context":"https://schema.org","@type":"FAQPage",mainEntity:t.faqs.map(r=>({"@type":"Question",name:r.question,acceptedAnswer:{"@type":"Answer",text:r.answer}}))};p.push(s)}const h=d.filter(s=>s.areaSlug===m&&s.serviceSlug!==l).map(s=>({...s,svc:u.find(r=>r.slug===s.serviceSlug)})).filter(s=>s.svc),g=d.filter(s=>s.serviceSlug===l&&s.areaSlug!==m).map(s=>({...s,areaData:v.find(r=>r.slug===s.areaSlug)})).filter(s=>s.areaData);return e.jsxs(e.Fragment,{children:[e.jsx(L,{title:t.title||`${a.name} in ${n.name}, FL | ${i.companyName}`,metaDescription:t.metaDescription||`${a.name} in ${n.name}, FL. Same-day service, fair pricing. Call ${i.phone}.`,canonicalUrl:c,ogUrl:c}),e.jsx(C,{schemas:p}),e.jsx("div",{className:"container-custom",children:e.jsx(F,{items:[{label:"Home",path:"/"},{label:"Services",path:"/services"},{label:a.name,path:`/services/${a.slug}`},{label:n.name}]})}),e.jsx("section",{className:"section-padding pt-4",children:e.jsx("div",{className:"container-custom",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-10",children:[e.jsxs("div",{className:"lg:col-span-2",children:[e.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-navy mb-6",children:t.h1||`${a.name} in ${n.name}, FL`}),t.responseTime&&e.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-teal-50 text-teal text-sm font-medium mb-6",children:[e.jsx($,{size:16}),"Response time: ",t.responseTime]}),e.jsx("img",{src:`/images/${a.image}`,alt:`${a.name} in ${n.name}, Florida`,width:800,height:600,loading:"lazy",className:"w-full rounded-xl mb-8 shadow-sm"}),t.intro&&e.jsx("p",{className:"text-lg text-slate-600 leading-relaxed mb-8",children:t.intro}),t.contentParagraphs&&t.contentParagraphs.length>0&&e.jsx("div",{className:"prose prose-slate max-w-none mb-8",children:t.contentParagraphs.map((s,r)=>e.jsx("p",{className:"text-slate-600 leading-relaxed mb-4",children:s},r))}),t.costNote&&e.jsxs("div",{className:"bg-sand rounded-xl p-6 mb-8",children:[e.jsxs("h2",{className:"text-xl font-bold text-navy mb-3 flex items-center gap-2",children:[e.jsx(D,{size:20,className:"text-teal"}),"Pricing for ",a.name," in ",n.name]}),e.jsx("p",{className:"text-slate-600 leading-relaxed",children:t.costNote}),e.jsxs("p",{className:"text-sm text-slate-500 mt-3",children:["Typical range: ",e.jsx("span",{className:"font-semibold text-navy",children:a.costRange})]})]}),t.faqs&&t.faqs.length>0&&e.jsxs("div",{className:"mb-8",children:[e.jsxs("h2",{className:"text-2xl font-bold text-navy mb-6 flex items-center gap-2",children:[e.jsx(H,{size:22,className:"text-teal"}),"Frequently Asked Questions"]}),e.jsx("div",{className:"space-y-4",children:t.faqs.map((s,r)=>e.jsxs("div",{className:"bg-white border border-gray-100 rounded-xl p-5 hover:shadow-sm transition-shadow",children:[e.jsx("h3",{className:"font-bold text-navy mb-2",children:s.question}),e.jsx("p",{className:"text-slate-600 text-sm leading-relaxed",children:s.answer})]},r))})]}),e.jsxs("div",{className:"flex flex-wrap gap-3 mb-8",children:[e.jsxs(o,{to:`/services/${a.slug}`,className:"inline-flex items-center gap-2 px-4 py-2 rounded-lg bg-teal-50 text-teal text-sm font-medium hover:bg-teal-100 transition-colors",children:["More About ",a.name," ",e.jsx(x,{size:14})]}),e.jsxs(o,{to:`/areas/${n.slug}`,className:"inline-flex items-center gap-2 px-4 py-2 rounded-lg bg-slate-50 text-slate-700 text-sm font-medium hover:bg-slate-100 transition-colors",children:["All Services in ",n.name," ",e.jsx(x,{size:14})]})]}),h.length>0&&e.jsxs("div",{className:"mb-8",children:[e.jsxs("h2",{className:"text-xl font-bold text-navy mb-4",children:["Other Services in ",n.name]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:h.map(s=>e.jsxs(o,{to:`/services/${s.serviceSlug}/${s.areaSlug}`,className:"flex items-center gap-3 p-3 rounded-xl bg-teal-50 border border-teal-100 hover:border-teal-300 hover:shadow-sm transition-all group",children:[e.jsxs("span",{className:"text-sm font-medium text-navy group-hover:text-teal transition-colors",children:[s.svc.name," in ",n.name]}),e.jsx(x,{size:14,className:"text-teal ml-auto"})]},`${s.serviceSlug}-${s.areaSlug}`))})]}),g.length>0&&e.jsxs("div",{className:"mb-8",children:[e.jsxs("h2",{className:"text-xl font-bold text-navy mb-4",children:[a.name," in Other Areas"]}),e.jsx("div",{className:"flex flex-wrap gap-3",children:g.map(s=>e.jsxs(o,{to:`/services/${s.serviceSlug}/${s.areaSlug}`,className:"inline-flex items-center gap-2 px-4 py-2 rounded-lg bg-slate-50 text-slate-700 text-sm font-medium hover:bg-slate-100 transition-colors",children:[e.jsx(w,{size:14}),s.areaData.name]},`${s.serviceSlug}-${s.areaSlug}`))})]})]}),e.jsx("aside",{className:"lg:col-span-1",children:e.jsxs("div",{className:"sticky top-28 space-y-6",children:[e.jsxs("div",{className:"bg-navy rounded-xl p-6 text-center text-white",children:[e.jsx("h3",{className:"font-bold text-lg mb-2 text-white",children:a.name}),e.jsxs("p",{className:"text-sm text-navy-200 mb-1",children:["in ",n.name]}),e.jsx("p",{className:"text-sm text-navy-300 mb-4",children:a.costRange}),e.jsxs("a",{href:i.phoneHref,className:"btn-coral w-full gap-2",children:[e.jsx(A,{size:18}),i.phone]})]}),e.jsx(z,{})]})})]})})}),e.jsx(P,{})]})}export{K as default};