.mobile-nav .res-log a {
    display: inline-block;
}

.mobile-nav .res-log img {
    display: block;
    width: 260px;
    max-width: calc(100% - 45px);
    height: auto;
}

.mobile-nav .mobile-nav__close {
    position: absolute;
    top: 15px;
    right: 20px;
    display: flex;
    width: 40px;
    height: 40px;
    padding: 0;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.mobile-nav .mobile-nav__close:hover,
.mobile-nav .mobile-nav__close:focus-visible {
    color: #267dd3;
    background-color: rgba(255, 255, 255, 0.08);
    outline: none;
}

.mobile-nav .mobile-nav__close svg {
    display: block;
    width: 28px;
    height: 28px;
    pointer-events: none;
}

.mobile-nav .mobile-nav__close path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.mobile-nav .mobile-menu > li.menu-item-has-children::before {
    display: none;
}

.mobile-nav .mobile-menu__toggle {
    display: flex;
    width: 100%;
    min-height: 44px;
    padding: 0;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    text-align: left;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.mobile-nav .mobile-menu__toggle:hover,
.mobile-nav .mobile-menu__toggle:focus-visible,
.mobile-nav .mobile-menu__toggle.active {
    color: #267dd3;
    outline: none;
}

.mobile-nav .mobile-menu__arrow {
    flex: 0 0 18px;
    width: 18px;
    height: 12px;
    transition: transform 0.25s ease;
}

.mobile-nav .mobile-menu__arrow path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mobile-nav .menu-item-has-children.active > .mobile-menu__toggle .mobile-menu__arrow {
    transform: rotate(180deg);
}

.mobile-nav__contacts {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #5b5b5b;
}

.mobile-nav__contact-link {
    display: flex;
    min-height: 44px;
    padding: 7px 0;
    align-items: center;
    gap: 14px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.mobile-nav__contact-link i {
    flex: 0 0 22px;
    color: #267dd3;
    font-size: 19px;
    text-align: center;
}

.mobile-nav__contact-link:hover,
.mobile-nav__contact-link:focus-visible {
    color: #267dd3;
    outline: none;
}

.mobile-nav__socials {
    display: flex;
    margin-top: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.mobile-nav__socials a {
    display: inline-flex;
    min-height: 44px;
    padding: 9px 14px;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.mobile-nav__socials a i {
    color: #267dd3;
    font-size: 20px;
}

.mobile-nav__socials a:hover,
.mobile-nav__socials a:focus-visible {
    color: #ffffff;
    background-color: #267dd3;
    border-color: #267dd3;
    outline: none;
}

.mobile-nav__socials a:hover i,
.mobile-nav__socials a:focus-visible i {
    color: #ffffff;
}

@media (max-width: 480px) {
    .mobile-nav__socials {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .mobile-nav__socials a {
        justify-content: center;
    }
}
