/* App-style mobile layer (<=767px) */
.apb,.apb-sheet{display:none}
@media(max-width:767px){
 body{padding-bottom:68px;background:#f4f1ea}
 .topHeader{display:none !important}
 #stickynavbar{box-shadow:0 2px 12px rgba(17,18,86,.12) !important}
 #stickynavbar .navbar-brand img{height:38px !important;width:auto}
 .bannerPanel{margin:8px 10px 0;border-radius:18px;overflow:hidden}
 /* bottom bar */
 .apb{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:8px;right:8px;bottom:8px;z-index:9980;background:rgba(17,18,86,.96);backdrop-filter:blur(8px);border-radius:22px;padding:6px 4px;box-shadow:0 12px 30px rgba(17,18,86,.4)}
 .apb a,.apb button{all:unset;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:1px;color:#c9c8ee;font-size:10.5px;font-weight:600;padding:5px 0;border-radius:14px;text-align:center}
 .apb i{font-size:22px}.apb a.on{color:#f2b705}
 .apb .apb-main{background:linear-gradient(135deg,#d50c0d,#a40a0b);color:#fff;transform:translateY(-12px);border-radius:50%;width:54px;height:54px;justify-content:center;margin:0 auto;box-shadow:0 8px 18px rgba(213,12,13,.5);border:3px solid #fff}
 #hd{bottom:84px !important;right:10px !important}.hd-fab em{display:none}.hd-fab{padding:11px !important}
 .hd-box{height:calc(100vh - 100px) !important}
 .apb-sheet{position:fixed;inset:0;z-index:9995;background:rgba(10,10,40,.5);align-items:flex-end;opacity:0;transition:.2s}.apb-sheet:not([hidden]){display:flex}.apb-sheet.on{opacity:1}
 .apb-card{background:#fff;width:100%;border-radius:22px 22px 0 0;padding:14px 14px 20px;max-height:80vh;overflow:auto;transform:translateY(30px);transition:.2s}.apb-sheet.on .apb-card{transform:none}
 .apb-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.apb-h b{font-size:18px;color:#111256}.apb-h button{all:unset;font-size:28px;cursor:pointer;padding:0 6px}
 .apb-list a{display:flex;justify-content:space-between;align-items:center;padding:12px 4px;border-bottom:1px solid #eee;color:#1f2433;font-weight:600;text-decoration:none}
 .apb-more{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:12px}.apb-more a{background:#f4f1ea;border-radius:12px;text-align:center;padding:9px 2px;font-size:12px;font-weight:700;color:#111256;text-decoration:none}
 /* swipe rows instead of long stacks */
 .homeService .row.g-md-5,.homeService .row:last-child{}
 section .row:has(>.col-md-4>.whyBox),section .row:has(>.col-md-4>.locationBox),section .row:has(.blogBox),section .row:has(>.col-md-4>.card){display:flex !important;flex-wrap:nowrap !important;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;padding:2px 2px 8px;margin:0 -4px;scrollbar-width:none}
 section .row:has(>.col-md-4>.whyBox)::-webkit-scrollbar,section .row:has(>.col-md-4>.locationBox)::-webkit-scrollbar,section .row:has(.blogBox)::-webkit-scrollbar{display:none}
 section .row:has(>.col-md-4>.whyBox)>*,section .row:has(>.col-md-4>.locationBox)>*,section .row:has(.blogBox)>*,section .row:has(>.col-md-4>.card)>*{flex:0 0 78% !important;width:78% !important;scroll-snap-align:start;max-width:78%}
 .whyBox,.locationBox{background:#fff;border-radius:16px;padding:14px !important;box-shadow:0 4px 14px rgba(17,18,86,.08)}
 section .row:has(>.col-md-4>.whyBox)>*>.whyBox,section .row:has(>.col-md-4>.locationBox)>*>.locationBox{height:100%}
 .whyBox{height:auto;min-height:0}
 .col-md-auto>.whyBox{padding:10px 12px 10px 58px !important;margin-bottom:8px !important;position:relative;min-height:0}
 .col-md-auto>.whyBox img{position:absolute;left:10px;top:10px;height:38px !important;width:38px !important}
 .col-md-auto>.whyBox h4{font-size:.9rem;margin:0 0 2px;border:0;padding:0}
 .whyBox img{height:40px;width:auto}.whyBox h4{font-size:1rem}.whyBox p{font-size:.85rem}
 /* footer accordions */
 footer .container>.row>div:not(:first-child){border-bottom:1px solid rgba(255,255,255,.12);padding:0 !important}
 footer h6.apb-acc{margin:0 !important;padding:12px 4px;cursor:pointer;display:flex;justify-content:space-between}
 footer h6.apb-acc:after{content:"+";font-size:18px}footer .open h6.apb-acc:after{content:"\2212"}
 footer .container>.row>div:not(:first-child)>*:not(h6){display:none}footer .container>.row>div.open>*:not(h6){display:block}
 footer .container>.row>div.open ul{padding-bottom:10px}
 /* enquiry/contact block tighter */
 section:has(#formcontact) .row>*{padding-top:0}
 h1.heading{font-size:1.2rem !important;line-height:1.35}
 .container{padding-left:12px;padding-right:12px}
}
