
.xib-home-blocks{display:flex;flex-direction:column}.xib-home-blocks>section{width:100%}
.xib-header-centered .header-inner{flex-wrap:wrap;justify-content:center}.xib-header-centered .brand{width:100%;justify-content:center}.xib-header-centered .main-nav{margin:auto}
.xib-header-corporate .header-inner{min-height:88px}.xib-header-corporate .header-call{border-radius:8px}
.xib-footer-compact .footer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.xib-footer-centered .footer-grid{text-align:center}.xib-footer-centered .footer-grid>div{text-align:center}
.xib-footer-extra{grid-column:1/-1;max-width:850px}.xib-footer-links{list-style:none;margin:0;padding:0}.xib-footer-links li{margin:0 0 8px}
.main-nav{position:relative}.xib-mega{display:none;position:absolute;top:100%;right:0;width:min(920px,calc(100vw - 36px));padding:24px;background:#fff;color:#153249;box-shadow:0 16px 45px #092d4330;border:1px solid #e1e8ef;border-radius:0 0 18px 18px;z-index:9999;max-height:75vh;overflow-y:auto}.xib-mega-heading{font-size:13px;font-weight:800;letter-spacing:.06em;color:#a66d16;margin-bottom:18px}.xib-mega-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.xib-mega-item{display:flex;align-items:center;gap:12px;padding:12px;border-radius:10px;color:#102f43;text-decoration:none!important;min-width:0}.xib-mega-item:hover,.xib-mega-item:focus-visible{background:#f0f7fa}.xib-mega-item strong{display:block;font-size:14px}.xib-mega-item small{display:block;font-size:12px;color:#64748b;line-height:1.4;margin-top:4px}.xib-mega-img{width:52px;height:52px;object-fit:cover;border-radius:9px;flex-shrink:0}.xib-mega-list .xib-mega-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:901px){.main-nav:has(.nav-list>li:hover) .xib-mega,.main-nav:has(.nav-list>li:focus-within) .xib-mega,.main-nav:has(.xib-mega:hover) .xib-mega,.main-nav.xib-mega-open .xib-mega{display:block}.xib-mega{right:-120px}}
@media(max-width:900px){.xib-mega{position:static;width:100%;box-shadow:none;border-radius:12px;max-height:45vh;padding:12px}.main-nav.open .xib-mega{display:block}.xib-mega-grid{grid-template-columns:1fr}.xib-header-centered .brand{width:auto}.xib-footer-compact .footer-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.xib-mega-item{transition:none!important}}

/* 2.8.0: menu closed by default; only the Services item can activate it. */
.xib-mega{display:none!important;box-sizing:border-box;visibility:hidden;opacity:0;pointer-events:none}
@media(min-width:901px){
 .site-header .header-inner{position:relative}
 .site-header .main-nav{position:static}
 .main-nav.xib-mega-open .xib-mega{display:block!important;visibility:visible;opacity:1;pointer-events:auto}
 .xib-mega{left:0!important;right:0!important;top:calc(100% - 1px)!important;width:100%!important;max-width:none!important;max-height:min(65vh,650px);overflow-y:auto;padding:22px 26px;border-radius:0 0 16px 16px}
 .xib-mega-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px 16px}
 .xib-mega-item{min-width:0;align-items:flex-start;padding:12px 14px;overflow-wrap:anywhere}
 .xib-mega-item>span{min-width:0;flex:1}
 .xib-mega-item strong{font-size:14px;line-height:1.45;overflow-wrap:normal;word-break:normal}
 .xib-mega-item small{font-size:12px;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:normal;word-break:normal}
 .xib-mega-heading{margin-bottom:12px}
}
@media(max-width:900px){
 .main-nav.open .xib-mega{display:none!important}
 .main-nav.open.xib-mega-open .xib-mega{display:block!important;visibility:visible;opacity:1;pointer-events:auto}
 .xib-mega{position:static!important;left:auto!important;right:auto!important;width:100%!important;max-height:48vh;overflow-y:auto;padding:12px}
 .xib-mega-grid,.xib-mega-list .xib-mega-grid{grid-template-columns:1fr!important;gap:6px}
 .xib-mega-item{min-width:0}
 .xib-mega-item>span{min-width:0}
 .xib-mega-item small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}
