.footer {
    width: 100%;
    background: #1a1a1a;
    color: #ffffff;
}

.footer-inner {
    display: flex;
    width: min(var(--container), calc(100% - 48px));
    max-width: var(--container);
    min-height: 374px;
    margin: 0 auto;
    padding: 80px 0 120px;
    align-items: flex-start;
    gap: clamp(48px, 6.51vw, 120px);
}

.footer-logo-link {
    display: block;
    width: 213px;
    height: 48px;
    flex: 0 0 213px;
}

.footer-logo {
    display: block;
    width: 213px;
    height: 48px;
    object-fit: contain;
    object-position: left center;
}

.footer-content {
    display: flex;
    width: min(963px, 100%);
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 36px;
    min-height: 30px;
}

.footer-nav a {
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
}

.footer-nav span {
    display: block;
    width: 1px;
    height: 15px;
    background: #404040;
}

.footer-info {
    display: flex;
    width: 100%;
    max-width: 963px;
    min-height: 72px;
    margin: 0;
    flex-direction: column;
    color: #b3b3b3;
    font-style: normal;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.footer-info p {
    margin: 0;
}

.footer-info span {
    color: #b3b3b3;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: -12px;
}

.footer-legal a {
    color: #b3b3b3;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.footer-legal span {
    display: block;
    width: 1px;
    height: 12px;
    background: #555555;
}

.footer-social {
    display: flex;
    width: 179px;
    height: 24px;
    align-items: center;
    gap: 24px;
}

.footer-social a {
    display: block;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
}

.footer-social a:last-child {
    width: 35px;
}

.footer-social img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible,
.footer-social a:hover,
.footer-social a:focus-visible {
    opacity: .78;
}

@media (max-width: 1100px) {
    .footer-inner {
        padding: 64px 0 80px;
        gap: 44px;
    }

    .footer-nav {
        gap: 22px;
    }

    .footer-nav a {
        font-size: 18px;
    }

    .footer-info {
        font-size: 15px;
    }
}

@media (max-width: 760px) {
    .footer-inner {
        min-height: 0;
        width: calc(100% - 48px);
        padding: 52px 0 60px;
        flex-direction: column;
        gap: 32px;
    }

    .footer-logo-link,
    .footer-logo {
        width: 213px;
        height: 48px;
    }

    .footer-logo-link {
        flex-basis: 0;
    }

    .footer-content {
        width: 100%;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .footer-nav span {
        display: none;
    }
}

@media (max-width: 420px) {
    .footer-inner {
        width: calc(100% - 40px);
    }

    .footer-nav a {
        font-size: 16px;
    }

    .footer-info {
        font-size: 13px;
    }
}
