.footer {
    padding: 70px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.3);
    color: #9aa4b5;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

.footer *, .footer *::before, .footer *::after {
    box-sizing: border-box;
    border-radius: 0 !important;
}

.footer .wrap {
    width: min(1180px, 100%);
    max-width: none;
    margin: 0 auto;
    padding: 0 24px;
}

.footer a {
    color: inherit;
    text-decoration: none;
}

.footer p {
    margin: 0;
    color: #9aa4b5;
}

.footer img {
    display: block;
}

.footer .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f5f7fb;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-grid p {
    margin-top: 14px;
    font-size: 0.95rem;
}

.footer-grid h4 {
    margin: 0 0 16px 0;
    color: #f5f7fb;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.05;
    text-transform: uppercase;
}

.footer-grid a:not(.brand) {
    display: block;
    margin-bottom: 10px;
    color: #9aa4b5;
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

.footer-grid a:not(.brand):hover {
    color: #f5f7fb;
}

.footer-grid p a {
    display: inline;
}

.footer-grid small {
    color: #7d8799;
}

.footer .copyright {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
}

.footer .copyright + .copyright {
    margin-top: 0;
    padding-top: 8px;
    border-top: 0;
}

.footer .copyright a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

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