

/* Start:/bitrix/templates/alanya-invest-templates/css_new/footer.css?17889490756508*/
/* ==============================================================
   АДАПТИВНЫЙ ФУТЕР (footer.css)
   ============================================================== */

.ai-footer {
    font-family: "Open Sans", Arial, sans-serif;
    margin-top: auto;
}

.ai-footer-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* --- Оранжевая плашка --- */
.ai-footer-top {
    background-color: #d84523;
    padding: 35px 0;
}

.ai-footer-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ai-footer-title {
    color: #ffffff;
    font-size: 30px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Мессенджеры в плашке */
.ai-footer-messengers {
    display: flex;
    gap: 15px;
    align-items: center;
}

.ai-footer-messenger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px; 
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.ai-footer-messenger:hover {
    transform: scale(1.1);
}

.ai-footer-messenger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-footer-messenger--max { background: transparent; }
.ai-footer-messenger--telegram { background: #229ed9; }
.ai-footer-messenger--whatsapp { background: #25d366; }


/* --- Темный подвал --- */
.ai-footer-bottom {
    background-color: #2b313b;
    padding: 60px 0;
}

.ai-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

/* Левая колонка: Документы */
.ai-footer-docs {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.ai-footer-docs a {
    color: #b5bac5;
    font-size: 15px;
    text-decoration: underline;
    text-decoration-color: rgba(181, 186, 197, 0.3);
    text-underline-offset: 4px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.ai-footer-docs a:hover {
    color: #ffffff;
    text-decoration-color: #ffffff;
}

/* Правая колонка: Контакты */
.ai-footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 22px;
    justify-content: center;
    margin-left: auto;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 35px;
}

.ai-footer-contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: #ffffff;
    font-size: 17px;
}

.ai-footer-contact-item a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
    text-align: right;
    margin-left: auto;
}

.ai-footer-contact-item a:hover {
    color: #d84523;
}

.ai-footer-contact-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-footer-contact-icon svg {
    width: 100%;
    height: 100%;
}


/* ==============================================================
   АДАПТИВ (ПЛАНШЕТЫ И ТЕЛЕФОНЫ)
   ============================================================== */

@media (max-width: 991px) {
    .ai-footer-top-inner {
        flex-direction: column;
        text-align: center;
    }

    .ai-footer-title {
        font-size: 24px;
    }

    .ai-footer-bottom-inner {
        flex-direction: column;
        gap: 40px;
    }

    .ai-footer-contacts {
        margin-left: 0;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 30px;
        width: 100%;
    }

    .ai-footer-contact-item {
        justify-content: flex-start;
        gap: 20px;
    }

    .ai-footer-contact-item a {
        text-align: left;
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .ai-footer-top {
        padding: 25px 0;
    }

    .ai-footer-title {
        font-size: 20px;
    }

    .ai-footer-messenger {
        width: 48px;
        height: 48px;
    }

    .ai-footer-bottom {
        padding: 40px 0;
    }

    .ai-footer-docs a {
        font-size: 14px;
    }

    .ai-footer-contact-item {
        font-size: 15px;
    }
}

/* ==============================================================
   СОВРЕМЕННАЯ ПАГИНАЦИЯ (ГЛОБАЛЬНЫЕ СТИЛИ)
   ============================================================== */
.ai-modern-pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 40px 0 !important;
    font-family: 'Open Sans', Arial, sans-serif !important;
}

.ai-page-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 12px !important;
    border-radius: 12px !important;
    background-color: #f4f5f8 !important;
    color: #3b4256 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
}

/* Наведение */
.ai-page-btn:hover:not(.disabled):not(.active) {
    background-color: #e2e5eb !important;
    color: #111 !important;
}

/* Активная страница (оранжевый квадрат) */
.ai-page-btn.active {
    background-color: #ff671f !important;
    color: #ffffff !important;
    cursor: default !important;
}

/* Неактивные стрелки */
.ai-page-btn.disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

.ai-page-btn svg {
    display: block !important;
}

/* ==============================================================
   АДАПТИВ ПАГИНАЦИИ (ДЛЯ МОБИЛОК И ПЛАНШЕТОВ)
   ============================================================== */
@media (max-width: 576px) {
    .ai-modern-pagination {
        gap: 4px !important; 
        margin: 25px 0 !important;
    }
    
    .ai-page-btn {
        min-width: 34px !important; 
        height: 34px !important;
        padding: 0 4px !important;
        font-size: 14px !important; 
        border-radius: 8px !important;
    }
    
    .ai-page-btn svg {
        width: 16px !important; 
        height: 16px !important;
    }
}
/* End */
/* /bitrix/templates/alanya-invest-templates/css_new/footer.css?17889490756508 */
