.site-footer {
    background: #f8fafc;
    color: #334155;
    padding: 4rem 1.5rem 2.5rem;
}

.site-footer__inner {
    margin: 0 auto;
    max-width: 1180px;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.site-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
    align-items: start;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand__logo {
    max-width: 190px;
    height: auto;
}

.footer-brand__text {
    max-width: 320px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #64748b;
}

.footer-brand__links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer-brand__links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.75rem;
    background: rgba(15, 23, 42, 0.05);
    color: #334155;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-brand__links a:hover {
    background: rgba(14, 165, 233, 0.12);
    color: #0ea5e9;
    transform: translateY(-1px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.footer-links__col {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links__title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0f172a;
}

.footer-links__item {
    color: #475569;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.25s ease, text-decoration 0.25s ease;
    line-height: 1.9;
}

.footer-links__item:hover {
    color: #0ea5e9;
    text-decoration: underline;
}

.site-footer__bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

@media (max-width: 960px) {
    .site-footer__top {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 720px) {
    .site-footer {
        padding: 2rem 1rem 1.5rem;
    }

    .site-footer__top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}
