@charset "utf-8";

:root {
    --bg: #050505;
    --panel: #101010;
    --accent: #ff8a00;
    --accent-color: #ff8a00;
    --text: #f5f5f0;
    --text-light: #f5f5f0;
    --muted: #aaa79f;
    --text-gray: #aaa79f;
    --line: rgba(255, 255, 255, 0.1);
    --primary-dark: #050505;
    --secondary-dark: #101010;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: "Manrope", Arial, sans-serif;
}

a {
    color: inherit;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 30;
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
    transition: background 180ms ease, backdrop-filter 180ms ease, border-color 180ms ease;
}

.site-header.scrolled,
.site-header:has(.nav-links.active) {
    background: rgba(5, 5, 5, 0.68);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.nav-shell {
    width: min(1500px, calc(100% - 96px));
    min-height: 96px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: max-content;
    text-decoration: none;
}

.brand img {
    display: block;
    width: 118px;
    height: auto;
    max-height: 44px;
    object-fit: contain;
    filter: brightness(1.08) contrast(1.05);
}

.nav-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a,
.nav-lang a {
    min-height: 0;
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
    transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a.active,
.nav-lang a:hover,
.nav-lang a.active,
.nav-lang a[aria-current="page"] {
    color: var(--accent);
}

.nav-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 700;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

.nav-lang span {
    color: rgba(255, 255, 255, 0.42);
    font-size: 13px;
    font-weight: 900;
}

.nav-lang-mobile {
    display: none;
}

.menu-toggle {
    display: none;
}

.site-footer {
    width: 100%;
    padding: 34px max(24px, calc((100vw - 1500px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: #050505;
    border-top: 1px solid var(--line);
}

.footer-logo {
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.footer-links a:hover {
    color: var(--accent);
}

.site-footer span {
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
}

.anpc-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.anpc-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.78;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.anpc-links a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.anpc-links img {
    width: 150px;
    max-width: 38vw;
    height: auto;
    display: block;
}

.cookie-placeholder {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    color: var(--muted);
    text-align: center;
}

.cookie-placeholder[hidden],
.cookie-banner[hidden] {
    display: none;
}

.cookie-inline-accept,
.cookie-btn {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #050505;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    display: flex;
    justify-content: center;
}

.cookie-banner-content {
    position: relative;
    width: min(620px, 100%);
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.cookie-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.cookie-banner-content h2 {
    padding-right: 38px;
    font-size: 24px;
}

.cookie-banner-content p {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.45;
}

.cookie-required-option,
.cookie-optional-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 18px 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.cookie-btn.secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width: 1100px) {
    .nav-shell {
        position: relative;
        width: calc(100% - 28px);
        min-height: 64px;
    }

    .brand img {
        width: 104px;
        max-height: 38px;
    }

    .nav-shell > .nav-lang {
        display: none;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
        display: inline-flex;
        flex: 0 0 44px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        margin-left: auto;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(5, 5, 5, 0.32);
        backdrop-filter: blur(10px);
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
        border-radius: 999px;
        transition: transform 180ms ease, opacity 180ms ease;
    }

    .menu-toggle.active span:nth-child(1),
    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2),
    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3),
    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 26px 0 30px;
        background: rgba(5, 5, 5, 0.68);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(16px);
    }

    .nav-links.active,
    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        min-height: 30px;
        font-size: 14px;
    }

    .nav-links .nav-lang-mobile {
        min-height: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 6px 0 0;
        gap: 10px;
    }

    .nav-links .nav-lang-mobile a {
        width: auto;
        min-height: 30px;
        padding: 0;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 34px 20px;
    }

    .footer-links {
        justify-content: flex-start;
        gap: 16px 20px;
    }

    .anpc-links {
        flex-wrap: wrap;
    }
}
