@charset "utf-8";
/* CSS Document */
::placeholder {
    color: #555960;
    opacity: 1;
}
.colorojo { color: #cd093b; }


@font-face {
    font-family: 'aptos';
    src: url('../fonts/aptos.ttf') format('truetype');
    src: url('../fonts/aptos.woff2') format('woff2');
}



html, body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    font-family: 'aptos','Roboto', sans-serif;
    box-sizing: border-box;
    line-height: normal;
}
/* ── Contenedor centrado 1150px ── */
.contenedor {
    width: 1150px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 25px;
    background-color: #ffffff;
    text-align: center;
    position: relative;
    padding-right:0px
}
/* ════════════════════════════════════════
   CABECERA — franja roja full-width
════════════════════════════════════════ */
.cabeceraFranja {
    width: 100%;
    background-color: #bd0037;
    background-image: url("../img/franjacabecera.jpg");
    background-size: cover;
    background-position: center right;
}

.cabeceraInner {
    width: 1150px;
    max-width: 100%;
    margin: 0 auto;
    padding: 32px 25px 28px 25px;
    box-sizing: border-box;
}

.cabeceraTextos { text-align: left; }

.cabeceraTitulo {
    font-family: 'Univers LT Std', sans-serif;
    font-weight: bold;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.cabeceraNombre {
    font-family: 'Univers LT Std', sans-serif;
    font-weight: bold;
    font-size: 38px;
    line-height: 42px;
    color: #ffffff;
    margin-bottom: 10px;
}

.cabeceraCurso {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Univers LT Std', sans-serif;
    font-weight: bold;
    font-size: 18px;
    line-height: 22px;
    color: #ffffff;
}

.cabeceraCursoIcono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    background-color: #ffffff;
    color: #bd0037;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

/* ════════════════════════════════════════
   BARRA DE NAVEGACIÓN
════════════════════════════════════════ */
.navFranja {
    width: 100%;
    background-color: #ffffff;
 
}

.navInner {
    width: 1150px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 25px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid #e0e0e0;
}

nav { flex: 1; }

.b_menu_movil { display: none; }

.ul_menu {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

.ul_menu li { position: relative; }

    .ul_menu li a {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 16px 20px;
        font-size: 15px;
        font-weight: bold;
        color: #2a2a2a;
        text-decoration: none;
        border-bottom: 3px solid transparent;
        transition: color 0.2s ease, border-color 0.2s ease;
        white-space: nowrap;
        white-space: nowrap;
        padding-bottom: 0px;
        margin-bottom: 20px;
        padding-left: 0px;
        padding-right: 0px;
        margin-right: 40px;
    }

.navChevron {
    font-size: 22px;
    color: inherit;
    margin-bottom: 5px;
    font-weight: normal;
}

.ul_menu li a:hover {
    color: #bd0037;
    border-bottom-color: #bd0037;
}

.ul_menu li.active a {
    color: #bd0037;
    border-bottom-color: #bd0037;
}

/* Menú ítem activo (desktop y hamburguesa */
.ul_menu li.menuActivo > a {
    font-weight: bold;
    border-bottom: 3px solid #bd0037;
    opacity: 1;
    color: #bd0037;
}

/* Botón Cerrar sesión */
.btnCerrarSesion {
    flex-shrink: 0;
    background-color: #bd0037;
    color: #ffffff !important;
    border-radius: 20px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease;
    height:30px;
    padding-top:7px;
}
.btnCerrarSesion:hover { background-color: #8f0028; color: #fff !important; }

/* ════════════════════════════════════════
   FRANJA GRIS TEMAS
════════════════════════════════════════ */
.temasFranja { width: 100%; padding: 30px 0; padding-top:0px  }
.temasInner { width: 1150px; max-width: 100%; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
/* ════════════════════════════════════════
   PIE
════════════════════════════════════════ */

/* Franja blanca — logos */
.pieLogos {
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 20px 0;
}

.pieLogosInner {
    width: 1150px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 25px;
    box-sizing: border-box;
    text-align: center;
}

.pieColaboracion {
    display: block;
    font-size: 13px;
    color: #6a6a6a;
    margin-bottom: 10px;
}

.pieLogosRow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.pieLogo {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.piecontent {
    padding-top: 50px;
}

/* Franja oscura — links y copyright */
.pieOscuro {
    width: 100%;
    background-color: #4a4a4a;
    padding: 30px 0 24px 0;
}

.pieOscuroInner {
    width: 1150px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 25px;
    box-sizing: border-box;
    text-align: center;
}

.pieLinks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.pieLinks a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: color 0.2s ease;
}

.pieLinks a:hover { color: #f7a5b8; }

.pieCopyright {
    color: #cccccc;
    font-size: 13px;
    margin-bottom: 10px;
}

.pieOptimizado {
    color: #aaaaaa;
    font-size: 12px;
    line-height: 1.6;
}

/* ── Fix scroll horizontal (causado por 100vw con scrollbar) ── */
html, body { overflow-x: hidden; }
/* Responsive */
@media screen and (max-width: 768px) {
    .pieLinks { gap: 20px; flex-direction: column; }
    .pieLogosRow { gap: 30px; }
    .pieLogo { height: 50px; }
}

/* ════════════════════════════════════════
   MENÚ HAMBURGUESA (≤ 680px)
════════════════════════════════════════ */

/* Oculto en escritorio */
.btnHamburguesa {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 14px 0;
    flex-shrink: 0;
}
.btnHamburguesa span {
    display: block;
    width: 24px; height: 2px;
    background-color: #2a2a2a;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.btnHamburguesa.abierto span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.btnHamburguesa.abierto span:nth-child(2) { opacity: 0; }
.btnHamburguesa.abierto span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media screen and (max-width: 680px) {
    .btnHamburguesa { display: flex; }
    .btnCerrarSesion { display: none; }

    .navInner { flex-wrap: wrap; padding: 0 15px; }
    nav { order: 3; width: 100%; }

    /* Menú oculto por defecto */
    .ul_menu {
        flex-direction: column;
        align-items: stretch;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }
    .ul_menu.abierto { max-height: 400px; }

    /* Items verticales — mantiene estilo existente */
    .ul_menu li { width: 100%; }
    .ul_menu li a {
        padding: 13px 15px;
        border-bottom: 1px solid #eeeeee;
        border-left: 3px solid transparent;
        border-bottom-color: #eeeeee !important;
    }
    .ul_menu li.active a,
    .ul_menu li a:hover {
        border-left-color: #bd0037;
        background-color: #fdf0f3;
        color: #bd0037;
    }
}

/* ════════════════════════════════════════
   LIGHTBOX DE VÍDEO (estilo Fancybox)
════════════════════════════════════════ */
.lbOverlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 99998;
    background: rgba(0, 0, 0, 0.55);
    align-items: center;
    justify-content: center;
    animation: lbFadeIn 0.25s ease;
}
.lbOverlay.activo { display: flex; }

@keyframes lbFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lbCaja {
    position: relative;
    width: 92%;
    max-width: 920px;
    background: #111;
    border-radius: 4px;
    box-shadow: 0 10px 60px rgba(0,0,0,0.8);
    animation: lbSlideIn 0.28s ease;
    overflow: hidden;
}

@keyframes lbSlideIn {
    from { transform: scale(0.92); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.lbCabecera {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #1c1c1c;
    border-bottom: 1px solid #2a2a2a;
}

.lbTitulo {
    color: #ddd;
    font-size: 14px;
    font-family: 'aptos', 'Roboto', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 88%;
}

.lbBtnCerrar {
    color: #888;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
    transition: color 0.2s ease;
    flex-shrink: 0;
    font-family: sans-serif;
}
.lbBtnCerrar:hover { color: #fff; }

.lbCuerpo {
    width: 100%;
    background: #000;
}

.lbCuerpo video {
    width: 100%;
    display: block;
    max-height: 76vh;
    background: #000;
}
.indexInputIcono {
    position: relative;
    display: flex;
    align-items: center;
}

    .indexInputIcono > svg:first-child {
        position: absolute;
        left: 12px;
        color: #999;
        pointer-events: none;
        top: 10px;
    }

.indexInputConIcono {
    padding-left: 40px !important;
}



@media screen and (max-width: 680px) {
    .lbCaja { width: 100%; border-radius: 0; }
    .lbCuerpo video { max-height: 55vh; }
}


