/* main/static/main/css/site-header.css */
/* Шапка и футер отдела цифровых решений */

.shell-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(248, 250, 252, 0.9);
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.shell-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.65rem;
}

/* Бренд отдела */

.shell-header__brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: inherit;
}

.shell-header__logo-circle {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    background: radial-gradient(circle at top, #0f766e, #0f172a);
    color: #f9fafb;
    box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.25);
}

.shell-header__brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.shell-header__brand-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.shell-header__brand-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Навигация */

.shell-header__nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.shell-header__nav-link {
    font-size: 0.88rem;
    text-decoration: none;
    color: #111827;
    position: relative;
    padding-block: 0.15rem;
}

.shell-header__nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--shell-primary), var(--shell-accent));
    transition: width 0.18s ease-out;
}

.shell-header__nav-link:hover::after {
    width: 100%;
}

/* Футер */

.shell-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    background-color: #f9fafb;
}

.shell-footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.7rem 0;
    font-size: 0.8rem;
    color: #6b7280;
}

.shell-footer__brand {
    font-weight: 500;
}

/* Адаптив */

@media (max-width: 767.98px) {
    .shell-header__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .shell-header__nav {
        gap: 0.9rem;
    }
}
