.site-footer {
    padding: 70px max(52px, calc((100% - 1520px) / 2)) 0;
    background: #050505;
    color: #fff;
    font-family: "Heebo", Arial, sans-serif;
    line-height: 1.65;
}

.footer-main {
    display: grid;
    width: 100%;
    max-width: 1420px;
    grid-template-columns: 1.3fr .62fr 1.13fr 1.1fr;
    gap: 42px;
    margin: 0 auto;
    padding-bottom: 43px;
}

.footer-brand {
    display: block;
    width: 250px;
    margin-bottom: 13px;
}

.footer-brand img {
    width: 100%;
}

.footer-about p,
.footer-newsletter p {
    margin: 0 0 14px;
    color: #ddd;
    font-size: 16px;
    line-height: 1.65;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 4px;
    background: var(--shared-brand-orange);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

.footer-column h2,
.footer-newsletter h2 {
    margin: 0 0 15px;
    font-family: "Barlow", Arial, sans-serif;
    font-size: 25px;
    line-height: 1.4;
}

.footer-column a {
    display: block;
    margin-bottom: 8px;
    color: #ddd;
    font-size: 16px;
    line-height: 1.55;
}

.footer-column a::before {
    margin-right: 9px;
    color: var(--shared-brand-orange);
    content: "›";
}

.contact-column a {
    padding-left: 14px;
}

.contact-column a::before {
    margin-left: -14px;
    content: "▪";
}

.footer-newsletter form {
    display: flex;
    height: 40px;
    padding: 4px;
    border-radius: 4px;
    background: #fff;
}

.footer-newsletter input {
    width: 100%;
    min-width: 0;
    padding: 0 9px;
    border: 0;
    outline: 0;
    color: #333;
    font: inherit;
    font-size: 16px;
}

.footer-newsletter button {
    width: 38px;
    flex: 0 0 38px;
    border: 0;
    border-radius: 3px;
    background: var(--shared-brand-orange);
    color: #fff;
    cursor: pointer;
}

.footer-bottom {
    display: flex;
    width: 100%;
    max-width: 1320px;
    min-height: 57px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 auto;
    border-top: 1px solid #272727;
}

.footer-bottom p {
    margin: 0;
    color: #ddd;
    font-size: 16px;
}

.footer-bottom a {
    color: var(--shared-brand-orange);
}

.visually-hidden {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

@media (max-width: 1100px) {
    .footer-main {
        gap: 25px;
    }
}

@media (max-width: 820px) {
    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 42px 20px 0;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-bottom: 32px;
    }

    .footer-brand {
        width: 175px;
    }

    .footer-bottom {
        min-height: auto;
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        padding-block: 13px;
    }
}
