{"version":3,"file":"ServiceFAQ.DR_CnTOU.mjs","names":["useRef","useState","useId","__esmMin","init_npm_react_18_3_1","ie","ce","init_jsx_runtime","c","p","_e","de","addPropertyControls","init_framer_BisrWwwE","ControlType","Row","bodyRef","height","setHeight","el","update","ro","item","gap","props","onToggle","open","id","bodyFont","ServiceFAQ","list","items","setOpen","firstOpen","uid","toggle","cur","i","x","allowMultiple","deskPx","headingSize","headingFontSize","mobileHeadingSize","jsonLd","schema","it","style","bgColor","paddingY","displayFont","headingLineHeight","headingTracking","headingColor","heading","maxWidth","STACK_GAP","init_ServiceFAQ"],"sources":["https:/framerusercontent.com/modules/o0P4GYrr8MoSP65464ga/nB0KXwpjm4DraITiauv1/ServiceFAQ.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useId,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";const displayFont='\"MD Nichrome Black\", \"MDNichrome-Black\", \"MD Nichrome\", \"Inter Tight\", \"Arial Black\", sans-serif';const bodyFont='\"DM Sans\", \"Inter\", \"Segoe UI\", sans-serif';function Row({item,open,onToggle,id,props}){const bodyRef=useRef(null);const[height,setHeight]=useState(0);useEffect(()=>{const el=bodyRef.current;if(!el)return;const update=()=>setHeight(el.scrollHeight);update();if(typeof ResizeObserver===\"undefined\")return;const ro=new ResizeObserver(update);ro.observe(el);return()=>ro.disconnect();},[item.answer]);const gap=props.rowGap??12;return /*#__PURE__*/_jsxs(\"div\",{style:{borderBottom:props.dividers?`1px solid ${props.dividerColor}`:\"none\",padding:`${gap}px 0`},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:0},children:/*#__PURE__*/_jsxs(\"button\",{onClick:onToggle,\"aria-expanded\":open,\"aria-controls\":`${id}-a`,id:`${id}-q`,style:{width:\"100%\",display:\"flex\",alignItems:\"flex-start\",justifyContent:\"space-between\",gap:24,padding:0,border:\"none\",background:\"none\",cursor:\"pointer\",textAlign:\"left\",fontFamily:bodyFont,fontWeight:500,fontSize:props.questionSize??16,lineHeight:1.35,color:props.questionColor},children:[/*#__PURE__*/_jsx(\"span\",{children:item.question}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":true,style:{flexShrink:0,width:18,height:18,marginTop:2,display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",transform:open?\"rotate(45deg)\":\"none\",transition:\"transform 0.3s cubic-bezier(0.22, 1, 0.36, 1)\"},children:/*#__PURE__*/_jsx(\"svg\",{width:\"12\",height:\"12\",viewBox:\"0 0 12 12\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M6 1v10M1 6h10\",stroke:props.iconColor,strokeWidth:\"1.4\",strokeLinecap:\"round\"})})})]})}),/*#__PURE__*/_jsx(\"div\",{id:`${id}-a`,role:\"region\",\"aria-labelledby\":`${id}-q`,style:{height:open?height:0,overflow:\"hidden\",opacity:open?1:0,transition:\"height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease\"},children:/*#__PURE__*/_jsx(\"div\",{ref:bodyRef,children:/*#__PURE__*/_jsx(\"p\",{style:{margin:0,padding:\"12px 42px 6px 0\",fontFamily:bodyFont,fontSize:props.answerSize??15,lineHeight:1.5,color:props.answerColor,whiteSpace:\"pre-line\"},children:item.answer})})})]});}/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */// Shared section spacing: heading→body = body→content. 32px at 1440, 24px on tablet/phone.\nconst STACK_GAP=\"clamp(24px, 2.22vw, 32px)\";export default function ServiceFAQ(props){const{heading,items,headingSize,mobileHeadingSize,headingLineHeight,headingTracking,maxWidth,paddingY,allowMultiple,firstOpen,schema,bgColor,headingColor,style}=props;const list=items||[];const[open,setOpen]=useState(firstOpen?[0]:[]);// Stable across server render + hydration\nconst uid=`qfaq${useId().replace(/:/g,\"\")}`;useEffect(()=>{setOpen(firstOpen?[0]:[]);},[firstOpen]);const toggle=i=>setOpen(cur=>cur.includes(i)?cur.filter(x=>x!==i):allowMultiple?[...cur,i]:[i]);const deskPx=headingSize??64;const headingFontSize=`clamp(${mobileHeadingSize??38}px, ${(deskPx/14.4).toFixed(2)}vw, ${deskPx}px)`;const jsonLd=schema?JSON.stringify({\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",mainEntity:list.filter(it=>it.question&&it.answer).map(it=>({\"@type\":\"Question\",name:it.question,acceptedAnswer:{\"@type\":\"Answer\",text:it.answer}}))}):null;return /*#__PURE__*/_jsxs(\"section\",{style:{...style,width:\"100%\",boxSizing:\"border-box\",background:bgColor,padding:`${paddingY??80}px 5%`,fontFamily:bodyFont},children:[jsonLd?/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:jsonLd}}):null,/*#__PURE__*/_jsx(\"h2\",{style:{margin:\"0 auto\",maxWidth:900,textAlign:\"center\",fontFamily:displayFont,fontWeight:800,fontSize:headingFontSize,lineHeight:headingLineHeight??.95,letterSpacing:`${headingTracking??0}em`,color:headingColor,whiteSpace:\"pre-line\"},children:heading}),/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:maxWidth??630,margin:`${STACK_GAP} auto 0`},children:list.map((it,i)=>/*#__PURE__*/_jsx(Row,{item:it,id:`${uid}-${i}`,open:open.includes(i),onToggle:()=>toggle(i),props:props},`${i}-${it.question}`))})]});}addPropertyControls(ServiceFAQ,{heading:{type:ControlType.String,title:\"Heading\",defaultValue:\"Everything You're\\nWondering\",displayTextArea:true},items:{type:ControlType.Array,title:\"Questions\",control:{type:ControlType.Object,controls:{question:{type:ControlType.String,title:\"Question\",defaultValue:\"Question\"},answer:{type:ControlType.String,title:\"Answer\",defaultValue:\"\",displayTextArea:true}}},defaultValue:[{question:\"Is video included in my design subscription?\",answer:\"Motion is an add-on, and you only pay for it when you need it. Add one of our in-house animators to your account for the months you've got video on the go, then drop it when you don't. There's no long-term lock-in, and you can scale your animation time up or down month to month.\"},{question:\"Can I just do a one-off project?\",answer:\"Yes. Plenty of our motion work is one-off: a launch video, an explainer, a set of animated ads. Tell us what you need and we'll scope it and give you a fixed quote. No subscription needed.\"},{question:\"How long does a video take?\",answer:\"It depends on length and complexity. As a rough guide, animated social ads and logo stings usually take a few days. A 30 to 60 second explainer typically takes two to three weeks from brief to final cut, including storyboarding and feedback. Book a call and we'll give you a timeline for your project.\"},{question:\"Do I need to supply footage?\",answer:\"Not for animation. We build from your brand assets, product screens and stills. For edits, send us your footage and we'll cut it into whatever you need. We don't film live-action ourselves.\"},{question:\"What formats do you deliver?\",answer:\"Whatever your channels need: 16:9 for web and YouTube, 1:1 and 4:5 for feeds, and 9:16 for Reels, TikTok and Stories. We can cut one animation into every size.\"},{question:\"How do feedback and changes work?\",answer:\"Your animator shares a storyboard first, then cuts as the video comes together. Leave comments in the tools you already use and they'll make the changes, with a creative director reviewing everything before it reaches you.\"},{question:\"Can you animate our existing static campaigns?\",answer:\"Yes, it's one of our most popular requests. We'll bring your existing artwork to life so your motion matches the rest of the campaign.\"}]},allowMultiple:{type:ControlType.Boolean,title:\"Multiple Open\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\"},firstOpen:{type:ControlType.Boolean,title:\"First Open\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\"},schema:{type:ControlType.Boolean,title:\"FAQ Schema (SEO)\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},// ─── Type ───\nheadingSize:{type:ControlType.Number,title:\"Heading Size\",defaultValue:64,min:24,max:140,step:1,unit:\"px\"},mobileHeadingSize:{type:ControlType.Number,title:\"Mobile Heading\",defaultValue:38,min:20,max:80,step:1,unit:\"px\"},headingLineHeight:{type:ControlType.Number,title:\"Nichrome Leading\",defaultValue:.95,min:.8,max:1.6,step:.01,displayStepper:true},headingTracking:{type:ControlType.Number,title:\"Nichrome Tracking\",defaultValue:0,min:-.06,max:.06,step:.005,displayStepper:true},questionSize:{type:ControlType.Number,title:\"Question Size\",defaultValue:16,min:10,max:28,step:1},answerSize:{type:ControlType.Number,title:\"Answer Size\",defaultValue:15,min:10,max:28,step:1},// ─── Layout ───\nmaxWidth:{type:ControlType.Number,title:\"List Width\",defaultValue:630,min:320,max:1200,step:10},rowGap:{type:ControlType.Number,title:\"Row Spacing\",defaultValue:12,min:0,max:40,step:1},paddingY:{type:ControlType.Number,title:\"Section Padding\",defaultValue:80,min:0,max:300,step:2},dividers:{type:ControlType.Boolean,title:\"Dividers\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},// ─── Colour ───\nbgColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgba(255, 255, 255, 0)\"},headingColor:{type:ControlType.Color,title:\"Heading\",defaultValue:\"#002B31\"},questionColor:{type:ControlType.Color,title:\"Question\",defaultValue:\"#0A1A1C\"},answerColor:{type:ControlType.Color,title:\"Answer\",defaultValue:\"rgb(105, 105, 105)\"},iconColor:{type:ControlType.Color,title:\"Icon\",defaultValue:\"#0A1A1C\"},dividerColor:{type:ControlType.Color,title:\"Divider\",defaultValue:\"rgba(0, 43, 49, 0.12)\",hidden:p=>!p.dividers}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ServiceFAQ\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ServiceFAQ.map"],"mappings":"A,sMAAiV,SAASe,EAAI,CAAC,OAAK,OAAK,WAAS,KAAG,SAAO,CAAC,IAAMC,EAAQhB,EAAO,IAAI,EAAO,CAACiB,EAAOC,GAAWjB,EAAS,CAAC,EAAEK,MAAc,CAAC,IAAMa,EAAGH,EAAQ,QAAQ,GAAG,CAACG,EAAG,OAAO,IAAMC,MAAWF,EAAUC,EAAG,YAAY,EAAW,GAATC,EAAO,EAAK,OAAO,eAAiB,IAAY,OAAO,IAAMC,EAAG,IAAI,eAAeD,CAAM,EAAiB,OAAfC,EAAG,QAAQF,CAAE,MAAYE,EAAG,WAAW,CAAE,EAAE,CAACC,EA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