/*

 * Подвал сайта — Figma AlphaPegas-2025 node 1-136, desktop 1920

 * Scope: footer.ap-footer (все страницы с incl/footer.php)

 */



footer.ap-footer {

    position: relative;

    z-index: 20;

    display: block;

    box-sizing: border-box;

    width: 100%;

    max-width: none;

    height: auto !important;

    min-height: 0;

    margin: 0;

    padding: 0;

    clear: both;

    overflow: visible;

    background: #010101;

    color: #ffffff;

    font-family: 'Manrope', 'Noto Sans Display', sans-serif;

    align-items: unset;

    justify-content: unset;

}



body.home-page {

    scroll-padding-bottom: 48px;

}



body.home-page footer.ap-footer {

    width: 100%;

    margin-top: 0;

}



body.home-page footer.ap-footer .ap-footer__canvas {

    padding-bottom: 32px;

}



footer.ap-footer .ap-footer__canvas,

footer.ap-footer .ap-footer__canvas * {

    box-sizing: border-box;

}



footer.ap-footer .ap-footer__canvas {

    position: relative;

    width: 100%;

    max-width: 1920px;

    margin: 0 auto;

    padding: 40px 98px 24px;

    min-height: 0;

}



/* Верхняя строка: лого | меню (одна линия) | соцсети+телефоны */

footer.ap-footer .ap-footer__top {

    display: flex;

    flex-wrap: nowrap;

    align-items: flex-start;

    justify-content: space-between;

    gap: 24px;

    width: 100%;

}



footer.ap-footer .ap-footer__logo {

    position: relative;

    top: auto;

    left: auto;

    z-index: 2;

    display: block;

    flex: 0 0 153px;

    width: 153px;

    height: auto;

    margin: 0;

    padding: 0;

    opacity: 1;

    line-height: 0;

}



footer.ap-footer .ap-footer__logo img {

    display: block;

    width: 153px;

    height: 164px;

    max-width: none;

    object-fit: contain;

}



/* Горизонтальное меню — Figma 1-136 */

footer.ap-footer .ap-footer__nav {

    flex: 1 1 auto;

    display: flex;

    justify-content: center;

    min-width: 0;

    padding: 0 12px;

}



footer.ap-footer .ap-footer__menu {

    display: flex;

    flex-wrap: nowrap;

    align-items: flex-start;

    justify-content: center;

    gap: 0;

    list-style: none;

    margin: 0;

    padding: 0;

}



footer.ap-footer .ap-footer__item {

    display: flex;

    flex-direction: column;

    align-items: center;

    flex: 0 0 auto;

    margin: 0;

    padding: 0 14px;

}



footer.ap-footer .ap-footer__menu-link {

    position: relative;

    z-index: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 30px;

    padding: 0 18px;

    font-family: 'Manrope', sans-serif;

    font-weight: 400;

    font-style: normal;

    font-size: 16px;

    line-height: 22px;

    letter-spacing: 0;

    color: #ffffff;

    text-decoration: none;

    text-align: center;

    white-space: nowrap;

    border: 1px solid transparent;

    border-radius: 3px;

}



footer.ap-footer .ap-footer__item.is-active > .ap-footer__menu-link,

footer.ap-footer .ap-footer__menu-link:hover {

    color: #000000;

}



footer.ap-footer .ap-footer__item.is-active > .ap-footer__menu-link::before,

footer.ap-footer .ap-footer__menu-link:hover::before {

    content: '';

    position: absolute;

    inset: 0;

    border-radius: 2px;

    background-color: rgba(217, 217, 217, 0.74);

    z-index: -1;

}



footer.ap-footer .ap-footer__submenu {

    list-style: none;

    margin: 6px 0 0;

    padding: 0;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    align-self: center;

    width: max-content;

    gap: 4px;

}



footer.ap-footer .ap-footer__submenu a {

    font-family: 'Manrope', sans-serif;

    font-weight: 400;

    font-size: 12px;

    line-height: 1.2;

    letter-spacing: 0;

    color: rgba(255, 255, 255, 0.92);

    text-decoration: none;

    white-space: nowrap;

}



footer.ap-footer .ap-footer__submenu a:hover {

    text-decoration: underline;

}



footer.ap-footer .ap-footer__item--catalog.is-active > .ap-footer__menu-link::before {

    left: -10px;

    right: -10px;

}



footer.ap-footer .ap-footer__right {

    display: flex;

    flex: 0 0 auto;

    flex-direction: column;

    align-items: stretch;

    gap: 20px;

    min-width: 0;

}



footer.ap-footer .ap-footer__social {

    display: flex;

    flex-wrap: nowrap;

    justify-content: flex-end;

    gap: 12px;

}



footer.ap-footer .ap-footer__social-link {

    display: flex;

    align-items: center;

    justify-content: center;

    flex: 0 0 40px;

    width: 40px;

    height: 40px;

    line-height: 0;

}



footer.ap-footer .ap-footer__social-link img {

    display: block;

    width: auto;

    height: auto;

    max-width: 28px;

    max-height: 28px;

    filter: none;

}



footer.ap-footer .ap-footer__social-link[href*="wa.me"] img {

    width: 32px;

    height: 32px;

    max-width: 32px;

    max-height: 32px;

}



footer.ap-footer .ap-footer__phones {

    display: flex;

    flex-direction: column;

    align-items: stretch;

    align-self: stretch;

    width: 100%;

    gap: 6px;

}



footer.ap-footer .ap-footer__phone {

    display: block;

    width: 100%;

    font-family: 'Manrope', sans-serif;

    font-weight: 400;

    font-style: normal;

    font-size: 20px;

    line-height: 1.25;

    letter-spacing: 0;

    color: #ffffff;

    text-decoration: none;

    text-align: right;

    white-space: nowrap;

}



footer.ap-footer .ap-footer__phone:hover {

    color: #7dd3a8;

}



footer.ap-footer .ap-footer__divider {

    width: 100%;

    height: 0;

    margin: 32px 0 0;

    padding: 0;

    border: none;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

}



footer.ap-footer .ap-footer__copy {

    position: relative;

    top: auto;

    left: auto;

    z-index: 2;

    width: 100%;

    max-width: 1195px;

    height: auto;

    margin: 0;

    padding: 0 0 0 calc(153px + 73px);

    opacity: 1;

    overflow: visible;

    box-sizing: border-box;

    font-family: 'Manrope', sans-serif;

    font-weight: 400;

    font-style: normal;

    font-size: 14px;

    line-height: 1.35;

    letter-spacing: 0;

    color: rgba(255, 255, 255, 0.65);

    text-align: left;

    white-space: normal;

}



footer.ap-footer > .b-popup,

footer.ap-footer > #upbutton,

footer.ap-footer > .warning {

    position: fixed;

}



@media (max-width: 1200px) {

    footer.ap-footer .ap-footer__canvas {

        padding: 40px 48px 32px;

    }



    footer.ap-footer .ap-footer__top {

        gap: 16px;

        align-items: flex-start;

    }



    footer.ap-footer .ap-footer__copy {

        padding-left: 0;

        max-width: 100%;

    }



    footer.ap-footer .ap-footer__item {

        padding: 0 8px;

    }



    footer.ap-footer .ap-footer__menu-link {

        font-size: 14px;

    }



    footer.ap-footer .ap-footer__phone {

        font-size: 18px;

    }

}



@media (max-width: 900px) {

    footer.ap-footer .ap-footer__canvas {

        padding: 32px 20px 24px;

    }



    footer.ap-footer .ap-footer__top {

        flex-direction: column;

        align-items: flex-start;

        gap: 24px;

    }



    footer.ap-footer .ap-footer__logo {

        flex: 0 0 auto;

        width: 120px;

    }



    footer.ap-footer .ap-footer__logo img {

        width: 120px;

        height: auto;

    }



    footer.ap-footer .ap-footer__copy {

        max-width: 100%;

        padding: 0;

        font-size: 12px;

        line-height: 1.4;

    }



    footer.ap-footer .ap-footer__nav {

        justify-content: flex-start;

        padding: 0;

        width: 100%;

    }



    footer.ap-footer .ap-footer__menu {

        flex-wrap: wrap;

        justify-content: flex-start;

        row-gap: 16px;

    }



    footer.ap-footer .ap-footer__item {

        align-items: flex-start;

        padding: 0 12px 0 0;

    }



    footer.ap-footer .ap-footer__submenu {

        align-items: flex-start;

        align-self: flex-start;

    }



    footer.ap-footer .ap-footer__right {

        align-items: flex-start;

    }



    footer.ap-footer .ap-footer__social {

        justify-content: flex-start;

        flex-wrap: wrap;

    }



    footer.ap-footer .ap-footer__phones {

        align-items: flex-start;

    }



    footer.ap-footer .ap-footer__phone {

        white-space: normal;

    }

}

