/* BOORAN header — steel beam mast */

.bn-beam {
    position: sticky;
    top: 0;
    z-index: 80;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.35) 100%),
        linear-gradient(90deg, #181d26, #12151b 50%, #181d26);
    border-bottom: 1px solid var(--bn-line);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.bn-beam__edge {
    height: 2px;
    background: linear-gradient(90deg, var(--bn-burgundy-deep), var(--bn-burgundy) 30%, var(--bn-gold) 55%, var(--bn-steel-400) 100%);
}

.bn-beam__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(1120px, calc(100% - 1.5rem));
    margin-inline: auto;
    min-height: var(--bn-header-h);
    padding-block: 0.45rem;
}

.bn-beam__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.bn-beam__glyph {
    position: relative;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border: 1px solid var(--bn-steel-500);
    background: var(--bn-surface-metal);
    clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
    box-shadow: var(--bn-bevel);
}

.bn-beam__glyph-core {
    position: absolute;
    inset: 7px;
    background: linear-gradient(145deg, var(--bn-burgundy-soft), var(--bn-burgundy-deep));
    clip-path: polygon(3px 0, calc(100% - 3px) 0, 100% 3px, 100% calc(100% - 3px), calc(100% - 3px) 100%, 3px 100%, 0 calc(100% - 3px), 0 3px);
}

.bn-beam__glyph-gold {
    position: absolute;
    inset-inline-start: 50%;
    top: 50%;
    width: 10px;
    height: 1px;
    background: var(--bn-gold-bright);
    transform: translate(-50%, -50%);
}

.bn-beam__copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bn-beam__name {
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bn-beam__tag {
    font-size: 0.7rem;
    color: var(--bn-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 28ch;
}

.bn-beam__links {
    display: none;
    align-items: center;
    gap: 0.15rem;
}

.bn-beam__links a,
.bn-beam__links button {
    position: relative;
    padding: 0.45rem 0.75rem;
    border: none;
    background: transparent;
    color: var(--bn-steel-300);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: color var(--bn-transition-fast);
}

.bn-beam__links a::after,
.bn-beam__links button::after {
    content: '';
    position: absolute;
    inset-inline: 0.55rem;
    bottom: 0.15rem;
    height: 1px;
    background: var(--bn-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--bn-transition);
}

.bn-beam__links a:hover,
.bn-beam__links a.is-active,
.bn-beam__links button:hover {
    color: var(--bn-crimson-vibrant);
}

.bn-beam__links a.is-active::after,
.bn-beam__links a:hover::after {
    transform: scaleX(1);
}

.bn-beam__logout {
    margin: 0;
}

.bn-beam__tel {
    margin-inline-start: 0.35rem;
    padding: 0.35rem 0.7rem !important;
    border: 1px solid var(--bn-steel-400) !important;
    background: var(--bn-surface-metal) !important;
    color: var(--bn-steel-800) !important;
    font-variant-numeric: tabular-nums;
    clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px);
}

.bn-beam__tel::after {
    display: none !important;
}

@media (min-width: 900px) {
    .bn-beam__links {
        display: inline-flex;
    }
}
