/* FORM — section #8 (after Projects)
   Figma: 1380 × 254, contact form with title + 3 inputs + submit. */

.form-section {
    width: 100%;
    background: #fff;
    padding: 40px 24px;
}

.form-section__inner {
    max-width: 1380px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 10px solid #d0c0a7;
    border-radius: 4px;
    padding: 30px 30px 24px;
    text-align: center;
}

.form-section__title {
    font-family: var(--ff-he);
    font-weight: 400;
    font-size: 46px;
    line-height: 1.1;
    color: #1d1d1b;
    margin: 0 0 14px;
}
.form-section__subtitle {
    font-family: var(--ff-he);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.4;
    color: #1d1d1b;
    margin: 0 0 28px;
    text-align: center;
}
.form-section__subtitle strong {
    font-weight: 700;
}

.form-section__form {
    display: flex;
    flex-direction: row-reverse;             /* RTL: name first on right, submit last on left */
    gap: 14px;
    align-items: stretch;
    justify-content: center;
    max-width: 1300px;
    margin: 0 auto;
}

.form-section__field {
    flex: 1 1 0;
    max-width: 294px;
    height: 52px;
    background: #e7e1d8;
    border: 0;
    border-bottom: 1px solid #000;
    border-radius: 4px;
    padding: 0 18px;
    font-family: var(--ff-he);
    font-weight: 400;
    font-size: 18px;
    color: #1d1d1b;
    direction: rtl;
    text-align: right;
}
.form-section__field::placeholder {
    color: #5e6163;
}
.form-section__field:focus {
    outline: 2px solid var(--c-gold-flat);
    outline-offset: 0;
}

.form-section__submit {
    flex: 0 0 134px;
    height: 54px;
    background: var(--c-gold-flat);
    border: 3.615px solid var(--c-gold-flat);
    border-radius: 4px;
    font-family: var(--ff-he);
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s var(--ease);
}
.form-section__submit:hover {
    background: #8d6c37;
    border-color: #8d6c37;
}

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
    .form-section {
        padding: 30px 16px;
    }
    .form-section__inner {
        border-width: 6px;
        padding: 24px 18px 22px;
    }
    .form-section__title {
        font-size: 22px;
        line-height: 28px;
    }
    .form-section__subtitle {
        font-size: 14px;
        line-height: 20px;
        margin: 0 0 18px;
    }
    .form-section__form {
        flex-wrap: wrap;
        gap: 10px;
    }
    .form-section__field {
        flex: 0 0 100%;
        max-width: 100%;
        height: 46px;
        font-size: 16px;
    }
    .form-section__submit {
        flex: 0 0 100%;
        max-width: 100%;
        height: 48px;
    }
}
