import{c as e,n as t,r as n,t as r}from"./Seo-DIwHowcX.js";import{D as i,O as a,S as o,_ as s,c,k as l}from"./index-DChfCUgD.js";import{t as u}from"./PageHero-Cwh1Iaje.js";var d=e(n(),1),f=t();function p(){let e=i(s),t=i(o),[n,p]=(0,d.useState)(0);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(r,{title:`FAQs — ${t?.company_name??`Touch Therapies Antigua`}`,description:`Booking, cancellations, mobile spa services and everything else you need to know before your visit.`}),(0,f.jsx)(u,{kicker:`FAQs`,title:`Good to Know Before You Glow`,lead:`Everything about booking, visiting, and making the most of your treatment.`}),(0,f.jsx)(`section`,{className:`py-20`,children:(0,f.jsxs)(`div`,{className:`wrap max-w-3xl`,children:[(0,f.jsx)(`div`,{className:`grid gap-4`,children:(e??[]).map((e,t)=>{let r=n===t;return(0,f.jsx)(c,{delay:t*.06,children:(0,f.jsxs)(`div`,{className:`overflow-hidden rounded-2xl bg-white shadow-card`,children:[(0,f.jsxs)(`button`,{type:`button`,onClick:()=>p(r?null:t),"aria-expanded":r,className:`flex w-full cursor-pointer items-center justify-between gap-4 px-7 py-5 text-left`,children:[(0,f.jsx)(`span`,{className:`font-display text-[1.08rem] font-semibold text-ocean-700`,children:e.question}),(0,f.jsx)(`span`,{className:`grid h-8 w-8 shrink-0 place-items-center rounded-full bg-mist text-turquoise-500 transition-transform duration-300 ${r?`rotate-45`:``}`,"aria-hidden":!0,children:`+`})]}),(0,f.jsx)(l,{initial:!1,children:r&&(0,f.jsx)(a.div,{initial:{height:0,opacity:0},animate:{height:`auto`,opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},children:(0,f.jsx)(`p`,{className:`px-7 pb-6 text-muted`,children:e.answer})})})]})},e.id)})}),(0,f.jsx)(c,{className:`mt-12 text-center`,children:(0,f.jsxs)(`p`,{className:`text-muted`,children:[`Still have a question?`,` `,(0,f.jsx)(`a`,{href:t?.social.whatsapp??`#`,className:`font-semibold text-turquoise-500 hover:underline`,children:`WhatsApp us`}),` `,`— we reply fast.`]})})]})})]})}export{p as default};