.callback {
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
    display: grid;
    -ms-flex-align: center;
    align-items: center;
    overflow: clip;
}

.callback__wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 29.8% 1fr;
    gap: 24px 66px;
    -ms-flex-align: center;
    align-items: center;
}

.callback__title {
    font-weight: 600;
    font-size: var(--fluid-4);
    line-height: 120%;
}

.callback-form .form-row {
    overflow: hidden;
    border: 1px solid var(--border-clr);
    border-radius: 4px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 0px;
    margin-bottom: 16px;
}

.callback-form input {
    border-right: 1px solid var(--border-clr);
    height: 56px;
    width: 100%;
    background: #fff;
    padding: 0px 16px;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
}

.callback-form input:-ms-input-placeholder {
    color: #999;
}

.callback-form input::placeholder {
    color: #999;
}

.callback-form .form-confirm {
    display: grid;
    gap: 12px;
    padding-left: 16px;
}

.callback-form .checkbox {
    position: relative;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 0;
    margin-bottom: 0;
    min-height: 16px;
}

.callback-form .checkbox > input {
    position: absolute;
    visibility: hidden;
    opacity: 0;
}

.callback-form .checkbox span {
    text-align: left;
    display: inline-block;
    padding-left: 0;
    cursor: pointer;
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    position: relative;
}

.callback-form .checkbox span a {
    text-decoration: underline;
}

.callback-form .checkbox span.wpcf7-list-item-label:before {
    content: "";
    position: absolute;
    top: calc(50% - 10px);
    left: -28px;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #d6dbe0;
    transition: background 0.3s ease;
}

.callback-form .checkbox span:after {
    content: url("data:image/svg+xml,%3Csvg width='15' height='11' viewBox='0 0 15 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M14.0952 1.17851L5.34518 9.92851C5.01974 10.2539 4.4921 10.2539 4.16667 9.92851L0 5.76184L1.17851 4.58333L4.75592 8.16074L12.9167 0L14.0952 1.17851Z' fill='white' /%3E%3C/svg%3E");
    position: absolute;
    top: calc(50% - 5px);
    left: -24px;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.callback-form .checkbox input:checked ~ span::after {
    transform: scale(1);
}

.callback-form .checkbox input:checked ~ span::before {
    background: var(--primary-clr);
    border-color: var(--primary-clr);
}

.rs-callback {
    background: var(--bg-clr-2);
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-clr);
}

@media (min-width: 767.98px) {
    .callback-form button[type=submit] {
        height: 100%;
        border-radius: 0px;
    }
}

@media (max-width: 1199.98px) {
    .callback__wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .callback-form .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
        border: 0;
        border-radius: 0;
    }

    .callback-form input {
        border-radius: 4px;
        border: 1px solid var(--border-clr);
    }
}