.stage-selection-page #page-wrapper {
    display: flex;
    flex-direction: column;
}

.stage-selection-page .footer {
    position: static;
    margin-top: auto;
}

.stage-selection {
    flex: 1;
    padding-top: 28px;
    padding-bottom: 48px;
}

.stage-shell {
    width: min(100%, 1140px);
}

.stage-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 23px;
    color: #677b6f;
    font-size: 0.82rem;
}

.stage-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--application-green-800);
    font-weight: 750;
}

.stage-back-link:hover {
    color: var(--application-green-950);
}

.stage-back-link svg {
    width: 16px;
    height: 16px;
}

.stage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 24px;
}

.stage-welcome {
    position: relative;
    overflow: hidden;
    padding: 38px;
    color: #ffffff;
    background: radial-gradient(circle at 100% 0, rgba(239, 211, 140, 0.1), transparent 60%), linear-gradient(145deg, #073d2c, #0c6046);
    border: 1px solid #155b43;
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(7, 61, 44, 0.16);
}

.stage-brand,
.stage-welcome__copy,
.stage-journey {
    position: relative;
    z-index: 1;
}

.stage-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stage-brand__logo {
    display: grid;
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    overflow: hidden;
    place-items: center;
    padding: 5px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
}

.stage-brand__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stage-brand__copy small,
.stage-brand__copy strong {
    display: block;
}

.stage-brand__copy small {
    margin-bottom: 7px;
    color: #cbe0d3;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.stage-brand__copy strong {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 750;
    line-height: 1.35;
}

.stage-welcome__copy {
    margin-top: 38px;
}

.stage-eyebrow,
.stage-card-eyebrow {
    margin: 0 0 10px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.stage-eyebrow {
    color: #efd394;
}

.stage-welcome h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.35rem, 3.6vw, 3.2rem);
    font-weight: 750;
    letter-spacing: -0.05em;
    line-height: 1.09;
}

.stage-welcome h1 span {
    color: #f2db9f;
}

.stage-welcome__copy > p:last-child {
    max-width: 370px;
    margin: 20px 0 0;
    color: #d0e3d8;
    font-size: 0.98rem;
    line-height: 1.75;
}

.stage-journey {
    margin-top: 32px;
    padding-top: 25px;
    border-top: 1px solid rgba(221, 239, 228, 0.2);
}

.stage-journey__heading {
    margin: 0 0 18px;
    color: #d0e3d8;
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.stage-journey ol {
    display: grid;
    gap: 19px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.stage-journey li {
    display: flex;
    align-items: center;
    gap: 13px;
}

.stage-journey__number {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    color: #e2eee7;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(221, 239, 228, 0.3);
    border-radius: 11px;
    font-size: 0.73rem;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}

.stage-journey .is-current .stage-journey__number {
    color: #20422c;
    background: #f2db9f;
    border-color: #f2db9f;
}

.stage-journey strong,
.stage-journey small {
    display: block;
}

.stage-journey strong {
    color: #f1f7f3;
    font-size: 0.86rem;
    font-weight: 700;
}

.stage-journey small {
    margin-top: 3px;
    color: #c0d9cb;
    font-size: 0.75rem;
}

.stage-welcome__decoration {
    position: absolute;
    right: -220px;
    bottom: -190px;
    width: 470px;
    height: 470px;
    border: 1px solid rgba(235, 243, 237, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.stage-welcome__decoration::after {
    position: absolute;
    inset: 45px;
    content: "";
    border: 1px solid rgba(235, 243, 237, 0.1);
    border-radius: 50%;
}

.stage-selection-card {
    min-width: 0;
    padding: 34px;
    background: #ffffff;
    border: 1px solid var(--application-line);
    border-radius: 26px;
    box-shadow: 0 12px 38px rgba(20, 53, 41, 0.065);
}

.stage-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 27px;
}

.stage-card-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    color: #896429;
    background: #fcf6e8;
    border: 1px solid #efe2c3;
    border-radius: 14px;
}

.stage-card-icon svg {
    width: 26px;
    height: 26px;
}

.stage-availability {
    padding: 6px 10px;
    color: #32664e;
    background: #f0f7f3;
    border: 1px solid #dcebe2;
    border-radius: 20px;
    font-size: 0.71rem;
    font-weight: 700;
    white-space: nowrap;
}

.stage-card-eyebrow {
    color: #547661;
}

.stage-selection-card h2 {
    margin: 0;
    color: #172f24;
    font-size: 1.95rem;
    font-weight: 760;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.stage-card-description {
    margin: 13px 0 0;
    color: #64776b;
    font-size: 0.92rem;
    line-height: 1.75;
}

.stage-selection-form {
    margin-top: 27px;
}

.stage-field-label {
    display: block;
    margin: 0 0 10px;
    color: #2e4839;
    font-size: 0.88rem;
    font-weight: 750;
}

.stage-field-label > span {
    color: #9a4a36;
}

.stage-select-wrap {
    position: relative;
}

.stage-select {
    width: 100%;
    height: 56px;
    padding: 12px 43px 12px 15px;
    appearance: none;
    color: #243f2e;
    background: #fafcfb;
    border: 1px solid #bdcfc3;
    border-radius: 11px;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.4;
    cursor: pointer;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.stage-select:focus {
    background: #ffffff;
    border-color: #167a58;
    box-shadow: 0 0 0 4px rgba(22, 122, 88, 0.11);
    outline: none;
}

.stage-select:disabled {
    color: #66776b;
    background: #edf2ef;
    cursor: not-allowed;
}

.stage-select-wrap > svg {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 19px;
    height: 19px;
    color: #60776a;
    pointer-events: none;
    transform: translateY(-50%);
}

.stage-field-hint,
.stage-field-arabic {
    margin: 10px 0 0;
    color: #64776b;
    font-size: 0.77rem;
    line-height: 1.65;
}

.stage-field-arabic {
    margin-top: 6px;
    color: #4a7059;
    font-size: 0.86rem;
    text-align: left;
}

.stage-next-preview {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0;
    padding: 17px;
    background: #f2f7f4;
    border: 1px solid #e0eae3;
    border-radius: 12px;
}

.stage-next-preview__icon {
    display: grid;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    place-items: center;
    color: #3e7153;
    background: #e4eee8;
    border-radius: 8px;
}

.stage-next-preview__icon svg {
    width: 19px;
    height: 19px;
}

.stage-next-preview strong,
.stage-next-preview > span:last-child > span {
    display: block;
}

.stage-next-preview strong {
    color: #30523e;
    font-size: 0.81rem;
    font-weight: 750;
}

.stage-next-preview > span:last-child > span {
    margin-top: 5px;
    color: #617366;
    font-size: 0.76rem;
    line-height: 1.7;
}

.stage-continue-button {
    display: flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 19px;
    color: #ffffff;
    background: #0f6247;
    border: 1px solid #0f6247;
    border-radius: 11px;
    box-shadow: 0 7px 20px rgba(15, 98, 71, 0.15);
    font-family: inherit;
    font-size: 0.91rem;
    font-weight: 750;
    cursor: pointer;
    transition: background 150ms ease, transform 150ms ease;
}

.stage-continue-button:hover {
    background: #0a4b36;
    transform: translateY(-1px);
}

.stage-continue-button svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}

.stage-continue-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.stage-back-link:focus-visible,
.stage-continue-button:focus-visible {
    outline: 3px solid #d7a63e;
    outline-offset: 4px;
}

.stage-form-note {
    max-width: 320px;
    margin: 14px auto 0;
    color: #68786c;
    font-size: 0.73rem;
    line-height: 1.7;
    text-align: center;
}

.stage-alert,
.stage-validation-summary.validation-summary-errors {
    margin: 0 0 18px;
    padding: 12px 14px;
    color: #923c32;
    background: #fff4f1;
    border: 1px solid #edcdc5;
    border-radius: 10px;
    font-size: 0.85rem;
    line-height: 1.6;
}

.stage-validation-summary.validation-summary-valid,
.stage-field-error.field-validation-valid {
    display: none;
}

.stage-field-error.field-validation-error {
    display: block;
    margin-top: 7px;
    color: #923c32;
    font-size: 0.8rem;
}

@media (max-width: 1000px) {
    .stage-welcome,
    .stage-selection-card {
        padding: 30px;
    }

    .stage-grid {
        gap: 18px;
    }
}

@media (max-width: 767px) {
    .stage-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .stage-breadcrumb {
        gap: 7px;
        font-size: 0.74rem;
    }

    .stage-welcome,
    .stage-selection-card {
        padding: 26px;
        border-radius: 20px;
    }

    .stage-brand__logo {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
        border-radius: 13px;
    }

    .stage-brand__copy small {
        font-size: 0.59rem;
    }

    .stage-brand__copy strong {
        font-size: 0.94rem;
    }

    .stage-welcome__copy {
        margin-top: 27px;
    }

    .stage-welcome h1 {
        font-size: 2.55rem;
    }

    .stage-welcome__copy > p:last-child {
        max-width: 460px;
        margin-top: 14px;
        font-size: 0.87rem;
        line-height: 1.65;
    }

    .stage-journey {
        display: none;
    }

    .stage-card-topline {
        margin-bottom: 22px;
    }

    .stage-selection-card h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 380px) {
    .stage-welcome,
    .stage-selection-card {
        padding: 22px;
    }

    .stage-welcome h1 {
        font-size: 2.1rem;
    }

    .stage-brand {
        gap: 11px;
    }

    .stage-brand__copy small {
        letter-spacing: 0.07em;
    }

    .stage-next-preview {
        padding: 13px;
        gap: 9px;
    }
}
