:root {
    --bg: #070707;
    --bg-2: #101010;
    --panel: #171717;
    --panel-2: #202020;
    --text: #f8f1e8;
    --muted: #b8afa2;
    --line: rgba(248, 241, 232, 0.13);
    --accent: #e3b04b;
    --accent-2: #ffe100;
    --radius: 30px;
    --max: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

body::selection {
    background: var(--accent);
    color: #111;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--max), calc(100% - 42px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5000;
    background: rgba(7, 7, 7, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    width: min(1420px, calc(100% - 48px));
    min-height: 86px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    position: relative;
    z-index: 5200;
}

.site-logo {
    text-transform: uppercase;
    letter-spacing: .13em;
    font-weight: 900;
    font-size: 22px;
    position: relative;
    z-index: 5200;
}

.site-logo span {
    color: var(--accent);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-item {
    position: relative;
}

.nav-link,
.linkedin-link,
.dropdown-trigger {
    color: var(--text);
    font-size: 15px;
    font-weight: 800;
    transition: color .25s ease;
    border: none;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}

.nav-link:hover,
.linkedin-link:hover,
.dropdown-trigger:hover,
.nav-link.is-active,
.dropdown-trigger.is-active {
    color: var(--accent);
}

.linkedin-link {
    font-size: 25px;
    letter-spacing: -0.05em;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 22px);
    left: 50%;
    min-width: 430px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
        rgba(12, 12, 12, .96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 28px 90px rgba(0,0,0,.42);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 14px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.dropdown-panel::before {
    content: "";
    position: absolute;
    top: -22px;
    left: 0;
    right: 0;
    height: 22px;
}

.has-dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.dropdown-panel a {
    display: block;
    padding: 16px 18px;
    border-radius: 16px;
    color: var(--text);
    font-size: 19px;
    font-weight: 900;
    text-transform: uppercase;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.dropdown-panel a:hover {
    background: rgba(227,176,75,.13);
    color: var(--accent);
    transform: translateX(6px);
}

.burger-btn {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    position: relative;
    z-index: 5300;
}

.burger-btn span {
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    transition: transform .25s ease;
}

.burger-btn.is-open span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.burger-btn.is-open span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 86px;
    left: 0;
    right: 0;
    height: calc(100vh - 86px);
    z-index: 5100;
    background:
        radial-gradient(circle at 85% 5%, rgba(227,176,75,.22), transparent 34%),
        radial-gradient(circle at 15% 80%, rgba(255,225,0,.10), transparent 28%),
        linear-gradient(180deg, rgba(7,7,7,.99), rgba(16,16,16,.99));
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-18px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
    overflow-y: auto;
    border-top: 1px solid var(--line);
}

.mobile-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,.045), transparent 45%),
        rgba(0,0,0,.35);
    pointer-events: none;
}

.mobile-menu.is-open,
body.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-nav {
    position: relative;
    z-index: 2;
    width: min(100% - 42px, 620px);
    margin: 0 auto;
    padding: 42px 0 72px;
    display: grid;
    gap: 14px;
}

.mobile-nav a,
.mobile-submenu-trigger {
    width: 100%;
    padding: 20px;
    border: 1px solid rgba(248, 241, 232, 0.18);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035)),
        rgba(12,12,12,.78);
    box-shadow: 0 18px 55px rgba(0,0,0,.22);
    color: var(--text);
    font-size: 22px;
    font-weight: 900;
    text-align: left;
}

.mobile-nav a:hover,
.mobile-submenu-trigger:hover {
    border-color: rgba(227,176,75,.42);
    background:
        linear-gradient(180deg, rgba(227,176,75,.13), rgba(255,255,255,.04)),
        rgba(12,12,12,.88);
}

.mobile-submenu-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
}

.mobile-submenu-trigger span {
    color: var(--accent);
    font-size: 28px;
    line-height: 1;
    transition: transform .25s ease;
}

.mobile-submenu-trigger.is-open span {
    transform: rotate(45deg);
}

.mobile-submenu {
    display: none;
    padding-left: 18px;
    gap: 10px;
}

.mobile-submenu-trigger.is-open + .mobile-submenu {
    display: grid;
}

.mobile-submenu a {
    font-size: 18px;
    color: var(--muted);
    padding: 16px 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 23px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    font-size: 14px;
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent);
    color: #17100a;
}

.btn-dark {
    border-color: var(--line);
    background: rgba(255,255,255,.04);
    color: var(--text);
}

.btn-yellow {
    background: var(--accent-2);
    color: #111;
}

.site-footer {
    padding: 38px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.footer-inner {
    width: min(1420px, calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.site-footer a {
    color: var(--accent);
    font-weight: 700;
}

.reveal {
    opacity: 0;
    transform: translateY(44px);
    transition: opacity .85s ease, transform .85s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9000;
    padding: 24px;
    background: linear-gradient(180deg, rgba(7,7,7,0), rgba(7,7,7,.96));
}

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

.cookie-box {
    width: min(960px, 100%);
    margin: 0 auto;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035)),
        rgba(12,12,12,.98);
    box-shadow: 0 30px 90px rgba(0,0,0,.45);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

.cookie-content h2 {
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cookie-content p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 16px;
}

.cookie-choice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 800;
    cursor: pointer;
}

.cookie-choice input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dropdown-panel a:hover,
.dropdown-panel a.is-active {
    background: rgba(227,176,75,.13);
    color: var(--accent);
    transform: translateX(6px);
}

.mobile-nav a:hover,
.mobile-nav a.is-active,
.mobile-submenu-trigger:hover,
.mobile-submenu-trigger.is-active {
    border-color: rgba(227,176,75,.42);
    background:
        linear-gradient(180deg, rgba(227,176,75,.13), rgba(255,255,255,.04)),
        rgba(12,12,12,.88);
    color: var(--accent);
}

.mobile-submenu a.is-active {
    color: var(--accent);
    border-color: rgba(227,176,75,.42);
}

@media (max-width: 760px) {
    .cookie-box {
        grid-template-columns: 1fr;
    }

    .cookie-actions .btn {
        width: 100%;
    }
}

@media (max-width: 920px) {
    .desktop-nav {
        display: none;
    }

    .burger-btn {
        display: flex;
    }
}

@media (max-width: 640px) {
    .header-inner {
        width: min(100% - 28px, 1420px);
        min-height: 72px;
    }

    .mobile-menu {
        top: 72px;
        height: calc(100vh - 72px);
    }

    .container {
        width: min(100% - 28px, var(--max));
    }

    .mobile-nav {
        width: min(100% - 28px, 620px);
        padding: 28px 0 60px;
    }

    .mobile-nav a,
    .mobile-submenu-trigger {
        font-size: 20px;
        padding: 18px;
    }

    .mobile-submenu {
        padding-left: 8px;
    }

    .mobile-submenu a {
        font-size: 17px;
    }

    .btn {
        width: 100%;
    }
}

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

.footer-links a{
    color:var(--accent);
    font-weight:700;
    transition:opacity .25s ease;
}

.footer-links a:hover{
    opacity:.75;
}

.modal-open{
    overflow:hidden;
}

@media (max-width:640px){

    .footer-inner{
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

    .footer-links{
        justify-content:center;
    }
}

.dropdown-panel a,
.mobile-nav a,
.mobile-submenu-trigger,
.mobile-submenu a {
    text-transform: none;
}

.not-found-page {
    position: relative;
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px;
    background:
        radial-gradient(circle at 20% 20%, rgba(227, 176, 75, .18), transparent 34%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, .08), transparent 36%),
        #070707;
}

.not-found-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255,255,255,.08), transparent 28%),
        linear-gradient(300deg, rgba(227,176,75,.12), transparent 42%);
    opacity: .8;
    pointer-events: none;
}

.not-found-inner {
    position: relative;
    z-index: 2;
    width: min(920px, 100%);
    text-align: center;
    padding: 64px 42px;
    border: 1px solid rgba(248, 241, 232, .14);
    border-radius: 34px;
    background: rgba(18, 18, 18, .78);
    box-shadow: 0 35px 100px rgba(0, 0, 0, .45);
    backdrop-filter: blur(18px);
}

.not-found-inner h1 {
    max-width: 760px;
    margin: 0 auto 22px;
    color: #f8f1e8;
    font-size: clamp(38px, 6vw, 74px);
    line-height: .98;
    letter-spacing: -0.05em;
}

.not-found-text {
    max-width: 620px;
    margin: 0 auto;
    color: rgba(248, 241, 232, .76);
    font-size: 18px;
    line-height: 1.75;
}

.not-found-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.not-found-code {
    margin-top: 46px;
    font-size: clamp(88px, 18vw, 190px);
    font-weight: 900;
    line-height: .8;
    letter-spacing: -0.08em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(227, 176, 75, .42);
    opacity: .65;
}

@media (max-width: 640px) {
    .not-found-page {
        padding: 88px 18px;
    }

    .not-found-inner {
        padding: 46px 22px;
        border-radius: 26px;
    }

    .not-found-text {
        font-size: 16px;
    }

    .not-found-actions {
        flex-direction: column;
    }

    .not-found-actions .btn {
        width: 100%;
    }
}