/* v54 — focused mobile refinement. Desktop remains unchanged. */
@media (max-width:860px){
  /* Keep the direct HTML5 video filling the mobile hero. */
  .home-page .home-video-wrap{
    display:block!important;
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    min-height:100%!important;
    overflow:hidden!important;
  }
  .home-page .home-video-iframe{
    display:block!important;
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    min-width:100%!important;
    min-height:100%!important;
    max-width:none!important;
    object-fit:cover!important;
    object-position:center center!important;
    opacity:.82!important;
    visibility:visible!important;
    transform:none!important;
    z-index:0!important;
    background:transparent!important;
  }
  .home-page .home-video-wrap.video-ready .home-video-iframe{opacity:.86!important}

  /* Center Ricardo beneath the proof points instead of pinning him to the left. */
  .home-page .home-person{
    left:50%!important;
    right:auto!important;
    bottom:0!important;
    width:min(88vw,430px)!important;
    max-width:430px!important;
    max-height:42vh!important;
    transform:translateX(-50%)!important;
    object-position:center bottom!important;
  }

  /* Center the entire help heading system. */
  .home-page .home-help-inner,
  .home-page .home-help-inner>div,
  .home-page .home-help-inner .section-kicker,
  .home-page .home-help-inner h2{
    text-align:center!important;
  }
  .home-page .home-help-inner .section-kicker{
    width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* A deliberately centered, balanced mobile footer. */
  .site-footer.premium-footer .footer-shell{
    width:calc(100% - 32px)!important;
    max-width:560px!important;
    margin:0 auto!important;
    padding:46px 0 24px!important;
  }
  .site-footer.premium-footer .footer-top-premium,
  .site-footer.premium-footer .footer-brand-premium,
  .site-footer.premium-footer .footer-nav-premium,
  .site-footer.premium-footer .footer-menu-group,
  .site-footer.premium-footer .footer-bottom-premium{
    text-align:center!important;
    justify-items:center!important;
  }
  .site-footer.premium-footer .footer-logo-premium{
    display:flex!important;
    justify-content:center!important;
    width:100%!important;
    margin:0 auto!important;
  }
  .site-footer.premium-footer .footer-logo-premium img{
    display:block!important;
    margin:0 auto!important;
    width:min(100%,310px)!important;
  }
  .site-footer.premium-footer .footer-brand-premium>p{
    max-width:470px!important;
    margin:24px auto 0!important;
    text-align:center!important;
  }
  .site-footer.premium-footer .footer-application-cta{
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .site-footer.premium-footer .footer-contact-row{
    width:100%!important;
    justify-items:center!important;
  }
  .site-footer.premium-footer .footer-contact-row a{
    width:auto!important;
    max-width:100%!important;
    justify-content:center!important;
    align-items:center!important;
    text-align:center!important;
  }
  .site-footer.premium-footer .footer-nav-premium{
    grid-template-columns:1fr!important;
    gap:34px!important;
    width:100%!important;
  }
  .site-footer.premium-footer .footer-menu-group,
  .site-footer.premium-footer .footer-menu-group:last-child{
    grid-column:auto!important;
    width:100%!important;
  }
  .site-footer.premium-footer .footer-menu-group h4{
    text-align:center!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .site-footer.premium-footer .footer-menu-group>a{
    width:fit-content!important;
    margin-left:auto!important;
    margin-right:auto!important;
    justify-content:center!important;
    text-align:center!important;
  }
  .site-footer.premium-footer .footer-address{
    max-width:360px!important;
    margin:22px auto 0!important;
    text-align:center!important;
  }
  .site-footer.premium-footer .footer-bottom-premium{
    display:grid!important;
    grid-template-columns:1fr!important;
    justify-content:center!important;
    justify-items:center!important;
    gap:15px!important;
    text-align:center!important;
  }
  .site-footer.premium-footer .footer-bottom-premium p,
  .site-footer.premium-footer .footer-credit,
  .site-footer.premium-footer .footer-legal-links,
  .site-footer.premium-footer .footer-social-premium{
    text-align:center!important;
    justify-content:center!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}

@media (max-width:520px){
  .home-page .home-person{
    left:50%!important;
    width:min(92vw,400px)!important;
    max-width:400px!important;
    max-height:40vh!important;
    transform:translateX(-50%)!important;
  }
  .site-footer.premium-footer .footer-shell{width:calc(100% - 36px)!important}
  .site-footer.premium-footer .footer-contact-row a{font-size:15px!important}
}
