:root {
    --nav-h: 80px;
    --bg-dark: #000000;
    --bg-anthracite: #1a1a1a;
    --white: #ffffff;
    --pt-serif: "PT Serif", serif;
    --satoshi: 'Satoshi', sans-serif;
    --cubic: cubic-bezier(0.23, 1, 0.32, 1);
    --container-w: 1200px;
    --side-gutter: 25px;
}

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

body,
html {
    width: 100%;
    background-color: var(--bg-dark);
    color: var(--white);
    font-family: var(--satoshi);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 10000;
    display: flex;
    align-items: center;
    background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 var(--side-gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 35px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0.6;
    transition: 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}


/* Состояние активной ссылки */
.nav-links a.active {
    opacity: 1;
    position: relative;
}

/* Линия под текстом */
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    /* Расстояние от текста до линии */
    left: 0;
    width: 100%;
    height: 2px;
    /* Толщина линии */
    background-color: var(--white);
}

/* Burger Button */
.burger-btn {
    display: none;
    /* По умолчанию скрыт на десктопе */
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10001;
    padding: 10px;
}

.burger-btn span {
    width: 28px;
    height: 2px;
    background-color: var(--white);
    transition: 0.4s var(--cubic);
}

/* Состояние крестика */
.burger-btn.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-btn.is-active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: right 0.6s var(--cubic);
}

.mobile-menu.is-active {
    right: 0;
}

.mobile-menu a {
    font-family: var(--pt-serif);
    font-size: 32px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s var(--cubic);
}

/* Анимация появления ссылок в меню */
.mobile-menu.is-active a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 991px) {
    .nav-links {
        display: none;
        /* Прячем обычные ссылки */
    }

    .burger-btn {
        display: flex;
        /* Показываем бургер */
    }
}

/* ===== COMPACT LUXURY FOOTER ===== */
.footer {
    background-color: var(--bg-anthracite);
    color: var(--white);
    padding: 60px 0 30px;
    /* Уменьшенные вертикальные отступы */
    font-family: var(--satoshi);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 var(--side-gutter);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

/* Левый блок */
.footer-logo {
    display: block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-address {
    font-style: normal;
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 20px;
}

.footer-contacts-links {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.05em;
    opacity: 0.8;
    transition: opacity 0.3s var(--cubic);
}

.footer-link:hover {
    opacity: 1;
}

/* Правый блок (Навигация) */
.footer-nav-wrapper ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.footer-nav-wrapper a {
    color: var(--white);
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.6;
    transition: 0.3s var(--cubic);
}

.footer-nav-wrapper a:hover {
    opacity: 1;
}

/* Разделитель и Копирайт */
.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Социальные иконки */
.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-socials img {
    width: 16px;
    height: 16px;
    opacity: 0.5;
    transition: opacity 0.3s var(--cubic), transform 0.3s var(--cubic);
}

.footer-socials a:hover img {
    opacity: 1;
    transform: translateY(-2px);
}

/* Адаптив для мобилок */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-nav-wrapper ul {
        flex-direction: column;
        gap: 12px;
    }

    .footer-contacts-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}



/* ===== 1. CORE & VARIABLES ===== */
:root {
    --nav-h: 80px;
    --bg-dark: #000000;
    --bg-anthracite: #1a1a1a;
    --white: #ffffff;
    --pt-serif: "PT Serif", serif;
    --satoshi: 'Satoshi', sans-serif;
    --cubic: cubic-bezier(0.23, 1, 0.32, 1);
    --container-w: 1200px;
    --side-gutter: 25px;
}

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

html, body {
    width: 100%;
    background-color: var(--bg-dark);
    color: var(--white);
    font-family: var(--satoshi);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 var(--side-gutter);
}

img {
    display: block;
    max-width: 100%;
}

/* ===== 3. BOSS SECTIONS (VIDEO PLACES) ===== */
.boss-page {
    padding-top: var(--nav-h);
}

.boss-section {
    padding-bottom:var(--nav-h) ;
}

.boss-section.bg-anthracite{
    padding-top: var(--nav-h);
}

.bg-dark { background-color: var(--bg-dark); }
.bg-anthracite { background-color: var(--bg-anthracite); }

.boss-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.boss-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.boss-static-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--cubic);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: relative;
}

.boss-media:hover .boss-static-img {
    transform: scale(1.05);
}

.play-overlay-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s var(--cubic);
    z-index: 2;
    pointer-events: none;
}

.play-overlay-btn svg {
    width: 24px;
    fill: #fff;
}

.boss-media:hover .play-overlay-btn {
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) scale(1.1);
}

.boss-info h2 {
    font-family: var(--pt-serif);
    font-size: clamp(24px, 4vw, 32px);
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.description-block p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.6;
}

/* ===== 4. LOZU SECTIONS (3:4 PHOTOS) ===== */
.lozu-section {
    padding-top:var(--nav-h);
    padding-bottom: 100px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lozu-row {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.lozu-row.reverse {
    flex-direction: row-reverse;
}

.lozu-media {
    flex: 0 0 36%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.lozu-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.8s var(--cubic), transform 0.8s var(--cubic);
    display: block;
}

.lozu-row:hover .lozu-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.lozu-info {
    flex: 1;
}

.lozu-number {
    font-family: var(--pt-serif);
    font-size: 60px;
    font-weight: 700;
    opacity: 0.7;
    margin-bottom: 10px;
    display: block;
}

.lozu-info h2 {
    font-family: var(--pt-serif);
    font-size: 32px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.lozu-info p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.7;
    margin-bottom: 20px;
}

/* ===== 5. VIDEO POPUP ===== */
.video-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s var(--cubic);
    cursor: none; 
}

.video-popup.is-active {
    display: flex;
    opacity: 1;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(15px);
}

.popup-content {
    position: relative;
    width: 85%;
    max-width: 1000px;
    transform: translateY(-100px);
    transition: transform 0.6s var(--cubic);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    background: #000;
    line-height: 0;
}

.video-popup.is-active .popup-content {
    transform: translateY(0);
}

.popup-content video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    display: block;
}

.video-popup.is-active #cursorClose {
    opacity: 1;
    visibility: visible;
}

.video-popup.is-active {
    cursor: default;
}

.close-popup {
    display: none;
}

#cursorClose {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 21000;
    font-family: var(--satoshi);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease; 
}

/* ===== 7. RESPONSIVE ===== */
@media (max-width: 991px) {
    .boss-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 960px) {
    .lozu-row, .lozu-row.reverse {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .lozu-media {
        width: 80%;
        max-width: 400px;
    }

    .lozu-info { width: 100%; }
}

@media (max-width: 768px) {
    .play-overlay-btn {
        width: 40px;
        height: 40px;
        transform: translate(-50%, -50%); 
    }

    .play-overlay-btn svg {
        width: 12px;
        height: 12px;
    }
}