.footer {
    position: relative;
    background-color: var(--color-dark-charcoal);
    border-radius: 20px 20px 0 0;
    color: var(--color-white);
}

.footer__inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 79px 0 120px 0;
}

.footer__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 23px;
}

.footer__logo {
    width: 363px;
    height: auto;
}

.footer__logo img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.footer__form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #413d3b;
    border-radius: 100px;
    padding: 6px 6px 6px 23px;
    width: 100%;
    max-width: 500px;
}

.footer__form label {
    width: 82%;
    height: 100%;
}

.footer__form input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    background-color: transparent;
    color: var(--color-white);
    font-family: var(--font-accent-roman);
}

.footer__form input::placeholder {
    color: var(--color-white);
    opacity: 0.6;
}

.footer__form button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-dark-charcoal);
    width: 53px;
    height: 48px;
    border-radius: 100px;
    border: none;
    outline: none;
    cursor: pointer;
}

.footer__navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
}

.footer__navigation-group ul {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer__navigation-group ul li {
    font-size: 20px;
    line-height: 100%;
    font-family: var(--font-helvetica-neue-cyr-roman);
    color: var(--color-vanilla-white);
}

.footer__navigation-group ul li:first-child,
.footer__navigation-group ul li:first-child a {
    font-family: var(--font-heading-now-trial);
    font-size: 18px;
    font-weight: 300;
    color: var(--color-white);
    letter-spacing: 0.2px;
    line-height: 100%;
}

.footer__navigation-group ul li:first-child {
    opacity: 0.4;
    margin-bottom: 8px;
}

.footer__meta,
.footer__meta ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__meta {
    margin-top: 20px;
}

.footer__meta ul {
    width: 100%;
    height: 100%;
}

.footer__meta-link,
.footer__meta a {
    font-size: 12px;
    line-height: 100%;
    font-family: var(--font-helvetica-neue-cyr);
    font-style: italic;
    text-decoration: underline;
    color: var(--color-vanilla-white);
    opacity: 0.4;
}

@media (min-width: 640px) {
    .footer__navigation {
        justify-content: center;
    }
}

@media (min-width: 1280px) {
    .footer {
        margin: 11px;
        border-radius: 11px;
    }

    .footer__inner {
        position: relative;
        width: 100%;
        height: 100%;
        min-height: 460px;
        padding: 0;
        align-items: center;
        justify-content: center;
    }

    .footer__intro {
        gap: 25px;
        transform: translateY(10%);
    }

    .footer__logo {
        width: 195px;
        height: 44px;
    }

    .footer__logo img {
        height: 100%;
    }

    .footer__form {
        max-width: unset;
        width: 390px;
        height: 46px;
    }

    .footer__form input {
        font-size: 14px;
    }

    .footer__form button {
        width: 53px;
        height: 32px;
        border-radius: 100px;
    }

    .footer__navigation {
        position: absolute;
        left: 5px;
        top: 46px;
        z-index: 1;
        gap: 40px;
        justify-content: unset;
    }

    .footer__navigation-group ul {
        gap: 8px;
    }

    .footer__navigation-group ul li {
        font-size: 14px;
    }

    .footer__navigation-group ul li:first-child,
    .footer__navigation-group ul li:first-child a {
        font-family: var(--font-eb-garamond);
        font-size: 18px;
        line-height: 103%;
    }

    .footer__meta {
        position: absolute;
        left: 3px;
        bottom: 43px;
        z-index: 1;
        flex-direction: column;
        height: 52px;
        margin-top: 0;
    }

    .footer__meta ul {
        flex-direction: column;
    }
}
