.contact-wrap .l-inner {
    max-width: 758px;
}

.contact-lead {
    margin: 0 0 4rem;
    letter-spacing: 0.05em;
}

/*===========================================================================*/
/*  contact  */
/*===========================================================================*/
.p-contact {
    /* padding-top: 4rem;
    padding-bottom: 4rem; */
    padding-bottom: 12rem;
}

.p-contact span {
    display: inline-block;
}

.p-contact__content {
    max-width: 758px;
    margin: 0 auto;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 8px 8px 30px 0px rgba(27, 34, 76, 0.05);
    background-color: #fff;
    overflow: hidden;
}

.p-contact__content--heads {
    padding: 1.2rem .5rem 1.1rem;
    background: #0164E3;
    color: #fff;
    text-align: center;
}

.p-contact__subHead {
    font-feature-settings: 'palt' on;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .03em;
}

.p-contact__subHead span {
    position: relative;
}

.p-contact__subHead span::before {
    background: url('../img/form-head-deco.svg') no-repeat center center/contain;
    content: '';
    height: 1.9rem;
    left: -1.6rem;
    position: absolute;
    bottom: -.2rem;
    width: 1.2rem;
}

.p-contact__subHead span::after {
    background: url('../img/form-head-deco02.svg') no-repeat center center/contain;
    content: '';
    height: 1.9rem;
    right: -1.6rem;
    position: absolute;
    bottom: -.2rem;
    width: 1.2rem;
}

.p-contact__head {
    margin-top: .3rem;
    font-feature-settings: 'palt' on;
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .05em;
}

.p-contact__form {
    padding: 1.5rem 2rem 2.5rem;
}

.p-contact__nums {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.8rem;
    position: relative;
}

.p-contact__nums::before {
    content: '';
    height: calc(50% + .2rem);
    left: 50%;
    position: absolute;
    top: 0;
    width: 15rem;
    border-bottom: #f1f1f1 dashed .2rem;
    transform: translate(-50%, 0);
}

.p-contact__nums li {
    width: 5rem;
    height: 5rem;
    border-radius: 100vh;
    background: #d9d9d9;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.p-contact__nums li.js-active {
    background: #0164E3;
}

.p-contact__nums .--step {
    font-feature-settings: 'calt' off;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
}

.p-contact__nums .--num {
    font-feature-settings: 'calt' off;
    font-size: 2.1rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.01em;
    transform: translate(-.1rem, 0);
}

.p-contact__form--contents {
    margin-top: 1.5rem;
}

.p-contact__form--content {
    display: none;
}

.p-contact__form--content.js-active {
    display: block;
}

.p-contact__form--head01 {
    text-align: center;
    font-feature-settings: 'palt' on;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .02em;
}

.p-contact .p-contact__btn--next,
.p-contact .p-contact__btn--send {
    position: relative;
    cursor: pointer;
    width: 22.9rem;
    height: 4.8rem;
    border-radius: 100vh;
    background-color: #292c41;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2.4rem auto 0;
    color: #fff;
    font-feature-settings: 'palt' on;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .02em;
}

.p-contact__btn--next.js-disable,
.p-contact__btn--send.js-disable {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
}

.p-contact__btn--next::before,
.p-contact__btn--send::before {
    background: url('../img/form-arrow.svg') no-repeat center center/contain;
    content: '';
    height: 1.1rem;
    right: 1.8rem;
    position: absolute;
    top: 50%;
    width: .8rem;
    transform: translate(0, -50%);
}

.p-contact__btn--send {
    background-color: #ff6633;
}

.p-contact__btn--send input {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 80;
    opacity: 0;
}

.p-contact__btn--back {
    text-align: center;
    margin-top: 1.5rem;
    color: #909498;
    font-feature-settings: 'palt' on;
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .02em;
}

.p-contact__btn--back span {
    position: relative;
    cursor: pointer;
    padding-left: 1.5rem;
}

.p-contact__btn--back span::before {
    background: url('../img/form-arrow-back.svg') no-repeat center center/contain;
    content: '';
    height: 1.1rem;
    left: 0;
    position: absolute;
    top: calc(50% + .1rem);
    width: .8rem;
    transform: translate(0, -50%);
}

.p-contact__form ::placeholder {
    color: #d8d8d8;
}

.p-contact__form--radios {
    margin-top: 1.2rem;
}

.p-contact__form--radios .wpcf7-form-control-wrap {
    display: block;
}

.p-contact__form--radios .wpcf7-form-control {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
}

.p-contact__form--radios .wpcf7-form-control .wpcf7-list-item {
    width: calc(50% - .9rem/2);
    margin: 0 !important;
}

.p-contact__form--radios .wpcf7-form-control .wpcf7-list-item label {
    cursor: pointer;
}

.p-contact__form--radios .wpcf7-form-control .wpcf7-list-item label input {
    display: none;
}

.p-contact__form--radios .wpcf7-form-control .wpcf7-list-item label .wpcf7-list-item-label {
    width: 100%;
    padding: 1.1rem .5rem 1.2rem;
    background-color: #fff;
    border-radius: .5rem;
    text-align: center;
    border: #dedede solid .1rem;
    font-feature-settings: 'palt' on;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .02em;
}

.p-contact__form--radios .wpcf7-form-control .wpcf7-list-item label input:checked+.wpcf7-list-item-label {
    border: #ff6633 solid .2rem;
    color: #ff6633;
}

.p-contact__form--table {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    width: fit-content;
    margin-inline: auto;
}

.p-contact__form--table dt {
    font-feature-settings: 'palt' on;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .02em;
}

.p-contact__form--table dd {
    margin-top: .7rem;
}

.p-contact__form--table dd input[type=text],
.p-contact__form--table dd input[type=email],
.p-contact__form--table dd input[type=tel],
.p-contact__form--table dd select {
    width: 100%;
    background-color: #fff;
    padding: 1.3rem 1.6rem 1.4rem;
    border: #dedede solid .1rem;
    border-radius: .5rem;
    font-feature-settings: 'palt' on;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .02em;
}

.p-contact__form--table dd input[type=text]:focus,
.p-contact__form--table dd input[type=email]:focus,
.p-contact__form--table dd input[type=tel]:focus,
.p-contact__form--table dd select:focus {
    width: 100%;
    background-color: #fff;
    padding: 1.3rem 1.6rem 1.4rem;
    border: #dedede solid .1rem;
    border-radius: .5rem;
    font-feature-settings: 'palt' on;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .02em;
    outline: #ff6633 solid .1rem;
}

.p-contact__form--select {
    width: 8rem;
    position: relative;
}

.p-contact__form--select .wpcf7-form-control-wrap {
    width: 100%;
    position: relative;
}

.p-contact__form--select .wpcf7-form-control-wrap::before {
    background: url('../img/select-arrow.svg') no-repeat center center/contain;
    content: '';
    height: .9rem;
    right: 1.4rem;
    position: absolute;
    top: 1.9rem;
    width: 1.4rem;
    pointer-events: none;
    z-index: 5;
}

.p-contact__form .wpcf7-spinner {
    display: none;
}

.p-contact__recaptcha {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.44;
    text-align: center;
}

.p-contact__recaptcha a {
    text-decoration: underline;
}

.p-contact__date {
    display: none;
}

.p-contact__agreement {
    margin-top: 2.4rem;
    font-size: 1.3rem;
    line-height: 1.44;
    text-align: center;
}

.p-contact__agreement a {
    text-decoration: underline !important;
    color: #0065d1 !important;
}

.p-contact__agreement label input {
    display: none;
}

.p-contact__agreement label .wpcf7-list-item-label {
    position: relative;
    padding-left: 2rem;
}

.p-contact__agreement label .wpcf7-list-item-label::before {
    background-color: #fff;
    content: '';
    height: 1.3rem;
    left: 0;
    position: absolute;
    top: 50%;
    width: 1.3rem;
    transform: translate(0, -50%);
    border-radius: .3rem;
    border: .1rem solid #dedede;
}

.p-contact__agreement label .wpcf7-list-item-label::after {
    background: url('../img/check.svg') no-repeat center center/contain;
    content: '';
    height: 1.3rem;
    left: 0;
    position: absolute;
    top: 50%;
    width: 1.3rem;
    transform: translate(0, -50%);
    border-radius: .3rem;
    border: .1rem solid #dedede;
    opacity: 0;
}

.p-contact__agreement label input:checked+.wpcf7-list-item-label::after {
    opacity: 1;
}

.p-contact__form .wpcf7-list-item.first {
    position: relative;
    z-index: 2;
}

.p-contact__form .wpcf7-list-item.first::before {
    background-color: #ff6633;
    content: '';
    height: calc(100% + .6rem);
    left: 50%;
    position: absolute;
    top: 50%;
    width: calc(100% + .6rem);
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: blink 1.8s ease-in-out infinite;
    border-radius: .5rem;
    z-index: -1;
}

@keyframes blink {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@media screen and (min-width:750px) {


    .p-step__list--head {
        font-size: 2.1rem;
    }

    .p-step__list--txt {
        font-size: 1.2rem;
    }
}

@media screen and (max-width:750px) {
    .p-contact {
        padding: 0 0 8rem;
    }
}