﻿/* =============================================
   HOME FOOTER — effort-clarity.com
   Подключается только через _LayoutHome.cshtml
   ============================================= */

.home-footer {
    background-color: #0d1b3e;
    color: #c8d4f0;
    padding: 56px 40px 0;
    font-family: inherit;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- 3-column grid --- */
.home-footer__columns {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-footer__col {
    flex: 1;
}

/* --- Column heading --- */
.home-footer__heading {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3b6fd4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-footer__heading-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 111, 212, 0.2);
    border-radius: 8px;
    color: #6b9ff4;
    flex-shrink: 0;
}

.home-footer__lang-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 16px;
    background: rgba(59, 111, 212, 0.3);
    border: 1px solid rgba(59, 111, 212, 0.5);
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #6b9ff4;
    flex-shrink: 0;
}

.home-footer__flag {
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
    vertical-align: middle;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
}

.home-footer__uk-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #c8d4f0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

    .home-footer__uk-link:hover {
        color: #ffffff;
    }

.home-footer__uk-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Links list --- */
.home-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .home-footer__list a {
        color: #c8d4f0;
        text-decoration: none;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: color 0.2s ease;
    }

        .home-footer__list a:hover {
            color: #ffffff;
        }

.home-footer__arrow {
    opacity: 0.5;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* --- Bottom bar --- */
.home-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 0.875rem;
    color: #8899bb;
}

.home-footer__bottom-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.home-footer__logo {
    height: 36px;
    width: auto;
}

.home-footer__bottom-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .home-footer__bottom-right a {
        color: #3b6fd4;
        text-decoration: none;
    }

        .home-footer__bottom-right a:hover {
            color: #6b9ff4;
        }

.home-footer__divider {
    color: #3b4a6b;
}

/* =============================================
   MOBILE < 768px — одна колонка, всё раскрыто
   ============================================= */
@media (max-width: 767px) {
    .home-footer {
        padding: 32px 20px 0;
    }

    .home-footer__columns {
        flex-direction: column;
        gap: 32px;
    }

    .home-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px 0;
    }
}
