1import{u as q,j as e}from"./index-C0HtrapN.js";import{r as o}from"./react-vendor-hkqNGg-V.js";import{u as w,P as y}from"./PageOverrideContent-DayxjaDC.js";import{d as N,a4 as h,C as u,a5 as v,r as k,a6 as C}from"./icons-COUzwY_V.js";import"./firebase-vendor-8cA_Pey9.js";import"./sanitizeHtml-0EUEPTU-.js";const S=()=>{const i=w("faq"),{t:a}=q(),[g,f]=o.useState(!1),[l,b]=o.useState(""),[r,j]=o.useState(0);o.useEffect(()=>{f(!0),window.scrollTo(0,0)},[]);const c=[{category:a("faq.cat.general"),questions:[{q:a("faq.q1.q"),a:a("faq.q1.a")},{q:a("faq.q2.q"),a:a("faq.q2.a")},{q:a("faq.q3.q"),a:a("faq.q3.a")}]},{category:a("faq.cat.billing"),questions:[{q:a("faq.q4.q"),a:a("faq.q4.a")},{q:a("faq.q5.q"),a:a("faq.q5.a")}]}],x=s=>{j(r===s?null:s)},d=c.flatMap(s=>s.questions).filter(s=>s.q.toLowerCase().includes(l.toLowerCase())||s.a.toLowerCase().includes(l.toLowerCase()));return e.jsxs("div",{className:"min-h-screen bg-[#F8FAFB] pb-24",children:[e.jsxs("div",{className:"relative py-32 px-4 md:px-8 overflow-hidden bg-[#006D77]",children:[e.jsx("img",{src:"https://storage.googleapis.com/download/storage/v1/b/abmc-website-images-1784525189960/o/news%2FCustomer_service_B_xqjgdw.jpg?generation=1784525270632392&alt=media",alt:"FAQ Banner",className:"absolute inset-0 w-full h-full object-cover opacity-40",referrerPolicy:"no-referrer",onError:s=>{s.target.src="https://storage.googleapis.com/igc-health/kbmc-logo-bw/200/200"},loading:"lazy",decoding:"async"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#006D77]/70 to-[#006D77]"}),e.jsx("div",{className:"absolute top-0 right-0 w-[40rem] h-[40rem] bg-white/5 rounded-full blur-[100px] translate-x-1/2 -translate-y-1/2"}),e.jsxs("div",{className:`max-w-4xl mx-auto text-center space-y-6 relative z-10 transition-all duration-1000 transform ${g?"translate-y-0 opacity-100":"translate-y-10 opacity-0"}`,children:[e.jsx("span",{className:"inline-block px-4 py-1.5 bg-white/10 backdrop-blur-md rounded-full text-[#83C5BE] text-[10px] font-black uppercase tracking-[0.3em] border border-white/10",children:a("faq.hero.badge")}),e.jsx("h1",{className:"text-5xl md:text-7xl font-black text-white leading-tight tracking-tighter",children:i?.title||e.jsxs(e.Fragment,{children:[a("faq.hero.title")," ",e.jsx("span",{className:"text-[#E29578]",children:a("faq.hero.title2")})]})}),e.jsx("p",{className:"text-lg text-white/70 font-medium max-w-2xl mx-auto",children:i?.subtitle||e.jsx(e.Fragment,{children:a("faq.hero.desc")})}),e.jsx("div",{className:"max-w-2xl mx-auto pt-8",children:e.jsxs("div",{className:"relative group",children:[e.jsx(N,{className:"absolute left-6 top-1/2 -translate-y-1/2 text-gray-400 group-focus-within:text-[#006D77] transition-colors"}),e.jsx("input",{type:"text",placeholder:a("faq.search.placeholder"),value:l,onChange:s=>b(s.target.value),className:"w-full bg-white rounded-full px-16 py-6 font-bold text-[#2C3E50] shadow-2xl outline-none focus:ring-4 focus:ring-[#83C5BE]/20 transition-all"})]})})]})]}),e.jsxs("div",{className:"max-w-4xl mx-auto px-4 md:px-8 -mt-12 relative z-20",children:[e.jsx("div",{className:"space-y-4",children:l?e.jsxs("div",{className:"space-y-4",children:[e.jsxs("p",{className:"text-sm font-black text-[#006D77] uppercase tracking-widest mb-6",children:[a("faq.search.results")," (",d.length,")"]}),d.map((s,t)=>e.jsxs("div",{className:"bg-white rounded-3xl border border-gray-100 overflow-hidden shadow-sm hover:shadow-md transition-all",children:[e.jsxs("button",{onClick:()=>x(t),className:"w-full px-8 py-6 flex items-center justify-between text-left group",children:[e.jsx("span",{className:"text-lg font-black text-[#2C3E50] group-hover:text-[#006D77] transition-colors",children:s.q}),r===t?e.jsx(h,{className:"text-[#006D77]"}):e.jsx(u,{className:"text-gray-400"})]}),r===t&&e.jsxs("div",{className:"px-8 pb-8 animate-fade-in",children:[e.jsx("div",{className:"h-px bg-gray-100 mb-6"}),e.jsx("p",{className:"text-gray-500 font-medium leading-relaxed",children:s.a})]})]},t))]}):c.map((s,t)=>e.jsxs("div",{className:"space-y-4 pt-8",children:[e.jsx("h2",{className:"text-xs font-black text-[#006D77] uppercase tracking-[0.3em] ml-4",children:s.category}),s.questions.map((m,p)=>{const n=t*10+p;return e.jsxs("div",{className:"bg-white rounded-3xl border border-gray-100 overflow-hidden shadow-sm hover:shadow-md transition-all",children:[e.jsxs("button",{onClick:()=>x(n),className:"w-full px-8 py-6 flex items-center justify-between text-left group",children:[e.jsx("span",{className:"text-lg font-black text-[#2C3E50] group-hover:text-[#006D77] transition-colors",children:m.q}),r===n?e.jsx(h,{className:"text-[#006D77]"}):e.jsx(u,{className:"text-gray-400"})]}
1),r===n&&e.jsxs("div",{className:"px-8 pb-8 animate-fade-in",children:[e.jsx("div",{className:"h-px bg-gray-100 mb-6"}),e.jsx("p",{className:"text-gray-500 font-medium leading-relaxed",children:m.a})]})]},p)})]},t))}),e.jsxs("div",{className:"mt-24 bg-white rounded-[3rem] p-12 text-center space-y-8 border border-gray-100 shadow-xl",children:[e.jsx("div",{className:"w-20 h-20 bg-[#EDF6F9] rounded-3xl flex items-center justify-center mx-auto",children:e.jsx(v,{className:"w-10 h-10 text-[#006D77]"})}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("h3",{className:"text-3xl font-black text-[#2C3E50]",children:a("faq.support.title")}),e.jsx("p",{className:"text-gray-500 font-medium",children:a("faq.support.desc")})]}),e.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[e.jsxs("a",{href:"tel:+6056233399",className:"flex items-center gap-3 bg-[#006D77] text-white px-8 py-4 rounded-full font-black text-xs uppercase tracking-widest hover:bg-[#E29578] transition-all",children:[e.jsx(k,{className:"w-4 h-4"}),a("faq.support.call")]}),e.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center gap-3 bg-[#F8FAFB] text-[#2C3E50] px-8 py-4 rounded-full font-black text-xs uppercase tracking-widest border border-gray-100 hover:bg-gray-100 transition-all",children:[e.jsx(C,{className:"w-4 h-4"}),a("faq.support.email")]})]})]})]}),e.jsx(y,{slug:"faq"})]})};export{S 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.