/* HA service animations — SVG scenes, 796x460 viewBox */
body .ha-svc-anim{--flex-shrink:0;flex-shrink:0;width:398px;max-width:100%}
body .ha-svc-anim .elementor-shortcode{line-height:0}
.ha-anim-wrap{width:100%;aspect-ratio:398/230;border-radius:20px;overflow:hidden;background:#1d1b1e;line-height:0}
.ha-anim{display:block;width:100%;height:100%}
.ha-anim .t-ph{font-family:Phudu,"Arial Narrow",sans-serif;font-weight:700}
.ha-anim .t-is{font-family:"Instrument Sans",system-ui,sans-serif}
.ha-anim *{transform-box:fill-box;transform-origin:center}
@media (max-width:1024px){body .ha-svc-anim{width:300px}}
@media (max-width:767px){body .ha-svc-anim{width:100%}.ha-anim-wrap{border-radius:16px}}

/* pause when off-screen (set by JS) */
.ha-anim-wrap.is-off .ha-anim *{animation-play-state:paused!important}

/* shared */
.ha-anim .s-float{animation:ha-float 4s ease-in-out infinite alternate}
@keyframes ha-float{from{transform:translateY(0)}to{transform:translateY(-8px)}}

/* 01 build sequence */
.ha-anim--1 .bk{animation:s1-build 9s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes s1-build{0%,3%{opacity:0;transform:translateY(10px) scale(.97)}12%,86%{opacity:1;transform:none}94%,100%{opacity:0;transform:translateY(-4px)}}
.ha-anim--1 .s1-phone{animation:s1-phone 9s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes s1-phone{0%,14%{opacity:0;transform:translateX(24px)}24%,86%{opacity:1;transform:none}94%,100%{opacity:0}}
.ha-anim--1 .s1-cursor{transform-box:view-box;transform-origin:0 0;animation:s1-cursor 9s cubic-bezier(.45,0,.2,1) infinite both}
@keyframes s1-cursor{0%{transform:translate(250px,330px);opacity:0}6%{opacity:1}14%{transform:translate(420px,214px)}18%{transform:translate(420px,214px) scale(.9)}22%{transform:translate(420px,214px)}34%{transform:translate(600px,280px)}42%,100%{transform:translate(600px,280px);opacity:0}}
.ha-anim--1 .s1-cy{opacity:0;animation:s1-cycle 10s ease infinite both}
@keyframes s1-cycle{0%{opacity:0;transform:translateY(6px)}3%,17%{opacity:1;transform:none}20%,100%{opacity:0;transform:translateY(-6px)}}

/* 02 add to cart → pay → approved */
.ha-anim--2 .s2-fly{transform-box:view-box;transform-origin:298px 246px;animation:s2-fly 7s cubic-bezier(.5,0,.3,1) infinite both}
@keyframes s2-fly{0%,10%{opacity:0;transform:none}12%{opacity:1;transform:none}30%{opacity:1;transform:translate(390px,-200px) scale(.5)}32%,100%{opacity:0;transform:translate(390px,-200px) scale(.3)}}
.ha-anim--2 .s2-press{animation:s2-press 7s ease infinite both}
@keyframes s2-press{0%,8%{transform:none}10%{transform:scale(.85)}13%,100%{transform:none}}
.ha-anim--2 .s2-cart{animation:s2-bump 7s ease infinite both}
@keyframes s2-bump{0%,30%{transform:none}33%{transform:scale(1.12)}37%,100%{transform:none}}
.ha-anim--2 .s2-n2{animation:s2-n2 7s steps(1) infinite both}
.ha-anim--2 .s2-n3{animation:s2-n3 7s steps(1) infinite both}
@keyframes s2-n2{0%,31%{opacity:1}32%,100%{opacity:0}}
@keyframes s2-n3{0%,31%{opacity:0}32%,100%{opacity:1}}
.ha-anim--2 .s2-pay{animation:s2-pay 7s ease infinite both}
@keyframes s2-pay{0%,46%{transform:none;filter:none}50%{transform:scale(.97)}54%{transform:scale(1.02);filter:brightness(1.08)}58%,100%{transform:none;filter:none}}
.ha-anim--2 .s2-ok{animation:s2-ok 7s cubic-bezier(.2,.9,.3,1.3) infinite both}
@keyframes s2-ok{0%,56%{opacity:0;transform:translateY(10px) scale(.9)}62%,92%{opacity:1;transform:none}98%,100%{opacity:0}}

/* 03 data flow */
.ha-anim--3 .s3-line path{animation:s3-flow 1.4s linear infinite}
@keyframes s3-flow{to{stroke-dashoffset:-56}}
.ha-anim--3 .s3-pk{transform-box:view-box;transform-origin:398px 230px;animation:s3-pk 2.4s cubic-bezier(.45,0,.55,1) infinite both}
@keyframes s3-pk{0%{opacity:0;transform:none}10%{opacity:1}80%{opacity:1;transform:translate(var(--tx),var(--ty))}90%,100%{opacity:0;transform:translate(var(--tx),var(--ty))}}
.ha-anim--3 .s3-ring{animation:s3-ring 2.4s ease-out infinite}
@keyframes s3-ring{0%{opacity:.6;transform:scale(.8)}100%{opacity:0;transform:scale(1.35)}}

/* 04 migration */
.ha-anim--4 .s4-ch{animation:s4-ch 1.2s ease-in-out infinite both}
@keyframes s4-ch{0%,100%{opacity:.2}50%{opacity:1}}
.ha-anim--4 .s4-out{animation:s4-out 8s ease infinite both}
@keyframes s4-out{0%,6%{opacity:1;transform:none}20%,90%{opacity:.25;transform:translateX(14px)}100%{opacity:1;transform:none}}
.ha-anim--4 .s4-pop{animation:s4-pop 8s cubic-bezier(.2,.9,.3,1.3) infinite both}
@keyframes s4-pop{0%{opacity:0;transform:scale(.6)}6%,88%{opacity:1;transform:none}95%,100%{opacity:0;transform:scale(.9)}}
.ha-anim--4 .s4-bar{transform-origin:left center;animation:s4-bar 8s cubic-bezier(.4,0,.2,1) infinite both}
@keyframes s4-bar{0%,8%{transform:scaleX(0)}50%,90%{transform:scaleX(1)}100%{transform:scaleX(0)}}
.ha-anim--4 .s4-done{animation:s4-done 8s ease infinite both}
@keyframes s4-done{0%,52%{opacity:0;transform:scale(.8)}58%,88%{opacity:1;transform:none}95%,100%{opacity:0}}

/* 05 speed scores */
.ha-anim--5 .s5-ring{transform-box:view-box;stroke-dashoffset:calc(var(--off) * 1px);animation:s5-ring 8s cubic-bezier(.3,0,.2,1) infinite both}
@keyframes s5-ring{0%,4%{stroke-dashoffset:213.6px}30%,90%{stroke-dashoffset:calc(var(--off) * 1px)}100%{stroke-dashoffset:213.6px}}
.ha-anim--5 .s5-num{animation:s5-num 8s ease infinite both}
@keyframes s5-num{0%{opacity:0;transform:scale(.7)}8%,88%{opacity:1;transform:none}96%,100%{opacity:0}}
.ha-anim--5 .s5-line{stroke-dasharray:420;animation:s5-line 8s cubic-bezier(.4,0,.2,1) infinite both}
@keyframes s5-line{0%,10%{stroke-dashoffset:420}45%,90%{stroke-dashoffset:0}100%{stroke-dashoffset:420}}
.ha-anim--5 .s5-pop{animation:s4-pop 8s cubic-bezier(.2,.9,.3,1.3) infinite both}

/* reduced motion: show the finished state, no movement */
@media (prefers-reduced-motion:reduce){
	.ha-anim *{animation:none!important}
	.ha-anim .s1-cursor,.ha-anim .s2-fly,.ha-anim .s3-pk,.ha-anim .s3-ring,.ha-anim .s2-n2{opacity:0}
	.ha-anim .s1-cy{opacity:0}.ha-anim .s1-cy:last-child{opacity:1}
}

/* service detail pages: animated graphic in place of the image */
body .ha-sd-anim{width:100%}
body .ha-sd-anim .ha-anim-wrap{border-radius:24px}

/* ---------- Services mega menu: list + animated preview ---------- */
@media (min-width:1025px){
	body .ha-nav .elementor-nav-menu--main .ha-mm>.sub-menu{grid-template-columns:400px minmax(0,1fr)!important;grid-auto-rows:auto;column-gap:22px!important;row-gap:4px!important;padding:18px!important;align-items:stretch}
	body .ha-nav .elementor-nav-menu--main .ha-mm>.sub-menu>li{grid-column:1}
	body .ha-nav .elementor-nav-menu--main .ha-mm .sub-menu .elementor-sub-item{padding:10px 14px!important;grid-template-columns:40px 1fr!important;border-radius:14px}
	body .ha-nav .elementor-nav-menu--main .ha-mm .sub-menu .elementor-sub-item::before{width:40px;height:40px;border-radius:11px;background-size:20px 20px}
	body .ha-nav .elementor-nav-menu--main .ha-mm .sub-menu li.is-current>.elementor-sub-item{background:var(--ha-light);box-shadow:inset 3px 0 0 var(--ha-accent)}
	body .ha-nav .elementor-nav-menu--main .ha-mm .sub-menu li.is-current .ha-mm-t{color:var(--ha-accent-ink)}
	body .ha-nav .elementor-nav-menu--main .ha-mm-t{font-size:15px}
	body .ha-nav .elementor-nav-menu--main .ha-mm-d{font-size:13px}
	body .ha-nav .elementor-nav-menu--main .ha-mm-all{margin-top:4px;border-top:1px solid #ECEDF0;padding-top:6px}
	/* preview */
	body .ha-nav .elementor-nav-menu--main .ha-mm>.sub-menu>li.ha-mm-preview{grid-column:2;grid-row:1/span 6;display:flex}
	.ha-mm-stage{display:block;width:100%;align-self:stretch;border-radius:18px;overflow:hidden;background:#F6F7F9;position:relative;padding:0!important}
	.ha-mm-stage .ha-mm-scene{display:none;height:100%}
	.ha-mm-stage .ha-mm-scene.is-active{display:block;animation:ha-mm-fade .35s ease}
	.ha-mm-stage .ha-anim-wrap{height:100%;aspect-ratio:auto;border-radius:0}
	.ha-mm-stage .ha-anim{height:100%;width:100%;object-fit:cover}
	@keyframes ha-mm-fade{from{opacity:0}to{opacity:1}}
	/* project CTA: compact strip under the preview */
	body .ha-nav .elementor-nav-menu--main .ha-mm>.sub-menu>li.ha-mm-cta{grid-column:2!important;grid-row:7!important}
	body .ha-nav .elementor-nav-menu--main .ha-mm .sub-menu .ha-mm-cta>a{flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:14px 16px 14px 20px!important;border-radius:14px!important;min-height:0!important}
	body .ha-nav .elementor-nav-menu--main .ha-mm-cta .ha-mm-t{font-size:18px!important}
	body .ha-nav .elementor-nav-menu--main .ha-mm-cta .ha-mm-d{display:none}
	body .ha-nav .elementor-nav-menu--main .ha-mm-cta>a::after{margin-top:0!important;height:38px!important;flex:none}
	body .ha-nav .elementor-nav-menu--main .ha-mm>.sub-menu>li.ha-mm-all{grid-row:6}
}
@media (min-width:1025px) and (max-width:1199px){
	body .ha-nav .elementor-nav-menu--main .ha-mm>.sub-menu{grid-template-columns:340px minmax(0,1fr)!important}
}
/* icons for the new service items */
body .ha-nav .elementor-nav-menu--main .ha-mm-plug>a::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D63F1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7V3M15 7V3M7 7h10v4a5 5 0 0 1-10 0V7zM12 16v5'/%3E%3C/svg%3E")}
body .ha-nav .elementor-nav-menu--main .ha-mm-mig>a::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D63F1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h12M12 3l4 4-4 4M20 17H8M12 13l-4 4 4 4'/%3E%3C/svg%3E")}
/* mobile dropdown: no preview */
.ha-nav nav.elementor-nav-menu--dropdown .ha-mm-preview{display:none}
body .ha-nav .elementor-nav-menu--main .ha-mm .sub-menu .ha-mm-plug>.elementor-sub-item::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D63F1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7V3M15 7V3M7 7h10v4a5 5 0 0 1-10 0V7zM12 16v5'/%3E%3C/svg%3E")!important}
body .ha-nav .elementor-nav-menu--main .ha-mm .sub-menu .ha-mm-mig>.elementor-sub-item::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D63F1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h12M12 3l4 4-4 4M20 17H8M12 13l-4 4 4 4'/%3E%3C/svg%3E")!important}
@media (min-width:1025px){
	body .ha-nav .elementor-nav-menu--main .ha-mm>.sub-menu>li.ha-mm-preview{align-items:flex-start}
	.ha-mm-stage{aspect-ratio:796/460;height:auto;align-self:flex-start}
	.ha-mm-stage .ha-mm-scene,.ha-mm-stage .ha-anim-wrap{height:100%}
	body .ha-nav .elementor-nav-menu--main .ha-mm>.sub-menu>li.ha-mm-cta{align-self:end}
}
@media (min-width:1025px){
	body .ha-nav .elementor-nav-menu--main .ha-mm>.sub-menu>li.ha-mm-preview{grid-row:1/span 5!important}
	body .ha-nav .elementor-nav-menu--main .ha-mm>.sub-menu>li.ha-mm-cta{grid-row:6!important;align-self:stretch}
	body .ha-nav .elementor-nav-menu--main .ha-mm .sub-menu .ha-mm-cta>a{height:100%}
}

/* ---------- Services mega menu: minimal style ---------- */
@media (min-width:1025px){
	body .ha-nav .elementor-nav-menu--main .ha-mm>.sub-menu{padding:22px 24px!important;column-gap:28px!important;row-gap:0!important;border-radius:18px!important}
	/* plain rows: no icon tiles, no tinted or rounded highlight, no side border */
	body .ha-nav .elementor-nav-menu--main .ha-mm .sub-menu .elementor-sub-item{grid-template-columns:1fr!important;padding:13px 2px!important;border-radius:0!important;background:none!important;box-shadow:none!important;border-bottom:1px solid #EEF0F2;transition:border-color .2s ease}
	body .ha-nav .elementor-nav-menu--main .ha-mm .sub-menu .elementor-sub-item::before{display:none!important}
	body .ha-nav .elementor-nav-menu--main .ha-mm .sub-menu .elementor-sub-item:hover,
	body .ha-nav .elementor-nav-menu--main .ha-mm .sub-menu .elementor-sub-item:focus-visible{background:none!important}
	/* selected service: accent bottom border only */
	body .ha-nav .elementor-nav-menu--main .ha-mm .sub-menu li.is-current>.elementor-sub-item{background:none!important;box-shadow:none!important;border-bottom:2px solid var(--ha-accent);padding-bottom:12px!important}
	body .ha-nav .elementor-nav-menu--main .ha-mm .sub-menu li.is-current .ha-mm-t{color:var(--ha-accent-ink)}
	body .ha-nav .elementor-nav-menu--main .ha-mm-t{font:600 15px/1.3 var(--ha-is)!important}
	body .ha-nav .elementor-nav-menu--main .ha-mm-d{font:400 13px/1.45 var(--ha-is)!important;color:#6B6E73!important;margin-top:2px}
	body .ha-nav .elementor-nav-menu--main .ha-mm .sub-menu .elementor-sub-item:focus-visible{outline:none!important;border-bottom:2px solid var(--ha-accent-ink)}
	/* view all: simple text link */
	body .ha-nav .elementor-nav-menu--main .ha-mm>.sub-menu>li.ha-mm-all{margin-top:0;border-top:0;padding-top:0}
	body .ha-nav .elementor-nav-menu--main .ha-mm .sub-menu .ha-mm-all>.elementor-sub-item{border-bottom:0!important;padding-top:16px!important}
	body .ha-nav .elementor-nav-menu--main .ha-mm-all .ha-mm-d{display:none}
	body .ha-nav .elementor-nav-menu--main .ha-mm-all .ha-mm-t::after{content:" →"}
	/* preview: flat, subtle */
	.ha-mm-stage{border-radius:12px!important;background:#F6F7F9}
	/* project CTA: one quiet line under the preview */
	body .ha-nav .elementor-nav-menu--main .ha-mm .sub-menu .ha-mm-cta>a{background:none!important;padding:14px 2px 0!important;border-radius:0!important;justify-content:space-between!important}
	body .ha-nav .elementor-nav-menu--main .ha-mm-cta .ha-mm-t{font:500 15px/1.3 var(--ha-is)!important;text-transform:none!important;color:var(--ha-dark)!important}
	body .ha-nav .elementor-nav-menu--main .ha-mm-cta>a::after{background:none!important;color:var(--ha-accent-ink)!important;height:auto!important;padding:0!important;border-radius:0!important;border-bottom:2px solid currentColor;font:600 14px/1.4 var(--ha-is)!important}
	body .ha-nav .elementor-nav-menu--main .ha-mm .sub-menu .ha-mm-cta>a:hover::after{color:var(--ha-accent)!important}
}
.ha-mm-stage .ha-anim-wrap{background:transparent!important}
.ha-mm-stage .ha-anim{display:block}

/* scenes 06–08 */
.ha-anim .pk{transform-box:view-box;animation:ha-pk 2.4s cubic-bezier(.45,0,.55,1) infinite both}
@keyframes ha-pk{0%{opacity:0;transform:none}10%{opacity:1}80%{opacity:1;transform:translate(var(--tx),var(--ty))}90%,100%{opacity:0;transform:translate(var(--tx),var(--ty))}}
.ha-anim .s3-line path{animation:s3-flow 1.4s linear infinite}
.ha-anim--6 .bk,.ha-anim--6 .bk{animation:s1-build 9s cubic-bezier(.2,.8,.2,1) infinite both}
.ha-anim .s6-spin{transform-box:view-box;animation:s6-spin 9s linear infinite}
@keyframes s6-spin{to{transform:rotate(360deg)}}
.ha-anim--7 .s5-line{stroke-dasharray:420;animation:s5-line 8s cubic-bezier(.4,0,.2,1) infinite both}
.ha-anim--7 .s5-pop,.ha-anim--8 .s5-pop{animation:s4-pop 8s cubic-bezier(.2,.9,.3,1.3) infinite both}
.ha-anim--7 .s7-me{animation:s7-me 8s cubic-bezier(.5,0,.2,1) infinite both}
.ha-anim--7 .s7-a{animation:s7-down 8s cubic-bezier(.5,0,.2,1) infinite both}
.ha-anim--7 .s7-b{animation:s7-down 8s cubic-bezier(.5,0,.2,1) infinite both}
@keyframes s7-me{0%,18%{transform:none}38%,90%{transform:translateY(-140px)}100%{transform:none}}
@keyframes s7-down{0%,18%{transform:none}38%,90%{transform:translateY(70px)}100%{transform:none}}
.ha-anim--8 .s3-ring{animation:s3-ring 2.4s ease-out infinite}
.ha-anim--8 .s8-dots circle{animation:s8-dot 1.2s ease-in-out infinite}
.ha-anim--8 .s8-dots circle:nth-child(2){animation-delay:.15s}.ha-anim--8 .s8-dots circle:nth-child(3){animation-delay:.3s}
@keyframes s8-dot{0%,100%{opacity:.3;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}
@media (prefers-reduced-motion:reduce){.ha-anim .pk,.ha-anim--8 .s3-ring{opacity:0}}
/* mega menu with 8 services: preview beside the list, CTA beside "View all" */
@media (min-width:1025px){
	body .ha-nav .elementor-nav-menu--main .ha-mm>.sub-menu>li.ha-mm-preview{grid-row:1/span 8!important}
	body .ha-nav .elementor-nav-menu--main .ha-mm>.sub-menu>li.ha-mm-all{grid-row:9!important}
	body .ha-nav .elementor-nav-menu--main .ha-mm>.sub-menu>li.ha-mm-cta{grid-row:9!important}
	body .ha-nav .elementor-nav-menu--main .ha-mm .sub-menu .elementor-sub-item{padding-top:10px!important;padding-bottom:10px!important}
	body .ha-nav .elementor-nav-menu--main .ha-mm .sub-menu li.is-current>.elementor-sub-item{padding-bottom:9px!important}
}
@media (min-width:1025px){
	body .ha-nav .elementor-nav-menu--main .ha-mm>.sub-menu>li.ha-mm-preview{flex-direction:column;gap:18px}
	.ha-mm-cap{display:flex!important;flex-direction:column;gap:6px;padding:4px 2px 0!important;text-decoration:none;background:none!important}
	.ha-mm-cap-t{font:700 26px/1.1 var(--ha-ph,Phudu,sans-serif);text-transform:uppercase;color:var(--ha-display)}
	.ha-mm-cap-d{font:400 15px/1.5 var(--ha-is);color:#55585E}
	.ha-mm-cap-go{margin-top:6px;font:600 14px/1 var(--ha-is);color:var(--ha-accent-ink);align-self:flex-start;border-bottom:2px solid currentColor;padding-bottom:3px}
	.ha-mm-cap:hover .ha-mm-cap-go{color:var(--ha-accent)}
}
@media (min-width:1025px){
	.ha-mm-cap::before,.ha-mm-cap::after{display:none!important;content:none!important}
	.ha-mm-cap{padding-left:2px!important;margin:0!important;align-items:flex-start!important}
	.ha-mm-stage{flex:none!important;height:auto!important;aspect-ratio:796/460!important}
	.ha-mm-stage .ha-mm-scene.is-active,.ha-mm-stage .ha-anim-wrap{height:100%;aspect-ratio:auto}
}
