/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Основные стили для footer */
footer {
    font-family: "Manrope-Regular", sans-serif;
    color: #1a2a3a;
    padding: 50px 20px 30px 20px;
    text-align: center;
}

/* Логотип сверху */
.footer-logo {
    margin-bottom: 40px;
}

.footer-logo img {
    height: 150px;
    width: 120px;
}

/* Навигация — ГОРИЗОНТАЛЬНО, по центру */
.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 130px;
    margin-bottom: 40px;
}

.footer-nav a {
    color: #1a2a3a;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.21);
    padding-bottom: 2px;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #c0a55e;
    border-bottom-color: #c0a55e;;
}

/* Контакты — вертикально, по центру */
.footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    font-size: 16px;
}

.footer-contacts span {
    font-family: "Manrope-SemiBold", sans-serif;
    line-height: 2.5;
}

.span-number {
    font-size: 24px;
    font-weight: 700;
}

/* Нижняя строка с копирайтом — по центру */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    padding: 0 40px 10px 40px;
}
.contact-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-right img {
    max-width: 40px;
    height: auto;
    display: block;
}

.footer-link {
    color: #000;
    text-decoration: underline;
}

.footer-link:hover {
    text-decoration: underline;
}

/* ADAPTATION */

/* ==================== TABLET ==================== */

@media (max-width: 1240px) {

    footer {
        padding: 40px 16px 25px;
    }

    .footer-logo img {
        height: 125px;
        width: 100px;
    }

    .footer-nav {
        /*flex-direction: column;*/
        /*align-items: center;*/
        gap: 36px;
    }

    .footer-nav a {
        font-size: 16px;
    }

    .span-number {
        font-size: 24px;
    }

    .footer-contacts {
        font-size: 16px;
        gap: 15px;
    }

    .footer-bottom {
        padding: 0 16px 10px 16px;
        gap: 12px;
    }
}
@media (max-width: 768px) {
    .footer-nav {
        gap: 30px;
    }
}

/* ==================== MOBILE ==================== */

@media (max-width: 480px) {

    footer {
        padding: 30px 16px 20px 16px;
    }

    .footer-logo {
        margin-bottom: 30px;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-bottom: 30px;
    }

    /*.footer-nav a {*/
    /*    font-size: 16px;*/
    /*}*/

    /*.footer-contacts {*/
    /*    font-size: 16px;*/
    /*}*/

    .contact-right img {
        max-width: 32px;
    }

    .footer-bottom {
        text-align: center;
        flex-direction: column;
        font-size: 16px;
        padding-top: 20px;
        gap: 30px;
    }
}