.cf7_fields-wrapper,
.cf7_fields-wrapper > p{
    display: flex;
    gap: 20px;
    width: 100%;
}

.cf7_fields-wrapper label,
.cf7_fields-wrapper > p labe {
    width: 50%;
}



.wpcf7 p {
    margin-bottom: 0!important;
}

.cf7__field-label {
    color: #21201e;
    display: block;
    height: fit-content;
}

.cf7__field-label:has(.wpcf7-validates-as-required) span.cf7__field-heading {
    position: relative;
}
.cf7__field-label:has(.wpcf7-validates-as-required) span.cf7__field-heading::after {
    content: '*';
    padding-left: 5px;
    color:  #f00;
}

.wpcf7-form-control-wrap {
    display: flex;
    margin-top: 16px;
    margin-bottom: 20px;
  position: relative;
}

.wpcf7-form-control-wrap:has(textarea) {
    margin-bottom: 34px;
}


.wpcf7 input.wpcf7-form-control,
.wpcf7  textarea.wpcf7-form-control{
  background: transparent;
  border-bottom: 2px solid #ece6d3;
    padding-bottom: 11px;
    width: 100%;
    font-size: 20px;
}
.wpcf7 input.wpcf7-form-control:focus,
.wpcf7  textarea.wpcf7-form-control:focus {
    border-width: 1px;
    border-color: #21201e;
}


.wpcf7  textarea.wpcf7-form-control {
    max-height: 120px;
}

input.wpcf7-form-control::placeholder,
textarea.wpcf7-form-control::placeholder{
    color: #d6d0bb;
    font-size: 20px;
}

.wpcf7-acceptance {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.wpcf7-submit {
    height: 100%;
    width: 100%;
}

.wpcf7-acceptance::before {
    content: '';
    position: absolute;
    left: 0;
    border: 2px solid #465953;
    border-radius: 3px;
    width: 20px;
    height: 20px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.wpcf7-acceptance.error-border::before {
    border: 2px solid #f00;
}

.wpcf7-acceptance input {
    position: absolute;
    opacity: 0;
    left: 0;
    width: 20px;
    z-index: 1000000;
    cursor: pointer;
    height: 20px;
}
.wpcf7-acceptance:has(input:checked)::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3L4 6L9 1' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    left: 5px;
    transform: translateY(-50%);
    top: 50%;
}

.wpcf7-acceptance:has(input:checked)::before {
    background: #465953;
}

.wpcf7-acceptance input:checked + .wpcf7-list-item-label::before {
    background-color: #465953;
    border-color: #465953;
}


.wpcf7-acceptance *{
    font-size: 18px;
}


.wpcf7-acceptance .wpcf7-list-item {
    padding-left: 31px;
    color: #5f5f60;
    margin-left: 0;
}

.wpcf7-acceptance .wpcf7-list-item a {
    font-weight: 600;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #465953;
}

.wpcf7-form-control-wrap:has(.wpcf7-acceptance) {
    margin-top: 0;
    margin-bottom: 33px;
}

.cf7__custom-submit {
    cursor: pointer;
 min-width: 240px;
}

.cf7__custom-submit * {
    color: #FFF;
    font-size: 20px;
    font-weight: 600;
}


.cf7__custom-submit p {
    display: flex;
}

.cf7__custom-submit input[type="submit"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
}

.wpcf7-spinner {
    display: none;
}

.wpcf7-not-valid-tip {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
    color: #f00;
    align-self: flex-end;
    position: absolute;
    right: 0;
    bottom: -21px;
}

input.wpcf7-not-valid {
    border-color: #f00!important;
}

.cf7__response-wrapper {
    display: flex;
    gap: 30px;
    align-self: flex-start;
}

body .wpcf7 form .wpcf7-response-output {
    margin: 0;
    position: relative;
    padding: 0 0 0 10px;
    border: 0;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    max-width: 287px;
}

body .wpcf7 form.invalid .wpcf7-response-output {
    color: #f00;
}

body .wpcf7 form.sent .wpcf7-response-output {
    color: #465953;
}

body .wpcf7 form .wpcf7-response-output::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    border-radius: 20px;
    width: 2px;
    height: calc(100% - 8px);
}

body .wpcf7 form.invalid .wpcf7-response-output::before {
    background: #f00;
}

body .wpcf7 form.sent .wpcf7-response-output::before {
    background: #465953;
}

@media screen and (max-width: 1599.98px) {
    .wpcf7-acceptance *,
    .cf7__custom-submit * {
        font-size: 16px;
    }

    .wpcf7 input.wpcf7-form-control,
    .wpcf7  textarea.wpcf7-form-control,
    input.wpcf7-form-control::placeholder,
    textarea.wpcf7-form-control::placeholder{
        font-size: 18px;
    }



    body .wpcf7 form .wpcf7-response-output {
        font-size: 16px;
    }

}

@media screen and (max-width: 1024.98px) {
    .wpcf7-form-control-wrap {
        margin-top: 10px;
    }

    .cf7__custom-submit * {
        font-size: 15px;
    }

    .wpcf7-form-control-wrap:has(textarea) {
        margin-bottom: 30px;
    }

    .wpcf7-form-control-wrap:has(.wpcf7-acceptance) {
        margin-bottom: 20px;
    }

    .cf7__response-wrapper {
        flex-direction: column;
        gap: 21px;
    }
}

@media screen and (max-width: 599.98px) {
    .wpcf7-form-control-wrap {
        margin-top: 10px;
    }

    .wpcf7-acceptance *{
        font-size: 14px;
    }

    body .wpcf7 form .wpcf7-response-output {
        font-size: 14px;
        max-width: 254px;
    }

    .cf7_fields-wrapper > p {
        flex-direction: column;
        gap: 0;
    }

    .cf7_fields-wrapper label.cf7__field-label {
        width: 100%;
    }

    .wpcf7 input.wpcf7-form-control,
    .wpcf7  textarea.wpcf7-form-control,
    input.wpcf7-form-control::placeholder,
    textarea.wpcf7-form-control::placeholder{
        font-size: 16px;
    }

    .wpcf7 textarea.wpcf7-form-control {
        max-height: 116px;
    }

    .cf7__custom-submit {
        min-width: 0;
    }
}