/* ─── Proceso de beca — FUNJOSE ──────────────────────────────────────────────
   Usado por template-parts/proceso.php
   Timeline vertical: la etapa del mes en curso se enciende en dorado
   institucional, el resto queda en gris neutro.
   ────────────────────────────────────────────────────────────────────────── */

.fj-process {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 64px 96px;
    box-sizing: border-box;
}

.fj-process__list {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fj-process__item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding-bottom: 48px;
}

.fj-process__item:last-child {
    padding-bottom: 0;
}

.fj-process__connector {
    position: absolute;
    top: 26px;
    bottom: 0;
    left: 11px;
    width: 3px;
    background: #e4e7ee;
}

.fj-process__item:last-child .fj-process__connector {
    display: none;
}

.fj-process__marker {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #e4e7ee;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.fj-process__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
}

.fj-process__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #EEF0F8;
    color: #1A1860;
    transition: background 0.2s ease, color 0.2s ease;
}

.fj-process__icon svg {
    width: 20px;
    height: 20px;
}

.fj-process__step-meses {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0077b6;
    background: #E4F1FA;
    padding: 6px 14px;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
}

.fj-process__step-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.3;
    color: #98a0b3;
    margin: 0 0 8px;
    transition: color 0.2s ease;
}

.fj-process__step-text {
    font-size: 1.05rem;
    color: #98a0b3;
    line-height: 1.6;
    margin: 0 0 20px;
    max-width: 640px;
    transition: color 0.2s ease;
}

.fj-process__cta {
    padding: 10px 24px;
    font-size: 0.95rem;
}

.fj-process__cta.is-disabled {
    position: relative;
    background: #9a9cc2 !important;
    color: #fff !important;
    cursor: not-allowed;
}

.fj-process__cta.is-disabled::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 12px);
    transform: translateX(-50%) translateY(4px);
    width: max-content;
    max-width: 240px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #1A1860;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 5;
}

.fj-process__cta.is-disabled::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%) translateY(0);
    border: 6px solid transparent;
    border-top-color: #1A1860;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
    z-index: 5;
}

.fj-process__cta.is-disabled:hover::after,
.fj-process__cta.is-disabled:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

.fj-process__cta.is-disabled:hover::before {
    transform: translateX(-50%) translateY(0);
}

.fj-process__item.is-active .fj-process__marker {
    background: var(--global-palette1, #fea900);
    border-color: var(--global-palette1, #fea900);
    box-shadow: 0 0 0 5px rgba(254, 169, 0, 0.18);
}

.fj-process__item.is-active .fj-process__icon {
    background: var(--global-palette1, #fea900);
    color: #1A1860;
}

.fj-process__item.is-active .fj-process__step-title {
    color: #1A1860;
}

.fj-process__item.is-active .fj-process__step-text {
    color: #555c74;
}

/* ── Móvil (≤719px) ── */
@media screen and (max-width: 719px) {
    .fj-process {
        padding: 0 28px 64px;
    }
    .fj-process__step-title {
        font-size: 1.1rem;
    }
    .fj-process__step-text {
        font-size: 0.95rem;
    }
}
