/* ==========================================================
   LANDING UPDATES (2026-05-31) — cambios pedidos por Marisol
   Se carga DESPUÉS de style.css para sobrescribir lo necesario.
   - Video principal chico al costado del hero (estilo "Noe")
   - Link de verificación en la academia
   - Comparación "para vos / no es para vos"
   - Pop-up de bienvenida que empuja el registro al curso gratis
   ========================================================== */

/* ===== Hero: video principal chico al costado (estilo "Noe") ===== */
.hero-video-frame {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin-left: auto;            /* lo empuja al costado derecho en desktop */
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    border: 3px solid #fff;
    box-shadow: 0 25px 60px rgba(74, 14, 40, 0.18);
}

/* El video principal es horizontal (16:9): pisamos el 9/16 del facade vertical */
.hero-video-frame .video-facade,
.hero-video-frame .video-embed-live {
    aspect-ratio: 16 / 9;
}

/* Pista "Dale play" reubicada justo arriba del video: la alineamos sobre el
   frame del video (pegado a la derecha en desktop, igual que .hero-video-frame). */
.hero-visual .cta-hint {
    justify-content: center;
    max-width: 440px;
    margin-left: auto;            /* la empuja sobre el video en desktop */
    margin-bottom: 14px;
}

@media (max-width: 768px) {
    /* En mobile el hero-visual estaba oculto; ahora tiene el video, hay que mostrarlo */
    .hero-visual {
        display: block !important;
        transform: none !important;   /* anula el tilt 3D heredado por inline-style */
    }
    .hero-video-frame {
        max-width: 520px;
        margin: 30px auto 0;
    }
    /* En mobile el video va centrado: la pista lo acompaña. */
    .hero-visual .cta-hint {
        max-width: 520px;
        margin: 0 auto 14px;
    }
}

/* ===== Verificación en la academia (sección Líder y Educadora) ===== */
.revo-verify-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 4px;
    padding: 13px 20px;
    border-radius: 14px;
    background: rgba(212, 175, 55, 0.10);
    border: 1px solid rgba(212, 175, 55, 0.55);
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.revo-verify-link:hover {
    background: rgba(212, 175, 55, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.22);
}
.revo-verify-link i { color: var(--gold); }
.revo-verify-link i:first-child { font-size: 1.4rem; }
.revo-verify-link i:last-child { font-size: 1rem; opacity: 0.9; }

/* ===== Comparación: "para vos / no es para vos" ===== */
/* .text-center vuelve el h2 un flex-column y apila "¿Es / para vos / este negocio?" en 3 filas.
   Lo devolvemos a flujo normal (display:block) para que sea un título corrido en una sola línea. */
.fit-section .section-title {
    display: block;
    text-align: center;
}
/* En PC y tablet (>=769px) achicamos un toque la fuente para garantizar que entre en una línea;
   en celular (<769px) se parte de forma natural. */
@media (min-width: 769px) {
    .fit-section .section-title {
        white-space: nowrap;
        font-size: clamp(2.4rem, 3.4vw, 3.4rem);
    }
}
.fit-section .subtitle { margin-bottom: 50px; }

.fit-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.fit-col {
    background: rgba(15, 12, 13, 0.8);
    border-radius: 24px;
    padding: 34px 30px;
    box-shadow: var(--glass-shadow);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.fit-col:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: rgba(212, 175, 55, 0.3);
}
.fit-col--yes { border-top: 5px solid #2ecc71; }
.fit-col--no  { border-top: 5px solid #e0567a; }

.fit-col__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 22px;
    color: var(--text-main);
}
.fit-col__title i { font-size: 1.8rem; }
.fit-col--yes .fit-col__title i { color: #2ecc71; }
.fit-col--no  .fit-col__title i { color: #e0567a; }

.fit-list { list-style: none; margin: 0; padding: 0; }
.fit-list li {
    position: relative;
    padding: 12px 0 12px 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}
.fit-list li:last-child { border-bottom: none; }
.fit-list li::before {
    position: absolute;
    left: 4px;
    top: 11px;
    font-size: 1.1rem;
    font-weight: 700;
}
.fit-col--yes .fit-list li::before { content: "\2713"; color: #2ecc71; }  /* ✓ */
.fit-col--no  .fit-list li::before { content: "\2717"; color: #e0567a; }  /* ✗ */

@media (max-width: 768px) {
    .fit-comparison { grid-template-columns: 1fr; gap: 20px; }
    .fit-col { padding: 26px 22px; }
}

/* ===== Pop-up de bienvenida (registro al curso gratis) ===== */
.welcome-pop {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.welcome-pop.is-open { opacity: 1; visibility: visible; }
.welcome-pop[hidden] { display: none; }

.welcome-pop__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 5, 15, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.welcome-pop__card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    background: linear-gradient(180deg, #12080d, #050204);
    border: 2px solid var(--gold);
    border-radius: 28px;
    padding: 42px 34px 34px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(212, 175, 55, 0.25);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}
.welcome-pop.is-open .welcome-pop__card { transform: translateY(0) scale(1); }

.welcome-pop__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold);
    border-radius: 50%;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s, color 0.2s;
}
.welcome-pop__close:hover { background: var(--gold); color: #000; transform: scale(1.05); }

.welcome-pop__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-gradient, linear-gradient(135deg, #D4AF37, #f0d97d));
    color: #3e2704;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
}
.welcome-pop__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.2;
    margin: 0 0 14px;
    color: var(--text-main);
}
.welcome-pop__text {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 26px;
}
.welcome-pop__cta { width: 100%; justify-content: center; }
.welcome-pop__dismiss {
    display: block;
    margin: 16px auto 0;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    opacity: 0.8;
}
.welcome-pop__dismiss:hover { opacity: 1; }

@media (max-width: 480px) {
    .welcome-pop__card { padding: 36px 24px 28px; border-radius: 22px; }
    .welcome-pop__title { font-size: 1.6rem; }
}

/* ═══════════════════════════════════════════════════════════
   FACADE DE VIDEO (click-to-play) — compartido autoridad + shorts + hero
   ═══════════════════════════════════════════════════════════ */
.video-facade {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    padding: 0;
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    box-shadow: var(--shadow-md);
}
.facade-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease-luxe);
}
.video-facade:hover .facade-cover { transform: scale(1.05); }
.video-facade::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.38));
    pointer-events: none;
}
.facade-play {
    position: absolute;
    inset: 0;
    z-index: 2;
    margin: auto;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink-hot) 0%, #ff5e97 100%);
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(255, 42, 116, 0.4);
    transition: transform 0.4s var(--ease-luxe), background 0.4s ease, box-shadow 0.4s ease;
    pointer-events: none;
}
.video-facade:hover .facade-play { transform: scale(1.15); box-shadow: 0 10px 30px rgba(255, 42, 116, 0.6); }
.video-embed-live {
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}
.video-embed-live iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ===== Modificación del Hero Video Frame para ser horizontal ===== */
.hero-video-frame .video-facade,
.hero-video-frame .video-embed-live {
    aspect-ratio: 16 / 9;
    border-radius: 20px;
}

/* ═══════════════════════════════════════════════════════════
   SECCIÓN TESTIMONIOS DE AFILIADOS (5 SHORTS 9:16)
   ═══════════════════════════════════════════════════════════ */
.shorts-section { padding: 100px 0; position: relative; }
.shorts-section .subtitle { margin-bottom: 45px; }
.shorts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}
.short-card {
    border-radius: 24px;
    overflow: hidden;
    background: var(--glass-bg);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: transform 0.4s var(--ease-luxe), border-color 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 10px;
}
.short-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 42, 116, 0.4);
    box-shadow: 0 20px 40px rgba(255, 42, 116, 0.15);
}
.short-card .video-facade {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}
.short-card .video-embed-live {
    border-radius: 16px;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE PARA SHORTS
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .shorts-grid { grid-template-columns: repeat(3, 1fr); max-width: 720px; }
}

@media (max-width: 768px) {
    .shorts-section { padding: 60px 0; }

    /* Shorts: carrusel horizontal con scroll-snap (mismo patrón que el sitio) */
    .shorts-grid.mobile-scroll-snap {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        gap: 14px;
        scroll-snap-type: x mandatory;
        padding-bottom: 12px;
        -webkit-overflow-scrolling: touch;
    }
    .shorts-grid.mobile-scroll-snap .short-card {
        min-width: 66vw;
        scroll-snap-align: center;
    }
}
