/* Стили для формы консультации */
.consultation-form-section {
    padding: 60px 0;
    background-color: #fff;
}

.consultation-form-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.consultation-form {
    flex: 1;
    padding: 40px;
    min-width: 300px;
}

.consultation-form h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
}

.consultation-form .form-group {
    margin-bottom: 20px;
}

.consultation-form .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.consultation-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 54, 93, 0.15);
}

.consultation-form .form-control::placeholder {
    color: #aaa;
    font-size: 0.95rem;
}

.consultation-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.consultation-form-img {
    flex: 1;
    position: relative;
    min-height: 560px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.consultation-form-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.consultation-form-btn:hover {
    background-color: #15294a;
    transform: translateY(-2px);
}

.consultation-form-btn img {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
}

/* Адаптивность */
@media (max-width: 992px) {
    .consultation-form-section {
        padding: 30px 0;
    }
    
    .consultation-form-container {
        flex-direction: column;
    }
    
    .consultation-form {
        width: 100%;
        padding: 30px;
    }
    
    .consultation-form-img {
        display: none; /* Скрываем изображение на мобильных устройствах */
    }
}

@media (max-width: 576px) {
    .consultation-form-section {
        padding: 15px 0;
        margin-top: -30px; /* Уменьшаем отступ сверху для мобильной версии */
    }
    
    .consultation-form {
        padding: 20px 15px;
        min-width: 0;
    }
    
    .consultation-form h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
}
