/* ============================
   FOOTER — мини-версия с логотипом
   Компоновка: [Лого] · Соглашение · © APIHOST.RU
   На не-главных: [Лого] · © APIHOST.RU · Все права
   ============================ */

.footer {
    width: 100%;
    float: left;
    background-color: #222831;
    border-top: solid 1px #515b67;
}

.footer .center {
    width: 90%;
    max-width: 1520px;
    height: auto;
    margin: 0 auto;
}

.footer_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 32px 0;
}

.footer_left {
    display: flex;
    align-items: center;
}

.footer_brand {
    flex-shrink: 0;
}

.footer_logo {
    width: 141.1px;
    height: 44px;
    object-fit: contain;
    display: block;
    opacity: 0.85;
}

/* Вертикальный разделитель между блоками */
.footer_sep {
    width: 1px;
    height: 20px;
    background-color: #515b67;
    margin: 0 24px;
    flex-shrink: 0;
}

.footer_terms {
    font-size: 14px;
    font-family: 'Avenir Next Cyr Medium', 'Avenir Next Cyr', sans-serif;
    letter-spacing: 0.5px;
    color: #8a929e;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.footer_terms:hover {
    color: #ffffff;
}

.footer_copy {
    display: flex;
    align-items: center;
    gap: 0;
}

.footer_copy span {
    font-size: 16px;
    font-family: 'Avenir Next Cyr Medium', 'Avenir Next Cyr', sans-serif;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.39;
    letter-spacing: 0.72px;
    color: #ffffff;
}

.footer_dot {
    margin: 0 10px;
    opacity: 0.4;
}

/* ============================
   RESPONSIVE
   ============================ */

@media screen and (max-width: 1600px) {
    .footer_copy span {
        font-size: 14px;
    }
    .footer_terms {
        font-size: 13px;
    }
    .footer_inner {
        padding: 28px 0;
    }
    .footer_sep {
        margin: 0 20px;
    }
}

@media screen and (max-width: 840px) {
    .footer_inner {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 24px 0;
    }
    .footer_left {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .footer_sep {
        width: 40px;
        height: 1px;
        margin: 0;
    }
    .footer_logo {
        height: 30px;
        width: auto;
    }
    .footer_copy span {
        font-size: 12px;
    }
    .footer_terms {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .footer_copy {
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }
    .footer_dot {
        display: none;
    }
    .footer_copy span {
        font-size: 11px;
        letter-spacing: 0.5px;
    }
    .footer_terms {
        font-size: 11px;
    }
}
