{"version":3,"file":"FAQStack.DKuAsmgb.mjs","names":["useRef","useState"],"sources":["https:/framerusercontent.com/modules/2h28hwD3forCMyt0EU5j/Gdg0JoU7UgTOF3L2qcgk/FAQStack.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion,useInView}from\"framer-motion\";import{useRef,useState}from\"react\";const styles=`.faq-section{padding:100px 5vw}@media(max-width:768px){.faq-section{padding:70px 24px!important}}`;function FadeUp({children,delay=0}){const ref=useRef(null);const inView=useInView(ref,{once:true,margin:\"-60px\"});return /*#__PURE__*/_jsx(motion.div,{ref:ref,initial:{opacity:0,y:24},animate:inView?{opacity:1,y:0}:{},transition:{duration:.55,delay,ease:\"easeOut\"},children:children});}const faqs=[{q:\"How is CCM different from a CME I've already taken?\",a:\"A CME transfers information; CCM delivers a clinical workflow you deploy with patients. Note: CCM does not currently provide CE credit. Accreditation is being pursued following Cohort 1.\"},{q:\"What if my employer finds out I'm taking a cannabis course?\",a:\"Healthcare systems are increasingly demanding cannabis-literate clinicians. Completing CCM positions you as an asset, not a liability. We can discuss your specific situation on the discovery call.\"},{q:\"How do I access cannabis consultations with Dr. Dix?\",a:\"Patient consultations run through the dispensaries Dr. Dix serves — The Dispensary (Westminster, MD), The Dispensary D.C., Trilogy Wellness (Ellicott City, MD), Remedy (Columbia, MD and Windsor Mill, MD), and Sunburst Pharm (Cambridge, MD). Use the contact form if you're not sure which location is closest.\"},{q:\"Do I need personal cannabis experience to succeed in the course?\",a:\"No. The program works whether you've never touched cannabis or used it for years. Tools like the Intentional Use Protocol build experiential literacy without requiring personal use.\"},{q:\"Do you offer virtual services?\",a:\"Yes. Patient consultations serve the Maryland/DMV area in-person and are available virtually nationwide. CCM is fully virtual — open to licensed healthcare professionals across the US.\"}];export default function FAQStack({sectionLabel,headline,backgroundColor,headingColor,bodyColor,accentColor,labelColor,borderColor,headingFont,bodyFont}){const[open,setOpen]=useState(null);return /*#__PURE__*/_jsxs(\"section\",{className:\"faq-section\",style:{width:\"100%\",backgroundColor,boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"style\",{children:styles}),/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:720,margin:\"0 auto\"},children:[/*#__PURE__*/_jsxs(FadeUp,{children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:8,fontSize:11,fontWeight:500,letterSpacing:\"0.18em\",textTransform:\"uppercase\",color:labelColor,marginBottom:12,fontFamily:bodyFont},children:[sectionLabel,/*#__PURE__*/_jsx(\"span\",{style:{display:\"block\",width:30,height:1,background:labelColor}})]}),/*#__PURE__*/_jsx(\"h2\",{style:{fontFamily:headingFont,fontSize:\"clamp(1.6rem,3vw,2.5rem)\",fontWeight:500,color:headingColor,margin:\"0 0 32px 0\",lineHeight:1.2},children:headline})]}),/*#__PURE__*/_jsx(\"div\",{children:faqs.map((faq,i)=>/*#__PURE__*/_jsx(FadeUp,{delay:i*.06,children:/*#__PURE__*/_jsxs(\"div\",{style:{borderBottom:`1px solid ${borderColor}`,padding:\"1.25rem 0\"},children:[/*#__PURE__*/_jsxs(\"button\",{onClick:()=>setOpen(open===i?null:i),\"aria-expanded\":open===i,style:{width:\"100%\",background:\"none\",border:\"none\",padding:0,cursor:\"pointer\",display:\"flex\",alignItems:\"flex-start\",justifyContent:\"space-between\",gap:12,textAlign:\"left\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"flex-start\",gap:12},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:headingFont,color:accentColor,fontSize:\"0.95rem\",lineHeight:1.6,flexShrink:0},children:String(i+1).padStart(2,\"0\")}),/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:bodyFont,fontSize:\"0.95rem\",fontWeight:500,color:headingColor,lineHeight:1.5},children:faq.q})]}),/*#__PURE__*/_jsx(\"span\",{style:{color:accentColor,fontSize:\"1.15rem\",flexShrink:0,lineHeight:1.4,transition:\"transform 0.2s\",transform:open===i?\"rotate(45deg)\":\"rotate(0deg)\"},children:\"+\"})]}),open===i&&/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:\"auto\"},transition:{duration:.3,ease:\"easeOut\"},style:{paddingLeft:\"2rem\",paddingTop:\"0.75rem\"},children:/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:bodyFont,fontSize:\"0.9rem\",color:bodyColor,lineHeight:1.7,margin:0},children:faq.a})})]})},i))})]})]});}addPropertyControls(FAQStack,{sectionLabel:{type:ControlType.String,title:\"Section Label\",defaultValue:\"Questions\"},headline:{type:ControlType.String,title:\"Headline\",defaultValue:\"Frequently Asked\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#ffffff\"},headingColor:{type:ControlType.Color,title:\"Heading Color\",defaultValue:\"#111827\"},bodyColor:{type:ControlType.Color,title:\"Body Color\",defaultValue:\"#6b7280\"},accentColor:{type:ControlType.Color,title:\"Accent / Gold\",defaultValue:\"#f0c040\"},labelColor:{type:ControlType.Color,title:\"Label Color\",defaultValue:\"#2a6a44\"},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#e5e7eb\"},headingFont:{type:ControlType.String,title:\"Heading Font\",defaultValue:\"Cormorant Garamond, Georgia, serif\"},bodyFont:{type:ControlType.String,title:\"Body Font\",defaultValue:\"DM Sans, system-ui, sans-serif\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQStack\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQStack.map"],"mappings":"2OAA6S,SAAS,EAAO,CAAC,WAAS,QAAM,GAAG,CAAC,IAAM,EAAIA,EAAO,KAAK,CAAO,EAAO,EAAU,EAAI,CAAC,KAAK,GAAK,OAAO,QAAQ,CAAC,CAAC,OAAoB,EAAK,EAAO,I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