export function ServiceIcon({ name }: { name: string }) {
  const common = { fill: "none", stroke: "currentColor", strokeWidth: 1.6, strokeLinecap: "round" as const, strokeLinejoin: "round" as const };
  return (
    <svg viewBox="0 0 32 32" className="h-7 w-7" aria-hidden="true">
      {name === "tax" && <path {...common} d="M8 6h11l5 5v15H8zM19 6v5h5M11 17h10M11 21h7" />}
      {name === "ai" && <path {...common} d="M8 16h4l2-5 3 10 2-5h5M7 8h3M22 8h3M7 24h3M22 24h3" />}
      {name === "roadmap" && <path {...common} d="M6 22c4-8 6-8 10-2s6 6 10-4M8 22h.1M16 16h.1M24 12h.1" />}
      {name === "assess" && <path {...common} d="M8 24V14M14 24V10M20 24V16M26 24V8" />}
      {name === "invest" && <path {...common} d="M6 22l6-6 4 4 10-12M18 8h8v8" />}
      {name === "rd" && <path {...common} d="M16 6v4M16 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12zM16 22v4M10 26h12" />}
      {name === "digital" && <path {...common} d="M6 10h20v4H6zM8 18h16v4H8zM10 26h12" />}
      {(name === "nodes" || !["tax", "ai", "roadmap", "assess", "invest", "rd", "digital"].includes(name)) && (
        <path {...common} d="M8 16h6M18 16h6M16 8v6M16 18v6M8 16a2 2 0 1 0 .1 0M16 8a2 2 0 1 0 .1 0M24 16a2 2 0 1 0 .1 0M16 24a2 2 0 1 0 .1 0" />
      )}
    </svg>
  );
}
