{"version":3,"file":"BookingStack.DOq5e06S.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/3XdARuISP59niWL6uhhx/GOVFxHe7CSDILJTLeDXZ/BookingStack.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}from\"react\";const GOLD=\"#f0c040\";const styles=`.book-section{padding:100px 5vw}@media(max-width:1024px){.book-section{padding:80px 4vw!important}}@media(max-width:768px){.book-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});}export default function BookingStack({headline,subtext,ctaBody,ctaButtonText,ctaButtonLink,backgroundColor,headingColor,bodyColor,cardBackground,cardBorderColor,buttonBorderColor,headingFont,bodyFont}){return /*#__PURE__*/_jsxs(\"section\",{id:\"book\",className:\"book-section\",style:{width:\"100%\",backgroundColor,boxSizing:\"border-box\",textAlign:\"center\"},children:[/*#__PURE__*/_jsx(\"style\",{children:styles}),/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:600,margin:\"0 auto\"},children:[/*#__PURE__*/_jsxs(FadeUp,{children:[/*#__PURE__*/_jsx(\"h2\",{style:{fontFamily:headingFont,fontSize:\"clamp(1.6rem, 3vw, 2.5rem)\",fontWeight:500,color:headingColor,margin:\"0 0 16px 0\",lineHeight:1.2},children:headline}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:bodyFont,fontSize:\"1rem\",color:bodyColor,lineHeight:1.75,margin:\"0 0 12px 0\"},children:ctaBody})]}),/*#__PURE__*/_jsx(FadeUp,{delay:.1,children:/*#__PURE__*/_jsx(\"a\",{href:ctaButtonLink,style:{display:\"inline-flex\",alignItems:\"center\",background:GOLD,color:\"#0d2918\",padding:\"14px 32px\",borderRadius:4,fontFamily:bodyFont,fontWeight:700,fontSize:\"0.95rem\",textDecoration:\"none\",marginTop:20},children:ctaButtonText})})]})]});}addPropertyControls(BookingStack,{headline:{type:ControlType.String,title:\"Headline\",defaultValue:\"Ready to apply?\"},ctaBody:{type:ControlType.String,title:\"Body\",defaultValue:\"The next step is a free 30-minute discovery call with Dr. Dix to discuss your goals, answer questions, and confirm the next cohort fits your timeline.\",displayTextArea:true},ctaButtonText:{type:ControlType.String,title:\"Button Text\",defaultValue:\"Book a Discovery Call →\"},ctaButtonLink:{type:ControlType.Link,title:\"Button Link\",defaultValue:\"/contact\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#0d2918\"},headingColor:{type:ControlType.Color,title:\"Heading Color\",defaultValue:\"#ffffff\"},bodyColor:{type:ControlType.Color,title:\"Body Color\",defaultValue:\"rgba(255,255,255,0.55)\"},cardBackground:{type:ControlType.Color,title:\"Card Background\",defaultValue:\"rgba(255,255,255,0.05)\"},cardBorderColor:{type:ControlType.Color,title:\"Card Border\",defaultValue:\"rgba(82,179,122,0.2)\"},buttonBorderColor:{type:ControlType.Color,title:\"Button Border\",defaultValue:\"rgba(255,255,255,0.25)\"},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\":\"BookingStack\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BookingStack.map"],"mappings":"yOAA8X,SAAS,EAAO,CAAC,WAAS,QAAM,GAAG,CAAC,IAAM,EAAIA,EAAO,IAAI,EAAQ,EAAO,EAAU,EAAI,CAAC,KAAK,GAAK,OAAO,OAAO,CAAC,EAAE,OAAoB,EAAK,EAAO,IA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