.first-screen {
    position: relative;
    top: 0;
    margin-top: 67px;
}



.first-screen__container {
    max-width: 100%;
    padding: 0 8px;
}

.first-screen__wrapper {
    padding: 100px 25px 150px 25px;
    background: #202029;
    text-align: center;
    border-radius: 0 0 20px 20px;
}


.first-screen__heading {
    margin-bottom: 30px;
}

.first-screen__heading em{
    font-weight: 300;
    font-style: unset;
}

.first-screen__heading,
.first-screen__text,
.contacts-form__contacts-form {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.contacts-form__contacts-form {
    margin-bottom: 99px;
}

.first-screen__text {
    margin-bottom: 50px;
}

.first-screen__logos {
    gap: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 888px;
    margin-left: auto;
    margin-right: auto;
}

.first-screen__logo-wrapper {
    display: flex;
    flex-basis: calc((100% - 120px) / 4);
}

.contacts-form__contacts-form p {
    display: flex;
    gap: 20px;
}

.contacts-form__contacts-form p span {
 flex-basis: 262px;
}

.contacts-form__contacts-form p span input{
    width: 100%;
}

.contacts-form__contacts-form p input[type="submit"] {
flex-basis: 300px;
    width: 100%;
}

.first-screen .wpcf7-spinner {
    display: none;
}

.contacts-form__btn {
    display: none;
}

body  .first-screen .wpcf7 form .wpcf7-response-output {
    margin: 20px 0 0 0;
    text-align: center;
}

.first-screen form > p {
    margin-bottom: 0;
                     }

@media screen and (max-width: 1249.98px) {
    .first-screen {
        margin-top: 62px;
    }
}

@media screen and (max-width: 1199.98px) {
    .first-screen {
        margin-top: 53px;
    }

    .first-screen__wrapper {
        padding: 100px 25px 100px 25px;
    }
}


@media screen and (min-height: 780px) and (min-width: 1024px) {
    .first-screen__wrapper {
        padding: 150px 25px 150px 25px;
        background: #202029;
        text-align: center;
        border-radius: 0 0 20px 20px;
    }

}
@media screen and (max-width: 1023.98px) {

    .first-screen {
        margin-top: 67px;
    }

    .first-screen__wrapper {
        padding: 40px 25px 40px 25px;
    }

    .first-screen__heading {
        margin-bottom: 20px;
    }

    .first-screen__text {
        margin-bottom: 35px;
    }

    .contacts-form__contacts-form {
        margin-bottom: 75px;
    }

    .contacts-form__contacts-form {
        display: none;
    }

    .contacts-form__btn {
        margin-bottom: 50px;
        max-width: 238px;
        margin-right: auto;
        margin-left: auto;
        display: flex;
    }

    .first-screen__logos {
        flex-wrap: wrap;
        column-gap: 35px;
        row-gap: 25px;
    }

    .first-screen__logo-wrapper {
        flex-basis: calc((100% - 35px) / 2);
        justify-content: center;
    }

    .first-screen__logo-wrapper img {
        max-width: 200px;
    }

    .first-screen__container {
        padding: 0 5px;
    }

}


@media screen and (max-width: 599.98px) {
    .first-screen__heading {
        margin-bottom: 10px;
    }

    .first-screen__text {
        margin-bottom: 25px;
    }

    .contacts-form__contacts-form {
        margin-bottom: 50px;
    }

    .first-screen__logo-wrapper img {
        max-width: 100%;
    }

    .first-screen__wrapper {
        padding: 20px 25px 40px 25px;
    }

    .contacts-form__btn {
        margin-bottom: 30px;
    }
}
