.form-block {
    padding: 39px 0 39px 50px;
    border-radius: 30px 200px 200px 30px;
    background-image: url("/template/new/images/common/form-block/form-block-bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    position: relative;

    margin-right: 210px;
    margin-bottom: 144px;
}

.form-block-content {
    position: relative;
    z-index: 2;
}

.form-block-content-supertitle {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: 27px;
    line-height: 93%;
    text-transform: uppercase;
    color: #FFFFFF;

    margin-bottom: 18px;
}

.form-block-content-title {
    font-family: 'Grtsk Tera', sans-serif;
    font-weight: 600;
    font-size: 80px;
    line-height: 60%;
    text-transform: uppercase;
    color: #FFFFFF;

    margin-bottom: 26px;
}

.form-block-content-subtitle {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 100%;
    color: #FFFFFF;

    margin-bottom: 32px;
}

.form-block-content-actions {
    display: flex;
    align-items: center;
    gap: 19px;
}

.form-block-content-actions .button {
    border-radius: 6px;
    padding: 13px 27px;
    box-sizing: border-box;
    background: #CB7D5D;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 133%;
    color: #FFFFFF;
    text-decoration: none;

    transition: 0.2s;
}

.form-block-content-actions .button.callMeasurer {
    background: #334842;
}

.form-block-content-actions .button:hover {
    background-color: #2D2F33;
}

.form-block-image {
    width: 765px;
    height: 475px;
    background-image: url("/template/new/images/common/form-block/form-block-img.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    position: absolute;
    top: -100px;
    right: -168px;
}

@media screen and (max-width: 1670px){
    .form-block-image {
        width: 669px;
        height: 430px;
        top: -80px;
    }
}

@media screen and (max-width: 1500px){
    .form-block {
        margin-right: 57px;
        margin-bottom: 100px;
    }

    .form-block-content-title {
        font-size: 60px;
        line-height: 80%;
    }

    .form-block-image {
        /*top: -54px;*/
        right: -47px;
    }
}

@media screen and (max-width: 1350px){
    .form-block-image {
        width: 542px;
        height: 359px;

        top: -48px;
        right: -31px;
    }
}

@media screen and (max-width: 1250px){
    .form-block {
        padding: 32px 0 32px 41px;

        margin-right: 48px;
        margin-bottom: 82px;
    }

    .form-block-content-supertitle {
        font-size: 18px;
        line-height: 139%;

        margin-bottom: 15px;
    }

    .form-block-content-title {
        font-size: 45px;
        line-height: 107%;

        margin-bottom: 13px;
    }

    .form-block-content-subtitle {
        font-size: 20px;
        line-height: 150%;

        margin-bottom: 35px;
    }

    .form-block-content-actions .button {
        padding: 9px 20px;
    }

    .form-block-image {
        width: 542px;
        height: 359px;

        top: -48px;
        right: -31px;
    }
}

@media screen and (max-width: 1050px){
    .form-block {
        margin-right: 51px;
        margin-bottom: 58px;
    }

    .form-block-content-supertitle {
        font-size: 17px;
        line-height: 147%;
    }

    .form-block-content-title {
        font-size: 38px;
        line-height: 126%;
    }

    .form-block-content-subtitle {
        font-size: 17px;
        line-height: 176%;

        margin-bottom: 38px;
    }

    .form-block-content-actions {
        gap: 15px;
    }

    .form-block-content-actions .button {
        padding: 6px 7px;
    }

    .form-block-image {
        width: 410px;
        height: 300px;
        top: -24px;
        right: -43px;
    }
}

@media screen and (max-width: 880px){
    .form-block-image {
        top: -36px;
        right: -60px;
    }
}

@media screen and (max-width: 800px){
    .form-block {
        padding: 78px 63px 711px 63px;
        border-radius: 30px 30px 500px 500px;
        background-image: url("/template/new/images/common/form-block/form-block-bg-768.png");

        margin: 0 -16px 141px -16px;
    }

    .form-block-content-supertitle {
        font-size: 31px;
        line-height: 81%;
        text-align: center;

        margin-bottom: 28px;
    }

    .form-block-content-title {
        font-size: 66px;
        line-height: 92%;
        text-align: center;

        max-width: 450px;
        margin: 0 auto 28px auto;
    }

    .form-block-content-subtitle {
        font-size: 31px;
        line-height: 106%;
        text-align: center;

        max-width: 356px;
        margin: 0 auto 40px auto;
    }

    .form-block-content-actions {
        align-items: center;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }

    .form-block-content-actions .button {
        border-radius: 6px;
        padding: 25px 27px;
        width: 100%;

        font-size: 25px;
        line-height: 96%;
    }

    .form-block-image {
        width: 698px;
        height: 947px;
        background-image: url("/template/new/images/common/form-block/form-block-img-768.png");

        top: unset;
        bottom: -220px;
        right: 0;
    }
}

@media screen and (max-width: 600px){
    .form-block {
        padding: 78px 63px 511px 63px;
        border-radius: 30px 30px 200px 200px;

        margin-bottom: 100px;
    }

    .form-block-content-supertitle {
        font-size: 25px;
        line-height: 100%;

        margin-bottom: 20px;
    }

    .form-block-content-title {
        font-size: 50px;
        line-height: 100%;

        max-width: 350px;
        margin: 0 auto 25px auto;
    }

    .form-block-content-subtitle {
        font-size: 28px;
        line-height: 100%;

        max-width: 280px;
        margin: 0 auto 25px auto;
    }

    .form-block-content-actions .button {
        padding: 13px 27px;

        font-size: 20px;
        line-height: 100%;
    }

    .form-block-image {
        width: 530px;
        height: 641px;

        top: unset;
        bottom: -140px;
        right: 0;
    }
}

@media screen and (max-width: 500px){
    .form-block {
        padding: 36px 24px 415px 24px;
        margin-bottom: 84px;
    }

    .form-block-content-supertitle {
        font-size: 15px;
        line-height: 167%;

        margin-bottom: 2px;
    }

    .form-block-content-title {
        font-size: 40px;
        line-height: 100%;

        margin-bottom: 14px;
    }

    .form-block-content-subtitle {
        font-size: 20px;
        line-height: 100%;

        margin-bottom: 18px;
    }

    .form-block-content-actions {
        gap: 14px;
    }

    .form-block-content-actions .button {
        padding: 13px 15px;

        font-size: 18px;
        line-height: 133%;
    }

    .form-block-image {
        width: 330px;
        height: 541px;

        bottom: -113px;
        right: 0;
    }
}

@media screen and (max-width: 450px){
    .form-block {
        padding: 36px 23px 365px 23px;
    }
}