import{u as x,n as h,j as e,N as g,a as p,M as j,C as u,L as c,s as o,P as b}from"./index-B5zQMA8I.js";import{g as N}from"./iconMap-CvQDyxG8.js";import{B as f}from"./Breadcrumb-CVo4_-RZ.js";import{S as v}from"./SEOHead-QKDdyRHo.js";import{B as y,N as w}from"./SchemaMarkup-DjRiKSt-.js";import{G as C}from"./GoogleMap-w-tOW9Vy.js";import{C as S}from"./CTABanner-CqpcwSWC.js";import{S as $}from"./shield-aRvbqNCs.js";import{C as l}from"./check-circle-Bp-CYy8q.js";import{A as k}from"./arrow-right-DuP5P4b_.js";import"./shield-check-BBQ6nAeH.js";import"./home-bpN861Pw.js";function B({iconName:t}){const s=N(t);return e.jsx("div",{className:"w-10 h-10 rounded-lg bg-electric-50 flex items-center justify-center shrink-0 mt-0.5",children:e.jsx(s,{className:"w-5 h-5 text-electric-500"})})}function W(){const{neighborhoodSlug:t}=x(),s=h.find(a=>a.slug===t);if(!s)return e.jsx(g,{to:"/404",replace:!0});const m=p.filter(a=>s.relevantServices.includes(a.slug)),n=[{label:"Service Areas",href:"/areas"},{label:s.name}],r=s.isHome,d=[{icon:j,text:r?"Located right in your neighborhood":`${s.driveTime} from our shop`},{icon:$,text:"Licensed, insured, and experienced"},{icon:u,text:"Fast response times to your area"},{icon:l,text:`Deep knowledge of ${s.name} housing`}];return e.jsxs(e.Fragment,{children:[e.jsx(v,{title:`Electrician in ${s.name}, Chicago | MidWest Electrical Services`,description:s.metaDescription,canonical:`/areas/${s.slug}`}),e.jsx(y,{items:n}),e.jsx(w,{neighborhood:s}),e.jsx(f,{items:n}),e.jsx("section",{className:"bg-navy-900 py-12 sm:py-16",children:e.jsxs("div",{className:"container-main",children:[e.jsxs("h1",{className:"text-3xl sm:text-4xl lg:text-5xl font-bold text-white mb-4",children:["Electrician in ",s.name,", Chicago"]}),e.jsxs("p",{className:"text-gray-300 text-lg max-w-3xl leading-relaxed mb-6",children:[s.shortDescription," ",r?"Based right here in Brighton Park, we provide fast, reliable electrical service to our neighbors.":`${s.driveTime} from our Brighton Park location, we provide fast, reliable electrical service to ${s.name} homes and businesses.`]}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3",children:[e.jsx(c,{to:"/contact",className:"btn-primary",children:"Get a Free Estimate"}),e.jsxs("a",{href:o.phoneHref,className:"btn-secondary flex items-center gap-2",children:[e.jsx(b,{className:"w-4 h-4"}),o.phone]})]})]})}),e.jsx("section",{className:"section-padding bg-white",children:e.jsx("div",{className:"container-main",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-10 lg:gap-12",children:[e.jsxs("div",{className:"lg:col-span-2",children:[e.jsxs("h2",{className:"text-2xl sm:text-3xl font-bold text-navy-900 mb-6",children:["About Serving ",s.name]}),s.contentParagraphs.map((a,i)=>e.jsx("p",{className:"text-gray-700 leading-relaxed mb-5 text-base sm:text-lg",children:a},i)),e.jsxs("div",{className:"mt-8 p-5 bg-gray-50 rounded-xl border border-gray-200",children:[e.jsxs("h3",{className:"font-bold text-navy-900 mb-3",children:["Common Electrical Issues in ",s.name]}),e.jsx("ul",{className:"space-y-2",children:s.commonIssues.map((a,i)=>e.jsxs("li",{className:"flex items-start gap-2 text-gray-700 text-sm",children:[e.jsx(l,{className:"w-4 h-4 text-electric-500 shrink-0 mt-0.5"}),a]},i))})]})]}),e.jsx("div",{className:"space-y-6",children:s.images.map((a,i)=>e.jsx("img",{src:`/images/${a.src}`,alt:a.alt,width:"400",height:"300",loading:"lazy",className:"w-full rounded-xl shadow-md object-cover aspect-[4/3]"},i))})]})})}),e.jsx("section",{className:"py-12 sm:py-16 bg-gray-50",children:e.jsxs("div",{className:"container-main",children:[e.jsxs("h2",{className:"text-2xl sm:text-3xl font-bold text-navy-900 mb-8",children:["Our Services in ",s.name]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-5",children:m.map(a=>e.jsxs(c,{to:`/services/${a.slug}`,className:"card p-5 group flex items-start gap-4",children:[e.jsx(B,{iconName:a.icon}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-bold text-navy-900 group-hover:text-electric-600 transition-colors mb-1",children:a.name}),e.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",children:a.shortDescription}),e.jsxs("span",{className:"inline-flex items-center gap-1 text-electric-500 text-sm font-semibold mt-2 group-hover:gap-2 transition-all",children:["Learn More ",e.jsx(k,{className:"w-3.5 h-3.5"})]})]})]},a.slug))})]})}),e.jsx("section",{className:"py-12 sm:py-16 bg-white",children:e.jsxs("div",{className:"container-main",children:[e.jsxs("h2",{className:"text-2xl sm:text-3xl font-bold text-navy-900 mb-8",children:["Why ",s.name," Residents Choose Us"]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",children:d.map((a,i)=>e.jsxs("div",{className:"flex items-center gap-3 p-4 rounded-xl bg-gray-50 border border-gray-200",children:[e.jsx(a.icon,{className:"w-5 h-5 text-electric-500 shrink-0"}),e.jsx("span",{className:"text-navy-900 font-medium text-sm",children:a.text})]},i))})]})}),e.jsx("section",{className:"py-12 sm:py-16 bg-gray-50",children:e.jsxs("div",{className:"container-main",children:[e.jsx("h2",{className:"text-2xl font-bold text-navy-900 mb-3",children:r?"Our Location":`Route to ${s.name}`}),e.jsx("p",{className:"text-gray-600 mb-6",children:r?e.jsxs(e.Fragment,{children:["Our shop is ",e.jsx("span",{className:"font-semibold text-navy-900",children:"located right here in Brighton Park"}),". We are your neighborhood electrician, just steps away when you need us."]}):e.jsxs(e.Fragment,{children:["Our technicians are just ",e.jsx("span",{className:"font-semibold text-navy-900",children:s.driveTime.toLowerCase()})," away from ",s.name,". See the driving route from our Brighton Park shop to your neighborhood."]})}),e.jsx(C,{mode:"directions",destination:`${s.name}, Chicago, IL`,title:`Driving route from MidWest Electrical to ${s.name}, Chicago`})]})}),e.jsx(S,{heading:`Need an Electrician in ${s.name}?`})]})}export{W as default};