/* =====================================================================
   KRenovation — performance + smooth-scroll fixes. Global (every page).
   ===================================================================== */

/* 1) Kill background-attachment:fixed parallax. It forces a full repaint of the
   background image on every scroll frame on DESKTOP (mobile already overrides it
   to scroll), which is exactly the "desktop laggy, mobile fine" drag. */
.bg-fixed{background-attachment:scroll!important}

/* 2) Sticky-header scroll JUMP fix.
   The theme switches .duru-header from position:relative (90px, IN flow) to
   position:fixed (OUT of flow) on scroll, which collapses 90px of layout and
   jolts the whole page down. Fix: take the header out of flow permanently and
   reserve its 90px on the wrapper, so flipping to fixed changes no layout at all.
   (.scrolled keeps position:fixed via higher specificity, so sticky still works.) */
.dark .content-wrapper,.content-wrapper{position:relative;padding-top:90px!important}
.content-wrapper .duru-header{position:absolute!important;top:0;left:0;right:0}
.content-wrapper .duru-header.scrolled{position:fixed!important}

/* 3) The scroll-progress ring rewrites strokeDashoffset on every scroll event with
   a 10ms transition (continuous repaint). Drop the transition so it just snaps. */
.progress-wrap path,.progress-circle{transition:none!important}

/* 4) Footer "gray gap" fix. The decorative .content-lines overlay is absolute with
   no top set, so the 90px padding-top above (reserving the sticky header's space)
   pushed it 90px down — it then overshot the footer by 90px, exposing a strip of
   the gray body background below the footer on mobile. Pin it top:0/bottom:0 so it
   spans exactly the content height (no overhang). */
.content-wrapper .content-lines-wrapper,
.content-wrapper .content-lines-inner,
.content-wrapper .content-lines{top:0!important;bottom:0!important;height:auto!important}
