
.topo_m03 {
    --topo-m03-dark: #202727;
    --topo-m03-accent: var(--color-primary);
    --topo-m03-border: var(--color-border);
    --topo-m03-shadow: 0 16px 40px rgba(0, 0, 0, .13);

    position: relative;
    z-index: 1000;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    color: var(--color-text-dark);
    font-family: var(--font-primary);
}

.topo_m03,
.topo_m03 * {
    box-sizing: border-box;
}

.topo_m03 a {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.topo_m03 button {
    font: inherit;
    -webkit-tap-highlight-color: transparent;
}

.topo_m03 a:focus-visible,
.topo_m03 button:focus-visible {
    outline: 2px solid var(--topo-m03-accent);
    outline-offset: 4px;
}

.topo_m03_main {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 10px 0;
    background-color: var(--color-header-bg);
}

.topo_m03_main_inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    min-height: 100px;
    padding: 12px 0;
}

.topo_m03_contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.topo_m03_contacts a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: var(--color-header-link);
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.topo_m03_contacts i {
    flex: 0 0 16px;
    width: 16px;
    color: var(--color-header-link);
    text-align: center;
}

.topo_m03_logo {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: hidden;
}

.topo_m03_logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.topo_m03_logo_circular {
    width: 84px;
    height: 84px;
    border-radius: 50%;
}

.topo_m03_logo_circular img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transform: scale(1.05);
}

.topo_m03_logo_retangular {
    width: 150px;
    height: 90px;
    border-radius: 8px;
}

.topo_m03_actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    min-width: 0;
}

.topo_m03_social {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.topo_m03_social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--color-header-link);
    font-size: 16px;
    border-radius: 50%;
    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.topo_m03_toggle,
.topo_m03_close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    padding: 0;
    color: #000;
    background: #fff;
    border: 1px solid var(--topo-m03-border);
    border-radius: 10px;
    font-size: 21px;
    cursor: pointer;
    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.topo_m03_navigation {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1002;
    width: min(460px, 100%);
    max-height: calc(100vh - 110px);
    max-height: calc(100dvh - 110px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    box-shadow: var(--topo-m03-shadow);
    border: 1px solid var(--topo-m03-border);
    border-top: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
        opacity .22s ease,
        transform .22s ease,
        visibility .22s ease;
}

.topo_m03_navigation.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.topo_m03_navigation_inner {
    padding: 24px;
}

.topo_m03_menu_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--topo-m03-border);
}

.topo_m03_menu_label {
    display: block;
    color: var(--color-text-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.topo_m03_close {
    width: 38px;
    height: 38px;
    font-size: 18px;
}

.topo_m03_list_menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.topo_m03_list_menu > li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.topo_m03_list_menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 13px 4px;
    color: var(--color-text-dark);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    transition:
        color .2s ease,
        padding .2s ease;
}

.topo_m03_list_menu > li > a:hover,
.topo_m03_list_menu > li > a.is-active,
.topo_m03_list_menu > li > a.active {
    padding-left: 10px;
    color: var(--topo-m03-accent);
}

.topo_m03_list_menu > li:last-child > a {
    border-bottom: 0;
}

.topo_m03 .topo_m03_cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    margin-top: 18px;
    padding: 14px 18px;
    text-align: center;
}

.topo_m03_menu_contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--topo-m03-border);
}

.topo_m03_menu_contacts > .topo_m03_menu_label {
    margin-bottom: 2px;
}

.topo_m03_menu_contacts > a {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    color: var(--color-text-dark);
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.topo_m03_menu_contacts > a:hover {
    color: var(--topo-m03-accent);
}

.topo_m03_menu_contacts > a > i {
    flex: 0 0 18px;
    width: 18px;
    margin-top: 3px;
    color: var(--topo-m03-accent);
    text-align: center;
}

.topo_m03_menu_social {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--topo-m03-border);
}

.topo_m03_menu_social > .topo_m03_menu_label {
    margin-bottom: 14px;
}

.topo_m03_menu_social .topo_m03_social {
    justify-content: flex-start;
    gap: 12px;
}

.topo_m03_menu_social .topo_m03_social a {
    width: 38px;
    height: 38px;
    color: var(--color-text-dark);
    background: #f5f5f5;
    font-size: 17px;
}

.topo_m03_menu_social .topo_m03_social a:hover {
    color: #fff;
    background: var(--topo-m03-accent);
}

.topo_m03_overlay {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(0, 0, 0, .35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity .22s ease,
        visibility .22s ease;
}

.topo_m03_overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (max-width: 1100px) {
    .topo_m03_main_inner {
        gap: 14px;
    }

    .topo_m03_contacts {
        gap: 6px;
    }

    .topo_m03_contacts a {
        gap: 7px;
        font-size: 12px;
    }

    .topo_m03_actions {
        gap: 12px;
    }

    .topo_m03_social {
        gap: 6px;
    }

    .topo_m03_social a {
        width: 26px;
        height: 30px;
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .topo_m03_main_inner {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        min-height: 78px;
        gap: 8px;
        padding: 8px 0;
    }

    .topo_m03_main_inner > .topo_m03_contacts,
    .topo_m03_actions > .topo_m03_social {
        display: none;
    }

    /* .topo_m03_logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    } */

    .topo_m03_logo {
        position: relative;
        top: auto;
        left: auto;
        z-index: 4;
        transform: none;
        margin-right: auto;
    }

    .topo_m03_actions {
        display: contents;
    }

    .topo_m03_toggle {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        width: 42px;
        height: 42px;
        font-size: 19px;

        order: 2;
        margin-left: auto;
    }

    .topo_m03_navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: auto;
        width: 100%;
        max-height: calc(100vh - 90px);
        max-height: calc(100dvh - 90px);
        border-right: 0;
        border-left: 0;
    }

    .topo_m03_navigation_inner {
        padding: 20px;
    }

    .topo_m03_list_menu > li > a {
        min-height: 46px;
        font-size: 15px;
    }

    .topo_m03_menu_contacts > a {
        font-size: 14px;
    }

    .topo_m03_overlay {
        background: rgba(0, 0, 0, .30);
    }
}

@media (max-width: 380px) {
    .topo_m03_main_inner {
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        gap: 5px;
        min-height: 70px;
    }

    .topo_m03_toggle {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .topo_m03_navigation_inner {
        padding: 16px;
    }

    .topo_m03_menu_contacts > a {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .topo_m03 *,
    .topo_m03 *::before,
    .topo_m03 *::after,
    .topo_m03_overlay {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}