/* ==========================================================================
   JOIN AS INTERPRETER — V2
   Clean responsive form. Scoped to .join-page to avoid global UI conflicts.
   ========================================================================== */

.join-page,
.join-page * {
    box-sizing: border-box;
}

.join-page {
    background: #f5f3ee;
    color: #0f1a2a;
}

.join-page input,
.join-page select,
.join-page textarea,
.join-page button {
    font-family: 'Figtree', Arial, sans-serif;
}

.join-hero {
    padding: 58px 0 46px;
    background:
        radial-gradient(circle at 88% 14%, rgba(214, 242, 75, .26), transparent 22%),
        #f5f3ee;
}

.join-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
    align-items: end;
    gap: 46px;
}

.join-hero__content {
    max-width: 800px;
}

.join-eyebrow {
    margin: 0;
    color: #718316;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.join-hero h1,
.join-success h1 {
    margin: 13px 0 0;
    color: #0f1a2a;
    font-size: clamp(2.9rem, 5vw, 5.2rem);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.055em;
}

.join-hero__content > p:last-of-type {
    max-width: 710px;
    margin-top: 18px;
    color: #59636e;
    font-size: .98rem;
    line-height: 1.65;
}

.join-hero__steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 25px;
}

.join-hero__steps span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 35px;
    padding: 0 12px;
    border: 1px solid rgba(15, 26, 42, .09);
    border-radius: 999px;
    background: rgba(255, 255, 255, .62);
    color: #5f6973;
    font-size: .7rem;
}

.join-hero__steps strong {
    color: #718316;
    font-size: .62rem;
}

.join-hero__note {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 18px;
    border: 1px solid rgba(15, 26, 42, .08);
    border-radius: 17px;
    background: rgba(255, 255, 255, .8);
}

.join-hero__note-number {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 50%;
    background: #d6f24b;
    color: #0f1a2a;
    font-size: .72rem;
    font-weight: 600;
}

.join-hero__note strong {
    color: #0f1a2a;
    font-size: .8rem;
    font-weight: 600;
}

.join-hero__note p {
    margin-top: 4px;
    color: #717a84;
    font-size: .71rem;
    line-height: 1.45;
}

/* form shell */

.join-form-section {
    padding: 0 0 100px;
}

.join-form-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    max-width: 1060px;
    margin: 0 auto 14px;
}

.join-form-intro > div > span {
    color: #819312;
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.join-form-intro h2 {
    margin-top: 4px;
    color: #0f1a2a;
    font-size: 1.35rem;
    font-weight: 600;
}

.join-form-intro > p {
    max-width: 390px;
    color: #717a84;
    font-size: .72rem;
    line-height: 1.5;
    text-align: right;
}

.join-form-alert {
    max-width: 1060px;
    margin: 0 auto 14px;
    padding: 13px 15px;
    border-radius: 12px;
    background: #f7e8e8;
    color: #7a4144;
    font-size: .76rem;
    line-height: 1.5;
}

.join-form {
    display: grid;
    gap: 13px;
    max-width: 1060px;
    margin: 0 auto;
}

.join-form-card {
    width: 100%;
    padding: 26px;
    border: 1px solid rgba(15, 26, 42, .08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 26, 42, .035);
}

.join-form-card__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.join-form-card__head > span {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 50%;
    background: #f0f1ec;
    color: #626d65;
    font-size: .67rem;
    font-weight: 600;
}

.join-form-card__head p {
    margin: 0;
    color: #83951b;
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.join-form-card__head h2 {
    margin: 3px 0 0;
    color: #0f1a2a;
    font-size: 1.17rem;
    font-weight: 600;
    letter-spacing: -.02em;
}

.join-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.join-field,
.join-choice-group,
.join-radio-group {
    min-width: 0;
}

.join-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.join-field--wide {
    grid-column: 1 / -1;
}

.join-field > span,
.join-choice-group legend,
.join-radio-group legend {
    display: block;
    margin: 0;
    padding: 0;
    color: #4d5863;
    font-size: .7rem;
    font-weight: 600;
    line-height: 1.35;
}

.join-field input,
.join-field select,
.join-field textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border: 1px solid #d7dbd7;
    border-radius: 11px;
    background: #fff;
    color: #0f1a2a;
    font-size: .78rem;
    outline: none;
}

.join-field input:not([type="file"]),
.join-field select {
    height: 48px;
    padding: 0 12px;
}

.join-field textarea {
    min-height: 112px;
    padding: 12px;
    resize: vertical;
    line-height: 1.55;
}

.join-field input:focus,
.join-field select:focus,
.join-field textarea:focus {
    border-color: #9bac43;
    box-shadow: 0 0 0 3px rgba(214, 242, 75, .26);
}

.join-field small,
.join-group-error {
    display: block;
    margin: 0;
    color: #9b484e;
    font-size: .64rem;
    line-height: 1.4;
}

.join-field__hint {
    color: #8b939b !important;
}

.join-file-input {
    min-height: 48px;
    padding: 8px;
    overflow: hidden;
    color: #69727c;
}

.join-file-input::file-selector-button {
    margin-right: 10px;
    padding: 8px 11px;
    border: 0;
    border-radius: 8px;
    background: #eff0eb;
    color: #0f1a2a;
    font-size: .69rem;
    font-weight: 600;
    cursor: pointer;
}

/* check/radio groups */

.join-choice-group,
.join-radio-group {
    margin: 0;
    padding: 0;
    border: 0;
}

.join-choice-group legend,
.join-radio-group legend {
    margin-bottom: 9px;
}

.join-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.join-choice-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.join-choice-grid--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.join-choice,
.join-radio {
    position: relative;
    display: block;
    min-width: 0;
    cursor: pointer;
}

.join-choice input,
.join-radio input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.join-choice span,
.join-radio span {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #dfe2de;
    border-radius: 11px;
    background: #fafaf8;
    color: #58626c;
    font-size: .7rem;
    line-height: 1.35;
    transition:
        border-color 150ms ease,
        background 150ms ease,
        color 150ms ease;
}

.join-choice input:checked + span,
.join-radio input:checked + span {
    border-color: #0f1a2a;
    background: #0f1a2a;
    color: #fff;
}

.join-choice input:focus-visible + span,
.join-radio input:focus-visible + span {
    box-shadow: 0 0 0 3px rgba(214, 242, 75, .35);
}

.join-radio-group > div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.join-rate-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 17px;
}

/* final */

.join-form-card--final {
    background: #0f1a2a;
    color: #fff;
}

.join-form-card--final .join-form-card__head > span {
    background: #d6f24b;
    color: #0f1a2a;
}

.join-form-card--final .join-form-card__head p {
    color: #d6f24b;
}

.join-form-card--final .join-form-card__head h2 {
    color: #fff;
}

.join-final-note {
    margin-bottom: 14px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
}

.join-final-note strong {
    display: block;
    color: #fff;
    font-size: .73rem;
}

.join-final-note p {
    margin-top: 4px;
    color: rgba(255, 255, 255, .62);
    font-size: .68rem;
    line-height: 1.5;
}

.join-declaration {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 13px;
    background: rgba(255, 255, 255, .05);
    cursor: pointer;
}

.join-declaration input {
    display: block;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin: 1px 0 0;
    accent-color: #d6f24b;
}

.join-declaration span {
    color: rgba(255, 255, 255, .76);
    font-size: .71rem;
    line-height: 1.5;
}

.join-group-error--light {
    margin-top: 7px;
    color: #ffd0d3;
}

.join-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.join-submit-row strong {
    color: #fff;
    font-size: .74rem;
    font-weight: 600;
}

.join-submit-row p {
    margin-top: 3px;
    color: rgba(255, 255, 255, .55);
    font-size: .67rem;
}

.join-submit {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 210px;
    min-height: 52px;
    padding: 0 9px 0 18px;
    border: 0;
    border-radius: 999px;
    background: #f5f3ee;
    color: #0f1a2a;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
}

.join-submit span {
    display: grid;
    width: 33px;
    height: 33px;
    place-items: center;
    border-radius: 50%;
    background: #d6f24b;
}

/* persistent submit bar */

.join-sticky-submit {
    position: sticky;
    bottom: 14px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 12px 12px 16px;
    border: 1px solid rgba(15, 26, 42, .09);
    border-radius: 15px;
    background: rgba(245, 243, 238, .94);
    box-shadow: 0 16px 46px rgba(15, 26, 42, .12);
    backdrop-filter: blur(12px);
}

.join-sticky-submit > div {
    display: grid;
    gap: 2px;
}

.join-sticky-submit strong {
    color: #0f1a2a;
    font-size: .73rem;
}

.join-sticky-submit > div > span {
    color: #717a83;
    font-size: .65rem;
}

.join-sticky-submit button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 8px 0 15px;
    border: 0;
    border-radius: 999px;
    background: #0f1a2a;
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    cursor: pointer;
}

.join-sticky-submit button > span {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 50%;
    background: #d6f24b;
    color: #0f1a2a;
}

/* success */

.join-success {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 70px 0 90px;
}

.join-success__card {
    max-width: 760px;
    margin: 0 auto;
    padding: 44px;
    border: 1px solid rgba(15, 26, 42, .08);
    border-radius: 22px;
    background: #fff;
    text-align: center;
    box-shadow: 0 20px 55px rgba(15, 26, 42, .07);
}

.join-success__icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    place-items: center;
    border-radius: 50%;
    background: #d6f24b;
    color: #0f1a2a;
    font-size: 1.2rem;
    font-weight: 600;
}

.join-success h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
}

.join-success__card > p:not(.join-eyebrow) {
    max-width: 590px;
    margin: 16px auto 0;
    color: #626c76;
    font-size: .88rem;
    line-height: 1.62;
}

.join-success__reference {
    width: max-content;
    max-width: 100%;
    margin: 23px auto 0;
    padding: 11px 15px;
    border-radius: 11px;
    background: #f3f3ef;
    color: #7a828b;
    font-size: .68rem;
}

.join-success__reference strong {
    margin-left: 8px;
    color: #0f1a2a;
}

.join-success__actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.join-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
}

.join-button--dark {
    background: #0f1a2a;
    color: #fff;
}

.join-button--light {
    border: 1px solid #dcdedb;
    background: #fff;
    color: #0f1a2a;
}

/* responsive */

@media (max-width: 980px) {
    .join-choice-grid--five {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .join-choice-grid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .join-hero__grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .join-hero__note {
        max-width: 520px;
    }

    .join-form-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .join-form-intro > p {
        max-width: 560px;
        text-align: left;
    }
}

@media (max-width: 680px) {
    .join-hero {
        padding: 40px 0 32px;
    }

    .join-hero h1 {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
    }

    .join-hero__steps {
        gap: 6px;
    }

    .join-hero__steps span {
        min-height: 32px;
        padding-inline: 10px;
        font-size: .65rem;
    }

    .join-form-section {
        padding-bottom: 72px;
    }

    .join-form-card {
        padding: 19px 16px;
        border-radius: 16px;
    }

    .join-form-card__head {
        margin-bottom: 18px;
    }

    .join-field-grid,
    .join-choice-grid,
    .join-choice-grid--four,
    .join-choice-grid--five,
    .join-rate-grid {
        grid-template-columns: 1fr;
    }

    .join-field--wide {
        grid-column: auto;
    }

    .join-submit-row {
        align-items: stretch;
        flex-direction: column;
    }

    .join-submit {
        width: 100%;
    }

    .join-sticky-submit {
        bottom: 8px;
        padding: 9px;
        border-radius: 14px;
    }

    .join-sticky-submit > div {
        display: none;
    }

    .join-sticky-submit button {
        width: 100%;
        min-height: 48px;
        justify-content: space-between;
        padding-left: 17px;
    }

    .join-success {
        padding: 48px 0 68px;
    }

    .join-success__card {
        padding: 30px 18px;
        border-radius: 18px;
    }

    .join-success__actions {
        flex-direction: column;
    }

    .join-button {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .join-radio-group > div {
        grid-template-columns: 1fr;
    }

    .join-hero__steps {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .join-hero__steps span {
        justify-content: center;
    }
}
