/* ==========================================================================
   Footer — gradient footer with 4-column grid.
   ========================================================================== */

.site-footer {
    margin-top: 32px;
    background: var(--grad-hero);
    color: var(--white);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.1fr 0.8fr 0.8fr 1fr;
    gap: 36px;
    padding: 54px 0 34px;
}

/* --- Footer brand --- */

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 14px;
}

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

.footer-brand .logo-mark {
    background: rgba(255, 255, 255, 0.14);
}

.footer-brand .logo small {
    color: rgba(255, 255, 255, 0.74);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

/* --- Footer columns --- */

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

.footer-links {
    display: grid;
    gap: 10px;
    font-size: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a,
.footer-links li a {
    color: rgba(255, 255, 255, 0.86);
}

.footer-links a:hover,
.footer-links li a:hover {
    color: var(--white);
}

/* --- Footer bottom --- */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 18px 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.84);
    flex-wrap: wrap;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.75);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* --- Responsive --- */

@media (max-width: 1200px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
