/* =============================================================
   FORM SECTION — image bg (woman + dark navy) with form overlay
   ============================================================= */
.form-band {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;

    display: flex;
    flex-direction: row;
    align-items: center;

    position: relative;
    border-radius: 15px;
    overflow: hidden;
    min-height: 360px;
    background: #2C3A4A;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.form-band__bg {
    position: absolute;
    inset: 0;
    background-image: url("https://we-com.co.il/wp-content/uploads/2025/10/Banner-HP-desktop2.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

.form-band__content {
    position: relative;
    z-index: 1;
    padding: 40px 48px 40px 320px;            /* RTL: leave space on visual LEFT for the woman image */
    color: var(--color-white);
}

.form-band__content h2 {
    color: var(--color-primary);                  /* source: brand orange */
    font-size: 34px;
    line-height: 34px;
    margin: 0 0 20px;
    font-weight: 600;
}

.form-band__subline {
    color: var(--color-white);
    font-size: 20px;
    font-weight: 100;
    line-height: 30px;
    margin: 0 0 24px;
}

/* CF7-shaped form: form > p.form-band__field > span.wpcf7-form-control-wrap > input
   (matches Contact Form 7 default markup so the same CSS holds once the WP form replaces this) */
.form-band-section .wpcf7 {
    max-width: 720px;
}

.form-band__form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    align-items: stretch;
    margin: 0;
}

.form-band__form .form-band__field {
    margin: 0;
    display: contents;
}

/* Input is nested inside its <label> (sr-only label text via .screen-reader-text);
   the label is the grid cell content and the control fills it. */
.form-band__form label {
    display: block;
    margin: 0;
}

.form-band__form .wpcf7-form-control-wrap {
    display: block;
}

.form-band__form input[type="text"],
.form-band__form input[type="tel"] {
    width: 100%;
    padding: 8px 16px;
    border-radius: 5px;
    border: 1px solid rgb(105, 114, 125);
    background: var(--color-white);
    color: var(--color-text-heading);
    font-size: 20px;
    font-family: inherit;
    line-height: 28px;
    height: 46px;
    box-sizing: border-box;
}

.form-band__form input[type="tel"] {
    text-align: right;            /* phone digits flush right in RTL */
    direction: ltr;               /* digits/symbols flow LTR but the field aligns right */
}

.form-band__form input::placeholder {
    color: rgb(105, 114, 125);
}

.form-band__form input[type="tel"]::placeholder {
    text-align: right;
    direction: rtl;
}

.form-band__form input[type="submit"] {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 13px 24px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 20px;
    font-family: inherit;
    line-height: 20px;
    border: 0;
    cursor: pointer;
    height: 46px;
    min-width: 140px;
    text-align: center;
}

.form-band__disclaimer,
.form-band__disclaimer p {
    font-size: 15px;
    font-weight: 100;
    line-height: 22.5px;
    color: var(--color-white);
    margin-block-start: 20px;
    max-width: 720px;
}

.form-band__privacy-link {
    display: inline-block;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    margin-block-start: 20px;
}

.form-band .form-band__form .wpcf7-spinner {
    display: none !important;
}

@media (max-width: 1024px) {
    .form-band {
        min-height: auto;
        border-radius: 12px;
    }

    .form-band__bg {
        background-position: top;
    }

    .form-band__content {
        padding: 24px 16px;
        text-align: center;
    }

    .form-band__content h2 {
        margin: 0 0 8px;
        font-size: 22px;
        line-height: 28px;
    }

    .form-band__subline {
        margin: 0 0 16px;
        font-size: 16px;
        line-height: 22px;
    }

    .form-band__form {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 100%;
    }

    .form-band__form input[type="text"],
    .form-band__form input[type="tel"],
    .form-band__form input[type="submit"] {
        height: 44px;
        font-size: 16px;
    }

    .form-band__disclaimer {
        font-size: 13px;
        line-height: 19px;
    }
}

@media (max-width: 1024px) {
    .form-band__content {
        padding: 10px 16px;
    }

    .form-band__form {
        grid-template-columns: 1fr;
    }

    .form-band__disclaimer,
    .form-band__disclaimer p {
        font-size: 10px;
        line-height: 1.1;
        text-align: center;
    }
}

