/* ── Guía interactiva ────────────────────────────────────────────── */

/* ── Botones card en hero (página pública) ───────────────────────── */
.guia-cards-hero {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}
.btn-guia-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.10);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.30);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: .88rem;
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
    text-decoration: none;
    text-align: left;
    min-width: 210px;
    backdrop-filter: blur(6px);
}
.btn-guia-card:hover {
    background: rgba(255,255,255,0.20);
    border-color: rgba(255,255,255,0.7);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    text-decoration: none;
}
.btn-guia-card__icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.btn-guia-card__icon--aspirante { background: rgba(99,179,237,0.25); color: #90CDF4; }
.btn-guia-card__icon--empresa   { background: rgba(110,231,183,0.20); color: #6EE7B7; }
.btn-guia-card__text { line-height: 1.3; }
.btn-guia-card__label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    opacity: .65;
    display: block;
    margin-bottom: 1px;
}
.btn-guia-card__title { font-size: .9rem; font-weight: 700; }

.guia-pulse {
    width: 7px; height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    animation: guia-pulse 1.6s ease-in-out infinite;
}
@keyframes guia-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .4; transform: scale(1.5); }
}

/* ── Botón en sidebar (logueado) ─────────────────────────────────── */
.btn-guia-sidebar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #124E91, #1a6abf);
    color: #fff !important;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    margin: 12px 16px;
    transition: opacity .2s, transform .15s;
    text-decoration: none !important;
    width: calc(100% - 32px);
}
.btn-guia-sidebar:hover { opacity: .9; transform: translateY(-1px); }
.btn-guia-sidebar i { font-size: 1rem; }

/* ── Overlay del modal ───────────────────────────────────────────── */
[data-guia-overlay] {
    position: fixed;
    inset: 0;
    background: rgba(14, 23, 30, 0.75);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}
[data-guia-overlay].active {
    opacity: 1;
    pointer-events: all;
}

/* ── Panel principal ─────────────────────────────────────────────── */
.guia-panel {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 520px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.28);
    transform: translateY(32px) scale(.96);
    transition: transform .38s cubic-bezier(.34,1.56,.64,1);
}
[data-guia-overlay].active .guia-panel {
    transform: translateY(0) scale(1);
}

/* Header del panel */
.guia-header {
    padding: 28px 30px 20px;
    color: #fff;
    position: relative;
}
.guia-header__close {
    position: absolute;
    top: 16px; right: 18px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
}
.guia-header__close:hover { background: rgba(255,255,255,0.3); }
.guia-header__label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    opacity: .65;
    margin-bottom: 4px;
}
.guia-header__title { font-size: 1.2rem; font-weight: 800; margin: 0; }

/* Barra de progreso */
.guia-progress {
    height: 4px;
    background: rgba(255,255,255,.2);
    border-radius: 2px;
    margin-top: 18px;
    overflow: hidden;
}
.guia-progress__fill {
    height: 100%;
    background: #6EE7B7;
    border-radius: 2px;
    transition: width .4s cubic-bezier(.4,0,.2,1);
}

/* Dots */
.guia-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 14px;
}
.guia-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.guia-dot.active { background: #fff; transform: scale(1.35); }

/* ── Pasos ───────────────────────────────────────────────────────── */
.guia-body {
    padding: 32px 30px 24px;
    min-height: 210px;
    overflow: hidden;
}
.guia-step {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: guia-fadein .32s ease;
}
.guia-step.active { display: flex; }
@keyframes guia-fadein {
    from { opacity: 0; transform: translateX(28px); }
    to   { opacity: 1; transform: translateX(0); }
}
.guia-step.slide-left { animation: guia-fadein-left .32s ease; }
@keyframes guia-fadein-left {
    from { opacity: 0; transform: translateX(-28px); }
    to   { opacity: 1; transform: translateX(0); }
}
.guia-step__icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
    flex-shrink: 0;
}
.guia-step__number {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #9CA3AF;
    margin-bottom: 6px;
}
.guia-step__title { font-size: 1.1rem; font-weight: 800; color: #1A1F2E; margin-bottom: 10px; }
.guia-step__desc  { font-size: .9rem; color: #6B7280; line-height: 1.65; max-width: 380px; }
.guia-step__tip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #EFF6FF;
    color: #1D4ED8;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: .8rem;
    font-weight: 600;
    margin-top: 16px;
}
.guia-step__tip i { font-size: .85rem; }

/* ── Footer navegación ───────────────────────────────────────────── */
.guia-footer {
    border-top: 1px solid #E5E7EB;
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.guia-footer__counter { font-size: .8rem; color: #9CA3AF; font-weight: 600; }
.guia-footer__btns    { display: flex; gap: 10px; }
.btn-guia-nav {
    padding: 9px 22px;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background .15s, transform .1s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-guia-nav:active { transform: scale(.97); }
.btn-guia-prev  { background: #F3F4F6; color: #374151; }
.btn-guia-prev:hover  { background: #E5E7EB; }
.btn-guia-next  { background: #124E91; color: #fff; }
.btn-guia-next:hover  { background: #0E3A6E; }
.btn-guia-finish { background: #059669; color: #fff; }
.btn-guia-finish:hover { background: #047857; }
