@media (max-width: 1024px) {
    :root {
        --hdr: 120px;
    }

    /* Верхняя строка — логотип и кнопки, нижняя — контакты. */
    .hdr .hdr__top {
        position: relative;
        box-sizing: border-box;
        height: var(--hdr);
        padding-bottom: 46px;
    }

    .hdr .tel,
    .hdr .hdr__meta {
        position: absolute;
        bottom: 0;
        display: flex;
        align-items: center;
        height: 45px;
        margin: 0;
        max-width: calc(50% - 30px);
    }

    .hdr .tel {
        left: 24px;
    }

    .hdr .hdr__meta {
        right: 24px;
        gap: 0;
    }

    /* На мобильном сразу показываем ссылку общего телефона. */
    .hdr .tel__btn,
    .hdr .hdr__meta > span {
        display: none;
    }

    .hdr .tel__drop {
        position: static;
        min-width: 0;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .hdr .tel__drop > li {
        display: none;
    }

    .hdr .tel__drop > li:first-child {
        display: block;
        padding: 0;
        background: transparent;
    }

    .hdr .tel__drop > li > span {
        display: none;
    }

    .hdr .tel__drop a,
    .hdr .hdr__meta a {
        display: flex;
        align-items: center;
        min-height: 44px;
        font-family: var(--f-body);
        font-size: 13px;
        font-weight: 500;
        line-height: 1.3;
        color: var(--text);
        text-decoration: none;
    }

    .hdr .tel__drop a {
        white-space: nowrap;
    }

    .hdr .hdr__meta a {
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .hdr .tel__drop a:focus-visible,
    .hdr .hdr__meta a:focus-visible {
        outline: 2px solid var(--amber);
        outline-offset: 2px;
    }
}

@media (max-width: 720px) {
    .hdr .tel {
        left: 20px;
    }

    .hdr .hdr__meta {
        right: 20px;
    }
}

