.nb-masthead {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(7, 11, 24, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--neon-border);
}

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

.nb-masthead__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.nb-masthead__crest {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--neon-border-highlight);
    box-shadow: var(--neon-glow);
    position: relative;
}

.nb-masthead__crest::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 16px;
    background: radial-gradient(circle, rgba(23, 107, 255, 0.28), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.nb-masthead__logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nb-masthead__mark {
    display: block;
    width: 100%;
    height: 100%;
}

.nb-masthead__copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.nb-masthead__name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--neon-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nb-masthead__slogan {
    font-size: 0.72rem;
    color: var(--neon-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.nb-masthead__nav {
    display: none;
    align-items: center;
    gap: 0.35rem;
}

.nb-masthead__link {
    padding: 0.45rem 0.8rem;
    border-radius: var(--nb-radius-pill);
    color: var(--neon-text-secondary);
    font-size: 0.86rem;
    font-weight: 600;
    transition: background var(--nb-fast), color var(--nb-fast), box-shadow var(--nb-fast);
}

.nb-masthead__link:hover,
.nb-masthead__link.is-active {
    background: rgba(23, 107, 255, 0.18);
    color: var(--neon-text-primary);
    box-shadow: inset 0 0 0 1px var(--neon-border-highlight);
}

.nb-masthead__tel,
.nb-masthead__hours {
    margin-inline-start: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--nb-radius-pill);
    border: 1px solid var(--neon-border);
    color: var(--neon-cyan);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nb-masthead__logout button {
    border: 0;
    background: transparent;
    color: var(--neon-text-secondary);
    font-weight: 600;
    cursor: pointer;
    padding: 0.45rem 0.8rem;
}

.nb-masthead__edge {
    height: 2px;
    width: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(23, 107, 255, 0.55),
        rgba(0, 217, 255, 0.45),
        transparent
    );
    opacity: 0.9;
}

@media (min-width: 992px) {
    .nb-masthead__nav {
        display: flex;
    }

    .nb-masthead__slogan {
        max-width: 320px;
    }
}
