@media (max-width: 1260px) {
    .header {
        padding-top: 0;
        margin-top: 0;
    }

    .header__top-fone {
        height: 66px;
    }

    .header__top {
        align-items: center;
        padding-top: 12px;
    }

    .header__logo {
        width: 104px;
    }

    .header__mobile-menu {
        order: 5;
        margin-top: 0;
        margin-right: 0;
    }

    .header__mobile-menu .menu__btn {
        display: flex;
    }

    .head__address {
        display: none;
    }

    .head__address-text {
        display: block;
    }

    .menu__lang {
        display: none;
    }

    .register__header-btn {
        display: block;
    }

    .register__header-link {
        min-height: 40px;
        padding: 9px 16px;
        font-size: 14px;
    }

    .header__mobile-menu .header-mobile-panel {
        position: fixed;
        z-index: 1000;
        top: 0;
        right: 0;
        left: auto;
        width: min(390px, 100vw);
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0 14px 22px;
        background:
            radial-gradient(circle at 70% 0%, rgba(0, 229, 236, 0.12), transparent 32%),
            linear-gradient(180deg, #101010 0%, #171717 45%, #090909 100%);
        color: #ffffff;
        box-shadow: -24px 0 60px rgba(0, 0, 0, 0.48);
        transform: translateX(110%);
        transition: transform 0.35s ease;
    }

    .header__mobile-menu .header-mobile-panel.menu__list--open {
        transform: translateX(0);
    }

    .menu__mobile-head {
        position: sticky;
        top: 0;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        height: 76px;
        margin: 0 -14px;
        padding: 14px 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: linear-gradient(180deg, rgba(10, 10, 10, 0.98), rgba(18, 18, 18, 0.94));
        backdrop-filter: blur(8px);
    }

    .menu__mobile-logo .header__logo {
        width: 105px;
    }

    .menu__mobile-register {
        min-height: 36px;
        padding: 9px 14px;
        font-size: 12px;
        white-space: nowrap;
    }

    .menu__close,
    .menu__close-btn {
        display: inline-flex;
        position: static;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .menu__close-btn img {
        width: 24px;
        height: 24px;
    }

    .header-mobile-lang {
        display: none;
    }

    .header-mobile-services-wrap,
    .header-mobile-links,
    .header-mobile-contacts {
        display: block;
    }

    .menu__item-list--mob.header-mobile-services {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .menu__item-list--mob.header-mobile-services li,
    .header-mobile-service {
        margin-bottom: 0;
    }

    .header-mobile-service {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header-mobile-service__link,
    .header-mobile-service__button {
        display: flex;
        align-items: center;
        gap: 16px;
        width: 100%;
        height: auto;
        min-height: 41px;
        padding: 8px 4px;
        border: 0;
        background: transparent;
        color: #ffffff;
        font-family: inherit;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.25;
        text-align: left;
        text-transform: none;
        cursor: pointer;
    }

    .header-mobile-service__link {
        padding-right: 12px;
    }

    .header-mobile-service__button::after {
        display: none;
    }

    .header-mobile-service__link:hover,
    .header-mobile-service__link.active,
    .header-mobile-service__button:hover,
    .header-mobile-service.active .header-mobile-service__button {
        color: #00e5ec;
    }

    .header-mobile-service.active .header-mobile-service__button {
        margin-left: -14px;
        margin-right: -14px;
        width: calc(100% + 28px);
        padding-left: 18px;
        padding-right: 18px;
        background: linear-gradient(90deg, rgba(0, 229, 236, 0.12), rgba(255, 255, 255, 0.02));
    }

    .header-mobile-service .header-service-icon {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    .header-mobile-service .header-service-icon img {
        max-width: 24px;
        max-height: 24px;
        filter: grayscale(1) brightness(0) invert(1);
    }

    .header-mobile-service__link:hover .header-service-icon img,
    .header-mobile-service__link.active .header-service-icon img,
    .header-mobile-service.active .header-service-icon img {
        filter: brightness(0) saturate(100%) invert(60%) sepia(96%) saturate(1819%) hue-rotate(134deg) brightness(105%) contrast(104%);
    }

    .header-mobile-service__button .header-service-arrow {
        width: 7px;
        height: 7px;
        margin-left: auto;
        margin-right: 8px;
        color: currentColor;
        transition: transform 0.2s ease;
    }

    .header-mobile-service.active .header-mobile-service__button .header-service-arrow {
        transform: rotate(135deg);
    }

    .header-mobile-service__link .header-service-arrow {
        width: 7px;
        height: 7px;
        margin-left: auto;
        border: 1px solid currentColor;
        border-radius: 50%;
        opacity: 0.65;
        transform: none;
        transition: opacity 0.2s ease, background-color 0.2s ease;
    }

    .header-mobile-service__link:hover .header-service-arrow,
    .header-mobile-service__link.active .header-service-arrow {
        background-color: currentColor;
        opacity: 1;
    }

    .nav__dropdown.header-mobile-submenu {
        display: none;
        padding: 10px 0 14px 52px;
        margin: 0;
    }

    .nav__item.active .nav__dropdown.header-mobile-submenu {
        display: flex;
    }

    .header-mobile-submenu__link {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 34px;
        padding: 6px 12px 6px 0;
        color: #ffffff;
        font-size: 13px;
        line-height: 1.25;
    }

    .header-mobile-submenu__link::after {
        content: "";
        width: 8px;
        height: 8px;
        margin-left: auto;
        border: 1px solid currentColor;
        border-radius: 50%;
        opacity: 0.65;
        transition: opacity 0.2s ease, background-color 0.2s ease;
    }

    .header-mobile-submenu__icon {
        width: 22px;
        height: 22px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 22px;
    }

    .header-mobile-submenu__icon img {
        display: block;
        max-width: 22px;
        max-height: 22px;
        object-fit: contain;
        filter: brightness(0) saturate(100%) invert(60%) sepia(96%) saturate(1819%) hue-rotate(134deg) brightness(105%) contrast(104%);
        opacity: 0.95;
    }

    .header-mobile-submenu__link:hover,
    .header-mobile-submenu__link.active {
        color: #00e5ec;
    }

    .header-mobile-submenu__link:hover::after,
    .header-mobile-submenu__link.active::after {
        background-color: currentColor;
        opacity: 1;
    }

    .header-mobile-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 16px 0 12px;
    }

    .header-mobile-link {
        position: relative;
        display: flex;
        align-items: center;
        min-height: 42px;
        padding: 10px 12px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
        color: rgba(255, 255, 255, 0.82);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.02em;
        line-height: 1.2;
        text-transform: uppercase;
        transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    }

    .header-mobile-link::after {
        content: "";
        width: 7px;
        height: 7px;
        margin-left: auto;
        margin-right: 2px;
        border: 1px solid currentColor;
        border-radius: 50%;
        opacity: 0.65;
        transition: opacity 0.2s ease, background-color 0.2s ease;
    }

    .header-mobile-link:hover,
    .header-mobile-link.active {
        border-color: rgba(0, 229, 236, 0.36);
        background: linear-gradient(180deg, rgba(0, 229, 236, 0.13), rgba(0, 229, 236, 0.035));
        color: #00e5ec;
        transform: translateY(-1px);
    }

    .header-mobile-link:hover::after,
    .header-mobile-link.active::after {
        background-color: currentColor;
        opacity: 1;
    }

    .header-mobile-link--accent {
        grid-column: 1 / -1;
        justify-content: center;
        min-height: 40px;
        border-color: rgba(0, 229, 236, 0.38);
        background: linear-gradient(90deg, rgba(0, 229, 236, 0.18), rgba(0, 106, 116, 0.22));
        color: #00e5ec;
        text-align: center;
    }

    .header-mobile-link--accent::after {
        display: none;
    }

    .header-mobile-contacts {
        display: grid;
        gap: 18px;
        margin-top: auto;
        padding: 22px 10px 0;
    }

    .header-mobile-contact {
        position: relative;
        display: block;
        padding-left: 38px;
        color: #ffffff;
        font-size: 16px;
        line-height: 1.35;
    }

    .header-mobile-contact::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 22px;
        height: 22px;
        transform: translateY(-50%);
        filter: brightness(0) saturate(100%) invert(60%) sepia(96%) saturate(1819%) hue-rotate(134deg) brightness(105%) contrast(104%);
    }

    .header-mobile-contact--phone::before {
        background: url("/assets/images/phone-2.svg") center / contain no-repeat;
    }

    .header-mobile-contact--address::before {
        background: url("/assets/images/road-help/icons/location.svg") center / contain no-repeat;
    }

    .header-mobile-contacts__lang {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        width: fit-content;
        padding: 8px 12px;
        margin: 2px auto 0;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.035);
        list-style: none;
    }

    .header-mobile-contacts__lang .menu__lang-btn {
        font-size: 15px;
        line-height: 1;
    }

    .header-mobile-contacts__lang .menu__link-uk,
    .header-mobile-contacts__lang .menu__link-ru {
        color: rgba(255, 255, 255, 0.52);
        font-weight: 500;
        text-transform: uppercase;
    }

    .header-mobile-contacts__lang .menu__lang-btn.active .menu__link-uk,
    .header-mobile-contacts__lang .menu__lang-btn.active .menu__link-ru {
        color: #ffffff;
        font-weight: 700;
    }
}

@media (max-width: 820px) {
    .register__header-btn {
        display: none;
    }

    .menu__phone,
    .menu__phone-mobshino {
        display: block;
        order: 4;
        margin-left: auto;
        margin-right: 18px;
        margin-top: 0;
    }

    .phone__link,
    .phone__link-mobshino {
        color: #ffffff;
        font-size: 16px;
        font-weight: 500;
        line-height: 1;
    }

    .header__top {
        align-items: center;
    }

    .header__mobile-menu .header-mobile-panel {
        width: 100vw;
    }
}

@media (max-width: 480px) {
    .header__logo {
        width: 96px;
    }

    .header__mobile-menu .menu__btn {
        width: 34px;
        height: 22px;
    }

    .menu__phone,
    .menu__phone-mobshino {
        margin-right: 24px;
    }

    .phone__link,
    .phone__link-mobshino {
        font-size: 14px;
    }

    .phone__link::before,
    .phone__link-mobshino::before {
        display: block;
    }

    .header__mobile-menu .header-mobile-panel {
        padding-left: 12px;
        padding-right: 12px;
    }

    .menu__mobile-logo .header__logo {
        width: 100px;
    }

    .menu__mobile-register {
        min-height: 34px;
        padding: 8px 12px;
        font-size: 11px;
    }

    .header-mobile-service__link,
    .header-mobile-service__button {
        gap: 14px;
        min-height: 40px;
        font-size: 13px;
    }

    .header-mobile-contact {
        font-size: 15px;
    }
}

@media (max-width: 370px) {
    .phone__link-mobshino {
        display: inline;
    }

    .menu__mobile-head {
        gap: 8px;
    }

    .menu__mobile-logo .header__logo {
        width: 92px;
    }

    .menu__mobile-register {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 10px;
    }
}
