

/* Start:/bitrix/components/bitrix/system.show_message/templates/.default/style.min.css?176636217451*/
font.errortext{color:red}font.notetext{color:green}
/* End */


/* Start:/bitrix/templates/ceres/include/form/style.css?177123138910403*/
.contact-form {
    width: 100%;
    min-height: 675px;
    position: relative;
    padding: 0;
    scroll-margin-top: 100px;
}

.contact-form-container {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    min-height: 810px;
    padding: 0;
}

.contact-form__artboard {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    min-height: 810px;
    padding: 0;
}

.contact-form__carrier,
.contact-form__filter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Фоновое изображение */
.contact-form__background {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    max-width: 100%;
    height: 675px;
    z-index: 0;
    box-shadow: 0px 0px 20px 10px rgba(49, 49, 49, 0.3);
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(110deg, rgba(241, 80, 37, 1) 20%, rgba(43, 53, 65, 1) 98%);
}

.contact-form__image-wrapper {
    width: 100%;
    height: 100%;
}

.contact-form__image {
    width: 100%;
    height: auto;
    display: none;
    object-fit: contain;
    border-radius: 30px;
}


/* Заголовок */
.contact-form__title-wrapper {
    position: absolute;
    top: 63px;
    left: calc(50% - 600px + 50px);
    width: 560px;
    z-index: 3;
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.4s ease-out 0.4s, transform 0.4s ease-out 0.4s;
}

.contact-form__title-wrapper.animate {
    opacity: 1;
    transform: translateX(0);
}

.contact-form__title {
    font-size: 50px;
    font-weight: 400;
    line-height: 78px;
    color: #ffffff;
    margin: 0;
}

.contact-form__title strong {
    font-weight: 700;
}


/* Подзаголовок */
.contact-form__subtitle-wrapper {
    position: absolute;
    top: 141px;
    left: calc(50% - 600px + 50px);
    width: 560px;
    z-index: 3;
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1s ease-out 0.5s, transform 1s ease-out 0.5s;
}

.contact-form__subtitle-wrapper.animate {
    opacity: 1;
    transform: translateX(0);
}

.contact-form__subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 31px;
    color: #ffffff;
    margin: 0;
}


/* Форма */
.contact-form__form-wrapper {
    position: absolute;
    top: 53px;
    left: calc(50% + 600px - 19px - 480px);
    width: 480px;
    min-height: 714px;
    z-index: 5;
    padding: 30px;
    background: white;
    border-radius: 15px;
    display: block;
    border: 3px solid #2b3541;
    box-shadow: 0px 0px 20px 10px rgba(49, 49, 49, 0.2);
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.contact-form__form-wrapper.animate {
    opacity: 1;
    transform: translateX(0);
}

.form {
    width: 100%;
}

.form__group {
    margin-bottom: 20px;
}

.form__group:last-of-type {
    margin-bottom: 0;
}

.form__input-wrapper {
    position: relative;
    width: 100%;
}

.form__label {
    display: block;
    color: #000000;
    padding-bottom: 5px;
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 5px;
    opacity: 0.7;
    line-height: 1.55;
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    height: 35px;
    padding: 0 15px;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    background-color: #ffffff;
    border: 2px solid #000000;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: #000000;
    opacity: 0.5;
}

.form__input::-webkit-input-placeholder,
.form__textarea::-webkit-input-placeholder {
    color: #000000;
    opacity: 0.5;
}

.form__input::-moz-placeholder,
.form__textarea::-moz-placeholder {
    color: #000000;
    opacity: 0.5;
}

.form__input:-moz-placeholder,
.form__textarea:-moz-placeholder {
    color: #000000;
    opacity: 0.5;
}

.form__input:-ms-input-placeholder,
.form__textarea:-ms-input-placeholder {
    color: #000000;
    opacity: 0.5;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    border-color: #000000;
    outline: none;
}

.form__select-wrapper {
    position: relative;
}

.form__select-wrapper::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #000000;
    pointer-events: none;
}

.form__select {
    cursor: pointer;
    padding-right: 40px;
}

.form__select option {
    color: #000000;
    background-color: #ffffff;
}

.form__textarea {
    height: 160px;
    padding: 15px;
    resize: vertical;
    line-height: 1.5;
}

.form__radio-wrapper {
    width: 100%;
}

.form__radio-fieldset {
    padding: 0;
    margin: 0;
    border: none;
}

.form__radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.form__radio-label:last-child {
    margin-bottom: 0;
}

.form__radio {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.form__radio-indicator {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #000000;
    border-radius: 50%;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.form__radio:checked ~ .form__radio-indicator {
    background-color: #000000;
}

.form__radio:checked ~ .form__radio-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffffff;
}

.form__radio-text {
    display: inline-block;
    line-height: 1.5;
}

.form__submit-wrapper {
    text-align: center;
    margin-top: 20px;
}

.form__submit {
    padding: 0 15px;
    display: block;
    width: 200px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    background-color: #f15025;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0;
}

.form__submit:hover {
    background-color: #d43f1a;
}

.form__submit:active {
    background-color: #b83515;
}

.form__submit:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

@media (max-width: 1365px) {
    .contact-form-container {
        padding: 20px;
        box-sizing: border-box;
        background: linear-gradient(110deg, rgba(241, 80, 37, 1) 20%, rgba(43, 53, 65, 1) 98%);
    }
    
    .contact-form__background {
        display: none;
    }
    
    /* Заголовок сверху, стилизован как стандартный h2 */
    .contact-form__title-wrapper {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        margin-bottom: 30px;
        opacity: 1;
        transform: none;
        z-index: 1;
    }
    
    .contact-form__title {
        color: #ffffff;
        font-size: 40px;
        line-height: 62px;
        font-weight: 900;
        margin: 0 0 30px 0;
    }
    
    .contact-form__title strong {
        font-weight: 900;
    }
    
    /* Подзаголовок как стандартный текст */
    .contact-form__subtitle-wrapper {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        margin-bottom: 30px;
        opacity: 1;
        transform: none;
        z-index: 1;
    }
    
    .contact-form__subtitle {
        color: #ffffff;
        font-size: 20px;
        line-height: 1.55;
        font-weight: 400;
        margin: 0;
    }
    
    .contact-form__form-wrapper {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        transform: none;
        opacity: 1;
        border-radius: 0 !important;
        box-sizing: border-box;
    }
}

/* ===== АНИМАЦИЯ ОШИБОК ===== */
@keyframes blinkError {
    0%, 100% { border-color: #ff3333; box-shadow: 0 0 0 2px rgba(255, 51, 51, 0.3); }
    50% { border-color: #000; box-shadow: none; }
}

.form__input.error,
.form__select.error,
.form__textarea.error {
    border-color: #ff3333 !important;
    animation: blinkError 0.4s linear 3;
}

.form__radio-wrapper.error {
    position: relative;
}
.form__radio-wrapper.error::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid #ff3333;
    border-radius: 8px;
    animation: blinkError 0.4s linear 3;
    pointer-events: none;
    z-index: 10;
}

/* Для выпадающего списка (стрелка остаётся чёрной) */
.form__select-wrapper.error::after {
    border-top-color: #000 !important;
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal {
    background: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    position: relative;
    z-index: 10001;
}

.modal-content p {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #333;
}

.modal-close {
    padding: 0 15px;
    width: 200px;
    height: 50px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: #f15025;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0;
    transition: background 0.2s;
}

.modal-close:hover { background: #d43f1a; }
.modal-close:active { background: #b83515; }

/* Размытие фона при модалке */
body.modal-open { overflow: hidden; }
body.modal-open .contact-form-container { filter: blur(4px); }
/* End */
/* /bitrix/components/bitrix/system.show_message/templates/.default/style.min.css?176636217451 */
/* /bitrix/templates/ceres/include/form/style.css?177123138910403 */
