import{j as e,L as a}from"./index-CU169p9f.js";import{W as t,A as n,Z as l,H as o,d as i,e as d,f as m,g as x,D as c}from"./SEOHead-SW3FBusu.js";const h={Wrench:t,Zap:l,Home:o,AlertTriangle:i,Cable:d,Settings:m,Siren:x,DoorOpen:c};function b({service:s}){const r=h[s.icon]||t;return e.jsxs("div",{className:`relative bg-white rounded-lg shadow-md hover:shadow-lg transition-shadow p-6 flex flex-col ${s.isEmergency?"border-l-4 border-l-rust-600":"border border-steel-200"}`,children:[s.isEmergency&&e.jsx("span",{className:"absolute top-3 right-3 bg-rust-600 text-white text-xs font-bold px-2 py-1 rounded",children:"24/7"}),e.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-steel-100 flex items-center justify-center flex-shrink-0",children:e.jsx(r,{className:"w-5 h-5 text-steel-800","aria-hidden":"true"})}),e.jsx("h3",{className:"text-lg font-bold text-steel-800",children:s.name})]}),e.jsx("p",{className:"text-steel-500 text-sm leading-relaxed mb-4 flex-grow",children:s.shortDescription}),e.jsxs(a,{to:`/services/${s.slug}`,className:"inline-flex items-center text-amber-link font-semibold text-sm hover:underline transition-colors mt-auto",children:["Learn More",e.jsx(n,{className:"w-4 h-4 ml-1","aria-hidden":"true"})]})]})}export{b as S};