import{u as D,s as N,b as w,j as e,N as H,r as h,c,S as R,d as L,P as y,e as S,f as $,g as q,F as B,A as g,R as C,h as P,L as d,C as I}from"./index-D-pl_72i.js";import{B as M}from"./Breadcrumb-ScqZT-gn.js";import{Q as A}from"./QuickContactForm-Rw1sr2sd.js";import{M as Q}from"./MobileStickyBar-wwfYQOyp.js";import{s as p}from"./serviceAreaCombos-CHRZ7ft7.js";import"./file-text-CkYKoPR6.js";const T={"garage-door-spring-repair":"spring repair","garage-door-opener-repair":"opener repair and replacement","garage-door-off-track":"off-track repair","garage-door-installation":"garage door installation and replacement","garage-door-cable-repair":"cable repair","garage-door-maintenance":"maintenance and tune-up","emergency-garage-door-repair":"emergency garage door repair"};function W(i,n,l){if(i.slug==="emergency-garage-door-repair")return`Emergency garage door repair in ${n.name}. We can typically be on-site within 60–90 minutes. Available 24/7.`;const a=T[i.slug]||i.name.toLowerCase();if(n.slug==="orlando")return`Same-day ${a} from our Orlando base. Free on-site estimates, 7 days a week.`;const t=l.responseTime||n.driveTime;return`Same-day ${a} from our Orlando shop, ${t}. Free on-site estimates, 7 days a week.`}function U(i,n){return[`Why ${n} Homes Need ${i}`,null,`What to Expect from Our ${n} Service`,null]}function _(i,n){return n.slug==="orlando"?i.title.replace(/\| Coytown.*$/,"- Same-Day Service | Coytown Garage Door"):i.title}function z(i,n){return n.slug==="orlando"?i.metaDescription.replace(/\.\s*Call.*$/,". Same-day appointments, free on-site estimates. Locally owned since 2017. Call (321) 384-5280."):i.metaDescription}function ee(){var j;const{serviceSlug:i,areaSlug:n}=D(),l=N.find(s=>s.slug===i),a=w.find(s=>s.slug===n),t=p.find(s=>s.serviceSlug===i&&s.areaSlug===n);if(!l||!a||!t)return e.jsx(H,{to:"/404",replace:!0});const o=l.slug==="emergency-garage-door-repair",k=[{label:"Home",path:"/"},{label:"Services",path:"/services"},{label:l.name,path:`/services/${l.slug}`},{label:a.name}],u=p.filter(s=>s.areaSlug===n&&s.serviceSlug!==i).map(s=>{const r=N.find(x=>x.slug===s.serviceSlug);return r?{combo:s,service:r}:null}).filter(Boolean),b=p.filter(s=>s.serviceSlug===i&&s.areaSlug!==n).map(s=>{const r=w.find(x=>x.slug===s.areaSlug);return r?{combo:s,area:r}:null}).filter(Boolean),F=h.slice(0,3),m=h.find(s=>s.service===l.slug)||h[0],f=U(l.name,a.name),O=W(l,a,t),v=[{"@context":"https://schema.org","@type":"Service",name:`${l.name} in ${a.name}`,provider:{"@type":"HomeAndConstructionBusiness",name:c.companyName,telephone:c.phone},areaServed:{"@type":"City",name:a.name,addressRegion:"FL"},description:t.metaDescription}];t.faqs&&t.faqs.length>0&&v.push({"@context":"https://schema.org","@type":"FAQPage",mainEntity:t.faqs.map(s=>({"@type":"Question",name:s.question,acceptedAnswer:{"@type":"Answer",text:s.answer}}))});const E=o?"linear-gradient(to right, rgba(120,20,20,0.75) 0%, rgba(30,58,95,0.65) 50%, rgba(30,58,95,0.5) 100%)":"linear-gradient(to right, rgba(30,58,95,0.88) 0%, rgba(30,58,95,0.55) 70%, rgba(30,58,95,0.4) 100%)";return e.jsxs(e.Fragment,{children:[e.jsx(R,{title:_(t,a),metaDescription:z(t,a),canonicalUrl:`/services/${l.slug}/${a.slug}`,ogUrl:`/services/${l.slug}/${a.slug}`}),e.jsx(L,{schemas:v}),e.jsx(M,{items:k,compactOnMobile:!0}),o?e.jsx("div",{className:"bg-vivid-red text-white",children:e.jsxs("div",{className:"container-width px-4 py-2.5 flex items-center justify-center gap-2 text-sm font-semibold",children:[e.jsx(y,{className:"w-4 h-4"}),e.jsx("span",{children:"Emergency? We Are Available Right Now"}),e.jsx("span",{className:"text-white/60 hidden sm:inline",children:"—"}),e.jsxs("a",{href:c.phoneHref,className:"underline underline-offset-2 hover:text-white/90",children:["Call ",c.phone]})]})}):e.jsx("div",{className:"bg-steel-blue text-white",children:e.jsxs("div",{className:"container-width px-4 py-2.5 flex items-center justify-center gap-2 text-sm font-semibold",children:[e.jsx(S,{className:"w-4 h-4"}),e.jsx("span",{children:"Same-Day Service Available"}),e.jsx("span",{className:"text-white/60 hidden sm:inline",children:"—"}),e.jsxs("a",{href:c.phoneHref,className:"underline underline-offset-2 hover:text-white/90",children:["Call ",c.phone," for a Free On-Site Estimate"]})]})}),e.jsxs("section",{className:"relative min-h-[260px] sm:min-h-[280px] lg:min-h-[300px]",id:"hero-sentinel",children:[e.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[e.jsx("img",{src:"/images/hero.webp",alt:`${l.name} in ${a.name}, FL`,width:"1920",height:"1080",fetchpriority:"high",className:"w-full h-full object-cover"}),e.jsx("div",{className:"absolute inset-0",style:{background:E}})]}),e.jsxs("div",{className:"relative z-10 container-width px-4 pt-5 pb-6 sm:pt-8 sm:pb-10 lg:pt-12 lg:pb-14",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-x-4 gap-y-1 mb-3 sm:mb-4 text-xs text-white/90 font-semibold",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx($,{className:"w-3.5 h-3.5 fill-gold text-gold"}),"5-Star Yelp Rated"]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(q,{className:"w-3.5 h-3.5"}),"Licensed & Insured"]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(S,{className:"w-3.5 h-3.5"}),"Same-Day Service"]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(B,{className:"w-3.5 h-3.5"}),"Locally Owned Since 2017"]})]}),e.jsxs("div",{className:"lg:max-w-[calc(100%-22rem)]",children:[e.jsxs("h1",{className:"text-2xl sm:text-3xl md:text-4xl font-bold text-white leading-tight mb-4",children:[t.h1,o&&e.jsx("span",{className:"ml-3 inline-block bg-vivid-red text-white text-xs font-bold px-2.5 py-1 rounded-full align-middle animate-pulse",children:"24/7"})]}),e.jsx("p",{className:"text-white/80 text-base lg:text-lg leading-relaxed mb-5 sm:mb-8 max-w-xl",children:O})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3",children:[e.jsxs("a",{href:c.phoneHref,className:"btn-primary text-base px-6 py-3.5",children:[e.jsx(y,{className:"w-5 h-5"}),o?"Call Now — 24/7 Emergency Line":`Call ${c.phone} — Free Estimate`]}),e.jsxs("a",{href:"#combo-form",className:"btn-outline text-base px-6 py-3.5",children:["Schedule Online",e.jsx(g,{className:"w-4 h-4"})]})]})]})]}),e.jsx("section",{className:"bg-white px-4 pt-5 sm:pt-8 pb-16 lg:pb-20",children:e.jsx("div",{className:"container-width",children:e.jsxs("div",{className:"lg:flex lg:gap-10",children:[e.jsxs("div",{className:"lg:flex-1",children:[e.jsxs("div",{className:"lg:hidden bg-warm-gray rounded-xl p-4 mb-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("span",{className:"font-bold text-yelp-red text-sm tracking-tight",children:"yelp"}),e.jsx("div",{className:"flex items-center gap-0.5",children:Array.from({length:5}).map((s,r)=>e.jsx($,{className:"w-3.5 h-3.5 fill-gold text-gold"},r))})]}),e.jsxs("p",{className:"text-xs text-graphite leading-relaxed line-clamp-2",children:["“",m.quote.substring(0,120),"...”"]}),e.jsxs("span",{className:"text-xs font-semibold text-steel-blue mt-1 block",children:["— ",m.firstName," ",m.lastInitial,"."]})]}),e.jsx("div",{className:"lg:hidden mb-8",id:"combo-form",children:e.jsx(A,{hiddenFields:{service:l.name,area:a.name}})}),t.intro&&e.jsx("p",{className:"text-graphite leading-relaxed text-lg mb-6",children:t.intro}),(j=t.contentParagraphs)==null?void 0:j.map((s,r)=>e.jsxs("div",{children:[f[r]&&e.jsx("h2",{className:"text-xl font-bold text-steel-blue mt-8 mb-3",children:f[r]}),e.jsx("p",{className:"text-graphite leading-relaxed mb-4",children:s})]},r)),t.costNote&&e.jsxs("div",{className:"bg-warm-gray border-l-4 border-l-sky-accent rounded-r-xl p-6 my-8",children:[e.jsx("h3",{className:"font-bold text-steel-blue mb-2",children:"About Pricing"}),e.jsx("p",{className:"text-graphite leading-relaxed text-sm",children:t.costNote})]}),e.jsx("div",{className:"space-y-4 my-8",children:F.map(s=>e.jsx(C,{review:s},s.id))}),e.jsx(P,{inline:!0}),t.faqs&&t.faqs.length>0&&e.jsxs("div",{className:"mb-8 mt-8",children:[e.jsx("h2",{className:"text-xl font-bold text-steel-blue mb-5",children:"Frequently Asked Questions"}),e.jsx("div",{className:"space-y-5",children:t.faqs.map((s,r)=>e.jsxs("div",{children:[e.jsx("h3",{className:"font-bold text-graphite mb-1",children:s.question}),e.jsx("p",{className:"text-graphite leading-relaxed text-sm",children:s.answer})]},r))})]}),u.length>0&&e.jsxs("div",{className:"mb-8",children:[e.jsxs("h3",{className:"font-bold text-steel-blue mb-3",children:["Other Services in ",a.name]}),e.jsx("div",{className:"flex flex-wrap gap-2",children:u.map(({combo:s,service:r})=>e.jsx(d,{to:`/services/${s.serviceSlug}/${s.areaSlug}`,className:"px-4 py-2 bg-warm-gray rounded-lg text-sm font-medium text-graphite hover:bg-steel-blue hover:text-white transition-all",children:r.name},s.serviceSlug))})]}),b.length>0&&e.jsxs("div",{className:"mb-8",children:[e.jsxs("h3",{className:"font-bold text-steel-blue mb-3",children:[l.name," in Other Areas"]}),e.jsx("div",{className:"flex flex-wrap gap-2",children:b.map(({combo:s,area:r})=>e.jsx(d,{to:`/services/${s.serviceSlug}/${s.areaSlug}`,className:"px-4 py-2 bg-warm-gray rounded-lg text-sm font-medium text-graphite hover:bg-steel-blue hover:text-white transition-all",children:r.name},s.areaSlug))})]}),e.jsxs("div",{className:"flex flex-wrap gap-4 mb-8",children:[e.jsxs(d,{to:`/services/${l.slug}`,className:"inline-flex items-center gap-1 px-4 py-2 bg-steel-blue/10 rounded-lg text-sm font-medium text-steel-blue hover:bg-steel-blue hover:text-white transition-all",children:[l.name," Overview",e.jsx(g,{className:"w-3.5 h-3.5"})]}),e.jsxs(d,{to:`/areas/${a.slug}`,className:"inline-flex items-center gap-1 px-4 py-2 bg-steel-blue/10 rounded-lg text-sm font-medium text-steel-blue hover:bg-steel-blue hover:text-white transition-all",children:["All Services in ",a.name,e.jsx(g,{className:"w-3.5 h-3.5"})]})]})]}),e.jsx("div",{className:"hidden lg:block lg:w-80 flex-shrink-0 lg:-mt-64",children:e.jsxs("div",{className:"sticky top-28 space-y-5",children:[e.jsx(A,{hiddenFields:{service:l.name,area:a.name}}),e.jsx(C,{review:m})]})})]})})}),e.jsx(I,{}),e.jsx(Q,{})]})}export{ee as default};