.site-footer {
    margin-top: 80px;
    padding: 48px 32px 24px;
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(18px);
}

.footer-shell {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1.5fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.footer-brand {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #111111;
    text-decoration: none;
}

.footer-tagline {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.7;
    color: #6e6e73;
    max-width: 360px;
}

.footer-newsletter {
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.footer-newsletter-content h3 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.03em;
    color: #111111;
}

.footer-newsletter-content p {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: #6e6e73;
}

.footer-newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-newsletter-form input {
    flex: 1;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    font-size: 14px;
    background: #ffffff;
    color: #111111;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-newsletter-form input:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.footer-newsletter-form button {
    min-height: 48px;
    padding: 0 18px;
    border: none;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.footer-newsletter-form button:hover {
    background: #2a2a2a;
    transform: translateY(-1px);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}

.footer-link-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-group + .footer-social {
    margin-top: 32px;
}

.footer-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6e6e73;
    margin-bottom: 6px;
}

.footer-link-group a {
    display: inline-block;
    align-self: flex-start;
    width: auto;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link-group a:hover {
    color: #0071e3;
    transform: translateX(3px);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}

.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-social-links a {
    display: inline-block;
    align-self: flex-start;
    width: auto;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social-links a:hover {
    color: #0071e3;
    transform: translateX(3px);
}

.footer-bottom-bar {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
}

.footer-bottom-bar p {
    margin: 0;
    font-size: 13px;
    color: #757575;
    line-height: 1.5;
}

@media (max-width: 960px) {
    .footer-shell {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 24px;
    }

    .footer-social {
        margin-top: 20px;
    }

    .footer-newsletter-form {
        flex-direction: column;
    }

    .footer-link-group {
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 40px 20px 20px;
    }

    .footer-shell {
        gap: 28px;
    }

    .footer-newsletter {
        padding: 20px;
        border-radius: 24px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-link-group {
        gap: 12px;
    }

    .footer-heading {
        margin-bottom: 10px;
    }

    .footer-social {
        gap: 16px;
        margin-top: 32px;
        padding-top: 4px;
    }

    .footer-social-links {
        gap: 12px;
    }

    .footer-tagline {
        max-width: none;
    }
}