/* MasterTech global header and footer (generated by scripts/build-chrome.cjs from scripts/data/site-chrome.json).
   Same component on every public page; loaded last so legacy per-page header/footer rules cannot override it. */
.mt-wrap{width:min(1180px,100% - 32px);margin-inline:auto}
.mt-header{position:sticky;top:0;z-index:100;background:#081329f5;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid #304365;color:#eff5ff;font-family:inherit}
.mt-header.is-scrolled{box-shadow:0 8px 24px #02081833}
.mt-header-inner{display:flex;align-items:center;gap:20px;min-height:76px}
.mt-brand{display:inline-flex;align-items:center;flex-shrink:0;min-height:48px;margin-right:auto}
.mt-brand img{display:block;width:200px;height:50px;object-fit:contain;object-position:left center}
.mt-nav{display:flex;align-items:center;gap:18px}
.mt-nav a{position:relative;display:flex;align-items:center;min-height:44px;color:#d3dfef;font-size:14px;font-weight:600;white-space:nowrap;text-decoration:none}
.mt-nav a::after{content:'';position:absolute;left:0;right:0;bottom:4px;height:2px;background:#4cafff;transform:scaleX(0);transition:transform .18s}
.mt-nav a:hover,.mt-nav a[aria-current]{color:#8dceff}
.mt-nav a:hover::after,.mt-nav a[aria-current]::after{transform:scaleX(1)}
.mt-cta{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 16px;border-radius:9px;background:#1672d6;color:#fff;font-size:14px;font-weight:700;white-space:nowrap;text-decoration:none;flex-shrink:0;transition:background-color .15s}
.mt-cta:hover{background:#125fb3;color:#fff}
.mt-header .language-switch{display:inline-flex;align-items:center;gap:2px;flex-shrink:0;padding:2px;border:1px solid #35557d;border-radius:10px;background:#0b1f3d;font-size:12px}
.mt-header .language-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:44px;padding:0 10px;border-radius:7px;font-weight:700;letter-spacing:.03em;text-decoration:none;color:#c3d7ee;transition:background-color .15s,color .15s}
.mt-header .language-switch a:hover{background:#173c67;color:#fff}
.mt-header .language-switch a[aria-current=page]{color:#fff;background:#126bc2;box-shadow:0 2px 8px #0769df40}
.mt-menu-toggle{display:none;align-items:center;justify-content:center;min-width:64px;min-height:44px;padding:0 12px;border:1px solid #526886;border-radius:8px;background:transparent;color:#fff;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.mt-menu-toggle[aria-expanded=true]{background:#173c67}
.mt-menu{display:none;background:#0b1935;border-top:1px solid #2a4265;max-height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior:contain}
.mt-menu .mt-wrap{padding-block:8px}
.mt-menu a{display:flex;align-items:center;min-height:48px;border-bottom:1px solid #243c60;color:#e1ebf9;font-size:15px;text-decoration:none}
.mt-menu a[aria-current]{color:#8dceff;font-weight:700}
.mt-header :is(a,button):focus-visible,.mt-footer a:focus-visible{outline:3px solid #69d6ff;outline-offset:2px}
.mt-header .scroll-progress{position:absolute;left:0;bottom:-1px;width:100%;height:2px;transform:scaleX(0);transform-origin:left;background:linear-gradient(90deg,#0876f0,#69d6ff);pointer-events:none}
@media(max-width:1199px){
 .mt-nav{display:none}
 .mt-menu-toggle{display:inline-flex}
 .mt-menu:not([hidden]){display:block}
 /* Without JavaScript the menu cannot be toggled: show it expanded and hide the toggle. */
 html:not(.js) .mt-menu[hidden]{display:block}
 html:not(.js) .mt-menu-toggle{display:none}
}
@media(max-width:700px){.mt-cta{display:none}.mt-brand img{width:150px;height:38px}.mt-header-inner{gap:10px;min-height:68px}.mt-menu{max-height:calc(100dvh - 68px)}}
@media(max-width:360px){.mt-brand img{width:124px;height:31px}.mt-menu-toggle{min-width:56px;padding:0 8px}.mt-header .language-switch a{min-width:36px;padding:0 7px}}
@media(prefers-reduced-motion:reduce){.mt-nav a::after,.mt-cta,.mt-header .language-switch a{transition:none}}
.mt-footer{background:#050d1d;border-top:1px solid #253c5f;padding:40px 0 22px;color:#becee2;font-size:13px}
.mt-footer-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;gap:32px}
.mt-footer-about p{margin:10px 0 0;color:#adc0d8;line-height:1.6;max-width:36ch}
.mt-footer-about .mt-brand{margin-right:0}
.mt-footer a{color:#becee2;text-decoration:none}
.mt-footer a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.mt-footer-about p>a{display:inline-flex;align-items:center;min-height:44px;color:#9ad7ff}
.mt-footer-contact,.mt-social{display:flex;flex-wrap:wrap;gap:0 16px}
.mt-footer-contact a,.mt-social a{display:inline-flex;align-items:center;min-height:44px}
.mt-footer-col h2{margin:8px 0 8px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#83bdff}
.mt-footer-col a{display:flex;align-items:center;min-height:44px}
.mt-footer-base{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 24px;margin-top:26px;padding-top:18px;border-top:1px solid #2b4160;color:#9eb4d1;font-size:12px}
.mt-footer-base p{margin:0}
.mt-footer-base a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:1000px){.mt-footer-grid{grid-template-columns:1fr 1fr}.mt-footer-about{grid-column:1/-1}}
@media(max-width:560px){.mt-footer-grid{grid-template-columns:1fr}.mt-footer-base{flex-direction:column;align-items:flex-start}}
/* The global header now carries the language switch at every width and works without JavaScript, so the legacy
   per-page mobile language bar and <noscript> navigation would duplicate it. Hidden, not removed (reversible). */
.mobile-language-bar,.no-js-navigation{display:none!important}
