/* =====================================================
   CREATIVITY PAGE — CLEAN, UNIVERSAL VERSION
===================================================== */

/* Hide sidebar */
body.creativity-page .sidebar,
body.creativity-page .layer-sidebar,
body.creativity-page aside {
    display: none !important;
}

/* Reset */
html,
body.creativity-page {
    margin: 0 !important;
    padding: 0 !important;
    background: #000;
}

body.creativity-page .main-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 0;
}

body.creativity-page.site-wrapper {
    padding: 0 !important;
    margin: 0 !important;
}

/* Header fixed */
body.creativity-page .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Section base */
.creativity-section {
    position: relative;
    padding: 90px 20px;
    z-index: 1;
    min-height: 60vh;
    overflow: hidden;
    margin: 0;
}

/* Background layer — UNIVERSAL 200% / -20% */
.creativity-section .layer-bg {
    position: absolute;
    /* КОРРЕКЦИЯ: Установил -20% вместо -30% для синхронизации с блогом */
    top: -20%;
    left: 0;
    width: 100%;
    /* КОРРЕКЦИЯ: Подтверждено 200% высоты */
    height: 200%;
    z-index: -2;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    will-change: transform;
    transform: translate3d(0, 0, 0);
}

/* Desktop parallax */
@media (min-width: 1025px) {
    /* Примечание: background-attachment: fixed может конфликтовать с 
       parallax-engine.js. Если заметите «дергание», удалите эту строку. */
    .creativity-section .layer-bg {
        background-attachment: fixed;
    }
}

/* Mobile fix */
@media (max-width: 1024px) {
    .creativity-section .layer-bg {
        background-attachment: scroll;
    }
}

/* First layer fullscreen */
.creativity-section.layer-1 {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding-top: 150px !important;
    padding-bottom: 50px !important;
}

/* Glass card */
.glass-card {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 45px 35px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
    color: #e3e7eb;
}

.glass-card .title {
    font-size: 2.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 26px 0;
    color: #ffeacc;
}

.glass-card p {
    font-size: 1.08rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

.glass-card p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .creativity-section.layer-1 {
        padding-top: 120px !important;
    }

    .glass-card {
        padding: 35px 25px;
    }

    .glass-card .title {
        font-size: 2.2rem;
    }
}

@media (max-width: 700px) {
    .creativity-section.layer-1 {
        padding-top: 100px !important;
    }

    .glass-card .title {
        font-size: 1.8rem;
    }
}