﻿/* FOOTER SECTION */
.footer-section {
    position: relative;
    margin: 0;
    padding: 110px max(108px, calc((100vw - var(--content-max-width)) / 2 + 108px));
    background: linear-gradient(135deg, #5988FF, #5988FF, #0043F0);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    overflow: hidden;
}

.footer-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.footer-section>h2 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    margin: 0;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 23px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
}

.footer-legal-links {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 1;
}

.footer-legal-links a {
    position: relative;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;
    text-decoration: none;
    white-space: nowrap;
}

.footer-legal-links a::after {
    content: '';
    position: absolute;
    left: 15%;
    bottom: -4px;
    width: 70%;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.footer-legal-links a:hover {
    font-weight: 700;
}

.footer-legal-links a:hover::after {
    transform: scaleX(1);
}

.footer-socials {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.footer-socials a {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.footer-socials img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: transform 0.15s ease;
}

.footer-socials a:hover img {
    transform: scale(1.3);
}

.footer-socials a:has(+ a:hover) img {
    transform: translateX(-8px);
}

.footer-socials a:hover+a img {
    transform: translateX(8px);
}

@media (max-width: 1024px) {
    .footer-section {
        flex-direction: column;
        align-items: center;
        padding: 50px 30px;
    }

    .footer-section>h2,
    .footer-legal-links {
        position: static;
        transform: none;
    }

    .footer-legal-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px 22px;
    }
}

@media (max-width: 420px) {
    .footer-section {
        padding: 42px 18px;
        gap: 24px;
    }

    .footer-logo {
        width: 56px;
        height: 56px;
    }

    .footer-section>h2 {
        font-size: 18px;
    }

    .footer-socials {
        gap: 22px;
    }

    .footer-legal-links {
        gap: 12px 16px;
    }

    .footer-legal-links a {
        font-size: 14px;
    }
}

