/* ===== СЕКЦИЯ ФОРМЫ ОБРАТНОЙ СВЯЗИ ===== */
.consultation-section {
    background: #EFEFEE;
    padding: 60px 0;
}

.consultation-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.consultation-wrapper {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

/* ===== КОЛОНКА С ФОРМОЙ ===== */
.consultation-form-col {
    flex: 0 0 609px;
    width: 609px;
}

.consultation-form {
    background: #E8E3E9;
    border-radius: 12px;
    padding: 30px 56px 25px 56px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
}

.consultation-form-title {
    color: #3E1A3E;
    font-size: 28px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    margin: 0;
    text-align: left;
    line-height: 1.3;
}

.consultation-form-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.consultation-input {
    width: 100%;
    height: 56px;
    padding: 10px 16px;
    background: #EFEFEE;
    border: none;
    border-radius: 900px;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    color: #3E1A3E;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.consultation-input::placeholder {
    color: rgba(62, 26, 62, 0.50);
}

.consultation-input:focus {
    box-shadow: 0 0 0 2px rgba(62, 26, 62, 0.15);
}

/* ===== ЧЕКБОКС СОГЛАСИЯ ===== */
.consultation-agreement {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    padding-left: 20px;
}

.consultation-agreement input[type="checkbox"] {
    display: none;
}

.consultation-checkbox {
    width: 17px;
    height: 17px;
    min-width: 17px;
    border: 1px solid rgba(113, 85, 115, 0.50);
    border-radius: 2px;
    margin-top: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.consultation-agreement input[type="checkbox"]:checked + .consultation-checkbox {
    background: linear-gradient(63deg, #3E1A3E 0%, #C200C2 100%);
    border-color: transparent;
}

.consultation-agreement input[type="checkbox"]:checked + .consultation-checkbox::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consultation-agreement-text {
    color: rgba(113, 85, 115, 0.50);
    font-size: 14px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    line-height: 1.4;
}

/* ===== КНОПКА ОТПРАВКИ ===== */
.consultation-submit-btn {
    width: 457px;
    max-width: 100%;
    height: 64px;
    padding: 10px 32px;
    background: linear-gradient(63deg, #3E1A3E 0%, #C200C2 100%);
    border: none;
    border-radius: 900px;
    color: #fff;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
}

.consultation-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(194, 0, 194, 0.3);
}

/* ===== СООБЩЕНИЯ ===== */
.consultation-success {
    color: #3E1A3E;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    text-align: center;
    padding: 12px;
    background: rgba(62, 26, 62, 0.05);
    border-radius: 8px;
}

.consultation-error {
    color: #C200C2;
    font-size: 14px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    text-align: center;
}

/* ===== КОЛОНКА С ФОТО ===== */
.consultation-image-col {
    flex: 1;
    display: flex;
}

.consultation-image-wrapper {
    position: relative;
    width: 100%;
    height: 413px;
    border-radius: 12px;
    overflow: hidden;
}

.consultation-image-bg {
    width: 100%;
    height: 100%;
    background: #AD1616;
    border-radius: 12px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.consultation-image-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 610px;
    object-fit: cover;
    z-index: 2;
}

.consultation-image-decoration {
    position: absolute;
    top: -159px;
    left: -97px;
    width: 808px;
    height: 808px;
    background: url('/local/templates/main/img/consultation-decor.png') center/contain no-repeat;
    opacity: 0.3;
    z-index: 0;
}


/* ===== АДАПТИВ: ПЛАНШЕТ ===== */
@media (max-width: 991px) {
    .consultation-wrapper {
        flex-direction: column;
    }
    
    .consultation-form-col {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .consultation-form {
        padding: 32px 24px 40px 24px;
    }
    
    .consultation-form-title {
        font-size: 24px;
    }
    
    .consultation-image-col {
        display: none;
    }
    
    .consultation-submit-btn {
        width: 100%;
        height: 56px;
        font-size: 14px;
    }
}


/* ===== АДАПТИВ: МОБИЛЬНЫЙ ===== */
@media (max-width: 767px) {
    .consultation-section {
        padding: 40px 0;
    }
    
    .consultation-container {
        padding: 0 12px;
    }
    
    .consultation-form {
        background:url('/local/templates/main/img/consultation-mob-bg.jpg') center/cover no-repeat;
        padding: 32px 24px 24px 24px;
        gap: 24px;
        border-radius: 12px;
        position: relative;
        overflow: hidden;
    }
    
    .consultation-form::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(360deg, rgba(36, 15, 36, 0.75) 0%, rgba(62, 26, 62, 0) 53%, #2D002D 100%);
        border-radius: 12px;
        z-index: 0;
    }
    
    .consultation-form-title,
    .consultation-form-fields,
    .consultation-agreement,
    .consultation-submit-btn,
    .consultation-success,
    .consultation-error {
        position: relative;
        z-index: 1;
    }
    
    .consultation-form-title {
        color: #FFFFFF;
        font-size: 18px;
        text-align: center;
    }
    
    .consultation-input {
        height: 48px;
        font-size: 13px;
    }
    
    .consultation-agreement-text {
        color: #FFFFFF;
        font-size: 11px;
    }
    
    .consultation-checkbox {
        border-color: #FFFFFF;
    }
    
    .consultation-submit-btn {
        height: 48px;
        font-size: 13px;
    }
    
    .consultation-image-col {
        display: none;
    }
}