/* =========================================================
   INSGEO CONTACT FORM — FORM ID 3
   ========================================================= */

#fluentform_3 {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 42px;
    border: 1px solid rgba(23, 35, 28, 0.14);
    background: #f7f3e9;
}

/* Відстань між полями */
#fluentform_3 .ff-el-group {
    margin-bottom: 30px;
}

/* Назви полів */
#fluentform_3 .ff-el-input--label {
    margin-bottom: 10px;
}

#fluentform_3 .ff-el-input--label label {
    margin: 0;
    color: #17231c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Зірочка required */
#fluentform_3 .ff-el-required {
    color: #9a6c3c;
}

/* Поля */
#fluentform_3 input[type="text"],
#fluentform_3 input[type="email"],
#fluentform_3 input[type="tel"],
#fluentform_3 textarea,
#fluentform_3 select {
    width: 100%;
    min-height: 54px;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid rgba(23, 35, 28, 0.32);
    border-radius: 0;
    background: transparent;
    color: #17231c;
    font-family: inherit;
    font-size: 17px;
    line-height: 1.5;
    box-shadow: none;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

/* Placeholder */
#fluentform_3 input::placeholder,
#fluentform_3 textarea::placeholder {
    color: rgba(23, 35, 28, 0.45);
    opacity: 1;
}

/* Поле у фокусі */
#fluentform_3 input[type="text"]:focus,
#fluentform_3 input[type="email"]:focus,
#fluentform_3 input[type="tel"]:focus,
#fluentform_3 textarea:focus,
#fluentform_3 select:focus {
    outline: none;
    border-bottom-color: #17231c;
    background: transparent;
    box-shadow: none;
}

/* Message */
#fluentform_3 textarea {
    min-height: 145px;
    padding-top: 14px;
    resize: vertical;
}

/* Кнопка */
#fluentform_3 .ff-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    margin-top: 4px;
    padding: 15px 30px;
    border: 1px solid #17231c;
    border-radius: 0;
    background: #17231c;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: none;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

#fluentform_3 .ff-btn-submit::after {
    content: "→";
    margin-left: 12px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

#fluentform_3 .ff-btn-submit:hover {
    border-color: #17231c;
    background: transparent;
    color: #17231c;
    transform: none;
}

/* Валідація */
#fluentform_3 .text-danger,
#fluentform_3 .ff-el-is-error .text-danger {
    margin-top: 7px;
    color: #9b3d32;
    font-size: 13px;
}

#fluentform_3 .ff-el-is-error .ff-el-form-control {
    border-color: #9b3d32;
}

/* Успішне повідомлення */
#fluentform_3_success {
    padding: 24px 28px;
    border: 1px solid rgba(23, 35, 28, 0.18);
    border-radius: 0;
    background: #f7f3e9;
    color: #17231c;
    font-size: 16px;
    line-height: 1.6;
}

/* Мобільна версія */
@media (max-width: 767px) {
    #fluentform_3 {
        padding: 28px 22px;
    }

    #fluentform_3 .ff-el-group {
        margin-bottom: 24px;
    }

    #fluentform_3 .ff-btn-submit {
        width: 100%;
    }
}