/* =========================
   FOOTER - REFINED
========================= */
.footer-section {
    background-color: var(--purple-color);
    color: var(--white-color);
    padding: 4rem 1.5rem 2rem;
    font-size: 0.95rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Top part */
.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Brand */
.footer-brand {
    flex: 1 1 250px;
    min-width: 220px;
}

.footer-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.footer-brand .logo-primary {
    color: var(--primary-color);
}

.footer-brand .logo-accent {
    color: var(--accent-color);
}

.footer-brand p {
    margin-top: 0.5rem;
    color: var(--light-gray);
}

/* Links */
.footer-links {
    display: flex;
    flex: 2 1 600px;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column a {
    display: block;
    color: var(--white-color);
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-color);
}

/* Bottom part */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
    gap: 1rem;
}

.footer-bottom-left p,
.footer-bottom-right a {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.footer-bottom-right a {
    text-decoration: none;
    font-weight: 600;
    color: var(--accent-color);
}

.footer-bottom-right a:hover {
    text-decoration: underline;
}

/* Social */
.footer-bottom-center {
    display: flex;
    justify-content: center;
    flex: 1;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--accent-color);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {

    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-bottom-center {
        order: -1;
    }

}