{"version":3,"file":"FAQAccordion.BxudCSCh.mjs","names":["useState","__esmMin","_e","p","c","init_jsx_runtime","init_npm_react_18_3_1","addPropertyControls","init_framer_CKT6jEEQ","Item","onToggle","open","DARK","q","GREEN","GREY","a","FAQAccordion","openIndex","setOpenIndex","props","RESPONSIVE_CSS","FAQ_SCHEMA_JSON","FAQS","item","i","init_FAQAccordion"],"sources":["https:/framerusercontent.com/modules/DGM9ZSAmCMHyN1KOJPS6/7FG7hrfl3XPUoIERjBpk/FAQAccordion.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState}from\"react\";import{addPropertyControls}from\"framer\";// Single source of truth: visible answers and FAQPage schema come from this list.\nconst FAQS=[{q:\"Do you offer direct billing?\",a:\"Yes, we offer direct billing to most major insurance providers whenever possible. Please bring your insurance card and any necessary policy information to your appointment.\"},{q:\"Which insurance providers do you work with for direct billing?\",a:\"We work with many common insurance companies, including but not limited to: Sun Life, Manulife, Blue Cross, Canada Life, Green Shield, and Desjardins. Direct billing eligibility may vary depending on your individual plan.\"},{q:\"What if my insurance plan doesn’t allow direct billing?\",a:\"If your plan does not support direct billing, you will need to pay for the service upfront. We will provide a detailed receipt you can use to submit a claim to your insurer for reimbursement.\"},{q:\"What happens if my insurance only covers part of the cost?\",a:\"If your insurance only covers a portion of the service, you will be responsible for paying the remaining balance at the time of your visit.\"},{q:\"Will my insurance definitely cover the service?\",a:\"We do our best to check coverage ahead of time, but ultimately it is your responsibility to know the details of your plan. We encourage you to contact your insurer directly for full coverage information.\"},{q:\"Is direct billing available for all types of appointments?\",a:\"Direct billing is available for most services, but it may depend on your provider and the type of treatment. Please confirm with your insurance provider beforehand.\"},{q:\"What if my direct billing claim is declined?\",a:\"If your claim is declined, we will let you know immediately. In that case, you will need to pay for the service and submit a claim to your insurance company on your own.\"},{q:\"Why do I need to book an initial assessment? (It’s my first visit — what can I expect?)\",a:\"An initial assessment is for all first-time patients at Donwood Foot and Orthotic Clinic. During your initial appointment, we take the time to understand your health concerns and goals. This typically includes: a review of your medical history and any relevant paperwork; a discussion of your current symptoms or reasons for the visit; a physical examination or assessment, if necessary; an explanation of findings and recommended treatment options; and an opportunity to ask questions. Treatment is also included during the initial appointment.\"},{q:\"How do I book an appointment (for new or returning patients)?\",a:\"Booking an appointment is easy — choose the method that works for you. Online: use the online booking system on our website to choose your preferred date, time, and provider (new patients should book an initial assessment). By phone: call us during clinic hours at (416) 445-1414 and our staff will assist you with scheduling. In person: you are welcome to stop by the clinic and book your next visit at the front desk. New patients may be asked to fill out a brief intake form, which can often be completed online ahead of time or when you arrive.\"},{q:\"Do I need a medical referral to see a chiropodist?\",a:\"No, you do not need a medical referral to book an appointment with a chiropodist. Chiropodists are primary health care providers, which means you can book directly with us for any foot or lower limb concerns.\"}];// FAQPage JSON-LD built from the same list and rendered in the component\n// output, so the published HTML carries it without JavaScript.\nconst FAQ_SCHEMA_JSON=JSON.stringify({\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",mainEntity:FAQS.map(({q,a})=>({\"@type\":\"Question\",name:q,acceptedAnswer:{\"@type\":\"Answer\",text:a}}))});const GREEN=\"rgb(44, 91, 37)\";const DARK=\"rgb(18, 18, 18)\";const GREY=\"rgb(110, 110, 115)\";// Font sizing lives in this stylesheet (not inline) so the phone breakpoint\n// (≤809.98px, matching the site's breakpoints) can shrink it to the global\n// mobile scale: the neighbouring card text is 24px heading / 14px body.\nconst RESPONSIVE_CSS=`\n.dfc-faq-q{font-size:22px}\n.dfc-faq-a{font-size:18px;padding:0 40px 20px 0}\n.dfc-faq-icon{width:30px;height:30px;font-size:20px}\n@media (max-width:809.98px){\n  .dfc-faq-q{font-size:16px}\n  .dfc-faq-a{font-size:14px;padding:0 0 16px 0}\n  .dfc-faq-icon{width:24px;height:24px;font-size:16px}\n}\n`;function Item({q,a,open,onToggle}){return /*#__PURE__*/_jsxs(\"div\",{style:{borderBottom:\"1px solid rgba(0,0,0,0.08)\"},children:[/*#__PURE__*/_jsxs(\"button\",{onClick:onToggle,\"aria-expanded\":open,style:{display:\"flex\",width:\"100%\",alignItems:\"center\",justifyContent:\"space-between\",gap:20,padding:\"20px 0\",background:\"none\",border:\"none\",cursor:\"pointer\",textAlign:\"left\"},children:[/*#__PURE__*/_jsx(\"span\",{className:\"dfc-faq-q\",style:{fontFamily:\"'Outfit', 'Instrument Sans', system-ui, sans-serif\",fontWeight:500,lineHeight:1.4,color:DARK},children:q}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":true,className:\"dfc-faq-icon\",style:{flexShrink:0,borderRadius:\"50%\",background:GREEN,color:\"white\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",lineHeight:1,transform:open?\"rotate(45deg)\":\"none\",transition:\"transform 0.2s ease\"},children:\"+\"})]}),/*#__PURE__*/_jsx(\"div\",{style:{maxHeight:open?600:0,overflow:\"hidden\",transition:\"max-height 0.3s ease\"},children:/*#__PURE__*/_jsx(\"p\",{className:\"dfc-faq-a\",style:{fontFamily:\"'Outfit', 'Instrument Sans', system-ui, sans-serif\",fontWeight:400,lineHeight:1.6,color:GREY,margin:0},children:a})})]});}/**\n * FAQ accordion with the clinic's real answers.\n * Renders the matching FAQPage JSON-LD in its output (server-rendered),\n * so the visible content and the structured data always match.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function FAQAccordion(props){const[openIndex,setOpenIndex]=useState(0);return /*#__PURE__*/_jsxs(\"div\",{style:{...props.style,width:\"100%\"},children:[/*#__PURE__*/_jsx(\"style\",{children:RESPONSIVE_CSS}),/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",\"data-donwood-faq-schema\":\"true\",dangerouslySetInnerHTML:{__html:FAQ_SCHEMA_JSON}}),FAQS.map((item,i)=>/*#__PURE__*/_jsx(Item,{q:item.q,a:item.a,open:openIndex===i,onToggle:()=>setOpenIndex(openIndex===i?null:i)},i))]});}addPropertyControls(FAQAccordion,{});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQAccordion\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQAccordion.map"],"mappings":"A,0KAeE,SAASS,EAAK,CAAC,IAAE,IAAE,OAAK,YAAU,CAAC,MAAoB,gBAAM,MAAM,CAAC,MAAM,CAAC,aAAa,4BAA4B,EAAE,SAAS,CAAc,gBAAM,SAAS,CAAC,QAAQC,EAAS,gBAAgBC,EAAK,MAAM,CAAC,QAAQ,OAAO,MAAM,OAAO,WAAW,SAAS,eAAe,gBAAgB,IAAI,GAAG,QAAQ,SAAS,WAAW,OAAO,OAAO,OAAO,OAAO,UAAU,UAAU,MAAM,EAAE,SAAS,CAAc,gBAAK,OAAO,CAAC,UAAU,YAAY,MAAM,CAAC,WAAW,qDAAqD,WAAW,IAAI,WAAW,IAAI,MAAMC,CAAI,EAAE,SAASC,CAAC,CAAC,EAAe,gBAAK,OAAO,CAAC,cAAc,GAAK,UAAU,eAAe,MAAM,CAAC,WAAW,EAAE,aAAa,MAAM,WAAWC,EAAM,MAAM,QAAQ,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,WAAW,EAAE,UAAUH,EAAK,gBAAgB,OAAO,WAAW,qBAAqB,EAAE,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,EAAe,gBAAK,MAAM,CAAC,MAAM,CAAC,UAAUA,EAAK,IAAI,EAAE,SAAS,SAAS,WAAW,sBAAsB,EAAE,SAAsB,gBAAK,IAAI,CAAC,UAAU,YAAY,MAAM,CAAC,WAAW,qDAAqD,WAAW,IAAI,WAAW,IAAI,MAAMI,EAAK,OAAO,CAAC,EAAE,SAASC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAOroC,SAAwBC,EAAa,EAAM,CAAC,GAAK,CAACC,EAAUC,GAAcnB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