/* ==========================================================
   RuGo Full Website v023 — CONTACT internal scroll architecture

   DEF50 / v022 correction:
   Do not use document/window scrolling while the transformed 4-level
   spatial track is active. CONTACT itself becomes the only scroll container.

   Result:
   - no reactive window.scrollTo clamp;
   - no scroll oscillation / "shake";
   - no transformed-track overflow below the footer;
   - Steps 2-5 can still grow and scroll;
   - the real footer is naturally the last scrollable content;
   - upward CONTACT -> PROYECTOS handoff remains owned by spatial-navigation.js.
   ========================================================== */

@media (min-width:861px){
  body.boot-complete.spatial-contact-flow{
    width:100%!important;
    height:100svh!important;
    max-height:100svh!important;
    overflow:hidden!important;
  }

  body.spatial-contact-flow .spatial-experience{
    height:100svh!important;
    min-height:100svh!important;
    overflow:hidden!important;
  }

  body.spatial-contact-flow .spatial-vertical-track{
    height:400svh!important;
    min-height:400svh!important;
    margin-bottom:0!important;
  }

  body.spatial-contact-flow .spatial-row[data-spatial-screen="contact"]{
    flex:0 0 100svh!important;
    width:100%!important;
    height:100svh!important;
    min-height:100svh!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:contain!important;
    -webkit-overflow-scrolling:touch;
  }

  body.spatial-contact-flow .contact-screen-v086{
    height:100svh!important;
    min-height:100svh!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }

  /* The v011 content flow remains authoritative inside the new scroller. */
  body.spatial-contact-flow .contact-v086{
    min-height:100svh!important;
  }
}
