/* ============================
   HEADER BASE
============================ */

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition:
        background-color 0.35s ease,
        backdrop-filter 0.35s ease,
        box-shadow 0.35s ease;
}

.site-header.is-scrolled {
    background: rgba(5, 73, 94, 0.587);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 32px;
}

/* ============================
   LOGO BLOCK
============================ */

.site-brand .brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo img {
    height: 32px;
    width: auto;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

/* Уменьшение логотипа и текста при скролле */
.site-header.is-scrolled .brand-logo img,
.site-header.is-scrolled .brand-text {
    transform: scale(0.92);
    opacity: 0.85;
}

/* ============================
   HEADER RIGHT SIDE
============================ */

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ============================
   BURGER BUTTON
============================ */

.burger__btn {
    transform: scale(1);
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

/* Уменьшение бургера при скролле */
.site-header.is-scrolled .burger__btn {
    transform: scale(0.88);
    opacity: 0.85;
}
/* ============================
   LANGUAGE SWITCHER (compact)
============================ */

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px; /* компактнее */
}

.lang-switcher a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem; /* уменьшили */
    font-weight: 600;
    letter-spacing: 0.25px;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease,
        color 0.25s ease;
}

.lang-switcher a:hover {
    color: #ddd;
}

.lang-switcher span {
    color: #fff;
    opacity: 0.5;
    font-size: 0.75rem; /* / меньше */
    margin: 0 1px; /* минимальный отступ */
}

/* Уменьшение при скролле */
.site-header.is-scrolled .lang-switcher a,
.site-header.is-scrolled .lang-switcher span {
    transform: scale(0.85);
    opacity: 0.75;
}
