/**
 * Custom Work page + shared lead form.
 * Builds on contact.css (.ez-contact-form__*). Arabic-only, RTL.
 *
 * @since 2.1.0
 */

/* Two-column body: value props + form. */
.ez-custom-work__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1100px;
    margin-inline: auto;
}

.ez-custom-work__props {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding-top: 1rem;
}

.ez-custom-work__prop {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.ez-custom-work__prop-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--wp--preset--color--surface-alt, #f8fafc);
    color: var(--wp--preset--color--secondary, #4a90d9);
}

.ez-custom-work__prop-icon svg {
    width: 24px;
    height: 24px;
}

.ez-custom-work__prop-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--wp--preset--color--primary, #1e3a5f);
    margin: 0 0 .35rem;
}

.ez-custom-work__prop-desc {
    color: var(--wp--preset--color--text-muted, #64748b);
    line-height: 1.8;
    margin: 0;
}

/* Lead form tweaks (textarea + subtitle), reusing contact form field styles. */
.ez-lead-form__subtitle {
    color: var(--wp--preset--color--text-muted, #64748b);
    margin: 0 0 1.5rem;
}

.ez-lead-form textarea,
.ez-contact-form__field textarea {
    width: 100%;
    padding: .85rem 1rem;
    border: 1px solid var(--wp--preset--color--border, #e2e8f0);
    border-radius: 8px;
    font-family: var(--wp--preset--font-family--cairo, inherit);
    font-size: 1rem;
    color: var(--wp--preset--color--text, #1e293b);
    background: #fff;
    line-height: 1.7;
    resize: vertical;
    min-height: 110px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.ez-lead-form textarea:focus,
.ez-contact-form__field textarea:focus {
    outline: none;
    border-color: var(--wp--preset--color--secondary, #4a90d9);
    box-shadow: 0 0 0 3px rgba(74, 144, 217, .15);
}

/* Homepage embedded form: center, constrain width. */
.ez-home-custom__form {
    max-width: 680px;
    margin-inline: auto;
}

.ez-home-custom__form .ez-contact-form {
    box-shadow: var(--wp--preset--shadow--card-hover, 0 10px 25px rgba(0, 0, 0, .08));
}

@media (max-width: 880px) {
    .ez-custom-work__body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
