/* Footer */

.footer {
    position: relative;

    overflow: hidden;

    padding: 80px 0 20px;

    background: #062046;
}

/* gradient circle */

.footer::before {
    content: "";

    position: absolute;

    top: -356px;
    left: 50%;

    width: 1265px;
    height: 1265px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    filter: blur(100px);

    transform: translateX(-50%);

    pointer-events: none;
}

/* left decorative circles */

.footer__decor--left {
    position: absolute;

    top: 55px;
    left: 0;

    width: 220px;
    height: 220px;

    background:
        url("../img/footer/circles-left.svg")
        center / contain
        no-repeat;

    pointer-events: none;

    z-index: 1;
}

/* right decorative circles */

.footer__decor--right {
    position: absolute;

    right: 0;
    bottom: 0;

    width: 320px;
    height: 320px;

    background:
        url("../img/footer/circles-right.svg")
        center / contain
        no-repeat;

    pointer-events: none;

    z-index: 1;
}

/* content above */

.footer .container {
    position: relative;
    z-index: 2;

    max-width: 1410px;
}

/* top */

.footer__top {
    min-height: 301px;
}

.footer__logo {
    display: inline-flex;
    align-items: center;

    margin-bottom: 35px;

    
}

.footer__logo img {
    display: block;

    max-width: 320px;
    max-height: 48px;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer__contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;

    color: #ffffff;
    text-decoration: none;
}

.footer__contact img {
    width: 14px;
    height: 14px;

    flex-shrink: 0;
}

.footer__title {
    margin: 0 0 35px;

    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;

    color: #ffffff;
}

/* menu */

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer__nav a {
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;

    color: #ffffff;
    text-decoration: none;
}

.footer__nav a:hover,
.footer__contact:hover,
.footer__bottom-link:hover {
    color: #F7941D;
}

/* form */

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-form__input {
    width: 100%;
    height: 45px;
    padding: 0 16px;

    border: none;
    border-radius: 0;

    font-size: 13px;
    font-weight: 400;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.footer-form__input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.footer-form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    margin: 0;

    font-size: 11px;
    line-height: 1.3;

    color: rgba(255, 255, 255, 0.7);
}

.footer-form__checkbox input {
    width: 12px;
    height: 12px;
    margin-top: 1px;

    flex-shrink: 0;
}

.footer-form__checkbox a {
    color: #F7941D;
    text-decoration: none;
}

.footer-form__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 252px;
    height: 42px;

    border: none;
    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;

    color: #ffffff;
    background: #F7941D;
}

.footer-form__button:hover {
    background: #e88315;
}

/* bottom */

.footer__bottom {
    min-height: 51px;
    margin-top: 0;
}

.footer__company-data,
.footer__bottom-link,
.footer__copyright {
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;

    color: rgba(255, 255, 255, 0.75);
}

.footer__bottom-link {
    text-decoration: none;
    text-transform: uppercase;
}

.footer__copyright {
    text-align: right;
}

.footer__menu-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 18px;

    margin-top: 6px;
    transform: translateX(14px);
}


/* =========================
   Footer adaptive
========================= */

@media (max-width: 767px) {
    .footer {
        padding: 32px 0 24px;
    }

    .footer::before {
        display: none;
    }

    .footer__decor--left {
        display: none;
    }

    .footer__decor--right {
        right: -80px;
        bottom: -60px;

        width: 260px;
        height: 260px;

        opacity: .45;
    }

    .footer .container {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer__top {
        min-height: auto;
        row-gap: 34px;
    }

    .footer__contacts-col,
    .footer__menu-col,
    .footer__feedback-col {
        width: 100%;
    }

    .footer__logo {
        margin-bottom: 28px;
    }

    .footer__logo img {
        max-width: 235px;
        max-height: none;
    }

    .footer__contacts {
        gap: 20px;
    }

    .footer__contact {
        gap: 12px;

        font-size: 13px;
        line-height: 1.25;
    }

    .footer__contact img {
        width: 15px;
        height: 15px;
    }

    .footer__title {
        margin-bottom: 22px;

        font-size: 20px;
        line-height: 1;
    }

    .footer__menu-col {
        align-items: flex-start;
    }

    .footer__nav {
        gap: 18px;

        margin-top: 0;
        transform: none;
    }

    .footer__nav a {
        font-size: 13px;
    }

    .footer-form {
        gap: 12px;
    }

    .footer-form__input {
        height: 48px;
        padding: 0 16px;

        border-radius: 4px;
        background: rgba(255, 255, 255, 0.08);

        font-size: 13px;
    }

    .footer-form__checkbox {
        margin-top: 4px;

        font-size: 11px;
        line-height: 1.25;
    }

    .footer-form__button {
        width: 100%;
        height: 58px;
        margin-top: 12px;

        border-radius: 999px;
    }

    .footer__bottom {
        min-height: auto;
        margin-top: 32px;
        row-gap: 24px;
    }

    .footer__bottom > [class*="col"] {
        width: 100%;
    }

    .footer__company-data,
    .footer__bottom-link,
    .footer__copyright {
        font-size: 11px;
        line-height: 1.35;
        text-align: left;
    }

    .footer__bottom-link {
        display: inline-block;
    }

    .footer__copyright {
        margin-top: 8px;
    }
}