/* Welcome — ruta concisa post-registro (Mentores Tech) */

.welcome-page {
    --welcome-accent: #0f7bb8;
    --welcome-accent-2: #138bc9;
    --welcome-surface: #f8fafc;
    --welcome-text: #0f172a;
    --welcome-muted: #64748b;
}

/* Hero */
.welcome-hero {
    background: linear-gradient(135deg, #0b5f8a 0%, var(--welcome-accent) 42%, var(--welcome-accent-2) 100%);
    color: #fff;
    padding: clamp(5.5rem, 12vw, 7rem) 0 clamp(2.5rem, 5vw, 3.5rem);
    margin-top: 120px;
}

@media (min-width: 992px) {
    .welcome-hero {
        margin-top: 140px;
    }
}

.welcome-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.welcome-hero .welcome-tagline {
    font-size: 1.05rem;
    opacity: 0.95;
    max-width: 36rem;
    margin-bottom: 1.75rem;
    line-height: 1.55;
}

/* Ruta en 3 pasos */
.welcome-path {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.35rem 1.25rem 1.5rem;
    margin-bottom: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.welcome-path-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.welcome-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: welcome-step;
}

.welcome-steps li {
    counter-increment: welcome-step;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.95rem;
    line-height: 1.45;
}

.welcome-steps li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.welcome-steps li::before {
    content: counter(welcome-step);
    flex-shrink: 0;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    background: #fff;
    color: var(--welcome-accent);
    font-weight: 800;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-top: 0.1rem;
}

.welcome-steps strong {
    display: block;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.welcome-steps span.muted {
    opacity: 0.88;
    font-size: 0.88rem;
}

.welcome-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.75rem;
    align-items: center;
}

.welcome-cta-row .btn-primary {
    background: #fff;
    color: var(--welcome-accent);
    border: none;
    font-weight: 700;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
}

.welcome-cta-row .btn-primary:hover {
    background: #f1f5f9;
    color: #0b5f8a;
}

.welcome-cta-row .btn-outline-light {
    border-width: 2px;
    border-radius: 10px;
    font-weight: 600;
    padding: 0.55rem 1.1rem;
}

.welcome-cta-row .welcome-link-muted {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.welcome-cta-row .welcome-link-muted:hover {
    color: #fff;
}

/* Usuario con plan de 30 días: un solo bloque de acceso rápido al seguimiento */
.welcome-plan-active {
    background: linear-gradient(135deg, #059669 0%, #047857 50%, #065f46 100%);
    color: #fff;
    padding: 1.75rem 0 2rem;
}

.welcome-plan-active-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 1.5rem;
}

.welcome-plan-active-title {
    font-size: clamp(1.2rem, 2.8vw, 1.55rem);
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.welcome-plan-active-lead {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    opacity: 0.95;
    max-width: 40rem;
}

.welcome-plan-active-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    min-width: 11rem;
}

.welcome-plan-active-btn {
    font-weight: 700;
    border-radius: 10px;
    white-space: normal;
    text-align: center;
}

.welcome-plan-active .btn-outline-light {
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    border-width: 2px;
}

/* Siguientes pasos tras contratar el plan */
.welcome-after-plan {
    padding: 2.25rem 0 2.5rem;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.welcome-after-plan-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--welcome-text);
    margin: 0 0 0.5rem;
}

.welcome-after-plan-sub {
    color: var(--welcome-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 1.25rem;
    max-width: 40rem;
}

.welcome-after-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.welcome-after-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: var(--welcome-text);
    background: var(--welcome-surface);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem 1.2rem 1.1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    height: 100%;
}

.welcome-after-card:hover {
    border-color: var(--welcome-accent);
    box-shadow: 0 10px 28px rgba(15, 123, 184, 0.12);
    color: var(--welcome-text);
}

.welcome-after-card-icon {
    font-size: 1.75rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.welcome-after-card strong {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.welcome-after-card-desc {
    font-size: 0.88rem;
    color: var(--welcome-muted);
    line-height: 1.45;
    margin-bottom: 0.75rem;
    flex: 1 1 auto;
}

.welcome-after-card-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--welcome-accent);
}

.welcome-after-card:hover .welcome-after-card-link {
    text-decoration: underline;
}

.welcome-after-plan-foot a {
    font-weight: 600;
}

/* Sistema Inserción Laboral 30 días — bloque informativo (no “oferta flash”) */
.welcome-sil-highlight {
    background: linear-gradient(135deg, #0e7490 0%, #0d9488 45%, #0f766e 100%);
    color: #fff;
    padding: 1.75rem 0 1.85rem;
}

.welcome-sil-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem 1.5rem;
}

.welcome-sil-copy {
    flex: 1 1 18rem;
    max-width: 42rem;
}

.welcome-sil-title {
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    font-weight: 700;
    margin: 0 0 0.65rem;
    line-height: 1.25;
    color: #fff;
}

.welcome-sil-lead {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    line-height: 1.55;
    opacity: 0.96;
}

.welcome-sil-points {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    opacity: 0.95;
}

.welcome-sil-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
}

.welcome-sil-points li:last-child {
    margin-bottom: 0;
}

.welcome-sil-check {
    flex-shrink: 0;
    font-weight: 700;
    opacity: 0.9;
}

.welcome-sil-cta {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    min-width: 12rem;
}

.welcome-sil-cta .btn-light {
    font-weight: 700;
    border-radius: 10px;
    color: #0f766e;
    border: none;
}

.welcome-sil-cta .btn-light:hover {
    background: #f0fdfa;
    color: #115e59;
}

.welcome-sil-cta .btn-outline-light {
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    border-width: 2px;
}

@media (max-width: 576px) {
    .welcome-sil-cta .btn {
        width: 100%;
        text-align: center;
    }
}

/* Sección: accesos rápidos */
.welcome-quick {
    padding: 2.75rem 0 3rem;
    background: var(--welcome-surface);
}

.welcome-quick h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--welcome-text);
    margin-bottom: 0.35rem;
}

.welcome-quick .sub {
    color: var(--welcome-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 32rem;
}

.welcome-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.85rem;
}

.welcome-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1rem 1.1rem;
    text-decoration: none;
    color: var(--welcome-text);
    transition: border-color 0.2s, box-shadow 0.2s;
    min-height: 100%;
}

.welcome-tile:hover {
    border-color: var(--welcome-accent);
    box-shadow: 0 8px 24px rgba(15, 123, 184, 0.12);
    color: var(--welcome-text);
}

.welcome-tile--accent {
    border-color: #059669;
    background: linear-gradient(180deg, #ecfdf5 0%, #fff 100%);
}

.welcome-tile--accent:hover {
    border-color: #047857;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.18);
}

.welcome-tile .icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.welcome-tile strong {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.welcome-tile span.desc {
    font-size: 0.8rem;
    color: var(--welcome-muted);
    line-height: 1.35;
}

/* Empresa — una tarjeta */
.welcome-b2b {
    padding: 0 0 3rem;
    background: var(--welcome-surface);
}

.welcome-b2b-card {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem 1.35rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.welcome-b2b-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.35rem;
}

.welcome-b2b-card p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    max-width: 36rem;
    line-height: 1.5;
}

.welcome-b2b-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.welcome-b2b-actions .btn-success {
    font-weight: 600;
    border-radius: 10px;
}

.welcome-b2b-actions .btn-outline-light {
    border-radius: 10px;
    font-weight: 600;
}

/* Cierre suave */
.welcome-foot-cta {
    padding: 2.5rem 0 3.5rem;
    text-align: center;
    background: #fff;
}

.welcome-foot-cta p {
    color: var(--welcome-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.welcome-foot-cta .btn {
    font-weight: 600;
    border-radius: 10px;
}

@media (max-width: 576px) {
    .welcome-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .welcome-cta-row .btn {
        width: 100%;
        text-align: center;
    }

    .welcome-cta-row .welcome-link-muted {
        text-align: center;
    }

    .welcome-plan-active-cta .btn {
        width: 100%;
        text-align: center;
    }
}
