/* Shared Footer CSS — single source of truth */

footer {
    background: linear-gradient(135deg, var(--deep-sage) 0%, var(--warm-brown) 100%);
    color: white;
    text-align: left;
    padding: 2rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-newsletter-form {
    display: flex;
}

.footer-social-desktop {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.8rem;
}

.footer-social-mobile {
    display: none;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

/* Mobile footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem 1rem;
    }

    .footer-links {
        align-items: flex-start;
        text-align: left;
    }

    .footer-newsletter {
        grid-column: 1 / -1;
        text-align: left;
    }

    .footer-social-desktop {
        display: none;
    }

    .footer-social-mobile {
        display: flex;
        gap: 0.6rem;
        align-items: center;
    }

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