/* ==========================================================================
Header
========================================================================== */
.header.uchet-podpiska {
    background-color: #fff;
    border-bottom: 1px solid #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.uchet-podpiska .header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
}

.uchet-podpiska .header__logo {
    flex-shrink: 0;
}

.uchet-podpiska .header__logo img {
    display: block;
}

.uchet-podpiska .header__nav {
    flex-shrink: 0;
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.uchet-podpiska .header__nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.uchet-podpiska .header__nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.5px;
    color: #1f1f1f;
    text-align: center;
    transition: color 0.2s ease;
    text-decoration: none;
}

.uchet-podpiska .header__nav-link:hover {
    color: #E50914;
}

.uchet-podpiska .header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    padding: 4px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    gap: 4px;
}

.uchet-podpiska .header__burger-line {
    display: block;
    width: 14px;
    height: 1px;
    background-color: #0f0f0f;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Burger to X animation */
.uchet-podpiska .header__burger--active .header__burger-line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.uchet-podpiska .header__burger--active .header__burger-line:nth-child(2) {
    opacity: 0;
}

.uchet-podpiska .header__burger--active .header__burger-line:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

/* ==========================================================================
    Mobile Menu
    ========================================================================== */
.uchet-podpiska .mobile-menu {
    display: none;
}

/* ==========================================================================
Mobile Menu Overlay
========================================================================== */
.mobile-menu-overlay.uchet-podpiska {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 98;
}

.mobile-menu-overlay.uchet-podpiska.mobile-menu-overlay--active {
    display: block;
}

@media (max-width: 768px) {
    /* Header mobile */
    .uchet-podpiska .header__container {
        padding-top: 8px;
        padding-bottom: 8px;
        position: relative;
        z-index: 1000;
    }

    .uchet-podpiska .header__nav {
        display: none;
    }

    .uchet-podpiska .header__burger {
        display: flex;
    }

    /* Mobile Menu */
    .uchet-podpiska .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 85%;
        height: 100vh;
        background-color: #fff;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 99;
        overflow-y: auto;
    }
    
    .uchet-podpiska .mobile-menu--active {
        transform: translateX(0);
    }
    
    .uchet-podpiska .mobile-menu__content {
        display: flex;
        flex-direction: column;
        gap: 36px;
        padding: 68px 16px 32px;
        min-height: 100%;
    }
    
    .uchet-podpiska .mobile-menu__nav {
        display: flex;
        flex-direction: column;
        gap: 24px;
        flex: 1;
    }
    
    .uchet-podpiska .mobile-menu__link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 0;
        border-bottom: 1px solid #e5e5e5;
        font-family: 'Inter', sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.5;
        color: #0a0a0a;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    
    .uchet-podpiska .mobile-menu__link:hover {
        color: #e50914;
    }
    
    .uchet-podpiska .mobile-menu__contacts {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }
    
    .uchet-podpiska .mobile-menu__contact {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        text-decoration: none;
    }
    
    .uchet-podpiska .mobile-menu__contact-icon {
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .uchet-podpiska .mobile-menu__contact-icon--dark {
        background-color: #0a0a0a;
        border-radius: 10px;
        padding: 4px;
    }
    
    .uchet-podpiska .mobile-menu__contact-info {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    
    .uchet-podpiska .mobile-menu__contact-label {
        font-family: 'Inter', sans-serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.35;
        letter-spacing: 0.5px;
        color: #4f4f4f;
    }
    
    .uchet-podpiska .mobile-menu__contact-value {
        font-family: 'Inter', sans-serif;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.5;
        color: #232323;
    }
    
    .uchet-podpiska .mobile-menu__social {
        display: flex;
        gap: 12px;
    }
    
    .uchet-podpiska .mobile-menu__social-link {
        display: block;
        width: 32px;
        height: 32px;
    }
    
    .uchet-podpiska .mobile-menu__social-link img {
        display: block;
        width: 100%;
        height: 100%;
    }
}