/* ===== FOOTER ===== */
.footer {
    background: var(--violet-dark);
    color: var(--white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.footer-logo .logo {
    height: var(--logo-height);
    width: auto;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap; /* allow wrapping to avoid overflow */
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--turquoise-light);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .footer {
        padding: var(--spacing-md) 0 var(--spacing-sm); /* even tighter vertically on mobile */
    }
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .footer-logo {
        align-items: center;
    }

    .footer-logo .logo {
        height: auto;            /* scale naturally */
        max-width: 80px;         /* smaller brand mark on mobile */
        width: 100%;
    }

    .footer-links {
        justify-content: center; /* center wrapped links */
        row-gap: var(--spacing-2xs, 6px);
        column-gap: var(--spacing-sm);
    }

    .footer-links a {
        font-size: 0.85rem;      /* lighter footprint */
    }

    .footer-bottom {
        padding-top: var(--spacing-md); /* keep subtle */
    }
}
