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

html {
    scroll-behavior: smooth;
}

body {
    background: #000;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100svh;
    /* FIX mobile gaps */
    overflow: hidden;
}

/* HEADER */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140px;
    /* enough for logo */
    padding: 0 32px;
    display: flex;
    align-items: flex-end;
    /* push logo lower */
    justify-content: space-between;
    background: transparent;
    color: #fff;
    z-index: 10;
}

.header-left {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding-bottom: 16px;
}

.logo {
    height: 128px;
    object-fit: contain;
}

.login {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    display: none;
    margin-bottom: 12px;
}

/* NAV */
.nav {
    display: flex;
    gap: 32px;
    align-items: flex-end;
    padding-bottom: 24px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

/* BURGER */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding-bottom: 24px;
}

.burger span {
    width: 24px;
    height: 2px;
    background: #fff;
}

/* ===== HERO VIDEO (HTML5) ===== */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 🔥 КЛЮЧЕВО */
}

/* ===== PDF PAGES ===== */
.page {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.page img {
    width: 100%;
    height: auto;
    display: block;
}

/* DESKTOP */
@media (min-width: 1024px) {
    .page {
        min-height: 100vh;
    }

    .page img {
        max-height: 100vh;
        width: auto;
    }
}

/* MOBILE */
@media (max-width: 1023px) {
    .header {
        height: 120px;
        padding: 0 16px;
    }

    .logo {
        height: 96px;
    }

    .login {
        display: block;
    }

    .nav {
        position: absolute;
        top: 120px;
        right: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        display: none;
    }

    .nav.open {
        display: flex;
    }

    .burger {
        display: flex;
    }
}