/* =========================================================================
   Commercial EICR Cost – motion layer
   Theme: "energising the installation" – things trace, light up and get approved.
   Triggers: Elementor's own Entrance Animation (adds .animated) or the motion
   script's viewport observer (adds .cx-in). Every hidden state is scoped to
   html.cx-motion, which is only set when motion is allowed, so content is never
   hidden if the script is missing, in the Elementor editor, or with reduced motion.
   ========================================================================= */
:root{--cx-e:cubic-bezier(.22,1,.36,1);--cx-e2:cubic-bezier(.65,0,.35,1);--cx-tilt:10deg;--cx-rise:28px}
@media(max-width:767px){:root{--cx-tilt:4deg;--cx-rise:18px}}
@property --cxa{syntax:'<angle>';inherits:false;initial-value:0deg}

@keyframes cxFade{from{opacity:0}to{opacity:1}}
@keyframes cxRise{from{opacity:0;transform:translate3d(0,var(--cx-rise),0)}to{opacity:1;transform:none}}
@keyframes cxRise3d{from{opacity:0;transform:perspective(1100px) translate3d(0,40px,0) rotateX(var(--cx-tilt))}to{opacity:1;transform:none}}
@keyframes cxFromL{from{opacity:0;transform:translate3d(-36px,0,0)}to{opacity:1;transform:none}}
@keyframes cxFromR{from{opacity:0;transform:translate3d(36px,0,0)}to{opacity:1;transform:none}}
@keyframes cxPop{0%{opacity:0;transform:scale(.4)}70%{opacity:1;transform:scale(1.12)}100%{transform:none}}
@keyframes cxStamp{0%{opacity:0;transform:scale(1.7) rotate(-14deg)}55%{opacity:1;transform:scale(.92) rotate(-3deg)}100%{opacity:1;transform:none}}
@keyframes cxLine{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes cxWipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes cxIris{from{clip-path:circle(0% at 9% 50%)}to{clip-path:circle(150% at 9% 50%)}}
@keyframes cxImgIn{from{clip-path:inset(100% 0 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes cxTrace{0%{--cxa:0deg;opacity:0}12%{opacity:1}85%{opacity:1}100%{--cxa:360deg;opacity:0}}
@keyframes cxGlow{0%{box-shadow:0 0 0 0 rgba(201,242,105,.7)}100%{box-shadow:0 0 0 12px rgba(201,242,105,0)}}
@keyframes cxSheen{from{transform:translateX(-130%) skewX(-20deg)}to{transform:translateX(230%) skewX(-20deg)}}
@keyframes cxRing{0%{box-shadow:0 0 0 0 rgba(109,93,252,.55)}100%{box-shadow:0 0 0 14px rgba(109,93,252,0)}}
@keyframes cxZap{0%,100%{transform:none}25%{transform:rotate(-14deg) scale(1.08)}60%{transform:rotate(10deg)}}
@keyframes cxStars{from{background-position:100% 0}to{background-position:0 0}}
@keyframes cxBobIn{from{opacity:0;translate:-30px 16px}to{opacity:1;translate:0 0}}

/* ---------- 1. Split headings: word-by-word masked rise (H1, section H2s, post titles) ---------- */
.cx-motion .cx-w{display:inline-block;overflow:hidden;vertical-align:top;padding:0 .08em .14em 0;margin:0 -.08em -.14em 0}
.cx-motion .cx-wi{display:inline-block;transform:translate3d(0,112%,0);transition:transform .72s var(--cx-e) calc(var(--i,0) * 30ms + 30ms)}
.cx-motion .cx-ser .cx-wi{transform:translate3d(0,112%,0) rotate(7deg);transform-origin:0 100%;transition-duration:.82s}
.cx-motion .animated .cx-wi,.cx-motion .cx-in .cx-wi,.cx-motion .cx-in.cx-wi{transform:none}
.cx-motion .cx-split-host.animated{animation-name:cxFade!important;animation-duration:.25s!important}
/* hero H1: the italic word gets a drawn underline once the words have landed */
.cx-motion .cx-h1 .cx-ser{background:linear-gradient(90deg,rgba(109,93,252,.35),rgba(109,93,252,.35)) 0 92%/0% .07em no-repeat;transition:background-size 1.1s var(--cx-e2) 1.05s}
.cx-motion .cx-h1.animated .cx-ser,.cx-motion .cx-h1.cx-in .cx-ser{background-size:100% .07em}

/* ---------- 2. Header ---------- */
.cx-nav ul{position:relative}
.cx-nav-ind{position:absolute;top:0;left:0;height:100%;border-radius:999px;background:#fff;box-shadow:0 1px 2px rgba(20,21,26,.05),0 12px 32px -16px rgba(20,21,26,.18);opacity:0;pointer-events:none;z-index:0;transition:transform .5s var(--cx-e),width .5s var(--cx-e),opacity .3s}
.cx-nav-ind.on{opacity:1}
.cx-nav li{position:relative;z-index:1}
.cx-motion .cx-nav.cx-has-ind a.is-current,.cx-motion .cx-nav.cx-has-ind a.on{background:transparent!important;box-shadow:none!important}
.cx-logo i{transition:transform .8s var(--cx-e)}
.cx-logo:hover i{transform:rotateY(360deg)}
.cx-ann-t a{background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;text-decoration:none!important;transition:background-size .4s var(--cx-e)}
.cx-ann-t a{background-size:100% 1px}
.cx-ann-t a:hover{background-size:0 1px;background-position:100% 100%}

/* ---------- 3. Buttons: magnetic pull + light sheen (one shared behaviour for every CTA) ---------- */
.cx-btn .elementor-button,.cx-blog-grid .xpro-post-grid-btn,.cx-wpf button.wpforms-submit,.cx-xbtn{position:relative;overflow:hidden;transform:translate3d(var(--mx,0px),calc(var(--my,0px) + var(--ly,0px)),0)!important;transition:transform .35s var(--cx-e),box-shadow .3s,background-color .3s,color .3s,border-color .3s!important}
.cx-btn .elementor-button:hover,.cx-blog-grid .xpro-post-grid-btn:hover,.cx-wpf button.wpforms-submit:hover,.cx-xbtn:hover{--ly:-2px}
.cx-btn .elementor-button:active,.cx-blog-grid .xpro-post-grid-btn:active,.cx-wpf button.wpforms-submit:active,.cx-xbtn:active{--ly:1px}
.cx-btn .elementor-button::before,.cx-blog-grid .xpro-post-grid-btn::before,.cx-wpf button.wpforms-submit::before,.cx-xbtn-v::before{content:"";position:absolute;top:0;bottom:0;left:0;width:40%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent);transform:translateX(-130%) skewX(-20deg);pointer-events:none}
.cx-btn-o .elementor-button::before,.cx-btn-w .elementor-button::before{background:linear-gradient(90deg,transparent,rgba(109,93,252,.14),transparent)}
.cx-btn .elementor-button:hover::before,.cx-blog-grid .xpro-post-grid-btn:hover::before,.cx-wpf button.wpforms-submit:hover::before,.cx-xbtn-v:hover::before{animation:cxSheen .9s var(--cx-e)}
.cx-btn .elementor-button-content-wrapper{position:relative;z-index:1}

/* ---------- 4. Hero ---------- */
.cx-hero::before{content:"";position:absolute;width:640px;height:640px;left:0;top:0;margin:-320px 0 0 -320px;border-radius:50%;background:radial-gradient(circle,rgba(109,93,252,.13),transparent 65%);transform:translate3d(var(--gx,70vw),var(--gy,180px),0);pointer-events:none;z-index:0;opacity:0;transition:opacity .6s}
.cx-hero.cx-glow::before{opacity:1}
.cx-hero::after{transform:translate3d(0,calc(var(--sy,0) * .14px),0)}
.cx-motion .cx-pill.animated b{animation:cxGlow 1.4s var(--cx-e) .9s 2}
.cx-motion .cx-ctas.animated>.elementor-element{animation:cxRise .8s var(--cx-e) both}
.cx-motion .cx-ctas.animated>.elementor-element:nth-child(2){animation-delay:.12s}
.cx-motion .cx-trust.animated>.elementor-element,.cx-motion .cx-trust.animated .elementor-icon-list-item{animation:cxRise .7s var(--cx-e) both}
.cx-motion .cx-trust.animated .elementor-icon-list-item:nth-child(1){animation-delay:.12s}
.cx-motion .cx-trust.animated .elementor-icon-list-item:nth-child(2){animation-delay:.24s}
/* stars light up left to right */
.cx-motion .cx-stars,.cx-motion .cx-stars-h .elementor-heading-title{background:linear-gradient(90deg,#F5A524 50%,#E1DEEE 50%) 100% 0/200% 100% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent!important}
.cx-motion .animated .cx-stars,.cx-motion .cx-in .cx-stars,.cx-motion .cx-stars-h.cx-in .elementor-heading-title{animation:cxStars 1.1s var(--cx-e2) .35s both}
/* quick-estimate card rises in 3D, then a light traces its border once */
.cx-motion .cx-hero-r.animated{animation-name:cxFade!important}
.cx-motion .cx-hero-r.animated .cx-mini{animation:cxRise3d 1.2s var(--cx-e) .15s both;transform-origin:50% 100%}
.cx-mini::after{content:"";position:absolute;inset:-1px;border-radius:29px;padding:1.5px;background:conic-gradient(from var(--cxa),transparent 0 72%,#A79BFF 84%,#C9F269 90%,transparent 96%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;opacity:0}
.cx-motion .cx-hero-r.animated .cx-mini::after{animation:cxTrace 2.2s var(--cx-e2) 1.1s both}
.cx-motion .cx-hero-r.animated .cx-float{animation:cxBobIn .9s var(--cx-e) .75s both,cxBob 6s ease-in-out 1.7s infinite}
.cx-chip,.cx-seg button,.cx-step button,.cx-toggle button{transition:transform .2s var(--cx-e),background .25s,color .25s,border-color .25s,box-shadow .3s}
.cx-chip:active,.cx-seg button:active,.cx-step button:active{transform:scale(.95)}

/* ---------- 5. Marquee reacts to scroll speed (script sets --skew + playback rate) ---------- */
.cx-marq .cx-marq-w{transform:skewX(var(--skew,0deg));will-change:transform}

/* ---------- 6. Short answer: highlighter sweeps across the key figures ---------- */
.cx-motion .cx-ans-p b{background-size:0% 100%!important;background-repeat:no-repeat!important;transition:background-size 1s var(--cx-e2)}
.cx-motion .cx-ans-card.cx-in .cx-ans-p b{background-size:100% 100%!important}
.cx-motion .cx-ans-card .cx-ans-p b{transition-delay:.3s}
.cx-motion .cx-ans-card .cx-ans-p b:nth-of-type(2){transition-delay:.55s}
.cx-motion .cx-ans-card .cx-ans-p b:nth-of-type(3){transition-delay:.8s}
.cx-motion .cx-ans-card .cx-ans-p b:nth-of-type(4){transition-delay:1.05s}
.cx-motion .cx-ans-card.cx-in .cx-tag .elementor-heading-title{animation:cxStamp .7s var(--cx-e) .15s both}
.cx-motion .cx-ans-list li{opacity:0;transform:translate3d(-14px,0,0);transition:opacity .6s var(--cx-e),transform .6s var(--cx-e);transition-delay:calc(var(--i,0) * 90ms + 500ms)}
.cx-motion .cx-ans-card.cx-in .cx-ans-list li{opacity:1;transform:none}
.cx-fact-b em{display:inline-block;white-space:pre}
.cx-motion .cx-fact.cx-in .cx-fact-b em{animation:cxPop .7s var(--cx-e) .9s both}

/* ---------- 7. Pricing cards: rise in 3D, icon is drawn, ticks are checked off ---------- */
.cx-motion .cx-plan.animated.fadeInUp{animation-name:cxRise3d!important;transform-origin:50% 100%}
.cx-motion path.cx-draw{stroke-dasharray:var(--len);stroke-dashoffset:var(--len);transition:stroke-dashoffset .9s var(--cx-e2) calc(var(--i,0) * 120ms + 250ms)}
.cx-motion .cx-in path.cx-draw,.cx-motion .animated path.cx-draw{stroke-dashoffset:0}
@keyframes cxRedraw{from{stroke-dashoffset:var(--len)}to{stroke-dashoffset:0}}
.cx-plan:hover .cx-ico-box path.cx-draw{animation:cxRedraw .8s var(--cx-e2)}
.cx-ico-box .elementor-icon{transition:transform .5s var(--cx-e),background-color .3s}
.cx-plan:hover .cx-ico-box .elementor-icon{transform:translateY(-3px) rotate(-6deg)}
.cx-motion .cx-tick-list .elementor-icon-list-text{opacity:0;transition:opacity .6s var(--cx-e) calc(var(--i,0) * 120ms + 300ms)}
.cx-motion .cx-in .cx-tick-list .elementor-icon-list-text,.cx-motion .cx-tick-list.cx-in .elementor-icon-list-text{opacity:1}
.cx-badge .elementor-heading-title{position:relative;overflow:hidden}
.cx-badge .elementor-heading-title::after{content:"";position:absolute;top:0;bottom:0;width:40%;left:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.75),transparent);transform:translateX(-130%) skewX(-20deg)}
.cx-motion .pop.cx-in .cx-badge .elementor-heading-title::after{animation:cxSheen 1.2s var(--cx-e) 1s}
.cx-plan.pop:hover{box-shadow:0 0 0 1px rgba(167,155,255,.45),0 40px 80px -40px rgba(62,47,196,.7)!important}
.cx-price .elementor-heading-title{transition:color .3s}
/* pointer spotlight on cards (desktop) */
.cx-plan,.cx-case,.cx-rv{isolation:isolate}
.cx-plan::before,.cx-case::before,.cx-rv::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:radial-gradient(320px circle at var(--mx,50%) var(--my,0%),rgba(109,93,252,.10),transparent 60%);opacity:0;transition:opacity .4s;pointer-events:none}
.cx-plan.pop::before{background:radial-gradient(320px circle at var(--mx,50%) var(--my,0%),rgba(167,155,255,.18),transparent 60%)}
.cx-plan:hover::before,.cx-case:hover::before,.cx-rv:hover::before{opacity:1}

/* ---------- 8. Reviews ---------- */
.cx-motion .cx-rsum.animated>.elementor-element{animation:cxPop .6s var(--cx-e) both}
.cx-motion .cx-rsum.animated>.elementor-element:nth-child(2){animation-delay:.08s}
.cx-motion .cx-rsum.animated>.elementor-element:nth-child(3){animation-delay:.16s}
.cx-motion .cx-rsum.animated>.elementor-element:nth-child(4){animation-delay:.24s}
.cx-av .elementor-heading-title{transition:transform .5s var(--cx-e)}
.cx-rv:hover .cx-av .elementor-heading-title{transform:rotate(-10deg) scale(1.08)}

/* ---------- 9. Estimator: the two panels converge, the breakdown bar wipes in ---------- */
.cx-motion .cx-est-host.animated{animation-name:cxFade!important}
.cx-motion .cx-est-host.animated .cx-ctl{animation:cxFromL .9s var(--cx-e) both}
.cx-motion .cx-est-host.animated .cx-res{animation:cxFromR .9s var(--cx-e) .12s both}
.cx-motion .cx-est-host.animated .cx-stack{animation:cxWipe 1.1s var(--cx-e2) .7s both}
.cx-res-top .tot{transition:color .3s}

/* ---------- 10. Cost drivers: the serif numeral rises, the impact meter charges up ---------- */
.cx-motion .cx-dc .cx-num-ser .elementor-heading-title{clip-path:inset(100% 0 0 0);transition:clip-path .9s var(--cx-e2) .2s}
.cx-motion .cx-dc.animated .cx-num-ser .elementor-heading-title,.cx-motion .cx-dc.cx-in .cx-num-ser .elementor-heading-title{clip-path:inset(-10% -10% -20% -10%)}
.cx-num-ser .elementor-heading-title{transition:transform .5s var(--cx-e)}
.cx-dc:hover .cx-num-ser .elementor-heading-title{transform:translateX(6px)}
.cx-motion .cx-dots i.f{transform:scaleX(0);transform-origin:0 50%;transition:transform .45s var(--cx-e) calc(var(--i,0) * 110ms + 450ms)}
.cx-motion .cx-dc.cx-in .cx-dots i.f{transform:none}

/* ---------- 11. Save-money tiles switch on one after another (a lime circuit line draws) ---------- */
.cx-tip{position:relative}
.cx-tip::before{content:"";position:absolute;left:30px;right:30px;top:0;height:2px;background:linear-gradient(90deg,#C9F269,rgba(201,242,105,0));transform:scaleX(0);transform-origin:0 50%;transition:transform 1s var(--cx-e2) calc(var(--i,0) * 130ms + 300ms)}
.cx-tips.cx-in .cx-tip::before{transform:none}
.cx-motion .cx-tip .cx-sv{opacity:0;transform:translate3d(0,8px,0);transition:opacity .5s var(--cx-e) calc(var(--i,0) * 130ms + 450ms),transform .5s var(--cx-e) calc(var(--i,0) * 130ms + 450ms)}
.cx-motion .cx-tips.cx-in .cx-tip .cx-sv{opacity:1;transform:none}
.cx-sv .elementor-heading-title{transition:transform .4s var(--cx-e)}
.cx-tip:hover .cx-sv .elementor-heading-title{transform:translateX(4px)}

/* ---------- 12. Compare table: rows deal in, ticks pop, crosses fade ---------- */
.cx-motion .cx-cmp-w tbody tr{opacity:0;transform:translate3d(0,10px,0);transition:opacity .55s var(--cx-e) calc(var(--i,0) * 80ms + 200ms),transform .55s var(--cx-e) calc(var(--i,0) * 80ms + 200ms)}
.cx-motion .cx-cmp-w.cx-in tbody tr{opacity:1;transform:none}
.cx-y{display:inline-block}
.cx-motion .cx-cmp-w.cx-in .cx-y{animation:cxPop .5s var(--cx-e) both;animation-delay:calc(var(--i,0) * 80ms + 450ms)}
.cx-cmp tbody tr td{transition:background-color .25s}
.cx-cmp tbody tr:hover td{background-color:#FAF9FF!important}

/* ---------- 13. Extra costs ---------- */
.cx-motion .cx-xbox .cx-xl li{opacity:0;transform:translate3d(-12px,0,0);transition:opacity .5s var(--cx-e) calc(var(--i,0) * 70ms + 250ms),transform .5s var(--cx-e) calc(var(--i,0) * 70ms + 250ms)}
.cx-motion .cx-xbox.cx-in .cx-xl li{opacity:1;transform:none}
.cx-xh i{transition:background-color .3s}
.cx-xbox:hover .cx-xh i{animation:cxZap .6s var(--cx-e)}

/* ---------- 14. Cost per year: bars charge, the yearly figure lands after ---------- */
.cx-motion .cx-yrow .cx-py{opacity:0;transform:translate3d(10px,0,0);transition:opacity .6s var(--cx-e) .9s,transform .6s var(--cx-e) .9s}
.cx-motion .cx-yrow.animated .cx-py{opacity:1;transform:none}

/* ---------- 15. Case studies: "Invoice = quote" is stamped ---------- */
.cx-motion .cx-case.cx-in .cx-okpill .elementor-heading-title{animation:cxStamp .75s var(--cx-e) .6s both}
.cx-case>.e-con:first-child{background-size:180% 180%!important;transition:background-position .8s var(--cx-e)}
.cx-case:hover>.e-con:first-child{background-position:100% 100%!important}

/* ---------- 16. Guarantee band opens like an iris from the seal ---------- */
.cx-motion .cx-guar.animated{animation-name:cxBandIn!important;animation-duration:.95s!important;animation-timing-function:var(--cx-e)!important}
@keyframes cxBandIn{from{opacity:0;transform:translate3d(0,32px,0) scale(.975)}to{opacity:1;transform:none}}
.cx-guar::before{transform:translate3d(calc(var(--gs,0) * -.06px),0,0)}
.cx-seal-ring svg{transition:animation-duration .3s}
.cx-guar:hover .cx-seal-ring svg{animation-duration:8s}

/* ---------- 17. Process: steps light up in order, connectors draw between them ---------- */
.cx-ps::after{transform-origin:0 50%}
.cx-motion .cx-ps::after{transform:scaleX(0)}
.cx-motion .cx-ps.animated::after{animation:cxLine .5s var(--cx-e) .55s both}
.cx-motion .cx-ps.animated .cx-stepn .elementor-heading-title{animation:cxPop .6s var(--cx-e) .25s both}

/* ---------- 18. FAQ ---------- */
.cx-motion .cx-faqs.animated .elementor-toggle-item{animation:cxRise .7s var(--cx-e) both;animation-delay:calc(var(--i,0) * 45ms)}
.cx-faqs .elementor-tab-title{transition:padding-left .35s var(--cx-e)}
.cx-faqs .elementor-tab-title:hover .elementor-toggle-icon{background:#EEEBFF}
.cx-help{position:relative;overflow:hidden}
.cx-help::after{content:"";position:absolute;top:0;bottom:0;width:45%;left:0;background:linear-gradient(90deg,transparent,rgba(167,155,255,.16),transparent);transform:translateX(-130%) skewX(-20deg);pointer-events:none}
.cx-motion .cx-help.animated::after{animation:cxSheen 1.6s var(--cx-e) .6s}

/* ---------- 19. Quote section ---------- */
.cx-motion .cx-q-list .elementor-icon-list-text{opacity:0;transition:opacity .5s var(--cx-e) calc(var(--i,0) * 140ms + 350ms)}
.cx-motion .cx-q-list.cx-in .elementor-icon-list-text{opacity:1}
.cx-motion .cx-qt{opacity:0;transform:translate3d(0,14px,0);transition:opacity .6s var(--cx-e) calc(var(--i,0) * 90ms + 150ms),transform .6s var(--cx-e) calc(var(--i,0) * 90ms + 150ms)}
.cx-motion .cx-in .cx-qt{opacity:1;transform:none}
.cx-qtel:hover i{animation:cxRing 1s var(--cx-e) infinite}
.cx-motion .cx-form.animated.fadeInUp{animation-name:cxRise3d!important;transform-origin:50% 100%}
.cx-wpf .wpforms-field-label{transition:color .25s}
.cx-wpf .wpforms-field:focus-within .wpforms-field-label{color:#6D5DFC!important}

/* ---------- 20. Contact info cards ---------- */
.cx-info{transition:transform .5s var(--cx-e),border-color .3s,box-shadow .5s}
.cx-info:hover{transform:translateY(-4px);border-color:#DCD6FF!important;box-shadow:0 2px 4px rgba(20,21,26,.04),0 40px 80px -40px rgba(62,47,196,.45)}

/* ---------- 21. Blog cards: image uncovers upward, title underline draws on hover ---------- */
.cx-motion .cx-blog-grid .cbp-item .cbp-item-wrapper{opacity:0;transform:translate3d(0,30px,0);transition:opacity .8s var(--cx-e) calc(var(--i,0) * 110ms),transform .8s var(--cx-e) calc(var(--i,0) * 110ms),box-shadow .5s,border-color .3s}
.cx-motion .cx-blog-grid .cbp-item.cx-in .cbp-item-wrapper{opacity:1;transform:none}
.cx-motion .cx-blog-grid .cbp-item:hover .cbp-item-wrapper{transform:translateY(-6px);transition-delay:0s}
.cx-motion .cx-blog-grid .cbp-item .xpro-post-grid-image{clip-path:inset(100% 0 0 0);transition:clip-path 1s var(--cx-e2) calc(var(--i,0) * 110ms + 150ms)}
.cx-motion .cx-blog-grid .cbp-item.cx-in .xpro-post-grid-image{clip-path:inset(0 0 0 0)}
.cx-blog-grid .xpro-post-grid-title{background:linear-gradient(#6D5DFC,#6D5DFC) 0 100%/0 2px no-repeat;display:inline;transition:background-size .5s var(--cx-e),color .3s}
.cx-blog-grid .cbp-item:hover .xpro-post-grid-title{background-size:100% 2px}
.cx-blog-grid .xpro-post-grid-content>a{display:block;margin-bottom:10px}

/* ---------- 22. Single post: featured image settles with depth as you scroll ---------- */
.cx-post-img .elementor-widget-container,.cx-post-img{overflow:hidden;border-radius:24px}
.cx-post-img img{transform:translate3d(0,var(--py,0px),0) scale(1.06);transition:transform .2s linear}
.cx-back .elementor-heading-title a{display:inline-block;transition:transform .35s var(--cx-e)}
.cx-back:hover .elementor-heading-title a{transform:translateX(-4px)}

/* ---------- 23. Footer: links underline from the left ---------- */
.cx-flist .elementor-icon-list-text{background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .4s var(--cx-e),color .25s}
.cx-flist a:hover .elementor-icon-list-text{background-size:100% 1px}
.cx-motion .cx-foot .cx-flist .elementor-icon-list-item{opacity:0;transform:translate3d(0,10px,0);transition:opacity .6s var(--cx-e) calc(var(--i,0) * 60ms),transform .6s var(--cx-e) calc(var(--i,0) * 60ms)}
.cx-motion .cx-foot .cx-flist.cx-in .elementor-icon-list-item{opacity:1;transform:none}
.cx-accb .elementor-heading-title{transition:border-color .3s,color .3s}
.cx-accb:hover .elementor-heading-title{border-color:#C9F269;color:#fff}

/* ---------- 24. Hero depth: copy drifts up and softens as the page scrolls away (desktop) ---------- */
@media(min-width:1025px){
  .cx-hero:not(.cx-post)>.e-con-inner>.e-con:first-child{transform:translate3d(0,calc(var(--sy,0) * -.09px),0);opacity:calc(1 - var(--sy,0) / 1100);will-change:transform}
}

/* ---------- 25. Card edge light: a violet rim follows the pointer around the card ---------- */
.cx-plan::after,.cx-case::after,.cx-rv::after,.cx-info::after,.cx-blog-grid .cbp-item-wrapper::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.5px;background:radial-gradient(240px circle at var(--mx,50%) var(--my,0%),rgba(124,108,255,.9),rgba(124,108,255,0) 62%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:0;transition:opacity .4s var(--cx-e);pointer-events:none;z-index:3}
.cx-plan:hover::after,.cx-case:hover::after,.cx-rv:hover::after,.cx-info:hover::after,.cx-blog-grid .cbp-item:hover .cbp-item-wrapper::after{opacity:1}
.cx-plan.pop::after{background:radial-gradient(240px circle at var(--mx,50%) var(--my,0%),rgba(201,242,105,.85),rgba(201,242,105,0) 62%)}
.cx-info,.cx-blog-grid .cbp-item-wrapper{position:relative}

/* ---------- 26. Blog cards tilt gently toward the pointer (desktop) ---------- */
@media (hover:hover) and (pointer:fine){
  .cx-motion .cx-blog-grid .cbp-item.cx-in .cbp-item-wrapper{transform:perspective(1000px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg))}
  .cx-motion .cx-blog-grid .cbp-item.cx-in:hover .cbp-item-wrapper{transform:perspective(1000px) translate3d(0,-6px,0) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .25s var(--cx-e),box-shadow .5s,border-color .3s,opacity .8s}
}

/* ---------- 27. Footer: brand and columns rise in, the wordmark is set letter by letter ---------- */
.cx-motion .cx-fbrand>*{opacity:0;transform:translate3d(0,16px,0);transition:opacity .8s var(--cx-e),transform .8s var(--cx-e)}
.cx-motion .cx-fbrand.cx-in>*{opacity:1;transform:none}
.cx-motion .cx-fbrand>*:nth-child(2){transition-delay:.08s}.cx-motion .cx-fbrand>*:nth-child(3){transition-delay:.16s}.cx-motion .cx-fbrand>*:nth-child(4){transition-delay:.24s}
.cx-motion .cx-fcols .cx-fh{opacity:0;transform:translate3d(0,10px,0);transition:opacity .7s var(--cx-e),transform .7s var(--cx-e)}
.cx-motion .cx-fcols.cx-in .cx-fh{opacity:1;transform:none}
.cx-cw{display:inline-block;white-space:nowrap;margin-right:.24em}
.cx-cw:last-child{margin-right:0}
.cx-motion .cx-ch{display:inline-block;opacity:0;transform:translate3d(0,55%,0) rotate(4deg);transition:opacity .9s var(--cx-e) calc(var(--i,0) * 32ms),transform 1.1s var(--cx-e) calc(var(--i,0) * 32ms)}
.cx-motion .cx-fmark.cx-in .cx-ch{opacity:1;transform:none}
.cx-fmark .cx-ch{transition:color .4s}

/* ---------- Touch devices: no hover-dependent motion is required to use anything ---------- */
@media (hover:none){.cx-hero::before,.cx-plan::before,.cx-case::before,.cx-rv::before{display:none}}

/* ---------- Reduced motion: show everything, keep only colour/opacity feedback ---------- */
@media (prefers-reduced-motion:reduce){
  .cx-hero::before{display:none}
  .cx-hero::after,.cx-post-img img,.cx-marq-t,.cx-marq .cx-marq-w{transform:none!important}
  .cx-hero:not(.cx-post)>.e-con-inner>.e-con:first-child{transform:none!important;opacity:1!important}
  .cx-btn .elementor-button,.cx-blog-grid .xpro-post-grid-btn,.cx-wpf button.wpforms-submit,.cx-xbtn{transform:none!important}
}

/* keep the blog "Read more" arrow bubble */
.cx-blog-grid .xpro-post-grid-btn{display:inline-flex!important;align-items:center;gap:10px}
.cx-blog-grid .xpro-post-grid-btn::after{display:inline-block;flex-shrink:0}

/* ---------- 28. Prices count up when their card comes into view ---------- */
.cx-counting{font-variant-numeric:tabular-nums}

/* ---------- 29. Hero entrance in pure CSS: starts on first paint (no wait for page scripts) ---------- */
@keyframes cxHeroIn{from{opacity:0;transform:translate3d(0,24px,0)}to{opacity:1;transform:none}}
.cx-motion #cx-top .cx-pill,.cx-motion #cx-top .cx-lede,.cx-motion #cx-top .cx-ctas,.cx-motion #cx-top .cx-trust{animation:cxHeroIn .9s cubic-bezier(.22,1,.36,1) both}
.cx-motion #cx-top .cx-lede{animation-delay:.16s}
.cx-motion #cx-top .cx-ctas{animation-delay:.24s}
.cx-motion #cx-top .cx-trust{animation-delay:.32s}
.cx-motion #cx-top .cx-hero-r{animation:cxFade .45s ease .12s both}
.cx-motion #cx-top .cx-h1:not(.cx-split-host){opacity:0}
