.fullscreen-toggle{display:none}
.fullscreen-menu{box-sizing:border-box;position:fixed;inset:0;margin:0;border:0;padding:0;width:100%;max-width:none;height:100vh;height:100dvh;max-height:none;background:#fff;color:#183a65;overflow:auto;overscroll-behavior:contain}
.fullscreen-menu::backdrop{background:#fff}
.fullscreen-menu[open]{display:flex;flex-direction:column;animation:menu-appear .2s ease both}
.fullscreen-menu-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:calc(18px + env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 18px max(20px,env(safe-area-inset-left));flex-shrink:0}
.fullscreen-menu .brand{font-size:14px;line-height:1.5;gap:6px;min-width:0}
.fullscreen-menu .brand img{width:38px;height:38px;flex-shrink:0}
.fullscreen-menu .brand span{max-width:240px}
.fullscreen-menu .brand:hover{text-decoration:none}
.fullscreen-menu .brand:hover img{opacity:.9}
.fullscreen-menu-links{width:100%;max-width:600px;margin:auto;padding:32px max(28px,env(safe-area-inset-right)) calc(48px + env(safe-area-inset-bottom)) max(28px,env(safe-area-inset-left));display:flex;flex-direction:column;gap:0}
.fullscreen-menu-links>a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:78px;padding:16px 0;font-size:21px;font-weight:700;line-height:1.6;text-decoration:none;border-bottom:1px solid #d6e1eb;overflow-wrap:anywhere}
.fullscreen-menu-links>[aria-current=page]{color:#244e85;text-decoration:underline;text-underline-offset:7px}
.fullscreen-menu-links>.nav-contact{justify-content:center;gap:10px;margin-top:32px;padding:13px 16px;background:#244e85;color:#fff;border:0;border-radius:8px;min-height:64px;font-size:21px;line-height:1.6;box-shadow:0 4px 2px rgba(20,47,83,.28);text-decoration:none;transition:translate .15s,box-shadow .15s}
.fullscreen-menu-links>.nav-contact:active{translate:0 4px;box-shadow:none}
.fullscreen-menu-links .mail-icon{font-size:20px}
.menu-lines{position:relative;display:block;width:24px;height:20px}
.menu-lines i{position:absolute;left:0;width:24px;height:2px;background:currentColor;border-radius:1px}
.menu-lines i:nth-child(1){top:0}.menu-lines i:nth-child(2){top:9px}.menu-lines i:nth-child(3){top:18px}
.menu-close .menu-lines i:nth-child(1){top:9px;transform:rotate(45deg)}
.menu-close .menu-lines i:nth-child(2){opacity:0}
.menu-close .menu-lines i:nth-child(3){top:9px;transform:rotate(-45deg)}
@keyframes menu-appear{from{opacity:0}to{opacity:1}}
@media(max-width:959px){
 .site-header .header-inner{flex-wrap:nowrap}
 .site-header .brand{min-width:0;white-space:normal;flex:1}
 .site-header .brand img{flex-shrink:0}
 .site-header .brand span{line-height:1.5}
 .fullscreen-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:56px;min-height:56px;padding:6px;border:1px solid currentColor;border-radius:4px;background:transparent;color:#244e85;font:inherit;font-size:11px;line-height:1.2;flex-shrink:0;cursor:pointer}
 .has-fullscreen-menu .site-header .site-nav{display:none}
}
@media(prefers-reduced-motion:reduce){.fullscreen-menu[open]{animation:none}.fullscreen-menu-links>.nav-contact{transition:none}}
.fullscreen-menu-links .nav-line-label::after{display:none}
.fullscreen-menu-bar{position:sticky;top:0;z-index:1;background:#fff}
/* Keep the brand and control at identical positions before/after opening. */
@media(max-width:959px){
 .site-header .container.header-inner,.fullscreen-menu-bar{box-sizing:border-box;width:100%;max-width:none;min-height:88px;margin:0;gap:12px;padding:calc(16px + env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) 16px max(14px,env(safe-area-inset-left));align-items:center;flex-wrap:nowrap}
 .site-header .brand,.fullscreen-menu .brand{flex:1;min-width:0;max-width:none;font-size:14px;line-height:1.5;gap:6px;white-space:normal}
 .site-header .brand span,.fullscreen-menu .brand span{max-width:none;text-wrap:initial;line-height:1.5}
}
@media(max-width:959px){.fullscreen-toggle{width:58px;min-width:58px;height:56px}}
