.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: visible;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.header {
    position: relative;
}

body.nav-open {
    overflow: hidden;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 2000;
    padding: 12px 16px;
    border-radius: 12px;
    background: #111111;
    color: #ffffff;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 84px;
}

.header__brand {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    color: var(--heading, #111111);
    text-decoration: none;
    flex-shrink: 0;
}

.header__brand-name {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.header__brand-type {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted, #6f6f6f);
}

.header__toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--border, rgba(17, 17, 17, 0.1));
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
    -webkit-appearance: none;
    appearance: none;
}

.header__toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--heading, #111111);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.header__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.header__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex: 1;
}

.header__menu {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header__menu li {
    margin: 0;
    padding: 0;
}

.header__menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--text, #1c1c1c);
    text-decoration: none;
    transition: color 0.2s ease;
}

.header__menu a:hover {
    color: var(--primary, #111111);
}

.header__menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--primary, #111111);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.header__menu a:hover::after,
.header__menu a:focus-visible::after {
    transform: scaleX(1);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.header__lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--border, rgba(17, 17, 17, 0.1));
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
}

.header__lang-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 36px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text, #1c1c1c);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.header__lang-switcher a:hover,
.header__lang-switcher a.is-active {
    background: var(--heading, #111111);
    color: #ffffff;
}

.header__cta {
    white-space: nowrap;
}

.header__bar {
    border-top: 1px solid rgba(17, 17, 17, 0.06);
    background: rgba(255, 255, 255, 0.72);
}

.header__bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 46px;
    flex-wrap: wrap;
    text-align: center;
}

.header__bar-inner a,
.header__bar-inner span {
    font-size: 0.92rem;
    color: var(--text-muted, #6f6f6f);
    text-decoration: none;
}

.header__bar-inner a:hover {
    color: var(--primary, #111111);
}

@media (max-width: 1180px) {
    .header__menu {
        gap: 16px;
    }

    .header__menu a {
        font-size: 0.92rem;
    }
}

@media (max-width: 991px) {
    .header__container {
        min-height: 76px;
    }

    .header__toggle {
        display: inline-flex;
        position: relative;
        z-index: 1002;
    }

    .header__nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(17, 17, 17, 0.08);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .header__nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .header__menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .header__menu li {
        width: 100%;
    }

    .header__menu a {
        width: 100%;
        min-height: 48px;
        padding: 8px 0;
    }

    .header__menu a::after {
        display: none;
    }

    .header__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .header__lang-switcher {
        justify-content: center;
    }

    .header__cta {
        width: 100%;
        justify-content: center;
    }

    .header__bar-inner {
        gap: 10px 16px;
        padding: 12px 0;
    }
}

@media (max-width: 767px) {
    .header__container {
        gap: 14px;
        min-height: 72px;
    }

    .header__brand-name {
        font-size: 1.24rem;
    }

    .header__brand-type {
        font-size: 0.72rem;
    }

    .header__bar-inner a,
    .header__bar-inner span {
        font-size: 0.88rem;
    }
}


.header--minimal {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header--minimal .header__container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header--minimal .header__brand {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}

.header--minimal .header__brand-name {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
    color: var(--heading);
}

.header--minimal .header__brand-type {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1;
}

.header--minimal .header__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 24px;
}

.header--minimal .header__menu {
    display: flex;
    align-items: center;
    gap: 22px;
}

.header--minimal .header__menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.25s ease, opacity 0.25s ease;
}

.header--minimal .header__menu a:hover {
    color: var(--heading);
    opacity: 0.7;
}

.header--minimal .header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header--minimal .header__lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
}

.header--minimal .header__lang-switcher a {
    min-width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
}

.header--minimal .header__lang-switcher a.is-active {
    background: var(--heading);
    color: var(--surface);
}

.header--minimal .header__cta {
    white-space: nowrap;
}

@media (max-width: 980px) {
    .header--minimal .header__toggle {
        display: inline-flex;
    }

    .header--minimal .header__nav {
        position: absolute;
        top: 100%;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 18px;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        background: var(--surface);
        box-shadow: var(--shadow-md);
    }

    .header--minimal .header__nav.is-open {
        display: flex;
    }

    .header--minimal .header__menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .header--minimal .header__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .header--minimal .header__cta {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 981px) {
    .header--minimal .header__toggle {
        display: none;
    }
}