/*
 * EventFlow Labs — Contact presentation.
 *
 * Page-scoped design layer extracted from components.css.
 * Loaded only for the canonical EN/ES contact representations.
 */

/* ==========================================================
   CONTACT — MAIN LAYOUT
   ========================================================== */

.ef-contact-main__grid {
    align-items: flex-start !important;
    gap: clamp(3rem, 6vw, 6rem) !important;
}

.ef-contact-main__form {
    min-width: 0;
}

.ef-contact-main__channels {
    min-width: 0;
}


/* ==========================================================
   CONTACT — CF7 FORM
   ========================================================== */

.ef-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;

    width: 100%;
    max-width: none;
}

.ef-contact-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

.ef-contact-form label {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;

    margin: 0;

    color: rgba(255,255,255,0.82);

    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.035em;
}

.ef-contact-form label > span:first-child {
    display: block;
}

.ef-contact-form small {
    color: rgba(255,255,255,0.45);
    font-size: 0.75rem;
    font-weight: 400;
}


/* CF7 wrappers */

.ef-contact-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}


/* Inputs */

.ef-contact-form input[type="text"],
.ef-contact-form input[type="email"],
.ef-contact-form input[type="tel"],
.ef-contact-form select,
.ef-contact-form textarea {
    box-sizing: border-box;

    width: 100%;

    margin: 0;
    padding: 0.9rem 1rem;

    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 0.55rem;

    outline: none;

    background: rgba(255,255,255,0.035);

    color: #ffffff;

    font: inherit;
    font-size: 0.96rem;
    line-height: 1.45;

    transition:
        border-color 180ms ease,
        background-color 180ms ease;
}

.ef-contact-form textarea {
    min-height: 11rem;
    resize: vertical;
}

.ef-contact-form input:focus,
.ef-contact-form select:focus,
.ef-contact-form textarea:focus {
    border-color: rgba(255,255,255,0.38);
    background: rgba(255,255,255,0.055);
}


/* Select */

.ef-contact-form select {
    cursor: pointer;
}

.ef-contact-form select option {
    background: #071228;
    color: #ffffff;
}


/* Submit — deliberately understated */

.ef-contact-form input[type="submit"] {
    width: auto;

    align-self: flex-start;

    margin-top: 0.35rem;
    padding: 0.75rem 0;

    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.45);
    border-radius: 0;

    background: transparent;

    color: #ffffff;

    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.025em;

    cursor: pointer;

    transition:
        border-color 180ms ease,
        opacity 180ms ease;
}

.ef-contact-form input[type="submit"]:hover {
    border-color: #ffffff;
    opacity: 0.78;
}


/* CF7 validation */

.ef-contact-form .wpcf7-not-valid-tip {
    margin-top: 0.35rem;

    color: rgba(255,255,255,0.62);

    font-size: 0.78rem;
}

.ef-contact-form + .wpcf7-response-output,
.wpcf7 form .wpcf7-response-output {
    margin: 1.5rem 0 0 !important;
    padding: 1rem 1.15rem !important;

    border: 1px solid rgba(255,255,255,0.14) !important;
    border-radius: 0.5rem;

    color: rgba(255,255,255,0.78);
}


/* ==========================================================
   CONTACT — DIRECT CHANNELS
   ========================================================== */

.ef-contact-main__channels > .ef-type-system {
    margin-bottom: clamp(2rem, 3vw, 3rem);
}

.ef-contact-channel {
    padding-block: 1.35rem;

    border-top: 1px solid rgba(255,255,255,0.10);
}

.ef-contact-channel:last-child {
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.ef-contact-channel h3 {
    margin: 0 0 0.7rem 0 !important;

    font-size: clamp(1.05rem, 1.25vw, 1.25rem);
}

.ef-contact-channel p {
    margin: 0;

    color: rgba(255,255,255,0.62);

    font-size: 0.92rem;
    line-height: 1.6;
}

.ef-contact-channel p + p {
    margin-top: 0.8rem;
}

.ef-contact-channel .ef-link {
    color: rgba(255,255,255,0.90);
}


/* ==========================================================
   CONTACT — RESPONSIVE
   ========================================================== */

@media (max-width: 64rem) {

    .ef-contact-main__grid {
        flex-direction: column !important;
    }

    .ef-contact-main__form,
    .ef-contact-main__channels {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

}

@media (max-width: 42rem) {

    .ef-contact-form__row {
        grid-template-columns: 1fr;
    }

}


