import{c as t,j as a,L as s}from"./index-BFpjkRLY.js";import{W as o}from"./wrench-BnYIwC0B.js";import{A as l}from"./arrow-right-DphdN3_M.js";import{Z as n}from"./zap-Cg9aCJYq.js";import{H as i}from"./home-CZ-KLTjQ.js";import{A as h}from"./alert-triangle-DParMy4-.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 d=t("Cable",[["path",{d:"M4 9a2 2 0 0 1-2-2V5h6v2a2 2 0 0 1-2 2Z",key:"1s6oa5"}],["path",{d:"M3 5V3",key:"1k5hjh"}],["path",{d:"M7 5V3",key:"1t1388"}],["path",{d:"M19 15V6.5a3.5 3.5 0 0 0-7 0v11a3.5 3.5 0 0 1-7 0V9",key:"1ytv72"}],["path",{d:"M17 21v-2",key:"ds4u3f"}],["path",{d:"M21 21v-2",key:"eo0ou"}],["path",{d:"M22 19h-6v-2a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2Z",key:"sdz6o8"}]]);/**
 * @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 p=t("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
 * @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 c=t("Siren",[["path",{d:"M7 18v-6a5 5 0 1 1 10 0v6",key:"pcx96s"}],["path",{d:"M5 21a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2z",key:"1b4s83"}],["path",{d:"M21 12h1",key:"jtio3y"}],["path",{d:"M18.5 4.5 18 5",key:"g5sp9y"}],["path",{d:"M2 12h1",key:"1uaihz"}],["path",{d:"M12 2v1",key:"11qlp1"}],["path",{d:"m4.929 4.929.707.707",key:"1i51kw"}],["path",{d:"M12 12v6",key:"3ahymv"}]]),m={Wrench:o,Zap:n,Home:i,AlertTriangle:h,Cable:d,Settings:p,Siren:c};function u({service:e}){const r=m[e.icon]||o;return a.jsxs(s,{to:`/services/${e.slug}`,className:`group relative block bg-white rounded-xl p-6 shadow-sm hover:shadow-lg transition-all duration-300 border border-gray-100 ${e.isEmergency?"border-l-4 border-l-coral":""}`,children:[e.isEmergency&&a.jsx("span",{className:"absolute top-3 right-3 bg-coral text-white text-xs font-bold px-2 py-0.5 rounded",children:"24/7"}),a.jsx("div",{className:`w-12 h-12 rounded-lg flex items-center justify-center mb-4 ${e.isEmergency?"bg-coral-50 text-coral":"bg-teal-50 text-teal"}`,children:a.jsx(r,{size:24})}),a.jsx("h3",{className:"text-lg font-bold text-navy mb-2 group-hover:text-teal transition-colors",children:e.name}),a.jsx("p",{className:"text-sm text-slate-600 mb-4 leading-relaxed",children:e.shortDescription}),a.jsxs("span",{className:"inline-flex items-center gap-1 text-sm font-medium text-teal group-hover:gap-2 transition-all",children:["Learn More ",a.jsx(l,{size:14})]})]})}export{u as S};