.block-offer {
    position: relative;
    padding-top: 161px;
    padding-bottom: 103px;
    z-index: 10;
}

.block-offer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.block-offer-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.block-offer .wrapper {
    position: relative;
    z-index: 20;
}

.block-offer-title {
    color: #FFF;
    text-align: center;
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 232px;
}

.block-offer-form {
    display: flex;
    justify-content: center;
    width: 100%;
}

.block-offer-form form {
    width: 100%;
}

.block-offer-form>.wpcf7 {
    width: 100%;
}

.block-offer-form-row {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.block-offer-form-input {
    width: 335px;
}

.block-offer-form-input input {
    display: block;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #CDCDCD;
    background: #FFF;
    padding: 26px 24px;
    color: #000;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.48px;
    outline: none;
}

.block-offer .wpcf7-response-output {
    border-radius: 8px;
    background: rgba(219, 30, 56, 0.70) !important;
    border-color: rgba(219, 30, 56, 0.70) !important;
    backdrop-filter: blur(20px);
    width: 688px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    color: #FFF;
    text-shadow: 0px 1px 2px rgba(15, 23, 42, 0.05);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    transform: translateX(-107px);
    margin-top: 18px !important;
    padding: 9.5px 20px !important;
    text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
    border: 2px solid #46b450 !important;
    background: #46b4501f !important;
    color: #000;
}

.block-offer-form-input input.wpcf7-not-valid {
    border-width: 2px;
}

.block-offer-form-input .wpcf7-not-valid-tip {
    display: none !important;
}

.block-offer .block-offer-form-input .wpcf7-not-valid-tip {
    display: block !important;
    border-radius: 8px;
    background: rgba(219, 30, 56, 0.70) !important;
    border-color: rgba(219, 30, 56, 0.70) !important;
    backdrop-filter: blur(20px);
    width: 688px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    color: #FFF;
    text-shadow: 0px 1px 2px rgba(15, 23, 42, 0.05);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    margin-top: 18px !important;
    padding: 9.5px 20px !important;
    text-align: center;
}

.block-offer-form-input input::placeholder {
    color: #4B4B4B;
    text-transform: uppercase;
}

.block-offer-form-button {
    border-radius: 8px;
    background: #DF1D36;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    width: fit-content;
    min-width: 197px;
    min-height: 68px;
    max-width: 100%;
    cursor: pointer;
    color: #FFF;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    outline: none;
    border: none;
    transition: 0.25s;
}

.block-offer-form-button:hover {
    background: #C51A30;
}

.block-offer-form-button:active {
    border: 1px solid #A81728;
    background: #A81728;
}


button[type="submit"] {
    position: relative;
}
  
button[type="submit"]::before {
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
}
  
button[type="submit"]::after {
    content:'';
    position: absolute;
    top: calc(50% - 16px);
    left: calc(50% - 16px);
    z-index: 12;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s;
    width: 32px !important;
    height: 32px !important;
    border: 5px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    transform-origin: center;
    animation: rotationLoader 1s linear infinite;
}
  
@keyframes rotationLoader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 
  
.submitting button[type="submit"]:before {
    opacity: 1;
    pointer-events: initial;
}
  
.submitting button[type="submit"]:after {
    opacity: 1;
    pointer-events: initial;
}


.wpcf7-not-valid + .jq-selectbox__select {
    border-color: red !important;
}

input[name='page-name'] {
    display: none !important;
}

input[name='page-url'] {
    display: none !important;
}

@media screen and (max-width: 992px) {
    .block-offer {
        padding-top: 121px;
        padding-bottom: 40px;
    }

    .block-offer-title {
        color: #FFF;
        text-align: center;
        font-size: 40px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        margin-bottom: 213px;
    }

    .block-offer-form-row {
        flex-direction: column;
        width: 500px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        gap: 12px;
    }

    .block-offer-form-input {
        width: 100%;
    }

    .block-offer-form-button {
        margin-left: auto;
        margin-right: auto;
    }

    .block-offer .wpcf7-response-output {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        transform: none;
    }

}

@media screen and (max-width: 767px) {
    .block-offer-form-row {
        width: 335px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}