/* =========================================================================
   legal.css — Стили для юридических страниц (offer, privacy, agreement)
   Простой светлый footer + базовые стили.
   Включается ВМЕСТО landing.css.
   ========================================================================= */

/* === Footer (светлый, минималистичный) === */
.site-footer {
    background: #F8FAFB;
    color: #1F2A3A;
    padding: 48px 0 24px;
    margin-top: 64px;
    border-top: 1px solid #E2E8F0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 32px;
}

.footer__col {
    min-width: 0;
}

.footer__col h4 {
    color: #1F2A3A;
    margin: 0 0 16px;
    font-size: 1.05rem;
    font-weight: 700;
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2A3A;
    margin-bottom: 12px;
}

.footer__logo span {
    color: #10B981;
}

.footer__col p {
    color: #475569;
    margin: 0 0 8px;
    line-height: 1.6;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__links a {
    color: #475569;
    text-decoration: none;
    transition: color 0.15s;
}

.footer__links a:hover,
.footer__links a.is-current {
    color: #10B981;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__contacts p {
    margin: 0;
}

.footer__contacts a {
    color: #475569;
    text-decoration: none;
}

.footer__contacts a:hover {
    color: #10B981;
}

.footer__bottom {
    border-top: 1px solid #E2E8F0;
    padding-top: 20px;
    text-align: center;
    font-size: 0.875rem;
    color: #64748B;
}

.footer__bottom p {
    margin: 0;
}

.footer__bottom a {
    color: #475569;
    text-decoration: none;
}

.footer__bottom a:hover {
    color: #10B981;
    text-decoration: underline;
}

/* === Legal-page навигация в header (если есть) === */
.legal-header {
    background: white;
    border-bottom: 1px solid #E2E8F0;
    padding: 14px 0;
}

.legal-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-header .logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1F2A3A;
    text-decoration: none;
}

.legal-header .logo span {
    color: #10B981;
}

.legal-header .back-link {
    color: #10B981;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.legal-header .back-link:hover {
    color: #059669;
}

/* === Responsive === */
@media (max-width: 600px) {
    .site-footer {
        padding: 32px 0 20px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer__bottom {
        font-size: 0.8rem;
    }
}
