.consultation-form .consultation-form {
    margin: 0 auto;
    padding: 20px;
}

.consultation-form .form-container {
    display: flex;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    min-height: 346px;
    max-width: 1279px;
    margin: 0 auto;
    gap: 20px;
    width: 100%;
    justify-content: space-around;
    padding: 0 50px;
}

/* Левая часть */
.consultation-form .form-left {
    flex: 1;
    padding: 50px 0;
    color: #000;
    display: flex;
    flex-wrap: nowrap;
    height: fit-content;
    gap: 40px;
    /* padding-left: 85px; */
    padding-top: 85px;
    /* padding-right: 0; */
    justify-content: center;
}

.consultation-form .expert-image {
    text-align: center;
    height: fit-content;
}

.consultation-form .expert-img {
    width: 135px;
    height: 135px;
    border-radius: 50%;
    object-fit: cover;
    /* border: 4px solid rgba(255,255,255,0.3); */
    /* box-shadow: 0 10px 20px rgba(0,0,0,0.2); */
}

.consultation-form .expert-name {
    margin-top: 10px;
    vertical-align: middle;
    color: #000000;
    font-size: 14px;
    font-family: 'Raleway', Arial, sans-serif;
    font-weight: 400;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
}

.consultation-form .expert-content {
    width: 297px;
    height: 72px;
}

.consultation-form .expert-title {
    vertical-align: middle;
    color: #232323;
    font-size: 20px;
    font-family: 'Raleway', Arial, sans-serif;
    line-height: 24px;
    font-weight: 700;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
}

.consultation-form .expert-description {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Правая часть */
.consultation-form .form-right {
    flex: 1;
    padding: 50px;
    background: white;
    height: fit-content;
    padding-left: 0;
    display: flex;
    justify-content: center;
    padding-right: 0;
}

.consultation-form .form-body {
    max-width: 100%;
}

.consultation-form .form-group {
    margin-bottom: 20px;
}

.consultation-form .form-input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #e0e0e0;
    font-size: 16px;
    transition: all 0.3s ease;
}

.consultation-form .form-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.consultation-form .form-input::placeholder {
    color: #999;
    font-size: 14px;
}

/* Чекбокс */
.consultation-form .checkbox-group {
    margin: 25px 0;
}

.consultation-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}

.consultation-form .checkbox-label input[type="checkbox"] {
    display: none;
}

.consultation-form .checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #000000;
    /* border-radius: 4px; */
    margin-right: 10px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.consultation-form .checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #667eea;
    border-color: #667eea;
}

.consultation-form .checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consultation-form .checkbox-text {
    flex: 1;
    font-size: 12px;
    font-weight: 400;
    color: rgb(0, 0, 0);
    font-family: Raleway;
}

.consultation-form .checkbox-text a {
    text-decoration: none;
}

.consultation-form .checkbox-text a:hover {
    text-decoration: underline;
}


/* Кнопка */
.consultation-form .form-submit {
    padding: 0px 15px;
    display: block;
    max-width: 570px;
    width: 100%;
    font-weight: 600;
    height: 50px;
    background-color: #be264c;
    color: #fff;
    border-radius: 0px;
    font-size: 14px;
    font-family: Raleway;
    cursor: pointer;
}
.consultation-form .submit_gradient:after {
    background-image: none;
    opacity: 0;
    z-index: -1;
}
.consultation-form .submit_gradient::after {
    background-image: linear-gradient(0.37turn, rgba(127, 25, 51, 1) 0%, rgba(190, 38, 76, 1) 100%);
}
.consultation-form .submit_gradient:hover:after {
    opacity: 1;
}
.consultation-form .submit_gradient:before {
    background-image: none;
    opacity: 0;
    z-index: -1;
}
.consultation-form .submit_gradient:hover:before {
    opacity: 1;
}
.consultation-form .submit_gradient::before {
    background-color: #be264c;
}
.consultation-form .form-submit:hover {
    background-image: linear-gradient(0.37turn, rgba(127, 25, 51, 1) 0%, rgba(190, 38, 76, 1) 100%);
}

.consultation-form .form-group input {

}
.consultation-form a {
    color: #000;
}
/* Сообщение об ошибке */
.consultation-form .form-error {
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    color: #c33;
    font-size: 14px;
}

/* Сообщение об успехе */
.consultation-form .form-success {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    color: #2e7d32;
    font-size: 16px;
    line-height: 1.6;
}
.consultation-form .form-group .iti {
    width: 100%;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .expert-title {
        font-size: 24px;
    }

    .expert-img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 980px) {
    .form-container {
        flex-direction: column;
    }

    .form-left {
        min-height: auto;
        padding: 40px;
    }

    .expert-content {
        max-width: 100%;
        padding-left: 0;
        margin-bottom: 100px;
    }

    .expert-image {
        bottom: 30px;
        left: 50%;
    }

    .expert-img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 640px) {
    .form-left {
        padding: 30px 20px;
    }

    .form-right {
        padding: 30px 20px;
    }

    .expert-title {
        font-size: 20px;
    }

    .expert-description {
        font-size: 14px;
    }

    .form-input {
        height: 45px;
        font-size: 14px;
        width: 100%;
    }


    .form-submit {
        height: 45px;
        font-size: 14px;
    }

    .checkbox-text {
        font-size: 12px;
    }
}
.consultation-form {
    padding: 40px 0;
}