/* Shared premium width and safe responsive layout for all 53 landing templates.
   Loaded after each page's original CSS and the shared premium footer CSS. */
:root{--bms-content-max:1240px;--bms-inline-gutter:clamp(14px,2.4vw,28px)}
*,*::before,*::after{box-sizing:border-box}
html{max-width:100%;scroll-padding-top:90px}
body{width:100%;max-width:100%;margin:0;overflow-x:clip}
.container,.bmsf-wrap,.bms-brand-wrap{width:min(var(--bms-content-max),calc(100% - (var(--bms-inline-gutter) * 2)))!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important}
.container>*,.container>*>*,.hero-grid>*,.two-col>*,.section-head>*,.price-grid>*,.cta-card>*,.closing-hub>*,.bmsf-wrap>*,.bms-brand-wrap>*{min-width:0}
section,header,footer,main,article,aside,picture{max-width:100%}
picture{display:block}
img,video,iframe,svg{max-width:100%}
img{object-position:center}
.wide-frame,.square-picture,.media-col,.hero-media,.hero-main,.hero-side,.article-shell,.footer-main,.closing-hub{max-width:100%;min-width:0}
.wide-frame img,.wide-picture img,.hero-media img,.square-picture img{max-width:100%;display:block}
.wide-frame img,.wide-picture img{width:100%;height:auto}
.article-shell,.article-shell p,.article-block,.deep-article-section,.hero,.service-card,.care-card,.factor,.closing-hub,.bms-brand-card,.bmsf-hero,.bmsf-card{overflow-wrap:break-word}
.article-shell a,.deep-article-section a,.bms-footer a,.bms-brand-showcase a{overflow-wrap:anywhere}
.hero .container,.site-header .container,.warehouse-band>.container,.section>.container,.cta-band>.container,.closing-hub>.container{margin-inline:auto!important}
.hero .hero-grid,.two-col,.price-grid,.cta-card,.section-head{max-width:100%}
/* Align every full-bleed section by the same interior grid, without boxing its background. */
.hero,.warehouse-band,.review-section,.bms-brand-showcase,.bms-footer,.ticker-wrap{width:100%;max-width:100%}
.bms-brand-showcase{padding-inline:0!important}
@media (max-width:1024px){
 .hero-grid,.hero .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,.82fr);gap:20px}
 .service-grid,.care-grid,.review-grid{min-width:0}
}
@media (max-width:820px){
 .container,.bmsf-wrap,.bms-brand-wrap{width:min(var(--bms-content-max),calc(100% - 32px))!important}
 .hero-grid,.hero .hero-grid,.two-col,.price-grid,.cta-card,.section-head,.closing-hub{grid-template-columns:minmax(0,1fr)!important}
 .hero-side,.hero-main,.hero-copy,.cta-card,.article-shell{width:100%;min-width:0}
 .hero-side{padding:clamp(18px,4vw,26px)}
 .two-col.reverse .media-col{order:initial}
 .section,.section.compact{padding-block:clamp(40px,7vw,65px)}
 .warehouse-band{padding-block:clamp(36px,6vw,60px)}
 .hero-media{padding-bottom:22px}
 .wide-frame,.media-col{margin-inline:auto}
}
@media (max-width:560px){
 :root{--bms-inline-gutter:12px}
 .container,.bmsf-wrap,.bms-brand-wrap{width:calc(100% - 24px)!important}
 .hero h1{font-size:clamp(1.85rem,8.5vw,2.8rem);line-height:1.18;overflow-wrap:break-word}
 .hero-lead,.article-shell p{font-size:clamp(.93rem,3.6vw,1.02rem);line-height:1.8}
 .nav{min-width:0;max-width:100%;gap:9px}
 .brand{min-width:0;gap:7px}.brand-name{min-width:0;max-width:calc(100vw - 145px);overflow-wrap:break-word}
 .hero-actions,.hero-keywords,.closing-actions{max-width:100%;flex-wrap:wrap}
 .hero-actions>a,.cta-actions>a{max-width:100%;white-space:normal;text-align:center;justify-content:center}
 .hero-mini-grid,.factor-grid,.faq-list,.accordion-grid{grid-template-columns:minmax(0,1fr)!important}
 .service-grid,.care-grid,.review-grid,.brands{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .section-head,.hero-grid,.two-col,.price-grid,.cta-card{gap:18px}
 .article-shell{padding:clamp(15px,4.5vw,23px);border-radius:18px}
 .article-shell h2{font-size:clamp(1.35rem,5.8vw,1.85rem)}
 .article-block{min-width:0}
 .wide-frame img,.square-picture img{border-radius:clamp(12px,4vw,22px)}
 .bms-brand-card{padding:14px 12px}
 .bmsf-wrap{min-width:0}
 .cms-phone{right:12px!important;bottom:76px!important;padding:8px 12px!important;font-size:12px!important}
}
@media (max-width:390px){
 .service-grid,.care-grid,.review-grid,.brands{grid-template-columns:minmax(0,1fr)!important}
 .hero-mini-grid{grid-template-columns:minmax(0,1fr)!important}
 .brand-name{font-size:.8rem}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
