/* Hospitality Form - flex layout `hosp_form`
   Live .ns_section_contact_form: white, 96px padding, columns 1fr / 1.1fr (gap
   64px). Copy column (gap 24px): 11px grey eyebrow, Teko 40px/800 navy heading
   with a sky second line, 15px intro (max 460px), 14px tick bullets, "reach out
   directly" block over a hairline (10px label, 56px photo, 13px/700 navy links
   underlined by a hairline, sky on hover). Card: white, 1px hairline, 32px
   padding, soft navy shadow; 2-col field grid (gap 16px), 10px uppercase labels,
   14px inputs on #FAFAFA with a 5px radius (sky border on focus), full-width
   primary submit, 11px centred footer note. Tablet: one column. Mobile: 32px
   heading, 24px card padding. */
.hosp_form {
    position: relative;
    width: 100%;
    max-width: 100%;
    background: var(--background);
    color: var(--text);

    /* In-page anchor target (live: section#contact-form); offset for the header */
    & .hosp_form_anchor {
        position: absolute;
        top: 0;
        display: block;
        width: 0;
        height: 0;
        scroll-margin-top: 84px;
    }

    & .hosp_form_inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        gap: 64px;
        align-items: start;

        @media (max-width: 991px) {
            grid-template-columns: 1fr;
            gap: 40px;
        }
    }

    & .hosp_form_copy {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    & .hosp_form_eyebrow {
        font-family: var(--font-body);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: #8A8A8A; /* live one-off eyebrow grey */
    }

    & .hosp_form_title {
        margin: 0;
        font-size: 40px;
        font-weight: 800;
        line-height: 1.05;
        text-transform: uppercase;
        color: var(--headings);

        @media (max-width: 768px) { font-size: 32px; }
    }

    & .hosp_form_title_line_2 {
        display: block;
        color: var(--secondary);
    }

    & .hosp_form_intro {
        max-width: 460px;
        margin: 0;
        font-family: var(--font-body);
        font-size: 15px;
        line-height: 1.6;
        color: var(--text);
    }

    & .hosp_form_bullets {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 0;
        padding: 0 !important;
        list-style: none !important;

        & li {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin: 0;
            list-style: none;
            font-family: var(--font-body);
            font-size: 14px;
            line-height: 1.5;
            color: var(--text);

            &::before {
                content: "\2713";
                flex: 0 0 14px;
                color: var(--secondary);
                font-weight: 700;
            }
        }
    }

    & .hosp_form_direct {
        margin-top: 8px;
        padding-top: 24px;
        border-top: 1px solid var(--grey-2);
    }

    & .hosp_form_direct_label {
        display: block;
        margin: 0 0 16px;
        font-family: var(--font-body);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: #8A8A8A;
    }

    & .hosp_form_direct_card {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    & .hosp_form_direct_photo {
        flex: 0 0 56px;
        width: 56px;
        height: 56px;
        object-fit: cover;
        object-position: center;
    }

    & .hosp_form_direct_links {
        display: flex;
        flex-direction: column;
        gap: 4px;

        & a {
            width: fit-content;
            padding-bottom: 2px;
            border-bottom: 1px solid var(--grey-2);
            font-family: var(--font-body);
            font-size: 13px;
            font-weight: 700;
            color: var(--headings);
            text-decoration: none;
            transition: color .3s var(--ease), border-color .3s var(--ease);

            &:hover,
            &:focus-visible {
                border-bottom-color: var(--secondary);
                color: var(--secondary);
            }
        }
    }

    /* Form card ------------------------------------------------------------ */
    & .hosp_form_card {
        padding: 32px;
        border: 1px solid var(--grey-2);
        background: var(--white);
        box-shadow: 0 20px 50px rgba(8, 35, 60, .06);

        @media (max-width: 768px) { padding: 24px; }
    }

    & .hosp_form_grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;

        @media (max-width: 500px) { grid-template-columns: 1fr; }
    }

    & .hosp_form_field {
        display: flex;
        flex-direction: column;

        &.is_full { grid-column: 1 / -1; }
    }

    /* Shared field spec: fallback form and Formidable output */
    & .hosp_form_field label,
    & .frm_form_field > label {
        display: block;
        margin-bottom: 6px;
        font-family: var(--font-body);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: #8A8A8A;
    }

    & .hosp_form_field input,
    & .hosp_form_field select,
    & .hosp_form_field textarea,
    & .frm_form_field input[type="text"],
    & .frm_form_field input[type="email"],
    & .frm_form_field input[type="tel"],
    & .frm_form_field input[type="number"],
    & .frm_form_field select,
    & .frm_form_field textarea {
        width: 100%;
        padding: 12px 14px;
        border: 1px solid var(--grey-2);
        border-radius: var(--radius-sm);
        background: #FAFAFA; /* live one-off input fill */
        box-sizing: border-box;
        font-family: var(--font-body);
        font-size: 14px;
        line-height: 1.4;
        color: var(--text);
        outline: none;
        transition: border-color .3s var(--ease), background-color .3s var(--ease);

        &:focus {
            border-color: var(--secondary);
            background: var(--white);
        }
    }

    & .hosp_form_field textarea,
    & .frm_form_field textarea {
        min-height: 120px;
        resize: vertical;
    }

    & .frm_forms { background: transparent; }
    & .frm_form_field { margin-bottom: 16px; }
    & .frm_submit { margin-top: 8px; }

    & .hosp_form_submit,
    & .frm_button_submit,
    & .frm_final_submit {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-top: 16px;
        padding: 15px 32px;
        border: 0;
        border-radius: var(--radius);
        background: var(--secondary);
        color: var(--white);
        font-family: var(--font-display);
        font-size: 20px;
        font-weight: 500;
        line-height: 1;
        letter-spacing: 0;
        text-transform: uppercase;
        cursor: pointer;
        transition: background-color .3s var(--ease);

        &:hover,
        &:focus-visible { background: var(--secondary-hover); }

        @media (max-width: 768px) { height: 52px; padding: 0 24px; font-size: 16px; }
    }

    & .hosp_form_missing {
        margin: 12px 0 0;
        font-family: var(--font-body);
        font-size: 12px;
        text-align: center;
        color: var(--text-muted);
    }

    & .hosp_form_note {
        margin: 16px 0 0;
        font-family: var(--font-body);
        font-size: 11px;
        line-height: 1.5;
        text-align: center;
        color: #8A8A8A;
    }
}
