:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact {
    padding: 88px 0 84px;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-contact-box {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    min-height: 600px;
    padding: 92px 92px 78px;
    background-color: #4c66e8;
    background-image: url("../img/fallback-new-bg-2.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #fff;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-contact-box > h2 {
    margin: 0 0 22px;
    max-width: 760px;
    font-size: 48px;
    line-height: 0.98;
    font-weight: 600;
    letter-spacing: -0.02em;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-contact-box > p {
    margin: 0 0 32px;
    max-width: 780px;
    font-size: 20px;
    line-height: 1;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .fallback-contact__form-wrap {
    width: min(700px, 100%);
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-contact-form {
    display: grid;
    gap: 16px;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wpcf7,
:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wpcf7-form {
    width: 100%;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 14px;
    width: min(548px, 100%);
    align-items: start;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__form .wpcf7-form-control-wrap {
    display: block;
    min-width: 0;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__form .wpcf7-form-control-wrap[data-name="first-name"] {
    grid-column: 1;
    grid-row: 1;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__form .wpcf7-form-control-wrap[data-name="phone"] {
    grid-column: 2;
    grid-row: 1;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__form .wpcf7-form-control-wrap[data-name="email"] {
    grid-column: 3;
    grid-row: 1;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__form .wpcf7-form-control-wrap[data-name="url"] {
    grid-column: 1 / -1;
    grid-row: 2;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__form .mone__input {
    height: 40px;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 20px;
    background: #f1f1f4;
    padding: 12px 20px;
    color: #3b425b;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__form .wpcf7-form-control-wrap[data-name="url"] .mone__input {
    height: 74px;
    border-radius: 18px;
    padding-top: 17px;
    padding-bottom: 17px;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__form .mone__input::placeholder {
    color: #9ea5b3;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .yandex-captcha-style,
:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .yandex-captha-style,
:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact [class*="yandex-captcha"],
:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact [class*="yandex-captha"],
:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wpcf7-form-control-wrap[data-name^="yandex_captcha"] {
    display: none !important;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__submit {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 44px;
    margin: 0;
    border: 0;
    border-radius: 22px;
    background: #ffd125;
    padding: 13px 24px;
    color: #2c2c2c;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    cursor: pointer;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__submit:hover {
    filter: brightness(0.98);
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__label {
    grid-column: 1 / -1;
    display: block;
    width: 100%;
    max-width: 520px;
    min-height: 24px;
    margin: 6px 0 0;
    padding-left: 38px;
    position: relative;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    cursor: pointer;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0 !important;
    width: 24px;
    height: 24px;
    border: 1px solid #f7f7f7;
    border-radius: 4px;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__label:after {
    content: '';
    position: absolute;
    left: 7px;
    top: 7px !important;
    width: 11px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.7617 1.34847L5.14891 9.76784C5.0739 9.84143 4.98476 9.89981 4.88661 9.93965C4.78847 9.97949 4.68324 10 4.57697 10C4.4707 10 4.36547 9.97949 4.26732 9.93965C4.16917 9.89981 4.08004 9.84143 4.00502 9.76784L0.236908 6.08437C0.161799 6.01095 0.102219 5.92378 0.0615703 5.82785C0.0209216 5.73192 1.11921e-09 5.6291 0 5.52527C-1.11921e-09 5.42143 0.0209216 5.31862 0.0615703 5.22269C0.102219 5.12676 0.161799 5.03959 0.236908 4.96617C0.312017 4.89275 0.401184 4.83451 0.499319 4.79477C0.597453 4.75503 0.702634 4.73458 0.808854 4.73458C0.915074 4.73458 1.02025 4.75503 1.11839 4.79477C1.21652 4.83451 1.30569 4.89275 1.3808 4.96617L4.57764 8.0912L12.6192 0.231586C12.7709 0.083304 12.9766 0 13.1911 0C13.4057 0 13.6114 0.083304 13.7631 0.231586C13.9148 0.379869 14 0.580983 14 0.790686C14 1.00039 13.9148 1.2015 13.7631 1.34978L13.7617 1.34847Z' fill='%23F7F7F7' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__label:has(input:checked):after {
    opacity: 1;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__checkbox {
    display: none;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__label .wpcf7-list-item {
    margin: 0;
}


:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__link {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wpcf7-spinner {
    position: absolute;
    margin: 0;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wpcf7 form .wpcf7-response-output {
    grid-column: 1 / -1;
    margin: 0;
    padding: 0;
    border: 0;
    color: #e4ecff;
    font-size: 13px;
    line-height: 1.2;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-form-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact input[type="text"],
:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact input[type="tel"],
:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact input[type="email"],
:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact textarea {
    width: 100%;
    margin: 0;
    border-radius: 22px;
    border: 1px solid transparent;
    background: #f1f1f4;
    color: #3b425b;
    font-size: 16px;
	font-weight:400;
    line-height: 1.2;
    padding: 14px 20px;
    outline: none;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact input::placeholder,
:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact textarea::placeholder {
    color: #9ea5b3;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact__star{
	position: absolute;
    top: 36%;
    right: 0;
    width: 500px;
    transform: rotate(45deg);
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact textarea {
    border-radius: 16px;
    min-height: 90px;
    resize: none;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact input:focus,
:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact textarea:focus {
    border-color: rgba(196, 212, 255, 0.85);
}

/* :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-form-submit {
    width: 100%;
    border: 0;
    border-radius: 999px;
    background: #ffd200;
    color: #23273e;
    font-size: 28px;
    line-height: 1;
    font-weight: 500;
    padding: 20px 24px;
    cursor: pointer;
} */

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-form-submit:disabled {
    opacity: 0.88;
    cursor: not-allowed;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-policy {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-policy input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    margin: 0;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 2;
    border-radius: 8px;
    cursor: pointer;
    background: url("../img/Agreement-new-without.png") center / contain no-repeat !important;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-policy input[type="checkbox"]:checked {
    background: url("../img/Agreement-new.png") center / contain no-repeat !important;
    border-color: transparent;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-policy input[type="checkbox"]:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-policy span {
    max-width: 640px;
    font-size: 14px;
	font-weight:400;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.92);
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-policy a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-form-status {
    min-height: 20px;
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    color: #e4ecff;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-form-status.is-error {
    color: #ffd3d3;
}

:is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-form-status.is-success {
    color: #d4ffe0;
}


@media (max-width: 1440px){
    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact__star{
            position: absolute;
    top: 27%;
    right: -100px;
    width: 560px;
    transform: rotate(40deg);
    }
}


@media (max-width: 1280px) {
    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-contact-box {
        min-height: 0;
        padding: 64px 56px 54px;
    }

    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-contact-box > h2 {
        font-size: clamp(36px, 4vw, 48px);
    }

    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-contact-box > p {
        font-size: 18px;
        line-height: 1.15;
    }
}

@media (max-width: 992px) {
    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact {
        padding: 70px 0;
    }

    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-contact-box {
        border-radius: 24px;
        padding: 40px 24px 30px;
    }

    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-contact-box > h2 {
        margin-bottom: 14px;
        font-size: 34px;
        line-height: 1.05;
    }

    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-contact-box > p {
        margin-bottom: 20px;
        font-size: 18px;
        line-height: 1.15;
    }

    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__form {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: min(548px, 100%);
    }

    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__form .wpcf7-form-control-wrap[data-name="first-name"],
    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__form .wpcf7-form-control-wrap[data-name="phone"],
    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__form .wpcf7-form-control-wrap[data-name="email"] {
        grid-row: 1;
    }

    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__form .wpcf7-form-control-wrap[data-name="url"] {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-form-submit {
        font-size: 22px;
        padding: 17px 18px;
    }
}

@media (max-width: 640px) {
    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact {
        padding: 56px 0;
    }

    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-contact-box {
        padding: 24px 16px 20px;
    }

    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-contact-box > h2 {
        font-size: 28px;
        line-height: 1.05;
    }

    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-contact-box > p {
        font-size: 16px;
    }

    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact input[type="text"],
    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact input[type="tel"],
    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact input[type="email"],
    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact textarea {
        font-size: 16px;
        padding: 12px 14px;
    }

    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-form-submit {
        font-size: 18px;
        padding: 15px 16px;
    }

    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .wdc-policy span {
        font-size: 13px;
        max-width: 100%;
    }

    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__form {
        grid-template-columns: 1fr;
    }

    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__form .wpcf7-form-control-wrap[data-name="first-name"],
    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__form .wpcf7-form-control-wrap[data-name="phone"],
    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__form .wpcf7-form-control-wrap[data-name="email"],
    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__form .wpcf7-form-control-wrap[data-name="url"] {
        grid-column: 1;
        grid-row: auto;
    }

    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__form .mone__input {
        padding: 12px 14px;
    }

    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__form .wpcf7-form-control-wrap[data-name="url"] .mone__input {
        height: 64px;
    }

    :is(#main-page-seo-per, .main-page-style-2026) .fallback-contact .mone__label {
        font-size: 12px;
        padding-left: 34px;
    }
}
