/* 2026-10-22: cross-page responsive containment and mobile touch polish. */
@media(max-width:980px){
  html,body{max-width:100%;overflow-x:clip}
  main,section,article,header,footer,nav,.container,.hero,.hero-grid,.hero-content{min-width:0}
  img,video,svg,iframe{max-width:100%}
  .ml-premium-social{display:none!important}
  .site-header .site-nav{max-width:100vw;max-height:calc(100dvh - 70px);overflow-y:auto;overscroll-behavior:contain}
}
@media(max-width:600px){
  html{scroll-padding-top:75px}
  body{min-width:0!important}
  .hero,.hero-grid,.hero-content,.ml-lux-footer,.ml-lux-shell,.ml-lux-grid,.ml-lux-cta,.ml-quick-links{max-width:100%;min-width:0}
  .hero .container,.container,.ml-lux-container{box-sizing:border-box;max-width:100%;}
  .hero h1,h1,h2,h3{overflow-wrap:break-word}
  .hero-grid>*,.ml-lux-cta>*,.ml-lux-grid>*,.ml-form-shell,.ml-glass-form,.ml-matched-home-form{min-width:0;max-width:100%;box-sizing:border-box}
  .ml-lux-grid,.ml-lux-shell{padding-left:16px!important;padding-right:16px!important}
  .ml-lux-footer{overflow:hidden}
  .ml-lux-cta h2{font-size:clamp(27px,8vw,37px)!important;letter-spacing:-.04em!important}
  .ml-lux-cta p,.ml-lux-brand p{font-size:14px!important;line-height:1.65!important}
  .ml-lux-contact-card{padding:20px!important}
  .ml-premium-social{display:none!important}
  /* Existing left WhatsApp button remains available; bot now stays on the right. */
  .ml-left-whatsapp{display:flex!important}
  .ml-form-shell input,.ml-form-shell textarea,.ml-form-shell select,.ml-glass-form input,.ml-glass-form textarea,.ml-glass-form select,.ml-matched-home-form input,.ml-matched-home-form textarea,.ml-matched-home-form select{font-size:16px!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  .ml-form-shell button,.ml-glass-form button,.ml-matched-home-form button{max-width:100%;white-space:normal}
  table{display:block;max-width:100%;overflow-x:auto}
}
