@media (max-width:768px){
  /* Etap 2: home mobile footer shell parity.
     Keep the footer on the same 16px mobile axis as the already-cleaned home main shell.
     This file becomes the single late owner for the visible home footer frame/layout on mobile,
     while the global layout system keeps ownership of the main page sections only. */
  body.dsk-page-home{
    --dsk-home-footer-mobile-gutter:16px;
  }

  body.dsk-page-home footer.dsk-site-footer,
  body.dsk-page-home .sb-footer.dsk-site-footer{
    --dsk-container-pad:var(--dsk-home-footer-mobile-gutter) !important;
    --dsk-home-mobile-gutter:var(--dsk-home-footer-mobile-gutter) !important;
    --dsk-home-mobile-gutter-final:var(--dsk-home-footer-mobile-gutter) !important;
    --mobile-gutter:var(--dsk-home-footer-mobile-gutter) !important;
  }

  body.dsk-page-home footer.dsk-site-footer > .dsk-custom-footer.dsk-custom-footer,
  body.dsk-page-home .sb-footer.dsk-site-footer > .dsk-custom-footer.dsk-custom-footer{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:calc(env(safe-area-inset-left,0px) + var(--dsk-home-footer-mobile-gutter)) !important;
    padding-right:calc(env(safe-area-inset-right,0px) + var(--dsk-home-footer-mobile-gutter)) !important;
    padding-top:40px !important;
    box-sizing:border-box !important;
  }

  body.dsk-page-home .dsk-site-footer .dsk-grid{
    display:block !important;
    text-align:center !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  body.dsk-page-home .dsk-site-footer .dsk-col{
    width:100% !important;
    max-width:100% !important;
  }

  body.dsk-page-home .dsk-site-footer :is(.dsk-brand,.dsk-heading,.dsk-desc,.dsk-nap-block,.dsk-nav,.dsk-map-col){
    text-align:center !important;
  }

  body.dsk-page-home .dsk-site-footer .dsk-usp-block{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    gap:8px !important;
    margin-top:14px !important;
  }

  body.dsk-page-home .dsk-site-footer .dsk-nav ul,
  body.dsk-page-home .dsk-site-footer .dsk-quick-links{
    padding-left:0 !important;
    margin-left:0 !important;
    list-style:none;
  }

  body.dsk-page-home .dsk-site-footer .dsk-nav li,
  body.dsk-page-home .dsk-site-footer .dsk-quick-links li{
    text-align:center !important;
  }

  body.dsk-page-home .dsk-site-footer .dsk-btn-map{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  body.dsk-page-home .dsk-site-footer .dsk-nap-block p{
    margin:0 !important;
    line-height:1.55 !important;
  }

  body.dsk-page-home .dsk-site-footer .dsk-nap-block p + p{
    margin-top:10px !important;
  }

  body.dsk-page-home .dsk-site-footer .dsk-nap-block a{
    word-break:break-word;
  }

  body.dsk-page-home footer.dsk-site-footer > .dsk-custom-footer.dsk-custom-footer > .dsk-copyright.dsk-copyright,
  body.dsk-page-home .sb-footer.dsk-site-footer > .dsk-custom-footer.dsk-custom-footer > .dsk-copyright.dsk-copyright{
    padding-left:0 !important;
    padding-right:0 !important;
    text-align:center !important;
    line-height:1.45;
    margin-top:28px;
    box-sizing:border-box !important;
  }
}
