{"version":3,"file":"BookingStack.CcQISkXv.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/3XdARuISP59niWL6uhhx/hknrOEVlQDRggh0ja1sW/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,emailLine,emailLink,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__*/_jsxs(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}),emailLine&&emailLink&&/*#__PURE__*/_jsx(\"div\",{style:{marginTop:20},children:/*#__PURE__*/_jsx(\"a\",{href:emailLink,style:{fontFamily:bodyFont,fontSize:\"0.875rem\",color:bodyColor,textDecoration:\"none\",borderBottom:\"1px solid rgba(255,255,255,0.2)\",paddingBottom:1,transition:\"color 0.2s\"},onMouseEnter:e=>{e.currentTarget.style.color=GOLD;e.currentTarget.style.borderBottomColor=GOLD;},onMouseLeave:e=>{e.currentTarget.style.color=bodyColor;e.currentTarget.style.borderBottomColor=\"rgba(255,255,255,0.2)\";},children:emailLine})})]})]})]});}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\"},emailLine:{type:ControlType.String,title:\"Email Fallback Text\",defaultValue:\"Prefer email? Dr. Dix responds within 1–2 business days →\"},emailLink:{type:ControlType.Link,title:\"Email 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,KAAK,CAAO,EAAO,EAAU,EAAI,CAAC,KAAK,GAAK,OAAO,QAAQ,CAAC,CAAC,OAAoB,EAAK,EAAO,IAAI,CAAK,MAAI,QAAQ,CAAC,QAAQ,EAAE,EAAE,GAAG,CAAC,QAAQ,EAAO,CAAC,QAAQ,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,WAAW,CAAC,SAAS,IAAI,QAAM,KAAK,UAAU,CAAU,WAAS,CAAC,CAAE,SAAwB,EAAa,CAAC,WAAS,UAAQ,UAAQ,gBAAc,gBAAc,YAAU,YAAU,kBAAgB,eAAa,YAAU,iBAAe,kBAAgB,oBAAkB,cAAY,YAAU,CAAC,OAAoB,EAAM,UAAU,CAAC,GAAG,OAAO,UAAU,eAAe,MAAM,CAAC,MAAM,OAAO,kBAAgB,UAAU,aAAa,UAAU,SAAS,CAAC,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS,EAAO,CAAC,CAAc,EAAM,MAAM,CAAC,MAAM,CAAC,SAAS,IAAI,OAAO,SAAS,CAAC,SAAS,CAAc,EAAM,EAAO,CAAC,SAAS,CAAc,EAAK,KAAK,CAAC,MAAM,CAAC,WAAW,EAAY,SAAS,6BAA6B,WAAW,IAAI,MAAM,EAAa,OAAO,aAAa,WAAW,IAAI,CAAC,SAAS,EAAS,CAAC,CAAc,EAAK,IAA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