/* SHREE motion-fix v3.6 — loaded last on every page.
   1) content-visibility:auto made the page height jump while scrolling (placeholder 720–1200px vs real size),
      so menu/anchor links landed in the wrong place and the scrollbar "jumped". Sections now render normally;
      off-screen animations are still paused by perf.js, so there is no speed cost.
   2) blur() on scroll-reveal is very expensive on phones and made text look smeared mid-animation. */
main section.pg-sec,main > section,main .pg-theme > section.pg-sec,body > section,footer,html.lite .pg-sec{
  content-visibility:visible!important;contain-intrinsic-size:none!important}
.reveal,.fx-up,.fx-rv,.sm-pend,.sm-show{filter:none!important}
.reveal,.fx-up,.fx-rv{will-change:auto}

/* paused while the tab is hidden (saves battery, and avoids a burst of catch-up frames on return) */
html.mf-hidden *,html.mf-hidden *::before,html.mf-hidden *::after{animation-play-state:paused!important}
/* phones: keep the last block of content clear of the floating app/WhatsApp dock */
@media (max-width:767px){footer{padding-bottom:calc(env(safe-area-inset-bottom,0px) + 84px)!important}}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
  .reveal,.fx-up,.fx-rv,.sm-pend,.cv-step,.rp-steps li,.at-list li,.dt-card,.faq-i{opacity:1!important;transform:none!important}
}
/* 3) the busiest loops animated "left" (re-layout every frame); same look, now GPU transforms */
section[id]>.sm-line:before{left:0!important;transform:translate3d(-100%,0,0);animation-name:mf-line!important}
@keyframes mf-line{to{transform:translate3d(433%,0,0)}}
.appdl-btn::after{left:0!important;transform:translate3d(-150%,0,0) skewX(-20deg);animation-name:mf-shine!important}
@keyframes mf-shine{0%,60%{transform:translate3d(-150%,0,0) skewX(-20deg)}100%{transform:translate3d(350%,0,0) skewX(-20deg)}}
/* 4) html scroll-padding (88px) and [id] scroll-margin (96px) were added together, so menu links stopped
      ~100px below the header; scroll-padding alone already clears the sticky header */
main [id],section[id],.pg-sec{scroll-margin-top:0!important}
