footer {
    width: 100%;
    background-color: #fdfee9;
    color: #070707;
    text-align: center;
    padding: 1rem 0;
    border-top: 3px solid #042698;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1.2rem;
    padding: 0 1rem;
}

.footer-column {
    flex: 1 1 220px;
    text-align: left;
}

footer .footer-column h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    color: #042698;
}

footer .footer-column li,
footer .footer-column a,
footer .footer-bottom,
footer .social-link,
footer .social-link__icon {
    color: #070707;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.25rem;
}

.footer-column ul li a {
    color: #070707;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: #070707;
    text-decoration: underline;
}

.social-media {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.social-media a {
    color: #070707;
    font-size: 1.1rem;
    text-decoration: none;
}

.social-links {
    display: grid;
    gap: 0.45rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    color: #070707;
    text-decoration: none;
    font-weight: 600;
}

.social-link:hover {
    text-decoration: underline;
}

.social-link__icon {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
}

.language-selector {
    margin-top: 0.6rem;
}

.language-selector select {
    padding: 0.35rem 0.5rem;
    border: 1px solid #042698;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
}

.footer-bottom {
    text-align: center;
    margin-top: 0.6rem;
    font-size: 0.9rem;
}

.footer-methods {
    flex: 0 1 250px;
    margin-left: auto;
    text-align: right;
}

.footer-method-group + .footer-method-group {
    margin-top: 0.75rem;
}

.footer-method-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
}

.footer-method-logos img {
    display: block;
    width: auto;
    height: 44px;
    max-width: 118px;
    object-fit: contain;
}

@media (max-width: 900px) {
    .footer-container {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.7rem 0.35rem;
        text-align: center;
        padding: 0 0.55rem;
    }

    .footer-column {
        flex: none;
        width: 100%;
        text-align: center;
        margin: 0.22rem 0;
    }

    footer .footer-column h3 {
        font-size: 0.88rem;
        margin: 0 0 0.08rem;
    }

    .footer-column ul {
        margin: 0;
    }

    .footer-column ul li {
        margin-bottom: 0.18rem;
    }

    .footer-column ul li a {
        font-size: 0.78rem;
    }

    .social-media {
        justify-content: center;
        gap: 0.9rem;
    }

    .social-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.45rem 0.9rem;
    }

    .footer-method-logos {
        justify-content: center;
        gap: 0.35rem;
    }

    .footer-methods {
        grid-column: 1 / -1;
        margin-left: 0;
        margin-top: 0.35rem;
        text-align: center;
    }

    .footer-method-group + .footer-method-group {
        margin-top: 0.45rem;
    }

    .footer-method-logos img {
        height: 28px;
        max-width: 78px;
    }

    .footer-bottom {
        margin-top: 0.38rem;
    }
}
