.hero {
    background: #081B26;
    color: #fff;
}

.hero .container {
    position: relative;
    z-index: 3;
    margin-top: -151px;
}

.hero h1,
.hero h2 {
    font-size: 40px;
    font-weight: 300;
    line-height: 28px;
    color: #fff;
    letter-spacing: -0.015em;
    margin: 9px 0 33px;
}

.hero__logo {
    width: 121px;
    height: 121px;
    margin: 0 auto;
    display: block;
}

.hero__bg-wrap {
    position: relative;
    height: 355px;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__bg-wrap:after {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    content: '';
    display: block;
    width: 100%;
    height: 250px;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 16.21%, rgba(0, 0, 0, 0.5) 57.01%);
}

.hero__form {
    background: #FFFFFF2B;
    border-radius: 25px;
    color: #fff;
    padding: 28px 16px;
}

@media (min-width: 991px) {
    .hero .container {
        margin-top: -356px;
    }
    .hero__bg-wrap {
        height: 720px;
    }
    .hero__bg-wrap:after {
        height: 385px;
    }
    .hero__logo {
        width: 210px;
        height: 210px;
    }
    .hero h1,
    .hero h2 {
        font-size: 96px;
        line-height: 1;
        margin: 24px 0 44px;
        letter-spacing: 0;
    }
    .hero__form {
        padding: 28px 103px 14px;
    }
    .hero__form .wpcf7-submit {
        min-width: 214px;
    }
    .hero__form p {
        font-size: 24px;
        font-weight: 500;
        line-height: 29px;
        text-align: center;
    }
    .hero__form .wpcf7-form {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        direction: ltr;
        gap: 27px;
    }
}
@media (min-width: 1400px) {
    .hero .container {
        max-width: 1374px;
    }
}