1import{r as l,j as e}from"./framer-motion-D8v0ofY9.js";import{B as a}from"./app-CMWTpDP4.js";import{X as d,L as o}from"./constants-DUPLQy2T.js";import{S as n}from"./SalesForm-CTlm1hdU.js";import"./sanity-kuot5A5n.js";import"./textarea-BEpELibe.js";import"./arrow-right-DIVSf156.js";const v=({isOpen:t,onClose:s})=>(l.useEffect(()=>{const r=i=>{i.key==="Escape"&&t&&s()};return document.addEventListener("keydown",r),()=>document.removeEventListener("keydown",r)},[t,s]),l.useEffect(()=>(t?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[t]),t?e.jsxs("div",{className:"fixed inset-0 z-[100] flex items-center justify-center p-4",children:[e.jsx("div",{className:"absolute inset-0 bg-gray-900/80 backdrop-blur-md transition-all duration-300",onClick:s,"aria-label":"Close modal"}),e.jsx("div",{className:"relative z-10 w-full max-w-2xl flex flex-col animate-in fade-in zoom-in-95 duration-300 max-h-[90vh]",children:e.jsxs("div",{className:"bg-white rounded-2xl shadow-2xl flex flex-col h-full overflow-hidden border-2 border-gray-200",children:[e.jsxs("div",{className:"bg-gradient-to-r from-blue-600 to-cyan-600 px-6 py-4 flex items-center justify-between flex-shrink-0",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-2xl font-bold text-white",children:"Contact Sales"}),e.jsx("p",{className:"text-blue-100 text-sm mt-1",children:"Get in touch with our team to discuss your needs"})]}),e.jsx(a,{variant:"ghost",size:"sm",onClick:s,className:"text-white hover:bg-white/20 rounded-full p-2 h-auto transition-all duration-200 hover:scale-110","aria-label":"Close sales form",children:e.jsx(d,{className:"w-6 h-6"})})]}),e.jsx("div",{className:"flex-1 p-6 overflow-y-auto bg-gray-50",children:e.jsx("div",{className:"bg-white p-6 rounded-xl shadow-sm border border-gray-100",children:e.jsx(n,{onSubmit:()=>{}})})}),e.jsxs("div",{className:"bg-gray-50 px-6 py-4 border-t border-gray-200 flex items-center justify-between flex-shrink-0",children:[e.jsxs("div",{className:"text-sm text-gray-600 hidden sm:block",children:[e.jsx("span",{className:"font-medium",children:"Or call us directly:"})," ",e.jsx("a",{href:`tel:${o.PHONE}`,className:"text-blue-600 hover:text-blue-800 font-medium",children:o.PHONE_DISPLAY})]}),e.jsx(a,{variant:"outline",size:"sm",onClick:s,className:"hover:bg-gray-100 ml-auto",children:"Close"})]})]})})]}):null);export{v as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.