.footer {
    background: #000;
}

.footer__wrapper {
    display: flex;
    flex-direction: column;
    border-radius: 30px 30px 0 0;
    padding: calc(43px + (183 - 43) * ((100vw - 390px) / (1920 - 390))) 0 calc(65px + (60 - 65) * ((100vw - 390px) / (1920 - 390))) 0;
    margin-right: auto;
    margin-left: auto;
}

.footer__top-bar {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    align-items: center;
    border-bottom: 1px solid #FFF;
    padding-bottom: calc(27px + (146 - 27)*((100vw - 390px) / (1920 - 390)));
    margin-bottom: calc(33px + (44 - 33)*((100vw - 390px) / (1920 - 390)));
}


.footer__menus ul li a {
    font-weight: 400;
    font-size: calc(15px + (17 - 15)*((100vw - 390px) / (1920 - 390)));
    color: #FFF;
    transition: all 0.3s ease;
}

.footer__form-text {
    font-weight: 400;
    font-size: calc(14px + (18 - 14)*((100vw - 390px) / (1920 - 390)));
    color: #FFF;
    margin-bottom: 20px;
}

.footer__form-text-under {
    font-weight: 400;
    font-size: 12px;
    color: #FFF;
    margin-bottom: 0;
}

.footer__form-heading {
    font-size: 20px;
    color: #FFF;
    font-weight: 600;
    margin-bottom: calc(20px + (29 - 20)*((100vw - 390px) / (1920 - 390)));
}

.footer__menus ul {
    list-style: none;
    padding-left: 0;
}

.footer__heading {
    font-weight: 600;
    font-size: calc(16px + (20 - 16)*((100vw - 390px) / (1920 - 390)));
    color: #FFF;
    margin-bottom: 29px;
}


.footer__logo {
    width: calc(200px + (111 - 78)*((100vw - 390px) / (1920 - 390)));
    height: calc(79px + (113 - 79)*((100vw - 390px) / (1920 - 390)));
    object-fit: contain;
}

.footer__bottom-bar {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
}

.footer__bottom-bar a:hover {
    color: #FFF;
}

.footer__logo-link {
    display: flex;
}

.footer__copyright {
    margin-bottom: 0;
    color: #FFF;
    font-size: calc(14px + (18 - 14)*((100vw - 390px) / (1920 - 390)));
}

.footer__btn {
    min-width: 161px;
}

.footer__icons {
    position: relative;
    display: flex;
}

.footer__icons img {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
    }

.icon-hover {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.footer__middle-bar a:hover .icon-hover {
    opacity: 1;
}

.footer__middle-bar a .icon-default {
    opacity: 1;
}

.footer__middle-bar a:hover .icon-default {
    opacity: 0;
}

.footer__menus {
    display: flex;
    column-gap: calc(40px + (87 - 40)*((100vw - 1200px) / (1920 - 1200)));
}

.footer__menu li:not(:last-child) {
    margin-bottom: 12px;
}

.footer__form {
    flex-basis: calc(200px + (504 - 200)*((100vw - 390px) / (1920 - 390)));
}

.subscribe-form-wrapper p{
    display: flex;
    gap: calc(10px + (20 - 10)*((100vw - 1200px) / (1920 - 1200)));
    align-items: center;
    margin-bottom: calc(20px + (25 - 20)*((100vw - 390px) / (1920 - 390)));
}

.subscribe-form-wrapper .wpcf7-form-control.wpcf7-email {
    max-width: calc(227px + (327 - 227)*((100vw - 1200px) / (1920 - 1200)));
    margin-bottom: 0;
}

.subscribe-form-wrapper .wpcf7-submit {
    min-width: calc(110px + (148 - 110)*((100vw - 1200px) / (1920 - 1200)));
}

.footer__socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__social {
    display: flex;
    position: relative;
    transition: all 0.3s ease;
}

.footer__social * {
    transition: all 0.3s ease;
}

.footer__social-icon.hover-icon {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.footer__social:has(.hover-icon):hover .footer__social-icon.hover-icon {
    opacity: 1;
}

.footer__social:has(.hover-icon):hover  .footer__social-icon {
    opacity: 0;
}

footer input[type="email"] {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    border-radius: 11px;
    padding: calc(11px + (14 - 11)*((100vw - 390px) / (1920 - 390))) calc(32px + (20 - 32)*((100vw - 390px) / (1920 - 390)));
}

footer input[type="email"]::placeholder {
    color: #c6c5c5;
}

@media screen and (min-width: 1920px) {
    .footer__wrapper {
        padding: 183px 0 60px 0;
    }

    .footer__top-bar {
        padding-bottom: 146px;
        margin-bottom: 44px;
    }

    .footer__menus ul li a {
        font-size: 17px;
    }

    .footer__form-text {
        font-size: 18px;
    }

    .footer__form-heading {
        margin-bottom: 29px;
    }

    .footer__heading {
        font-size: 20px;
    }

    .footer__logo {
        width: 311px;
        height: 113px;
    }

    .footer__menus {
        column-gap: 87px;
    }

    .footer__form {
        flex-basis: 504px;
    }

    .subscribe-form-wrapper p {
        gap: 20px;
        margin-bottom: 20px;
    }

    .subscribe-form-wrapper .wpcf7-form-control.wpcf7-email {
        max-width: 327px;
    }

    .subscribe-form-wrapper .wpcf7-submit {
        min-width: 148px;
    }

    footer input[type="email"] {
        padding: 14px 20px;
    }
}


@media screen and (max-width: 1199.98px) {
    .subscribe-form-wrapper p{
        gap: 10px;
    }

    .footer__form {
        flex-basis: fit-content;
    }

    .subscribe-form-wrapper .wpcf7-form-control.wpcf7-email {
        max-width: 327px;
    }

    .subscribe-form-wrapper .wpcf7-submit {
        min-width: 110px;
    }


    .footer__top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }
    .footer__menus {
        order: 3;
        row-gap: 61px;
        column-gap: 87px;
        flex-wrap: wrap;
    }

    .footer__logo {
        margin-bottom: 44px;
    }

    .footer__form {
        margin-bottom: 89px;
    }


}

@media screen and (max-width: 1023.98px) {
    .footer__wrapper {
        align-items: flex-start;
    }


    .footer__logo {
        align-self: flex-start;
    }

    .footer__bottom-bar {
        width: 100%;
        justify-content: space-between;
    }


    .footer__btn {
        min-width: 134px;
    }

    .footer__menu {
        min-width: 125px;
    }

    .footer__form {
        flex-basis: fit-content;
    }

    .footer__copyright {
        max-width: 126px;
    }
}

@media screen and (min-width: 600px) and (max-width: 1199.99px){
    .footer__menus {
        width: 100%;
        justify-content: space-between;
    }
}

@media screen and (max-width: 599.98px) {
    .subscribe-form-wrapper p {
        flex-direction: column;
        gap: 20px;
    }

    .subscribe-form-wrapper .wpcf7-form-control.wpcf7-email {
        max-width: 100%;
        width: 100%;
    }

    .subscribe-form-wrapper .wpcf7-submit {
        width: 100%;
    }
}

@media screen and (max-width: 389.98px) {
    .footer__wrapper {
        padding: 43px 0 65px 0;
    }

    .footer__top-bar {
        padding-bottom: 27px;
        margin-bottom: 33px;
    }

    .footer__menus ul li a {
        font-size: 15px;
    }

    .footer__form-text {
        font-size: 14px;
    }

    .footer__form-heading {
        margin-bottom: 20px;
    }

    .footer__heading {
        font-size: 16px;
    }

    .footer__logo {
        width: 178px;
        height: 79px;
    }

    .footer__form {
        flex-basis: 200px;
    }

    .subscribe-form-wrapper p {
        margin-bottom: 20px;
    }

    footer input[type="email"] {
        padding: 11px 32px;
    }
}