#form-second-block {
    position: relative;
    background: var(--head);
}

#form-second-block::before {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url(../form-second-block/lines.png);
    content: "";
    top: 0;
    left: 0;
    opacity: .1;
    z-index: 1;
}

#form-second-block .form-wrap {
    display: flex;
    position: relative;
    z-index: 10;
}

#form-second-block .form-wrap .left-side {
    max-width: 875px;
    width: 100%;
    height: auto;
}

#form-second-block .form-wrap .left-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#form-second-block .form-wrap .right-side {
    padding-right: calc((100% - 1170px) / 2);
    padding-top: 100px;
    padding-bottom: 100px;
    padding-left: 100px;
}

#form-second-block .form-wrap .right-side .title {
    color: white;
}

#form-second-block .form-wrap .right-side .desc {
    font-weight: 400;
    font-size: 16px;
    line-height: 135%;
    color: var(--disable);
    margin: 10px 0 30px;
}

#form-second-block .form-wrap .right-side .form .inputs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 10px;
}

#form-second-block .form-wrap .right-side .form .inputs input {
    padding: 14px 0;
    background: transparent;
    border: none;
    color: var(--disable);
    border-bottom: 1px solid var(--text);
    max-width: 270px;
    width: 100%;
}

#form-second-block .form-wrap .right-side .form .inputs input:focus {
    outline: none;
}

#form-second-block .form-wrap .right-side .form .inputs input::placeholder {
    font-weight: 400;
    font-size: 16px;
    line-height: 135%;
    color: var(--text);
}

#form-second-block .form-wrap .right-side .form textarea {
    padding: 14px 0;
    background: transparent;
    border: none;
    color: var(--disable);
    border-bottom: 1px solid var(--text);
    width: 100%;
    resize: vertical;
    margin-bottom: 30px;
    height: 51px;
}

#form-second-block .form-wrap .right-side .form textarea::placeholder {
    font-weight: 400;
    font-size: 16px;
    line-height: 135%;
    color: var(--text);
}

#form-second-block .form-wrap .right-side .form textarea:focus {
    outline: none;
}

#form-second-block .form-wrap .right-side .form .bottom-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

#form-second-block .form-wrap .right-side .form .bottom-form .btn {
    max-width: 100%;
}

#form-second-block .form-wrap .right-side .form .bottom-form .privacy-agree {
    font-weight: 400;
    font-size: 12px;
    line-height: 135%;
    color: var(--disable);
    width: 94%;
}

#form-second-block .form-wrap .right-side .form .bottom-form .privacy-agree a {
    color: var(--primary);
    transition: .6s;
}

#form-second-block .form-wrap .right-side .form .bottom-form .privacy-agree a:hover {
    transition: .6s;
    opacity: .7;
}

@media (max-width: 1200px) {
    #form-second-block .form-wrap {
        flex-direction: column-reverse;
        gap: 30px;
        padding: 40px 0;
    }

    #form-second-block .form-wrap .left-side {
        max-width: 100%;
        padding: 0 15px;
        height: 400px;
    }

    #form-second-block .form-wrap .right-side {
        padding: 0px 15px;
    }
}

@media (max-width: 992px) {
    #form-second-block .form-wrap {
        padding: 0;
    }
    #form-second-block {
        padding: 40px 0;
    }
}

@media (max-width: 600px) {
    #form-second-block .form-wrap .right-side .form .bottom-form {
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
    }

    #form-second-block .form-wrap .right-side .form .bottom-form .privacy-agree {
        text-align: center;
    }

    #form-second-block .form-wrap .right-side .form .inputs {
        flex-direction: column;
        gap: 20px;
    }

    #form-second-block .form-wrap .right-side .form .inputs input {
        max-width: 100%;
    }
}