.call-center__form{
    display: flex;
    justify-content: center;
    padding: 30px;
}

.custom-form-wrap{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    padding: 20px;
    border-radius: 15px;
    position: relative;
    height: 100%;
    width: 100%;
    background: #fff;
    z-index: 3;
}
.call-center__form {
    display: flex;
    justify-content: center;
    padding: 30px;
    background: var(--color-dark);
}

.custom-form-wrap {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    padding: 30px;
    border-radius: 15px;
    width: 100%;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.custom-form-title {
    font-size: 25px;
    margin-bottom: 15px;
    text-align: center;
    color: #6b21a8;
}

.custom-form-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    text-align: center;
    color: #4a5568;
}

.custom-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 90%;
}

.custom-form-group {
    position: relative;
    margin-bottom: 25px;
    width: 100%;
}

.custom-form-group .form-input {
    width: 100%;
    padding: 40px 0 20px;
    font-size: 18px;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    transition: all 0.3s ease;
    color: #2d3748;
}

.custom-form-group .form-input:focus {
    outline: none;
}

.custom-form-group .form-label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #718096;
    font-size: 18px;
    font-weight: 400;
    pointer-events: none;
    transition: all 0.3s ease;
}

.custom-form-group .form-input:focus + .form-label,
.custom-form-group .form-input:not(:placeholder-shown) + .form-label {
    top: 0;
    font-size: 14px;
    color: #6b21a8;
    font-weight: 500;
}

.custom-form-group .input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #6b21a8;
    transition: width 0.3s ease;
}

.custom-form-group .form-input:focus ~ .input-border {
    width: 100%;
}

.form-btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white !important;
    border: none;
    border-radius: 12px !important;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.form-btn-submit:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5) !important;
}


.form-btn-submit:hover {
    background: #6b21a8;
}

.home-consult-section {
    scroll-margin-top: 96px;
    padding: clamp(48px, 7vw, 88px) 24px;
    background: linear-gradient(135deg, #f7f1ff 0%, #f4f9ff 100%);
}

.home-consult-section__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    align-items: center;
    gap: clamp(32px, 6vw, 80px);
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.home-consult-section__intro h2 {
    margin: 0 0 18px;
    color: #30253d;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
}

.home-consult-section__intro p {
    max-width: 540px;
    margin: 0;
    color: #555064;
    font-size: 18px;
    line-height: 1.6;
}

.home-consult-form-wrap {
    max-width: 520px;
    height: auto;
    min-height: 0;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 40px);
    box-sizing: border-box;
    box-shadow: 0 16px 48px rgba(71, 40, 116, 0.13);
}

.home-consult-form-wrap .custom-form {
    max-width: 100%;
}

@media (max-width: 768px) {

    .home-consult-section {
        padding: 48px 18px;
    }

    .home-consult-section__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .home-consult-section__intro h2 {
        font-size: 30px;
    }

    .home-consult-section__intro p {
        font-size: 16px;
    }

    .home-consult-form-wrap {
        padding: 24px 18px;
    }

    .custom-form-title {
        font-size: 22px;
    }

    .custom-form-subtitle {
        font-size: 16px;
    }

    .custom-form-group .form-input,
    .custom-form-group .form-label {
        font-size: 16px;
    }

    .custom-form-group .form-label {
        top: 15px;
    }

    .custom-form-group .form-input:focus + .form-label,
    .custom-form-group .form-input:not(:placeholder-shown) + .form-label {
        top: -5px;
    }
}