:root {
    --corp-blue: #11325B;
    --corp-orange: #FF4100;
    --bg-main: #eef2f6;
    --bg-card: #ffffff;
    --bg-muted: #f1f3f6;
    --border-light: #d8dee9;
    --border-input: #b0bec5;
    --bg-input: #f5f7fa;
    --text-main: #1b1f24;
    --text-muted: #6b7280;
    --radius: 14px;
    --radius-card: 18px;
    --radius-input: 14px;
    --radius-btn: 8px;
    --shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    --bg-hero-left: #8f9184;
    --bg-hero-right: #f3d37a;
    --layout-width: 2160px;
    --chrome-width: 2160px;
    --container-padding-x: 0px;
    --chrome-padding-x: 20px;
    --color-error: #b42318;
    --color-error-bg: #fef3f2;
    --color-error-border: #fecdca;
    --color-success: #027a48;
    --color-success-bg: #ecfdf3;
    --color-success-border: #abefc6;
    --header-bar-height: 72px;
    --header-height: 72px;
    --footer-height: max(56px, var(--header-height));
    --text-block-gap: 18px;
    --page-block-padding-y: clamp(18px, 3vw, 32px);
    --page-inline-padding-x: clamp(18px, 1.6vw, 24px);
}

@font-face {
    font-family: "Montserrat";
    src: url("../ui/base/fonts/Montserrat-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("../ui/base/fonts/Montserrat-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("../ui/base/fonts/Montserrat-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("../ui/base/fonts/Montserrat-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 100;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: 0 !important;
}

html,
body {
    height: 100%;
}

body {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-weight: 500;
    color: #1a1a1a;
    /*background-color: var(--corp-blue);*/
	background-color: #d9d9d9;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    padding-top: var(--header-height);
    overflow-x: hidden;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

.main {
    flex: 1 0 auto;
    background: transparent;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: var(--layout-width);
    margin: 0 auto;
    padding: 0 var(--container-padding-x);
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    /*min-height: 0;*/
    min-height: calc(100dvh - var(--header-height) - var(--footer-height));
    background: #ffffff;
}


.content-area {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    padding-bottom: 0;
}

.content-area > * {
    flex: 1 1 auto;
    min-height: 0;
}

.page-header {
    background: var(--corp-blue);
    color: var(--corp-orange);
    padding: 12px 18px;
    border-radius: var(--radius);
    margin-bottom: 18px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--corp-blue);
    color: #ffffff;
    width: auto;
    max-width: var(--chrome-width);
    margin-inline: auto;
	height: var(--header-height);
}

.header-inner {
    width: 100%;
    max-width: var(--chrome-width);
    height: 100%;
    min-height: var(--header-bar-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--chrome-padding-x);
    gap: 20px;
}

.logo-link {
    display: inline-block;
    flex-shrink: 0;
}

.logo img {
    height: var(--header-bar-height);
    display: block;
    max-width: 100%;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 24px;
    flex-wrap: wrap;
    flex: 1 1 auto;
}

.nav.is-dropdown-open {
    overflow: visible;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 10px;
    border: 2px solid transparent;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
}

.nav-link--active {
    background: var(--corp-orange);
    font-weight: 600;
    border: 2px solid var(--corp-orange);
    color: var(--corp-blue);
}

.header a,
.header a:hover,
.header a:focus,
.header a:active {
    text-decoration: none;
}

.nav-link:hover,
.nav-link:focus-visible {
    background: var(--corp-orange);
    border-color: var(--corp-orange);
    color: var(--corp-blue);
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown > summary {
    list-style: none;
}

.nav-dropdown > summary::-webkit-details-marker {
    display: none;
}

.nav-link--dropdown {
    gap: 6px;
    padding-right: 12px;
    cursor: pointer;
}

.nav-link__label {
    line-height: 1;
}

.nav-link__arrow {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    background-color: currentColor;
    -webkit-mask-image: url("../ui/base/arrow-right.svg");
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-image: url("../ui/base/arrow-right.svg");
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    transform: rotate(90deg);
    transition: transform 0.2s ease;
}

.nav-dropdown[open] > .nav-link--dropdown,
.nav-dropdown > .nav-link--dropdown:hover,
.nav-dropdown > .nav-link--dropdown:focus-visible {
    background: var(--corp-orange);
    border-color: var(--corp-orange);
    color: var(--corp-blue);
    outline: none;
}

.nav-dropdown[open] > .nav-link--dropdown .nav-link__arrow {
    transform: rotate(270deg);
}

.nav-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 60;
    min-width: 260px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(15, 47, 84, 0.12);
    border-radius: 14px;
    box-shadow: 0 18px 36px rgba(15, 47, 84, 0.2);
}

.nav-dropdown__item {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    color: var(--corp-blue);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown__item:hover,
.nav-dropdown__item:focus-visible {
    background: var(--corp-orange);
    color: var(--corp-blue);
    outline: none;
}

.nav-dropdown__item.is-active {
    background: rgba(247, 145, 30, 0.18);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.header-actions form {
    margin: 0;
}

.lang-switch {
    position: relative;
    display: inline-block;
}

.lang-switch > summary {
    list-style: none;
}

.lang-switch > summary::-webkit-details-marker {
    display: none;
}

.lang {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 10px 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
    white-space: nowrap;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lang-switch[open] .lang {
    background: var(--corp-orange);
    border-color: var(--corp-orange);
    color: var(--corp-blue);
}

.lang:hover,
.lang:focus-visible {
    background: var(--corp-orange);
    border-color: var(--corp-orange);
    color: var(--corp-blue);
    outline: none;
}

.lang__flag {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.lang__flag img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: cover;
    border-radius: 50%;
}

.lang__code {
    line-height: 1;
    letter-spacing: 0.06em;
}

.lang__arrow {
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    flex: 0 0 auto;
    background-color: currentColor;
    -webkit-mask-image: url("../ui/base/arrow-right.svg");
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-image: url("../ui/base/arrow-right.svg");
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    transform: rotate(90deg);
    transition: transform 0.2s ease;
}

.lang-switch[open] .lang__arrow {
    transform: rotate(270deg);
}

.lang-switch__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 60;
    min-width: 100%;
    padding: 8px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(15, 47, 84, 0.12);
    border-radius: 14px;
    box-shadow: 0 18px 36px rgba(15, 47, 84, 0.2);
}

.lang-switch__form {
    margin: 0;
}

.lang-switch__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 38px;
    padding: 0 12px 0 10px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--corp-blue);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-switch__item:hover,
.lang-switch__item:focus-visible {
    background: var(--corp-orange);
    color: var(--corp-blue);
    outline: none;
}

.lang-switch__item.is-active {
    background: rgba(247, 145, 30, 0.18);
}

.lang-switch__item-flag {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.lang-switch__item-flag img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: cover;
    border-radius: 50%;
}

.lang-switch__item-text {
    line-height: 1;
}

.footer {
    background: var(--corp-blue);
    color: #ffffff;
    width: min(100%, var(--chrome-width));
    margin-inline: auto;
}

.footer-inner {
    width: 100%;
    max-width: var(--chrome-width);
    margin: 0 auto;
    min-height: var(--footer-height);
    padding: 8px var(--chrome-padding-x);
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(180px, 250px) minmax(120px, auto) minmax(280px, 1fr);
    align-items: center;
    column-gap: 16px;
    row-gap: 6px;
}

.footer-col--partners {
    justify-self: start;
}

.footer-col--register {
    justify-self: center;
}

.footer-col--socials {
    display: none;
}

.register-logos {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    gap: 5px;
    background: #ffffff;
    padding: 4px;
    width: max-content;
    border-radius: 5px;
    opacity: 0.75;
}

.register-logos img {
    width: 58px;
    height: 58px;
    display: block;
}

.footer-col--nav {
    display: grid;
    justify-items: center;
    width: 100%;
    min-width: 0;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 18px;
    font-size: 16px;
    margin-bottom: 5px;
    flex-wrap: wrap;
    width: fit-content;
    max-width: 100%;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-socials {
    display: flex;
    flex-direction: row;
    gap: 6px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.footer-bottom {
    margin-top: 6px;
    text-align: center;
    font-size: 10px;
    opacity: 0.8;
}

@media (max-width: 1200px), (max-width: 1377px) and (pointer: coarse) {
    :root {
        --layout-width: 1000px;
        --chrome-width: 1000px;
        --chrome-padding-x: 16px;
    }

    .header-inner {
        gap: 16px;
    }

    .nav {
        gap: 14px;
    }

    .nav-link {
        padding: 0 12px;
        font-size: 14px;
    }

    .footer-top {
        grid-template-columns: 210px auto minmax(240px, 1fr) auto;
        column-gap: 12px;
    }

    .register-logos img {
        width: 54px;
        height: 54px;
    }
}

@media (max-width: 1377px) and (pointer: coarse) {
    :root {
        --layout-width: 100%;
        --chrome-width: 100%;
        --container-padding-x: 16px;
        --header-bar-height: 48px;
    }

    .container {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .header-inner {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
        flex-wrap: nowrap;
    }

    .logo img {
        height: 48px;
    }

    .nav {
        order: initial;
        width: auto;
        min-width: 0;
        max-width: 100%;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .nav::-webkit-scrollbar {
        display: none;
    }

    .header-actions {
        margin-left: 0;
        justify-content: flex-end;
    }

    body:not(.home-page) .header-inner {
        padding-right: 10px;
    }

    body.home-page .lang-switch {
        margin-right: 0;
    }

    .footer-top {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-auto-rows: auto;
        column-gap: 8px;
        row-gap: 8px;
        align-items: center;
        text-align: center;
    }

    .footer-col--partners {
        grid-column: 1;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col--register {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }

    .footer-col--nav {
        display: block;
        text-align: center;
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 4px;
        padding-top: 6px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .footer-nav {
        display: block;
        gap: 0;
        margin: 0;
        white-space: nowrap;
        width: 100%;
        max-width: none;
        text-align: center;
        font-size: 10px;
    }

    .footer-nav a {
        display: inline-block;
        white-space: nowrap;
        padding: 0 2px;
        font-size: 10px;
    }

}

@media (max-width: 992px), (max-width: 1377px) and (pointer: coarse) {
    :root {
        --layout-width: 100%;
        --container-padding-x: 16px;
        --header-bar-height: 68px;
    }

    .header-inner {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
        flex-wrap: nowrap;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .logo img {
        height: 48px;
    }

    .nav {
        order: initial;
        width: auto;
        min-width: 0;
        max-width: 100%;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .nav::-webkit-scrollbar {
        display: none;
    }

    .footer-socials {
        justify-content: center;
    }

    .header-actions {
        width: auto;
        justify-content: flex-end;
        margin-left: 0;
        flex-wrap: nowrap;
    }

    body:not(.home-page) .header-inner {
        padding-right: 10px;
    }

    .lang {
        font-size: 12px;
        min-height: 34px;
        gap: 6px;
        padding: 0 10px 0 8px;
    }

    .lang__flag,
    .lang__flag img {
        width: 18px;
        height: 18px;
    }

    .lang-switch__menu {
        top: calc(100% + 6px);
        padding: 6px;
    }

    .lang-switch__item {
        min-height: 34px;
        font-size: 12px;
        padding: 0 10px 0 8px;
    }

    .lang-switch__item-flag,
    .lang-switch__item-flag img {
        width: 18px;
        height: 18px;
    }

    .nav-link--dropdown {
        min-height: 32px;
        padding: 0 10px 0 8px;
        font-size: 12px;
        gap: 4px;
    }
}

@media (min-width: 768px) and (max-width: 1377px) and (pointer: coarse) {
    body.home-page .lang-switch {
        margin-right: 0;
    }
}


@media (max-width: 767px) {
    :root {
        --container-padding-x: 16px;
        --header-bar-height: 48px;
    }

    .container {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .header-inner {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
        flex-wrap: nowrap;
    }

    .logo img {
        height: 48px;
    }

    .header-actions {
        width: auto;
        justify-content: flex-end;
        margin-left: 0;
        flex-wrap: nowrap;
    }

    .lang {
        font-size: 12px;
        min-height: 34px;
        gap: 6px;
        padding: 0 10px 0 8px;
    }

    .lang__flag,
    .lang__flag img {
        width: 18px;
        height: 18px;
    }

    .lang-switch__menu {
        top: calc(100% + 6px);
        padding: 6px;
    }

    .lang-switch__item {
        min-height: 34px;
        font-size: 12px;
        padding: 0 10px 0 8px;
    }

    .lang-switch__item-flag,
    .lang-switch__item-flag img {
        width: 18px;
        height: 18px;
    }

    .nav-link--dropdown {
        min-height: 32px;
        padding: 0 10px 0 8px;
        font-size: 12px;
        gap: 4px;
    }

    .nav-dropdown__menu {
        top: calc(100% + 6px);
        min-width: 180px;
        padding: 6px;
    }

    .nav-dropdown__item {
        min-height: 32px;
        font-size: 12px;
        padding: 0 10px;
    }

    .nav {
        order: initial;
        width: auto;
        min-width: 0;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .nav::-webkit-scrollbar {
        display: none;
    }

    body.home-page .lang-switch {
        margin-right: 0;
    }

    .footer-top {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        justify-items: center;
        align-items: center;
        column-gap: 8px;
        row-gap: 8px;
        text-align: center;
    }

    .footer-col--partners {
        grid-column: 1;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .register-logos {
        position: static;
        transform: none;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        margin-top: 4px;
        gap: 4px;
    }

    .footer-nav,
    .footer-socials,
    .footer-bottom {
        font-size: 10px;
    }
}

@media (min-width: 577px) and (max-width: 767px) {
    .footer-top {
        grid-template-columns: minmax(132px, 190px) minmax(88px, auto) minmax(0, 1fr);
        column-gap: 6px;
        row-gap: 6px;
        text-align: left;
    }

    .footer-col--partners {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
    }

    .footer-col--register {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        align-self: center;
    }

    .footer-col--nav {
        grid-column: 3;
        grid-row: 1;
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
        align-self: center;
    }

    .footer-nav {
        flex-wrap: nowrap;
        gap: 10px;
        margin-bottom: 0;
        width: 100%;
        justify-content: flex-start;
        overflow: hidden;
    }

    .footer-nav a {
        white-space: nowrap;
    }

    .footer-socials {
        gap: 4px;
    }

    .footer-socials a {
        width: 32px;
        height: 32px;
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    :root {
        --container-padding-x: 10px;
        --header-bar-height: 26px;
    }

    .container {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .header-inner {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }

    .logo-link {
        width: clamp(34px, 10vw, 44px);
        max-width: 44px;
        flex: 0 0 auto;
        justify-self: start;
    }

    .logo img {
        width: 100%;
        height: auto;
    }

    .nav {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
        gap: 1px;
        justify-content: center;
        overflow: visible;
        padding: 0 1px;
    }

    .nav-link {
        min-height: 26px;
        padding: 0 3px;
        font-size: 8px;
        border-radius: 999px;
    }

    .lang {
        min-height: 18px;
        gap: 0;
        padding: 0 2px;
        font-size: 6px;
        flex: 0 0 auto;
        justify-self: end;
    }

    .lang__flag,
    .lang__flag img {
        width: 10px;
        height: 10px;
    }

    .nav-link--dropdown {
        min-height: 26px;
        padding: 0 3px;
        font-size: 8px;
        gap: 3px;
    }

    .nav-dropdown__menu {
        min-width: 140px;
        padding: 6px;
    }

    .nav-dropdown__item {
        min-height: 26px;
        font-size: 8px;
        padding: 0 5px;
    }

    .footer-top {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-auto-rows: auto;
        column-gap: 6px;
        row-gap: 8px;
        align-items: center;
        text-align: center;
    }

    .footer-col--partners {
        grid-column: 1;
        grid-row: 1;
    }

    .footer-col--register {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }

    .footer-col--nav {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 4px;
        padding-top: 6px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .footer-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        gap: 2px;
        margin-bottom: 2px;
        white-space: nowrap;
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
        font-size: 12px;
    }

    .footer-nav::-webkit-scrollbar {
        display: none;
    }

    .footer-nav a {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 0 2px;
    }

    .register-logos img {
        width: 42px;
        height: 42px;
    }

    .footer-socials a {
        width: 28px;
        height: 28px;
        font-size: 9px;
    }

}

@media (min-width: 390px) and (max-width: 576px) {
    :root {
        --header-bar-height: 26px;
    }

    .header-inner {
        gap: 6px;
    }

    .logo-link {
        width: clamp(60px, 15vw, 80px);
        max-width: 80px;
    }

    .nav-link {
        min-height: 26px;
        padding: 0 3px;
        font-size: 8px;
    }

    .lang {
        min-height: 24px;
        padding: 0 5px 0 4px;
        font-size: 8px;
    }

    .lang__flag,
    .lang__flag img {
        width: 12px;
        height: 12px;
    }

    .nav-link--dropdown {
        min-height: 26px;
        padding: 0 3px;
        font-size: 8px;
        gap: 3px;
    }

    .nav-dropdown__menu {
        min-width: 112px;
        padding: 6px;
    }

    .nav-dropdown__item {
        min-height: 24px;
        font-size: 8px;
        padding: 0 5px;
    }

    .lang-switch__menu {
        min-width: 112px;
    }

    .lang-switch__item {
        min-height: 24px;
        font-size: 8px;
    }

    .lang-switch__item-flag,
    .lang-switch__item-flag img {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 389px) {
    :root {
        --header-bar-height: 24px;
    }

    .header-inner {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }

    .logo-link {
        width: clamp(60px, 15vw, 80px);
        max-width: 80px;
        flex: 0 0 auto;
        justify-self: start;
    }

    .logo img {
        width: 100%;
        height: auto;
    }

    .nav {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
        justify-content: center;
        row-gap: 0;
        gap: 0;
        padding: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .nav::-webkit-scrollbar {
        display: none;
    }

    .nav-link {
        min-height: 24px;
        padding: 0 3px;
        font-size: 7px;
    }

    .nav-link--dropdown {
        min-height: 24px;
        padding: 0 3px;
        font-size: 7px;
        gap: 2px;
    }

    .nav-dropdown__menu {
        min-width: 104px;
        padding: 4px;
    }

    .nav-dropdown__item {
        min-height: 22px;
        font-size: 7px;
        padding: 0 4px;
    }

    .lang {
        font-size: 6px;
        min-height: 16px;
        gap: 0;
        padding: 0 2px;
        justify-self: end;
    }

    .lang__flag,
    .lang__flag img {
        width: 9px;
        height: 9px;
    }

    .lang-switch__menu {
        min-width: 96px;
    }

    .lang-switch__item {
        min-height: 20px;
        font-size: 7px;
    }

    .lang-switch__item-flag,
    .lang-switch__item-flag img {
        width: 9px;
        height: 9px;
    }
}

@media (max-width: 380px) {
    .footer-top {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 4px;
        row-gap: 6px;
    }

    .footer-col--partners {
        grid-column: 1;
        grid-row: 1;
        gap: 4px;
    }

    .footer-col--register {
        grid-column: 2;
        grid-row: 1;
    }

    .footer-col--nav {
        display: block;
        text-align: center;
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 2px;
        padding-top: 5px;
    }

    .footer-bottom {
        font-size: 8px;
    }

    .register-logos img {
        width: 32px;
        height: 32px;
    }

    .footer-socials {
        gap: 4px;
    }

    .footer-socials a {
        width: 24px;
        height: 24px;
        font-size: 8px;
    }

    .logo-link {
        width: clamp(64px, 22vw, 84px);
        max-width: 84px;
    }

    .footer-nav {
        display: block;
        width: 100%;
        gap: 0;
        font-size: 8px;
        max-width: 100%;
        margin: 0;
        text-align: center;
    }

    .footer-nav a {
        display: inline-block;
        padding: 0 1px;
        font-size: 8px;
    }
}

@media (max-width: 767px), (max-width: 1377px) and (pointer: coarse) {
    body:not(.home-page) .main > .container {
        padding-top: 0;
    }
}

@media (max-width: 1100px), (max-width: 1377px) and (pointer: coarse) {
    .footer-top {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-col--partners {
        display: none;
    }

    .footer-col--register {
        grid-column: 1;
        grid-row: 1;
        justify-self: center;
        align-self: center;
    }

    .footer-col--nav {
        grid-column: 1;
        grid-row: 2;
        text-align: center;
    }

    .register-logos {
        margin-right: auto;
        margin-left: auto;
    }
}

@media (min-width: 1101px) and (pointer: fine), (min-width: 1378px) {
    .footer-top {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    }

    .footer-col--partners {
        grid-column: 3;
    }

    .footer-col--register {
        grid-column: 1;
        justify-self: start;
    }

    .footer-col--nav {
        grid-column: 2;
    }
}
