import{j as e}from"./animation-vendor-CjI9cL3m.js";import{r as m,L as x}from"./react-vendor-VHYdOfsy.js";import{u as h}from"./index-CFe95toP.js";import{A as y}from"./ui-vendor-CQs9SFQd.js";const g=()=>{const{showAlert:o}=h(),[r,i]=m.useState({name:"",email:"",phone:"",service:"",message:""}),[n,c]=m.useState(!1),s=a=>{const{name:l,value:t}=a.target;i(p=>({...p,[l]:t}))},d=async a=>{a.preventDefault(),c(!0);try{const l=a.target,t=new FormData(l);await fetch("/",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams(t).toString()}),o("success","Thank you! We will contact you shortly."),i({name:"",email:"",phone:"",service:"",message:""})}catch{o("error","There was an error. Please try again.")}finally{c(!1)}},u=[{value:"",label:"Select Service Type"},{value:"hvac",label:"HVAC"},{value:"plumbing",label:"Plumbing"},{value:"electrical",label:"Electrical"},{value:"pest-control",label:"Pest Control"},{value:"roofing",label:"Roofing"},{value:"landscaping",label:"Landscaping"},{value:"garage-door",label:"Garage Door"},{value:"locksmith",label:"Locksmith"},{value:"appliance-repair",label:"Appliance Repair"},{value:"carpet-cleaning",label:"Carpet Cleaning"},{value:"other",label:"Other"}];return e.jsxs("div",{className:"bg-white p-6 rounded-xl shadow-md border border-gray-100",children:[e.jsx("h3",{className:"text-xl font-semibold mb-4",children:"Request a Free Consultation"}),e.jsxs("form",{name:"quick-quote",method:"POST","data-netlify":"true","netlify-honeypot":"bot-field",onSubmit:d,className:"space-y-4",children:[e.jsx("input",{type:"hidden",name:"form-name",value:"quick-quote"}),e.jsx("p",{className:"hidden",children:e.jsxs("label",{children:["Do not fill this out if you are human: ",e.jsx("input",{name:"bot-field"})]})}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"name",className:"block text-sm font-medium text-gray-700 mb-1",children:"Full Name *"}),e.jsx("input",{type:"text",id:"name",name:"name",value:r.name,onChange:s,required:!0,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-primary-300 focus:border-primary-300 focus:outline-none transition-colors",placeholder:"Your name"})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700 mb-1",children:"Email Address *"}),e.jsx("input",{type:"email",id:"email",name:"email",value:r.email,onChange:s,required:!0,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-primary-300 focus:border-primary-300 focus:outline-none transition-colors",placeholder:"you@example.com"})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"phone",className:"block text-sm font-medium text-gray-700 mb-1",children:"Phone Number"}),e.jsx("input",{type:"tel",id:"phone",name:"phone",value:r.phone,onChange:s,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-primary-300 focus:border-primary-300 focus:outline-none transition-colors",placeholder:"(555) 555-5555"})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"service",className:"block text-sm font-medium text-gray-700 mb-1",children:"Service Type *"}),e.jsx("select",{id:"service",name:"service",value:r.service,onChange:s,required:!0,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-primary-300 focus:border-primary-300 focus:outline-none transition-colors",children:u.map(a=>e.jsx("option",{value:a.value,children:a.label},a.value))})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"message",className:"block text-sm font-medium text-gray-700 mb-1",children:"Message"}),e.jsx("textarea",{id:"message",name:"message",value:r.message,onChange:s,rows:4,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-primary-300 focus:border-primary-300 focus:outline-none transition-colors",placeholder:"Tell us about your business and needs..."})]}),e.jsx("button",{type:"submit",disabled:n,className:"w-full bg-primary-500 hover:bg-primary-600 text-white font-medium py-2.5 px-4 rounded-md transition-colors focus:outline-none focus:ring-2 focus:ring-primary-300 disabled:opacity-70",children:n?"Submitting...":"Request Consultation"}),e.jsxs("p",{className:"text-xs text-gray-500 mt-2",children:["* Required fields. By submitting this form, you agree to our"," ",e.jsx("a",{href:"/privacy-policy",className:"text-primary-600 hover:underline",children:"privacy policy"}),"."]})]})]})},N=()=>e.jsx("section",{id:"contact",className:"py-20 bg-white",children:e.jsxs("div",{className:"container mx-auto px-4 md:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-display font-bold mb-4",children:e.jsxs("span",{className:"relative",children:["Get Started Today",e.jsx("span",{className:"absolute bottom-1 left-0 w-full h-2 bg-primary-200 opacity-40 -z-10"})]})}),e.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto",children:"Start growing your business risk-free. Pay only when you complete jobs and get paid."})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-10 max-w-5xl mx-auto",children:[e.jsx(g,{}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-primary-50 p-6 rounded-xl border border-primary-100",children:[e.jsx("h3",{className:"text-xl font-semibold mb-4 text-primary-700",children:"Zero Risk Lead Generation"}),e.jsx("p",{className:"text-gray-700 mb-4",children:"Unlike traditional lead generation services, Ring Pair only gets paid when you complete the job and receive payment from your customer. No completed job? No charge. Zero risk, perfectly aligned incentives."}),e.jsx("p",{className:"text-gray-700",children:"Fill out the form to schedule a free consultation, and we will show you how our Pay on Completion model eliminates lead generation risk and drives real revenue for your business."})]}),e.jsxs("div",{className:"bg-gray-50 p-6 rounded-xl border border-gray-200",children:[e.jsx("h3",{className:"text-lg font-semibold mb-3 text-gray-800",children:"Need More Options?"}),e.jsx("p",{className:"text-gray-600 mb-4",children:"Visit our dedicated contact page to schedule a callback, chat with us live, or find detailed contact information."}),e.jsxs(x,{to:"/contact",className:"inline-flex items-center gap-2 text-primary-600 font-semibold hover:text-primary-700 transition-colors",children:["View All Contact Options",e.jsx(y,{className:"w-4 h-4"})]})]}),e.jsxs("div",{className:"bg-white p-6 rounded-xl shadow-md border border-gray-100",children:[e.jsx("h3",{className:"text-lg font-semibold mb-3",children:"Quick Contact"}),e.jsxs("div",{className:"space-y-3 text-sm",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600",children:"Email:"}),e.jsx("a",{href:"mailto:office@ring-pair.com",className:"text-primary-600 hover:text-primary-700",children:"office@ring-pair.com"})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-gray-600",children:"Hours:"}),e.jsx("p",{className:"text-gray-800",children:"Monday - Friday:"}),e.jsx("p",{className:"text-gray-800",children:"9:00 AM - 6:00 PM EST"}),e.jsx("p",{className:"text-gray-800 mt-1",children:"Saturday:"}),e.jsx("p",{className:"text-gray-800",children:"10:00 AM - 2:00 PM EST"}),e.jsx("p",{className:"text-gray-800 mt-1",children:"Sunday: Closed"})]})]})]})]})]})]})});export{N as default};