/* Only public header/footer. Preserve the shared menu's existing 1240px breakpoint. */
.hub-site:not(.admin-area) .site-header .nav-wrap{gap:20px;min-height:86px}
.hub-site:not(.admin-area) .site-header .brand-logo{width:225px;max-width:100%;height:auto}
.hub-site:not(.admin-area) .site-header .main-nav{gap:14px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
.hub-site:not(.admin-area) .site-header .main-nav>a,.hub-site:not(.admin-area) .site-header .main-nav summary{font-size:13px;line-height:1.6;min-height:44px;padding:8px 4px;color:#24463f}
.hub-site:not(.admin-area) .site-header .main-nav>a{display:flex;align-items:center}
.hub-site:not(.admin-area) .site-header .main-nav .nav-login{padding:9px 12px;background:#f1eee4;border:1px solid #d9d4c5;border-radius:9px;font-size:13px;gap:7px}
.hub-site:not(.admin-area) .site-header .main-nav .nav-request{background:#244b48;color:#fffdf8;padding:11px 16px;border-radius:9px;font-size:13px;text-align:center;justify-content:center;max-width:230px;font-weight:600}
.hub-site:not(.admin-area) .site-header .main-nav .nav-request:hover{background:#173b38}
.hub-site:not(.admin-area) .site-header .hub-language summary{gap:5px}
.hub-site:not(.admin-area) .site-header .hub-language summary .icon{width:16px;height:16px}
.hub-site:not(.admin-area) .site-header .hub-nav-dropdown>div a{font-size:14px;min-height:44px;line-height:1.6}
.hub-site:not(.admin-area) .site-header a:focus-visible,.hub-site:not(.admin-area) .site-header summary:focus-visible,.hub-site:not(.admin-area) .site-header button:focus-visible{outline:3px solid #83632b;outline-offset:4px}
.hub-site:not(.admin-area) .site-footer .footer-trust-line{color:#e1d5b9;font-size:14px;text-decoration:underline;text-underline-offset:4px;min-height:44px;line-height:1.7}
.hub-site:not(.admin-area) .site-footer .footer-brand-block>p{font-size:15px;line-height:1.85}
@media(min-width:1241px){.hub-site:not(.admin-area) .site-header .container{max-width:1420px;width:calc(100% - 56px)}.hub-site:not(.admin-area) .site-header .main-nav{flex-wrap:wrap;justify-content:flex-end}.hub-site:not(.admin-area) .site-header .brand{flex-shrink:0}.hub-site:not(.admin-area) .site-header .main-nav>a{white-space:normal}}
@media(max-width:1240px){.hub-site:not(.admin-area) .site-header .nav-wrap{position:relative;min-height:76px;flex-wrap:wrap}.hub-site:not(.admin-area) .site-header .menu-toggle{display:flex;width:44px;height:44px;align-items:center;justify-content:center;margin-left:auto}.hub-site:not(.admin-area) .site-header .main-nav{position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - 95px);overflow-y:auto;display:none;background:#fffdf8;border:1px solid #d9dfd1;border-radius:14px;padding:15px;box-shadow:0 12px 24px #193c3920;margin:0;z-index:100}.hub-site:not(.admin-area) .site-header .main-nav.open{display:flex;flex-direction:column;align-items:stretch;gap:4px}.hub-site:not(.admin-area) .site-header .main-nav>a,.hub-site:not(.admin-area) .site-header .main-nav summary{padding:12px;font-size:15px}.hub-site:not(.admin-area) .site-header .hub-nav-dropdown>div{position:static;min-width:0;width:100%;box-shadow:none;border:0;border-left:2px solid #c5d0bd;border-radius:0;background:#f2f4ed;padding:4px 8px;margin:0 0 8px}.hub-site:not(.admin-area) .site-header .main-nav .nav-request{max-width:none;font-size:15px;margin-top:6px;min-height:48px}.hub-site:not(.admin-area) .site-header .main-nav .nav-login{font-size:15px;min-height:46px}.hub-site:not(.admin-area) .site-header .hub-language>div{display:flex;flex-wrap:wrap;gap:4px}.hub-site:not(.admin-area) .site-header .hub-language:not([open])>div{display:none}}
@media(max-width:420px){.hub-site:not(.admin-area) .site-header .brand-logo{width:214px}.hub-site:not(.admin-area) .site-header .nav-wrap{gap:14px}}
@media(prefers-reduced-motion:reduce){.hub-site:not(.admin-area) .site-header *{transition:none!important}}

/* Keep mobile sticky positioning attached to the viewport, not an overflow container. */
@media(max-width:1240px){
 .hub-site:not(.admin-area){overflow-x:clip;overflow-y:visible}
 .hub-site:not(.admin-area) .site-header,
 .hub-site:not(.admin-area) .site-header.scrolled{position:sticky;top:0;height:calc(72px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px);z-index:50;background:rgba(255,253,248,.96);border-bottom:1px solid #dedfd3;box-shadow:0 2px 12px #193c3906;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);transition:background .2s,box-shadow .2s}
 .hub-site:not(.admin-area) .site-header.scrolled{background:rgba(255,253,248,.94);box-shadow:0 5px 20px #193c3912}
 .hub-site:not(.admin-area) .site-header .nav-wrap{min-height:0;height:100%;flex-wrap:wrap;gap:16px}
 .hub-site:not(.admin-area) .site-header .brand-logo{width:200px;transform:none}
 .hub-site:not(.admin-area) .site-header .menu-toggle{background:#f5f3eb;border:1px solid #dcd8c9;border-radius:13px;box-shadow:inset 0 1px 0 #fff;flex-shrink:0}
 .hub-site:not(.admin-area) .site-header .main-nav{top:calc(100% + 8px);max-height:calc(100vh - 96px);max-height:calc(100dvh - 96px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overscroll-behavior-y:contain;border-color:#e0dfd3;border-radius:16px;box-shadow:0 12px 32px #193c391a}
 .hub-site:not(.admin-area) :is([id],input,select,textarea,button,a,summary){scroll-margin-top:calc(88px + env(safe-area-inset-top,0px))}
}
@media(max-width:360px){.hub-site:not(.admin-area) .site-header .brand-logo{width:184px}}
@media(prefers-reduced-motion:reduce){.hub-site:not(.admin-area) .site-header{transition:none}}

/* Persistent mobile navigation: reserve its footprint, including the home indicator. */
.mobile-dock{display:none}
@media(max-width:780px){
 .hub-site:not(.admin-area){--mobile-dock-space:calc(94px + env(safe-area-inset-bottom,0px));padding-bottom:var(--mobile-dock-space)}
 .mobile-dock{position:fixed;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:4px;left:max(12px,env(safe-area-inset-left,0px));right:max(12px,env(safe-area-inset-right,0px));bottom:calc(10px + env(safe-area-inset-bottom,0px));z-index:45;max-width:520px;margin-inline:auto;padding:7px;border:1px solid #ded9c9;border-radius:22px;background:rgba(255,253,247,.97);box-shadow:0 8px 30px #193c3924,inset 0 1px 0 #fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
 .mobile-dock-link{min-width:0;min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:6px 2px;border-radius:15px;color:#435c54;font-size:11px;font-weight:600;line-height:1.4;text-align:center}
 .mobile-dock-link .icon{width:21px;height:21px;flex-shrink:0}
 .mobile-dock-link[aria-current]{background:#eaf0e4;color:#244b3b}
 .mobile-dock .mobile-dock-request{background:#294e44;color:#fffdf7;box-shadow:0 3px 8px #294e4418}
 .mobile-dock .mobile-dock-request[aria-current]{background:#1c3b32;box-shadow:inset 0 0 0 2px #c8b783}
 .mobile-dock-link:focus-visible{outline:3px solid #94702f;outline-offset:2px}
 .hub-site:not(.admin-area) :is([id],input,select,textarea,button,a,summary){scroll-margin-bottom:var(--mobile-dock-space)}
 .hub-site:not(.admin-area) .buy-simple .wizard-nav{bottom:var(--mobile-dock-space)}
}
