{"version":3,"file":"FAQ.DaWSUPbq.mjs","names":["React.useState"],"sources":["https:/framerusercontent.com/modules/Zie0TE7hdcEGUELafBB9/OH0BGDIEOrm6d1fvKzh6/FAQ.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function FAQAccordion(props){const{heading,subheading,items,initiallyOpen,ctaLabel,ctaHref,bgColor,cardColor,borderColor,headingColor,textColor,accentColor}=props;const[openIndex,setOpenIndex]=React.useState(initiallyOpen);// Build FAQPage JSON-LD for SEO\nconst jsonLd={\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",mainEntity:items.map(qa=>({\"@type\":\"Question\",name:qa.question,acceptedAnswer:{\"@type\":\"Answer\",text:qa.answer}}))};return /*#__PURE__*/_jsx(\"section\",{style:{width:\"100%\",background:bgColor,display:\"flex\",justifyContent:\"center\",padding:24,boxSizing:\"border-box\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{width:\"min(920px, 100%)\",display:\"grid\",gap:20},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"grid\",gap:8},children:[/*#__PURE__*/_jsx(\"h2\",{style:{margin:0,color:headingColor,fontSize:32,lineHeight:1.15,fontWeight:800,letterSpacing:-.2},children:heading}),subheading&&/*#__PURE__*/_jsx(\"p\",{style:{margin:0,color:textColor,fontSize:16,lineHeight:1.6,opacity:.9},children:subheading})]}),/*#__PURE__*/_jsx(\"div\",{role:\"list\",\"aria-label\":\"Frequently Asked Questions\",style:{display:\"grid\",gap:10},children:items.map((qa,i)=>{const open=openIndex===i;return /*#__PURE__*/_jsxs(\"div\",{role:\"listitem\",style:{background:cardColor,border:`1px solid ${borderColor}`,borderRadius:12,overflow:\"hidden\",boxShadow:\"0 4px 16px rgba(0,0,0,0.04)\"},children:[/*#__PURE__*/_jsxs(\"button\",{onClick:()=>setOpenIndex(open?-1:i),\"aria-expanded\":open,\"aria-controls\":`faq-panel-${i}`,id:`faq-button-${i}`,style:{width:\"100%\",textAlign:\"left\",padding:\"14px 16px\",background:\"transparent\",border:\"none\",display:\"grid\",gridTemplateColumns:\"1fr auto\",alignItems:\"center\",gap:12,cursor:\"pointer\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{color:headingColor,fontWeight:700,fontSize:16,lineHeight:1.4},children:qa.question}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":true,style:{width:28,height:28,borderRadius:8,background:`${accentColor}1A`,color:accentColor,display:\"grid\",placeItems:\"center\",fontWeight:800},children:open?\"−\":\"+\"})]}),/*#__PURE__*/_jsx(\"div\",{id:`faq-panel-${i}`,role:\"region\",\"aria-labelledby\":`faq-button-${i}`,style:{display:open?\"block\":\"none\",borderTop:`1px solid ${borderColor}`,padding:\"12px 16px 16px 16px\",color:textColor,fontSize:14,lineHeight:1.6,whiteSpace:\"pre-wrap\"},children:qa.answer})]},i);})}),ctaLabel&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"center\",marginTop:8},children:[/*#__PURE__*/_jsxs(\"a\",{href:ctaHref||\"#\",style:{display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",gap:10,padding:\"14px 20px\",background:accentColor,color:\"#fff\",textDecoration:\"none\",borderRadius:10,fontWeight:700,fontSize:16,minWidth:220,boxShadow:\"0 6px 16px rgba(0,0,0,0.12)\",transition:\"transform 120ms ease, box-shadow 120ms ease\"},onMouseEnter:e=>{e.currentTarget.style.boxShadow=\"0 12px 28px rgba(0,0,0,0.18)\";e.currentTarget.style.transform=\"translateY(-1px)\";},onMouseLeave:e=>{e.currentTarget.style.boxShadow=\"0 6px 16px rgba(0,0,0,0.12)\";e.currentTarget.style.transform=\"translateY(0)\";},children:[ctaLabel,\" \",/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":true,children:\"↗\"})]}),/*#__PURE__*/_jsx(\"style\",{children:`\n              @media (max-width: 640px) {\n                a { width: 100% !important; max-width: 340px; }\n              }\n            `})]}),/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(jsonLd)}})]})});}const defaultItems=[{question:\"How much does it cost per employee?\",answer:\"Simple flat-rate per employee per month. No premiums or claims. Volume pricing available for teams over 25.\"},{question:\"Do you integrate with payroll?\",answer:\"Yes. We support payroll deduction or employer-paid options and handle turnkey onboarding with your HRIS.\"},{question:\"Can employees add family members?\",answer:\"Yes. Spouses and dependents can be added. Contact us for family add-on pricing.\"},{question:\"What services are included?\",answer:\"Primary & chronic care telemedicine, urgent care, mental health, pharmacy and lab discounts, plus virtual pet care via GoLexi.\"},{question:\"How do patients access the portal?\",answer:\"Employees log in through the My Primary Care portal 24/7 to schedule or start a visit from any device.\"}];FAQAccordion.defaultProps={heading:\"Frequently asked questions\",subheading:\"Straight answers for HR and owners. If you don’t see your question, we’re a message away.\",items:defaultItems,initiallyOpen:0,ctaLabel:\"Download Employer Brochure\",ctaHref:\"#download\",bgColor:\"#FFFFFF\",cardColor:\"#FFFFFF\",borderColor:\"#E5EEF4\",headingColor:\"#00384D\",textColor:\"#3B5563\",accentColor:\"#00A8E8\"};addPropertyControls(FAQAccordion,{heading:{type:ControlType.String,title:\"Heading\"},subheading:{type:ControlType.String,title:\"Subheading\",displayTextArea:true},items:{type:ControlType.Array,title:\"Items\",propertyControl:{type:ControlType.Object,controls:{question:{type:ControlType.String,title:\"Question\"},answer:{type:ControlType.String,title:\"Answer\",displayTextArea:true}}},defaultValue:defaultItems},initiallyOpen:{type:ControlType.Number,title:\"Open Index\",min:-1,max:20,step:1},ctaLabel:{type:ControlType.String,title:\"CTA Label\"},ctaHref:{type:ControlType.String,title:\"CTA Link\"},bgColor:{type:ControlType.Color,title:\"Background\"},cardColor:{type:ControlType.Color,title:\"Card\"},borderColor:{type:ControlType.Color,title:\"Border\"},headingColor:{type:ControlType.Color,title:\"Headings\"},textColor:{type:ControlType.Color,title:\"Body Text\"},accentColor:{type:ControlType.Color,title:\"Accent\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQAccordion\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQ.map"],"mappings":"yQAAyI,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,UAAQ,aAAW,QAAM,gBAAc,WAAS,UAAQ,UAAQ,YAAU,cAAY,eAAa,YAAU,eAAa,EAAW,CAAC,EAAU,GAAcA,EAAe,EAAc,CAChX,EAAO,CAAC,WAAW,qBAAqB,QAAQ,UAAU,WAAW,EAAM,IAAI,IAAK,CAAC,QAAQ,WAAW,KAAK,EAAG,SAAS,eAAe,CAAC,QAAQ,SAAS,KAAK,EAAG,OAAO,CAAC,EAAE,CAAC,CAAC,OAAoB,EAAK,UAAU,CAAC,MAAM,CAAC,MAAM,OAAO,WAAW,EAAQ,QAAQ,OAAO,eAAe,SAAS,QAAQ,GAAG,UAAU,aAAa,CAAC,SAAsB,EAAM,MAAM,CAAC,MAAM,CAAC,MAAM,mBAAmB,QAAQ,OAAO,IAAI,GAAG,CAAC,SAAS,CAAc,EAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,IAAI,EAAE,CAAC,SAAS,CAAc,EAAK,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,EAAa,SAAS,GAAG,WAAW,KAAK,WAAW,IAAI,cAAc,IAAI,CAAC,SAAS,EAAQ,CAAC,CAAC,GAAyB,EAAK,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,EAAU,SAAS,GAAG,WAAW,IAAI,QAAQ,GAAG,CAAC,SAAS,EAAW,CAAC,CAAC,CAAC,CAAC,CAAc,EAAK,MAAM,CAAC,KAAK,OAAO,aAAa,6BAA6B,MAAM,CAAC,QAAQ,OAAO,IAAI,GAAG,CAAC,SAAS,EAAM,KAAK,EAAG,IAAI,CAAC,IAAM,EAAK,IAAY,EAAE,OA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