/* Metis Freyr-inspired 4-level mega header. Load after Bootstrap and existing theme CSS. */
.mh-header{position:sticky;top:0;z-index:1050;background:#fff;border-bottom:1px solid #e7ebef;font-family:inherit;color:#20252b;}
.mh-header *{box-sizing:border-box}
.mh-topbar{width:min(100% - 64px,1880px);min-height:88px;margin:auto;display:flex;align-items:center;gap:clamp(22px,3vw,54px)}
.mh-logo{display:inline-flex;align-items:center;flex:0 0 auto;text-decoration:none;color:#102d49;font-size:30px;font-weight:800;letter-spacing:-1.7px}
.mh-logo-mark{display:inline-grid;place-items:center;width:39px;height:39px;margin-right:5px;border-radius:11px;background:linear-gradient(145deg,#06182e,#087fc1);color:white;font-size:23px;letter-spacing:0}
.mh-logo-dot{color:#13a9ca}
.mh-navigation{height:88px;display:flex;align-items:stretch;flex:1;min-width:0}
.mh-main-menu{display:flex;align-items:stretch;justify-content:center;gap:clamp(20px,2.6vw,48px);padding:0;margin:0;list-style:none;width:100%}
.mh-main-item{position:static;display:flex;align-items:stretch}
.mh-main-link{position:relative;display:inline-flex;align-items:center;gap:12px;color:#1d252d;text-decoration:none;font-size:clamp(15px,1.12vw,20px);font-weight:600;white-space:nowrap;transition:color .2s}
.mh-main-link:hover,.mh-main-item.is-open>.mh-main-link{color:#087ec7}
.mh-main-item.is-open>.mh-main-link:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:#06182e}
.mh-chevron{width:10px;height:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-top:-5px;transition:transform .2s}
.mh-main-item.is-open>.mh-main-link .mh-chevron{transform:rotate(225deg);margin-top:5px}
.mh-header-actions{display:flex;align-items:center;gap:19px;flex:0 0 auto}
.mh-contact-button{display:inline-flex;align-items:center;justify-content:center;padding:14px 25px;border-radius:999px;background:linear-gradient(110deg,#20435f,#022047);color:#fff;text-decoration:none;font-weight:750;font-size:16px;white-space:nowrap;box-shadow:0 5px 14px rgba(0,139,207,.14)}
.mh-contact-button:hover{color:#fff;filter:brightness(1.05);transform:translateY(-1px)}
.mh-icon-link{width:25px;height:30px;display:grid;place-items:center;color:#111;text-decoration:none}
.mh-icon-link svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.mh-mobile-toggle{display:none}

/* Full-width mega panel, split into the three visible columns from the reference. */
.mh-mega-panel{position:absolute;top:100%;left:0;right:0;display:none;width:calc(100% - 64px);max-width:1880px;margin:0 auto;min-height:390px;max-height:calc(100vh - 110px);overflow:auto;background:#f3f3f3;border:1px solid #d9d9d9;border-top:0;border-radius:0 0 28px 28px;box-shadow:0 12px 28px rgba(20,39,54,.16);z-index:1051}
.mh-main-item.is-open>.mh-mega-panel{display:block;animation:mhMenuIn .16s ease-out}
@keyframes mhMenuIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
.mh-mega-columns{display:grid;grid-template-columns:21% 23% 56%;min-height:390px}
.mh-column{min-width:0;padding:34px 0}
.mh-level-two{background:#fff;border-radius:0 0 0 27px;padding-top:42px}
.mh-level-three{background:#eae7e7;padding:42px 24px}
.mh-level-four{background:#f3f3f3;padding:48px 38px}
.mh-level-two-item{width:100%;min-height:36px;padding:8px 10px 8px 12px;border:0;background:transparent;display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:left;color:#292929;font-size:14px;font-weight:650;cursor:pointer;transition:background .16s,color .16s}
.mh-level-two-item:hover,.mh-level-two-item.is-active{background:#eae7e7;color:#087cc5}
.mh-row-arrow{font-family:Arial,sans-serif;font-size:34px;line-height:1;color:#c8cdd0;font-weight:300}
.mh-level-two-item.is-active .mh-row-arrow,.mh-level-two-item:hover .mh-row-arrow{color:#087cc5}
.mh-industry-categories{display:none}
.mh-industry-categories.is-active{display:flex;flex-direction:column}
.mh-level-three-item{display:block;width:100%;padding:13px 8px;border:0;border-bottom:2px solid transparent;background:transparent;text-align:left;color:#242424;font-size:14px;font-weight:500;cursor:pointer;transition:color .16s,border-color .16s}
.mh-level-three-item:hover,.mh-level-three-item.is-active{color:#087cc5;border-bottom-color:#087cc5}
.mh-service-list{display:none;flex-direction:column;gap:0;max-width:720px}
.mh-service-list.is-active{display:flex}
.mh-service-list a{position:relative;display:block;padding:9px 8px 9px 22px;color:#222;text-decoration:none;font-size:14px;line-height:1.5;font-weight:500}
.mh-service-list a:before{content:"";position:absolute;left:2px;top:17px;width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:8px solid #087fc7}
.mh-service-list a:hover{color:#087fc7}
.mh-mobile-column-title{display:none}

/* Small visual distinction for Insights without changing the interaction model. */
.mh-insights-panel .mh-level-two{padding-top:34px}
.mh-insights-panel .mh-level-three{padding-top:34px}
.mh-insights-panel .mh-level-four{padding-top:40px}

@media(max-width:1200px){
 .mh-topbar{width:calc(100% - 36px);gap:20px}
 .mh-main-menu{gap:18px}
 .mh-header-actions{gap:12px}
 .mh-contact-button{padding:12px 18px}
 .mh-mega-panel{width:calc(100% - 36px)}
 .mh-level-two-item{padding-left:25px;font-size:16px}
 .mh-level-three-item,.mh-service-list a{font-size:15px}
}
@media(max-width:991.98px){
 .mh-topbar{min-height:72px;flex-wrap:wrap;justify-content:space-between;padding:12px 0;gap:12px}
 .mh-logo{font-size:26px}
 .mh-logo-mark{width:34px;height:34px;font-size:20px}
 .mh-mobile-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;width:42px;height:42px;margin-left:auto;border:1px solid #dfe7ed;border-radius:10px;background:#fff;padding:10px}
 .mh-mobile-toggle span{display:block;height:2px;width:20px;background:#17354f}
 .mh-navigation{display:none;order:3;flex:0 0 100%;height:auto}
 .mh-navigation.is-mobile-open{display:block}
 .mh-main-menu{display:flex;flex-direction:column;align-items:stretch;gap:0}
 .mh-main-item{display:block;border-top:1px solid #edf0f2}
 .mh-main-link{display:flex;justify-content:space-between;padding:16px 5px;font-size:16px}
 .mh-main-item.is-open>.mh-main-link:after{display:none}
 .mh-mega-panel{position:static;width:100%;max-width:none;max-height:none;min-height:0;margin:0 0 12px;border:1px solid #e1e7eb;border-radius:12px;box-shadow:none}
 .mh-mega-columns{display:grid;grid-template-columns:1fr;min-height:0}
 .mh-column{padding:14px}
 .mh-level-two,.mh-level-three,.mh-level-four{border-radius:0}
 .mh-level-two{padding-top:12px}
 .mh-level-two-item{min-height:48px;padding:12px 10px;font-size:15px;border-radius:7px}
 .mh-level-three{padding:12px;background:#f1eeee}
 .mh-level-four{padding:12px 18px}
 .mh-level-three-item{padding:11px 5px;font-size:14px}
 .mh-service-list a{padding:8px 6px 8px 22px;font-size:14px}
 .mh-mobile-column-title{display:block;margin:0 0 8px;color:#0786bd;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
 .mh-header-actions{gap:12px}
 .mh-header-actions .mh-icon-link{display:none}
 .mh-contact-button{font-size:13px;padding:10px 15px}

  .mh-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: #fff;
    border-bottom: 1px solid #e7ebef;
    font-family: inherit;
    color: #20252b;
    max-height: 100vh;
    overflow: scroll;
}
}
@media(max-width:480px){
   

 .mh-topbar{width:calc(100% - 28px)}
 .mh-header-actions{display:none}
 .mh-mega-columns{grid-template-columns:minmax(0,1fr)}
 .mh-level-two-item{padding-inline:12px}
}
