{"version":3,"file":"Detailingsteps.CAbO974A.mjs","names":["useState","p"],"sources":["https:/framerusercontent.com/modules/N3i3ufVFXsr0VclH1wCS/4qNMVi8QWiljKnMsfLNj/Detailingsteps.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState}from\"react\";/**\n * Impulse Detailing – \"Each Step, Explained\" section.\n * Self-contained. Drop it on the page once and set the 6 images in the\n * properties panel. No CMS, no Collection List. Images go through Framer's\n * CDN so the page stays lightweight.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 1100\n */const STEPS=[{tag:\"Clay Bar Decon\",heading:\"Removes what washing leaves behind\",body:\"Daily driving leaves tar, brake dust, and road fallout bonded to your paint that a normal wash can't touch. Clay pulls it all off so the surface is glass smooth, not just clean looking.\"},{tag:\"Iron Remover\",heading:\"Stops rust before it starts\",body:\"Every time you drive, brake dust fires hot iron particles into your paint and wheels that rust and stain over time. The decon rinse dissolves them chemically and turns purple as it works.\"},{tag:\"Paint Correction\",heading:\"Brings back the factory shine\",body:\"Automatic car washes drag dirty brushes across your paint and leave it covered in swirls and fine scratches. Correction polishes those out of the clear coat and brings back the deep, wet gloss it had new.\"},{tag:\"Ceramic Coating\",heading:\"A layer of glass over your paint\",body:\"Rain, dirt, and bird droppings slide right off instead of sticking and etching in, so the car stays cleaner and washes faster. It also blocks the sun's UV fading that dulls paint over years, not months.\"},{tag:\"Wax & Sealant\",heading:\"Gloss and short-term protection\",body:\"Adds shine and a few months of protection against rain and the elements. The entry level of protection, and an easy way to see how much further ceramic goes.\"},{tag:\"Steam & Extraction\",heading:\"Cleans deeper than a vacuum\",body:\"Spilled coffee, muddy shoes, and months of daily use grind grime and odors deep into your seats and carpet. Steam lifts it and extraction flushes out the stains and smells a vacuum leaves behind. Essential for leather.\"}];function Card({step,image,peek}){const[hovered,setHovered]=useState(false);const[pinned,setPinned]=useState(false);const open=hovered||pinned;const card={position:\"relative\",width:\"100%\",aspectRatio:\"4 / 5\",borderRadius:14,overflow:\"hidden\",background:\"#1c1c1c\",backgroundImage:image?`url(${image})`:undefined,backgroundSize:\"cover\",backgroundPosition:\"center\",display:\"flex\",alignItems:\"flex-end\",cursor:\"pointer\",WebkitTapHighlightColor:\"transparent\",transform:open?\"translateY(-4px)\":\"translateY(0)\",boxShadow:open?\"0 18px 40px rgba(0,0,0,.28)\":\"0 0 0 rgba(0,0,0,0)\",transition:\"box-shadow .4s ease, transform .4s ease\"};const scrim={position:\"absolute\",inset:0,background:open?\"linear-gradient(to top, rgba(10,10,10,.94) 0%, rgba(10,10,10,.7) 55%, rgba(10,10,10,.25) 100%)\":\"linear-gradient(to top, rgba(10,10,10,.92) 0%, rgba(10,10,10,.55) 38%, rgba(10,10,10,0) 72%)\",transition:\"background .4s ease\"};const plus={position:\"absolute\",top:14,right:14,zIndex:2,width:34,height:34,borderRadius:\"50%\",border:open?\"1.5px solid rgba(255,255,255,.9)\":\"1.5px solid rgba(255,255,255,.6)\",background:open?\"rgba(255,255,255,.18)\":\"rgba(10,10,10,.35)\",backdropFilter:\"blur(2px)\",WebkitBackdropFilter:\"blur(2px)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transform:open?\"rotate(135deg)\":\"rotate(0deg)\",transition:\"transform .42s cubic-bezier(.22,.61,.36,1), background .3s ease, border-color .3s ease\"};const barH={position:\"absolute\",width:13,height:1.6,background:\"#fff\",borderRadius:2};const barV={position:\"absolute\",width:1.6,height:13,background:\"#fff\",borderRadius:2};const bodyWrap={position:\"relative\",zIndex:1,width:\"100%\",padding:\"24px 22px 26px\",transform:open?\"translateY(0)\":`translateY(calc(100% - ${peek}px))`,transition:\"transform .42s cubic-bezier(.22,.61,.36,1)\"};const tagStyle={display:\"inline-block\",fontSize:10.5,letterSpacing:\".12em\",textTransform:\"uppercase\",color:\"#bdbdbd\",fontWeight:600,margin:\"0 0 8px\"};const headStyle={fontSize:20,lineHeight:1.2,letterSpacing:\"-.02em\",fontWeight:600,margin:0,color:\"#fff\"};const pStyle={fontSize:14.5,lineHeight:1.6,color:\"#d6d6d6\",margin:\"14px 0 0\",fontWeight:300,opacity:open?1:0,transition:\"opacity .35s ease .08s\"};return /*#__PURE__*/_jsxs(\"div\",{style:card,tabIndex:0,onMouseEnter:()=>setHovered(true),onMouseLeave:()=>setHovered(false),onClick:()=>setPinned(p=>!p),onKeyDown:e=>{if(e.key===\"Enter\"||e.key===\" \"){e.preventDefault();setPinned(p=>!p);}},children:[/*#__PURE__*/_jsx(\"div\",{style:scrim}),/*#__PURE__*/_jsxs(\"div\",{style:plus,\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"span\",{style:barH}),/*#__PURE__*/_jsx(\"span\",{style:barV})]}),/*#__PURE__*/_jsxs(\"div\",{style:bodyWrap,children:[/*#__PURE__*/_jsx(\"span\",{style:tagStyle,children:step.tag}),/*#__PURE__*/_jsx(\"h3\",{style:headStyle,children:step.heading}),/*#__PURE__*/_jsx(\"p\",{style:pStyle,children:step.body})]})]});}export default function ImpulseSteps(props){const{eyebrow,title,subtitle,hint,peek,img1,img2,img3,img4,img5,img6}=props;const images=[img1,img2,img3,img4,img5,img6];return /*#__PURE__*/_jsxs(\"section\",{style:{width:\"100%\",fontFamily:\"'Inter', sans-serif\",color:\"#0a0a0a\",WebkitFontSmoothing:\"antialiased\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');\n                @keyframes impTap{0%,100%{transform:translateY(0)}50%{transform:translateY(3px)}}\n            `}),/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:1100,margin:\"0 auto\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\",maxWidth:640,margin:\"0 auto 48px\"},children:[/*#__PURE__*/_jsx(\"p\",{style:{fontSize:12,letterSpacing:\".14em\",textTransform:\"uppercase\",color:\"#7a7a7a\",margin:\"0 0 14px\",fontWeight:500},children:eyebrow}),/*#__PURE__*/_jsx(\"h2\",{style:{fontSize:34,lineHeight:1.1,letterSpacing:\"-.03em\",fontWeight:500,margin:\"0 0 16px\"},children:title}),/*#__PURE__*/_jsx(\"p\",{style:{fontSize:16,lineHeight:1.6,color:\"#444\",margin:0},children:subtitle}),hint?/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:7,marginTop:14,fontSize:12.5,letterSpacing:\".04em\",color:\"#8a8a8a\"},children:[/*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:2,strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{width:14,height:14,animation:\"impTap 1.8s ease-in-out infinite\"},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M9 11V6a2 2 0 0 1 4 0v5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M13 7a2 2 0 0 1 4 0v4\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M17 9a2 2 0 0 1 4 0v5a7 7 0 0 1-7 7h-2a7 7 0 0 1-6-3l-2-3\"})]}),hint]}):null]}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gridTemplateColumns:\"repeat(auto-fit, minmax(300px, 1fr))\",gap:22},children:STEPS.map((s,i)=>/*#__PURE__*/_jsx(Card,{step:s,image:images[i],peek:peek},i))})]})]});}ImpulseSteps.defaultProps={eyebrow:\"The Impulse Difference\",title:\"Each Step, Explained\",subtitle:\"A quick look at the work behind each package, so you know exactly what you're getting.\",hint:\"Hover or tap any card to learn more\",peek:84,img1:\"\",img2:\"\",img3:\"\",img4:\"\",img5:\"\",img6:\"\"};addPropertyControls(ImpulseSteps,{eyebrow:{type:ControlType.String,title:\"Eyebrow\"},title:{type:ControlType.String,title:\"Title\"},subtitle:{type:ControlType.String,title:\"Subtitle\",displayTextArea:true},hint:{type:ControlType.String,title:\"Hint\"},peek:{type:ControlType.Number,title:\"Peek\",min:40,max:160,step:1,unit:\"px\"},img1:{type:ControlType.Image,title:\"1 \\xb7 Clay Bar\"},img2:{type:ControlType.Image,title:\"2 \\xb7 Iron Remover\"},img3:{type:ControlType.Image,title:\"3 \\xb7 Paint Correction\"},img4:{type:ControlType.Image,title:\"4 \\xb7 Ceramic Coating\"},img5:{type:ControlType.Image,title:\"5 \\xb7 Wax & Sealant\"},img6:{type:ControlType.Image,title:\"6 \\xb7 Steam & Extraction\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ImpulseSteps\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Detailingsteps.map"],"mappings":"iLASskD,SAAS,EAAK,CAAC,OAAK,QAAM,QAAM,CAAC,GAAK,CAAC,EAAQ,GAAYA,EAAS,GAAM,CAAM,CAAC,EAAO,GAAWA,EAAS,GAAM,CAAO,EAAK,GAAS,EAAa,EAAK,CAAC,SAAS,WAAW,MAAM,OAAO,YAAY,QAAQ,aAAa,GAAG,SAAS,SAAS,WAAW,UAAU,gBAAgB,EAAM,OAAO,EAAM,GAAG,IAAA,GAAU,eAAe,QAAQ,mBAAmB,SAAS,QAAQ,OAAO,WAAW,WAAW,OAAO,UAAU,wBAAwB,cAAc,UAAU,EAAK,mBAAmB,gBAAgB,UAAU,EAAK,8BAA8B,sBAAsB,WAAW,0CAA0C,CAAO,EAAM,CAAC,SAAS,WAAW,MAAM,EAAE,WAAW,EAAK,iGAAiG,+FAA+F,WAAW,sBAAsB,CAAO,EAAK,CAAC,SAAS,WAAW,IAAI,GAAG,MAAM,GAAG,OAAO,EAAE,MAAM,GAAG,OAAO,GAAG,aAAa,MAAM,OAAO,EAAK,mCAAmC,mCAAmC,WAAW,EAAK,wBAAwB,qBAAqB,eAAe,YAAY,qBAAqB,YAAY,QAAQ,OAAO,WAAW,SAAS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