.footer-legal-note-wrap {
    margin-top: 36px
}

.footer-legal-note {
    background: #f0f0f0;
    border-radius: 8px;
    padding: 12px 16px
}

.footer-legal-note p {
    color: #4a4a4a;
    margin: 0;
    font-size: 12px;
    font-style: italic;
    line-height: 1.3
}

.site-footer {
    color: #fff;
    background: #2d2e35
}

.footer-logo-wrap {
    background: #fff;
    border-radius: 15px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px 12px;
    display: flex
}

.footer-logo-wrap img {
    width: auto;
    height: 52px;
    display: block
}

.footer-content {
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 32px 24px 24px;
    display: grid
}

.newsletter h2,.footer-socials h2 {
    letter-spacing: .04em;
    text-transform: uppercase;
    margin: 0 0 10px;
    font-family: DM Sans,sans-serif;
    font-size: 16px;
    font-weight: 500
}

.newsletter form {
    grid-template-columns: 1fr auto;
    gap: 10px;
    display: grid
}

.newsletter input {
    border: none;
    border-radius: 4px;
    width: 100%;
    padding: 10px;
    font-family: inherit
}

.newsletter .btn {
    min-width: unset
}

.footer-socials .social-row {
    flex-wrap: wrap;
    gap: 12px;
    display: flex
}

.footer-socials a {
    width: 36px;
    height: 36px;
    color: var(--color-muted);
    background: #fff;
    border-radius: 50%;
    place-items: center;
    padding: 8px;
    transition: background-color .2s;
    display: grid
}

.footer-socials a:hover {
    background: var(--color-accent)
}

.footer-socials a i,.footer-socials a svg {
    color: #1d1d1b;
    width: 16px;
    height: 16px
}

.footer-links {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 30px;
    padding-left: 40px;
    display: grid
}

.footer-links ul {
    align-content: start;
    align-items: start;
    gap: 8px;
    margin: 0;
    padding: 0;
    font-size: 14px;
    list-style: none;
    display: grid
}

.footer-links a {
    color: #e5e5e5;
    text-decoration: none;
    transition: color .15s
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline
}

.footer-bottom {
    color: #b0b0b0;
    text-align: center;
    background: #0003;
    border-top: 1px solid #ffffff1f;
    margin-top: 0;
    padding: 20px 24px;
    font-size: 12px;
    line-height: 1.6
}

@media (width<=980px) {
    .newsletter form {
        grid-template-columns: 1fr
    }
}

@media (width<=720px) {
    .footer-content {
        text-align: center;
        grid-template-columns: 1fr;
        padding-top: 24px
    }

    .footer-logo-wrap {
        max-width: 240px;
        margin: 0 auto 24px
    }

    .newsletter h2,.footer-socials h2 {
        text-align: center
    }

    .newsletter form {
        max-width: 400px;
        margin: 0 auto
    }

    .footer-socials .social-row {
        justify-content: center
    }

    .footer-links {
        text-align: left;
        grid-template-columns: repeat(2,minmax(0,1fr));
        padding-left: 0
    }
}

@media (width<=520px) {
    .footer-links {
        text-align: center;
        grid-template-columns: 1fr
    }

    .footer-content {
        gap: 32px
    }
}
