/* === FOOTER === */

/* Sticky footer - ensure content takes remaining space */
.collapsable,
#fragment-pane,
.content {
    flex: 1 0 auto !important;
}

.pp-footer {
    background: #021435;
    width: 100%;
    margin-top: auto;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.pp-footer::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 657px;
    height: 100%;
    background-image: url('/assets/img/footer-gradient.svg');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

.pp-footer-container {
    display: flex;
    width: 100%;
    max-width: 1920px;
    height: 94px;
    padding: 35px 160px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.pp-footer-logo {
    display: flex;
    align-items: center;
}

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

.pp-footer-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.pp-footer-link {
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.pp-footer-link:hover {
    opacity: 0.7;
    color: var(--accent);
}

.pp-footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pp-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s;
}

.pp-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.pp-social-link svg {
    width: 20px;
    height: 20px;
}

/* Адаптив */
@media (max-width: 1400px) {
    .pp-footer-container {
        padding: 35px 80px;
    }

    .pp-footer-nav {
        gap: 30px;
    }
}

@media (max-width: 1200px) {
    .pp-footer-container {
        padding: 35px 40px;
    }

    .pp-footer-nav {
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .pp-footer::after {
        width: 100%;
        height: 100%;
        background-image: url('/assets/img/footer-gradient-mobile.svg');
        background-size: cover;
        background-position: center;
    }

    .pp-footer-container {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 24px;
    }

    .pp-footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .pp-footer-container {
        padding: 30px 20px;
        gap: 24px;
    }

    .pp-footer-logo img {
        height: 35px;
    }

    .pp-footer-nav {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .pp-footer-link {
        font-size: 14px;
    }

    .pp-footer-social {
        gap: 20px;
    }

    .custom_modal .content .info {
        padding: 30px 20px;
    }
}