.breadcrumb {
    display: flex;
    gap: 13px;
    align-items: center;
    padding-top: 28px;
    font-size: 12px;
    color: var(--muted)
}

.breadcrumb a {
    color: var(--deep);
    min-height: 30px;
    display: inline-flex;
    align-items: center
}

[data-page="about"] .hero {
    padding-top: 35px
}

[data-page="specialists"] .specialist-section {
    margin-top: 25px
}

.professional-header h1 {
    font-size: clamp(34px, 3.65vw, 52px);
    color: var(--deep)
}

.cross-page {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding-top: 28px;
    padding-bottom: 35px;
    font-size: 14px;
    color: var(--deep)
}

.cross-page a {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 13px
}

.cross-page a:hover,
.breadcrumb a:hover {
    text-decoration: underline;
    text-underline-offset: 4px
}

@media(max-width:800px) {
    [data-page] .header-inner {
        padding-top: 12px
    }

    [data-page] .nav-link {
        padding: 7px 12px;
        font-size: 13px
    }

    .breadcrumb {
        padding-top: 20px
    }

    .cross-page {
        flex-direction: column;
        gap: 4px
    }

    .professional-header h1 {
        font-size: 42px
    }
}

@media(max-width:580px) {
    [data-page] .nav-link {
        padding: 7px 9px;
        font-size: 12px
    }

    [data-page] nav {
        gap: 3px
    }

    .breadcrumb {
        font-size: 11px
    }

    [data-page="about"] .hero {
        padding-top: 24px
    }

    .professional-header h1 {
        font-size: 37px
    }

    .cross-page {
        font-size: 13px
    }
}

@media(max-width:360px) {
    [data-page] .nav-link {
        padding: 7px 8px;
        font-size: 11px
    }

    .professional-header h1 {
        font-size: 33px
    }
}

/* Телефоны в шапке контентных страниц: на десктопе номера, на телефоне — круглая кнопка звонка */
.header-actions {
    display: flex;
    align-items: center;
    gap: 26px
}

.header-phones {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.35
}

.header-phone {
    font-size: 14px;
    font-weight: 600;
    color: var(--deep);
    white-space: nowrap
}

.header-phone:hover {
    text-decoration: underline;
    text-underline-offset: 3px
}

.header-call {
    display: none;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--purple)
}

.header-call:active {
    transform: scale(.94)
}

.header-call:focus-visible,
.header-phone:focus-visible {
    outline: 3px solid var(--deep);
    outline-offset: 3px
}

@media(max-width:1100px) {
    .header-actions {
        gap: 18px
    }

    .header-phone {
        font-size: 13px
    }
}

/* Узкий десктоп: номера не помещаются рядом с меню — та же кнопка звонка */
@media(min-width:801px) and (max-width:960px) {
    .header-phones {
        display: none
    }

    .header-call {
        display: inline-flex
    }

    /* «О нас» и «Для специалистов» здесь переносились в две строки */
    .header-inner {
        gap: 16px
    }

    .header-inner .nav-link {
        white-space: nowrap;
        padding-inline: 12px
    }

    .header-actions {
        gap: 14px
    }
}

@media(max-width:800px) {
    .header-actions {
        margin-left: auto;
        gap: 12px
    }

    .header-phones {
        display: none
    }

    .header-call {
        display: inline-flex
    }
}

@media(max-width:360px) {
    .header-actions {
        gap: 8px
    }

    .header-call {
        width: 36px;
        height: 36px
    }
}
