/* INDOCHIL — Mobile layout correction layer (preview branch only)
   Explicitly constrains grids, review rail and fixed contact dock to the viewport. */
*,*::before,*::after{box-sizing:border-box}
html,body{max-width:100%;min-width:0}
body.home-premium,body.service-page{width:100%;min-width:320px;max-width:100%;overflow-x:hidden}
body.home-premium #main,body.service-page main{width:100%;max-width:100%;min-width:0}
body.home-premium .site-header,body.service-page header,
body.home-premium footer,body.service-page footer{width:100%;max-width:100%}
.home-premium .wrap,.service-page .wrap{width:100%;max-width:1440px;margin-inline:auto}
img,video,svg,iframe{max-width:100%}
@media(max-width:760px){
  body.home-premium .wrap,body.service-page .wrap{padding-left:20px;padding-right:20px}
  body.home-premium .site-header .utility .wrap{padding-left:12px;padding-right:12px}
  body.home-premium .nav-shell{display:flex;width:100%;max-width:100%;min-width:0;justify-content:space-between}
  body.home-premium .logo{flex:0 1 auto;min-width:0}
  body.home-premium #menu{flex:0 0 auto;min-width:48px;min-height:44px}
  body.home-premium nav{width:100%;max-width:100%;left:0;right:0}
  body.home-premium .nav-quote{display:none}
  body.home-premium .enterprise-hero .hero-shell{width:100%;max-width:100%;min-width:0;grid-template-columns:minmax(0,1fr)}
  body.home-premium .hero-copy,body.home-premium .hero-media{width:100%;max-width:100%;min-width:0}
  body.home-premium .hero-photo{width:100%;max-width:100%}
  body.home-premium .sector-bar .wrap{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
  body.home-premium .sector-bar .wrap>a{min-width:0;overflow-wrap:anywhere}
  body.home-premium .solution-grid,body.home-premium .service-path-grid{width:100%;grid-template-columns:minmax(0,1fr)}
  body.home-premium .solution-feature,body.home-premium .service-path-card{width:100%;min-width:0}
  body.home-premium .catalog-row{width:100%;min-width:0;grid-template-columns:minmax(0,1fr)}
  body.home-premium .catalog-row ul{min-width:0}
  body.home-premium .field-gallery{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}
  body.home-premium .field-gallery figure,body.home-premium .field-gallery img{min-width:0;max-width:100%}
  body.home-premium #reviews{width:100%;max-width:100%;overflow:hidden}
  body.home-premium #reviews .wrap{width:100%;max-width:100%;min-width:0}
  body.home-premium #reviews .track{display:grid!important;grid-auto-flow:row!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-columns:auto!important;gap:10px;width:100%;max-width:100%;min-width:0;overflow:visible;padding:4px 0}
  body.home-premium #reviews .rc{width:100%;max-width:100%;min-width:0;flex:none;overflow-wrap:anywhere}
  body.home-premium #reviews .rc .top{min-width:0}
  body.home-premium #reviews .rc h3{overflow-wrap:anywhere}
  body.home-premium #team .fgrid{width:100%;grid-template-columns:minmax(0,1fr)}
  body.home-premium #team .fc{width:100%;min-width:0}
  body.home-premium #contact .split,body.home-premium footer .fg{width:100%;grid-template-columns:minmax(0,1fr)}
  body.home-premium .dock,body.service-page .sp-dock{left:0;right:0;width:100%;max-width:100%;min-width:0;box-sizing:border-box;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
  body.home-premium .dock .btn,body.service-page .sp-dock .btn{width:100%;min-width:0;max-width:100%;padding-inline:8px}
  body.service-page header .wrap{width:100%;display:flex;flex-wrap:wrap;min-width:0}
  body.service-page .sp-grid,body.service-page .case-scope{width:100%;grid-template-columns:minmax(0,1fr)}
  body.service-page .sp-card{width:100%;min-width:0}
}
@media(max-width:380px){
  body.home-premium .wrap,body.service-page .wrap{padding-left:16px;padding-right:16px}
  body.home-premium #reviews .track{grid-template-columns:minmax(0,1fr)!important}
  body.home-premium .sector-bar .wrap>a{padding-inline:5px}
  body.home-premium .sector-bar .wrap>a strong{font-size:13px}
}
