/* Only site chrome is styled here; page and hero layouts remain theme-managed. */
.mq-header,.mq-footer{--mq-blue:#0b5fb0;--mq-navy:#0a1030;--mq-teal:#14d1b0;--mq-line:#e3e8f2;font-family:Arial,"Segoe UI",sans-serif;color:#1c2340}
.mq-header *,.mq-footer *{box-sizing:border-box}
.mq-header{position:relative;z-index:100;background:#fff;border-bottom:1px solid #e3e8f2;box-shadow:none}
.mq-header-inner{width:100%;max-width:1920px;margin:auto;padding:18px 32px;display:flex;align-items:center;gap:22px;min-height:86px}
.mq-brand{display:block;flex:0 0 200px}
.mq-brand img.mq-logo{display:block;width:200px;height:auto;max-width:100%}
.mq-nav{flex:1;min-width:0}
.mq-header ul{list-style:none;padding:0;margin:0}
.mq-header li:before{display:none!important}
.mq-menu{display:flex;align-items:center;justify-content:flex-end;gap:2px}
.mq-menu li{position:relative;margin:0}
.mq-menu a{display:block;padding:11px 10px;color:#1c2340;text-decoration:none!important;font-size:14px;font-weight:600;line-height:1.4;border-radius:0}
.mq-menu>li>a{white-space:nowrap}
.mq-menu a:hover,.mq-menu a:focus-visible,.mq-menu li:focus-within>a{background:transparent;color:#0b5fb0}
.mq-menu>.current-menu-item>a,.mq-menu>.current-menu-ancestor>a{color:#0b5fb0;box-shadow:none}
.mq-menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:248px;max-width:310px;padding:8px 14px;background:#fff;border:1px solid #e3e8f2;border-top:2px solid #0b5fb0;border-radius:2px;box-shadow:0 12px 28px #0a103014;z-index:10}
.mq-menu li:hover>.sub-menu,.mq-menu li:focus-within>.sub-menu,.mq-menu li.mq-open>.sub-menu{display:block}
.mq-menu .sub-menu .sub-menu{top:0;left:100%}
.mq-menu>li:nth-last-child(-n+3)>.sub-menu{left:auto;right:0}
.mq-menu>li.mq-services{position:static}
.mq-menu>.mq-services>.sub-menu{left:50%;right:auto;top:100%;width:min(1120px,calc(100% - 64px));transform:translateX(-50%);max-width:none;min-width:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:18px 20px}
.mq-menu>.mq-services:hover>.sub-menu,.mq-menu>.mq-services:focus-within>.sub-menu,.mq-menu>.mq-services.mq-open>.sub-menu{display:grid}
/* Bridge the header padding so pointer travel keeps Services hovered. */
@media(min-width:1281px){
 .mq-menu>.mq-services>.sub-menu::before{content:"";display:block;position:absolute;left:0;right:0;top:-24px;height:24px}
}
.mq-menu .sub-menu a{padding:8px 10px;font-size:13px;line-height:1.5;font-weight:500;white-space:normal}
.mq-menu .sub-menu>li{border-bottom:1px solid #edf0f4}
.mq-menu .sub-menu>li:last-child{border-bottom:0}
.mq-menu>.mq-services>.sub-menu>li{padding:0 10px;border-bottom:0;border-left:1px solid #e3e8f2}
.mq-menu>.mq-services>.sub-menu>li:nth-child(4n+1){border-left:0}
.mq-menu .sub-menu a:hover,.mq-menu .sub-menu a:focus-visible{color:#0b5fb0;text-decoration:underline!important;text-underline-offset:4px;text-decoration-thickness:1px}
.mq-sub-toggle{display:inline-flex;align-items:center;justify-content:center;width:22px;height:30px;padding:0;border:0;background:transparent;color:#0b5fb0;cursor:pointer;border-radius:4px;flex-shrink:0}
.mq-sub-toggle:after{content:"";width:6px;height:6px;border-right:1.5px solid;border-bottom:1.5px solid;transform:rotate(45deg);margin-top:-4px}
.mq-menu .menu-item-has-children{display:flex;align-items:center;flex-wrap:wrap}
.mq-menu .menu-item-has-children>a{flex:1;padding-right:2px}
.mq-menu .mq-contact>a{background:transparent;color:#1c2340;padding:11px 10px;border-radius:0;box-shadow:none}
.mq-menu .mq-contact>a:hover{color:#0b5fb0}
.mq-search{position:relative;margin:0;flex:0 0 38px;width:38px;height:40px}
.mq-search input[type=search]{position:absolute;right:0;width:38px;height:40px;min-width:0;padding:0 36px 0 0;margin:0;border:1px solid transparent;border-radius:0;background:transparent;color:#1c2340;font-size:14px;transition:width .2s}
.mq-search input:focus,.mq-search:focus-within input{width:220px;padding-left:16px;border-color:#0b5fb0;outline:2px solid #0b5fb0;outline-offset:2px}
.mq-search button{position:absolute;right:0;top:0;display:grid;place-items:center;width:38px;height:40px;padding:0;background:none;border:0;color:#1c2340;cursor:pointer}
.mq-search button:before,.mq-button:before{display:none!important}
.mq-burger{display:none}
.mq-header :focus-visible,.mq-footer :focus-visible{outline:2px solid #0b5fb0;outline-offset:4px}
.mq-footer{margin-top:80px;background:#e6f4fc;padding:0 32px}
.mq-footer-cta{position:relative;transform:translateY(-32px);max-width:1856px;margin:auto;padding:32px 40px;background:radial-gradient(ellipse at top right,#14d1b044,transparent 55%),linear-gradient(120deg,#0a1030,#0f1b4d 65%,#143a8f);border-radius:2px;box-shadow:none;display:flex;align-items:center;justify-content:space-between;gap:24px}
.mq-footer .mq-footer-cta h2{margin:0 0 8px;font-family:inherit;font-size:26px;line-height:1.3;color:white;font-weight:700;letter-spacing:0}
.mq-footer .mq-footer-cta h2:before,.mq-footer .mq-footer-cta h2:after{display:none}
.mq-footer-cta h2 span{color:#71d8df}
.mq-footer .mq-footer-cta p{margin:0;color:#c7cfee;font-size:15px;line-height:1.6}
.mq-footer .mq-button{display:inline-flex;align-items:center;gap:14px;flex-shrink:0;padding:8px 0;border-radius:0;background:transparent;color:#fff;text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px;font-weight:700;font-size:15px}
.mq-footer .mq-button:hover{background:transparent;color:#71d8df}
.mq-footer .footer-container{width:100%;max-width:1856px;margin:0 auto;padding:8px 0 40px;display:grid;grid-template-columns:1.5fr 1fr 1fr 1.1fr;gap:44px;background:transparent}
.mq-footer .footer-col{width:auto;padding:0;float:none;min-width:0}
.mq-footer img.footer-logo{width:200px;height:auto;display:block;max-width:100%;margin-bottom:18px}
.mq-footer .footer-about p{max-width:440px;font-size:14px;line-height:1.8;color:#38426a;margin:0 0 22px}
.mq-footer .footer-col h3{font-family:inherit;font-size:16px;line-height:1.5;font-weight:700;letter-spacing:0;color:#0a1030;margin:0 0 22px;padding:0 0 12px;position:relative}
.mq-footer .footer-col h3:before{display:none}
.mq-footer .footer-col h3:after{content:"";display:block;position:absolute;left:0;bottom:0;width:34px;height:3px;background:linear-gradient(90deg,#0b5fb0,#14d1b0)}
.mq-footer ul{list-style:none;margin:0;padding:0}
.mq-footer li{margin:0 0 11px;padding:0;line-height:1.5}
.mq-footer li:before{display:none!important}
.mq-footer li a{font-size:14px;color:#38426a;text-decoration:none}
.mq-footer li a:hover{color:#0b5fb0;text-decoration:underline}
.mq-footer .social-icons{display:flex;gap:10px;flex-wrap:wrap;margin:0}
.mq-footer .social-icons a{width:40px;height:40px;margin:0;display:grid;place-items:center;background:white;color:#0b5fb0;border-radius:50%;box-shadow:0 4px 12px #0a103014;text-decoration:none}
.mq-footer .social-icons a:hover{color:white;background:#0b5fb0}
.mq-footer .footer-bottom{max-width:1856px;margin:auto;border-top:1px solid #0b5fb02e;padding:22px 0;background:transparent;font-size:13px;line-height:1.6;color:#4a5578;text-align:left}
@media(max-width:1450px) and (min-width:1281px){.mq-header-inner{gap:12px;padding-inline:24px}.mq-brand{flex-basis:180px}.mq-brand img.mq-logo{width:180px}.mq-menu a{font-size:13px;padding-inline:7px}.mq-menu .mq-contact>a{padding-inline:12px}.mq-sub-toggle{width:18px}}
@media(max-width:1280px){
 .mq-header-inner{flex-wrap:wrap;padding:16px 24px;gap:14px;min-height:76px}
 .mq-brand{margin-right:auto}
 .mq-burger{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:44px;height:44px;background:white;border:1px solid #e3e8f2;border-radius:0;cursor:pointer;order:3;padding:10px}
 .mq-burger span{display:block;width:20px;height:2px;background:#1c2340}
 .mq-search{order:2}
 .mq-nav{display:none;flex-basis:100%;order:4;max-height:70vh;overflow:auto;border-top:1px solid #e3e8f2;padding-top:12px}
 .mq-nav.mq-visible{display:block}
 .mq-menu{display:block}
 .mq-menu>li{border-bottom:1px solid #e3e8f2}
 .mq-menu a{padding:13px 10px;font-size:15px}
 .mq-sub-toggle{width:44px;height:44px}
 .mq-menu .sub-menu,.mq-menu .sub-menu .sub-menu,.mq-menu>.mq-services>.sub-menu{position:static;width:100%;max-width:none;min-width:0;transform:none;box-shadow:none;border:0;border-left:1px solid #dce4ed;border-radius:0;background:#f7f9fc;padding:4px 8px;flex-basis:100%}
 .mq-menu li:hover>.sub-menu,.mq-menu li:focus-within>.sub-menu,.mq-menu>.mq-services:hover>.sub-menu,.mq-menu>.mq-services:focus-within>.sub-menu{display:none}
 .mq-menu li.mq-open>.sub-menu,.mq-menu>.mq-services.mq-open>.sub-menu{display:block}
 .mq-menu .mq-contact>a{margin:0;display:block;flex:1;padding:13px 10px}
 .mq-menu>.mq-services>.sub-menu>li{padding:0;border-left:0;border-bottom:1px solid #edf0f4}
 .mq-menu>.mq-services>.sub-menu>li:last-child{border-bottom:0}
}
@media(max-width:980px){.mq-footer .footer-container{grid-template-columns:1fr 1fr;gap:32px}.mq-footer .footer-about{grid-column:1/-1}.mq-footer .footer-about p{max-width:650px}}
@media(max-width:600px){.mq-header-inner{padding:14px 16px;gap:10px}.mq-brand{flex-basis:165px}.mq-brand img.mq-logo{width:165px}.mq-footer{padding:0 16px;margin-top:64px}.mq-footer-cta{padding:26px 24px;align-items:flex-start;flex-direction:column;border-radius:2px}.mq-footer .mq-footer-cta h2{font-size:22px}.mq-footer .footer-container{grid-template-columns:1fr;gap:28px}.mq-footer .footer-bottom{font-size:12px}}
@media(prefers-reduced-motion:reduce){.mq-header *,.mq-footer *{transition:none!important}}
/* Override Pearl's general submit-button treatment for the compact search. */
.mq-header form.mq-search button[type=submit]{background:transparent;color:#1c2340;border:0;border-radius:0;min-width:0;min-height:0;box-shadow:none}
.mq-header .mq-menu{justify-content:center}
/* Keep an expanded navigation above the site's floating contact widgets. */
@media(max-width:1280px){.mq-header:has(.mq-visible){z-index:2147483647}}
