.site-header, .site-footer, .site-footer-legal {
    --shell-bg: #435f86;
    --shell-bar: #fff;
    --shell-text: #fff;
    --shell-muted: #f3f7fc;
    --shell-accent: #fff;
    --shell-line: #ffffff52;
    --shell-tint: #ffffff1f;
    color: var(--shell-text);
    background: var(--shell-bg);
}

.site-shell {
    width: min(100% - 40px, 1300px);
    margin-inline: auto;
}

.site-header a, .site-footer a, .site-footer-legal a {
    color: var(--shell-muted);
    text-decoration: none;
}

.site-header a:hover, .site-footer a:hover, .site-footer-legal a:hover {
    color: var(--shell-accent);
}

.site-header :focus-visible, .site-footer :focus-visible, .site-footer-legal :focus-visible {
    outline: 2px solid var(--shell-accent);
    outline-offset: 3px;
}

.site-topbar {
    border-bottom: 1px solid var(--shell-line);
    font-size: .82rem;
}

.site-topbar__inner, .site-topbar__group {
    display: flex;
    align-items: center;
}

.site-topbar__inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px clamp(8px, 1.4vw, 24px);
    padding-block: 6px;
}

.site-topbar__group {
    min-width: 0;
    gap: 4px;
}

.site-topbar__group a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    border-radius: 999px;
    padding: 5px;
}

.site-topbar__group a:hover, .site-footer a:hover { background: var(--shell-tint); }
.site-topbar .fa, .site-footer .fa, .site-footer-legal .fa { color: var(--shell-accent); }

.site-header .social, .site-footer .social {
    display: flex;
    float: none;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 0;
}

.site-header .social .social__icons, .site-footer .social .social__icons {
    display: grid;
    float: none;
    place-items: center;
    width: 35px;
    height: 35px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--shell-line);
    border-radius: 50%;
    background: var(--shell-tint);
    font-size: 16px;
}

.nav-20 {
    --shell-bg: #fff;
    --shell-text: #263f61;
    --shell-muted: #435f86;
    --shell-accent: #263f61;
    --shell-line: #435f8645;
    --shell-tint: #435f861a;
    background: var(--shell-bar);
}
.nav-20__bar {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 9px;
}

.site-brand {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    padding: 5px 12px;
    border-radius: 10px;
    background: #fff;
}

.site-footer .site-brand:hover { background: #fff; }
.site-brand img { display: block; width: 134px; height: 45px; object-fit: contain; }

.nav-20 ul, .site-footer ul { list-style: none; margin: 0; padding: 0; }
.nav-20__links { display: flex; align-items: center; gap: clamp(4px, 1vw, 18px); }
.nav-20__item { position: relative; display: flex; align-items: center; z-index: 1; }

.nav-20 .nav-20__link {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding-inline: clamp(9px, 1vw, 15px);
    border-radius: 999px;
    font-weight: 600;
}

.nav-20 .is-active, .nav-20 [aria-current="page"] { color: var(--shell-accent); }
.nav-20__dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0; }
.nav-20 .is-active .nav-20__dot { opacity: 1; }

.nav-20__indicator {
    position: absolute;
    top: 50%;
    height: 40px;
    border: 1px solid #435f8645;
    border-radius: 999px;
    transform: translateY(-50%);
    background: var(--shell-tint);
    visibility: hidden;
    pointer-events: none;
    transition: left .3s ease, width .3s ease;
}

.nav-20__progress { height: 2px; background: var(--shell-line); }
.nav-20__progress-fill { height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--shell-accent); }
.nav-20 button {
    border: 0;
    color: var(--shell-accent);
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.nav-20 button[hidden], .nav-20__hamburger { display: none; }
.nav-20__submenu-toggle { min-width: 30px; min-height: 42px; }
.nav-20__submenu-toggle[aria-expanded="true"] i { transform: rotate(180deg); }

.nav-20 .nav-20__submenu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 2;
    display: none;
    width: min(345px, 90vw);
    max-height: min(58vh, 440px);
    overflow: auto;
    padding: 7px;
    border: 1px solid var(--shell-line);
    border-radius: 10px;
    background: var(--shell-bg);
    box-shadow: 0 12px 30px #0005;
}

.nav-20__submenu-toggle[aria-expanded="true"] + .nav-20__submenu,
.nav-20__item:hover > button[hidden] + .nav-20__submenu,
.nav-20__item:focus-within > button[hidden] + .nav-20__submenu { display: block; }

.nav-20__submenu a { display: block; padding: 8px 10px; border-radius: 7px; line-height: 1.35; }
.nav-20__submenu a:hover, .nav-20__submenu [aria-current="page"] { background: var(--shell-tint); }
.nav-20__submenu .sub-menu { margin: 3px 0 5px 14px; padding-inline-start: 9px; border-inline-start: 1px solid var(--shell-line); }
.nav-20__hamburger-icon { display: grid; gap: 5px; }
.nav-20__hamburger-icon i { width: 20px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-20__hamburger[aria-expanded="true"] i:first-child { transform: translateY(7px) rotate(45deg); }
.nav-20__hamburger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-20__hamburger[aria-expanded="true"] i:last-child { transform: translateY(-7px) rotate(-45deg); }

footer.site-footer { clear: both; border-top: 1px solid var(--shell-line); padding: clamp(28px, 4vw, 54px) 0; }
.site-footer__grid { display: grid; grid-template-columns: minmax(125px,.8fr) minmax(100px,.7fr) 1.3fr 1.3fr; align-items: start; gap: 32px; }
.site-footer__identity { display: grid; justify-items: start; gap: 16px; }
.site-footer h2 { margin: 0 0 10px; color: var(--shell-text); font-size: 1.06rem; font-weight: 600; }
.site-footer h2 small { color: var(--shell-muted); font-weight: 400; }
.site-footer .site-footer__location address { margin: 0; color: var(--shell-muted); font-style: normal; }
.site-footer address a, .site-footer address span, .site-footer__nav a { display: block; width: fit-content; padding: 5px 7px; border-radius: 8px; line-height: 1.35; overflow-wrap: anywhere; }
.site-footer address span { color: var(--shell-muted); font-size: inherit; }

.site-footer-legal { border-top: 1px solid var(--shell-line); color: var(--shell-muted); font-size: .84rem; }
.site-footer-legal__inner, .site-footer-legal__badges { display: flex; align-items: center; gap: 12px; }
.site-footer-legal__inner { justify-content: space-between; flex-wrap: wrap; padding-block: 12px; }
.site-footer-legal__badges img { max-height: 25px; object-fit: contain; }

@media (min-width: 901px) {
    header.site-header { position: sticky; top: 0; z-index: 50; }
}



@media (max-width: 900px) {
    .nav-20__bar { flex-wrap: wrap; }
    .nav-20 .nav-20__hamburger:not([hidden]) { display: flex; align-items: center; gap: 9px; min-height: 44px; padding-inline: 10px; }
    .nav-20__hamburger[aria-expanded="false"]:not([hidden]) + .nav-20__links { display: none; }
    .nav-20 .nav-20__links { display: flex; flex-direction: column; align-items: stretch; width: 100%; max-height: 55vh; overflow: auto; padding: 5px; }
    .nav-20__item { flex-wrap: wrap; }
    .nav-20__link { flex: 1; }
    .nav-20__submenu-toggle { min-width: 44px; min-height: 44px; }
    .nav-20 .nav-20__submenu { position: static; width: 100%; max-height: none; box-shadow: none; }
    .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

@media (max-width: 570px) {
    .site-shell { width: calc(100% - 24px); }
    .site-topbar__inner { gap: 4px 10px; }
    .site-topbar__group { flex: 0 0 100%; justify-content: center; }
    .site-topbar__group a { min-height: 28px; padding-block: 2px; box-sizing: border-box; }
    .site-topbar__group--email { font-size: clamp(.64rem, 3.1vw, .82rem); }
    .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .nav-20__indicator, .nav-20__hamburger-icon i { transition: none; }
}
