
    .transicion-blur {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 100000;
    pointer-events: none; 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(10px);
    animation: desvanecerBlur 0.8s ease forwards;}

    @keyframes desvanecerBlur {
        0% {
            opacity: 1;
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
        }
        100% {
            opacity: 0;
            backdrop-filter: blur(0px);
            -webkit-backdrop-filter: blur(0px);
            visibility: hidden; 
        } }
 
         /* Cuerpo y Menu */
        html, body {
            margin: 0; padding: 0;
            width: 100%; max-width: 100%;
            overflow-x: hidden;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            scroll-behavior: smooth;
        }
        body { 
            position: relative;
            background-color: #f0f0f0;
            min-height: 100vh;
            color: #333; 
            line-height: 1.6;
            }
        body::before {
            content: "";
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%; 
            z-index: -1; 
            background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 40%, rgb(255, 255, 255) 100%), url('imagenes/aulavirtual/columnas.webp'); 
            background-repeat: no-repeat; 
            background-position: top center;
            background-size: cover;
            opacity: 0.55;
            pointer-events: none;
        }
        .menu-lista {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex: 1;
            max-width: 750px; 
        }
        .menu-lista > li {
            position: relative;
            display: inline-block;
        }
        .fixed-header {
            position: fixed;
            top: 0; left: 0; width: 100%;
            z-index: 9999;
          /*  background: #fff; */
            background: transparent;    
        }
        nav {
           background-image: linear-gradient(rgba(255,255,255,0.65), rgba(255,255,255,0.65)), url('imagenes/fondomenu.webp');
            background-repeat: repeat-x; background-position: center;
            padding: 5px 0;   
        }

        .cuerpo {
            max-width: 1000px;
            margin: 0 auto;
            width: 95%;  }

        nav .cuerpo {
            display: flex;
            justify-content: space-between;
            align-items: center; }

        .logo-menu { height: 45px; width: auto; display: block; }

        nav a {
            font-family: 'Noto Sans', sans-serif;
            color: #5e0317; letter-spacing: 1px; 
            text-decoration: none;
            font-weight: 500; font-size: 15px; 
            transition: all 0.3s ease;
            cursor: pointer;
            -webkit-user-select: none;
            user-select: none;         
            -webkit-tap-highlight-color: transparent; }

        nav a:hover { color: #000000; }
       
        nav a i.fa-video,
        nav a i.fa-book,
        nav a i.fa-star,
        nav a i.fa-link,
        nav a i.fa-earth-africa,
        nav a i.fa-sun,
        nav a i.fa-moon {
            margin-right: 7px;
            font-size: 1.1em;
            vertical-align: middle; }

        .franja-separadora { background-color: #68061C; height: 4px; width: 100%; }

        .mobile-menu-icon {
            display: none;
            font-size: 26px;
            color: #68061C;
            cursor: pointer; }

        .dropdown { position: relative; display: inline-block; }
        .dropdown-content {
            display: none;
            position: absolute;
            background-image: linear-gradient(rgb(255, 255, 255), rgba(255, 248, 239, 1));
            min-width: 140px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
            z-index: 10000;
            border: 1px solid rgba(92, 26, 26, 0.1);
            top: 100%; left: 0; }
        .dropdown-content a {
            padding: 12px 16px; text-decoration: none; display: block;
            font-size: 15px; font-family: 'Marcellus', serif;
            font-weight: 400;
            border-bottom: 1px solid rgba(0,0,0,0.05); text-align: left; font-weight: 600; }
        .dropdown-content a.ciclo-a { color: #15173C; }
        .dropdown-content a.ciclo-b { color: #A90505; }
        .dropdown-content a.ciclo-c { color: #3C6138; }
        .dropdown:hover .dropdown-content { display: block; }

        .dropdown-content a:hover { background-color: rgb(245, 245, 245); }

        .escenario-transicion {
            position: relative;
            flex: 1;
            width: 100%;
            overflow-x: hidden; 
            display: flex;
            flex-direction: column;}

        .escenario-transicion > main {
            padding-top: 61px;
            width: 100%;
            position: relative;
            box-sizing: border-box; }

        h1, h2, h3 { margin: 0; padding: 0; font-size: inherit; font-weight: inherit; font-family: inherit; color: inherit; display: block; }

         /* View de Portada */
        .view-home .contenedor-slide { 
            width: 100vw; 
            min-height: 160px;
            margin-left: calc(-50vw + 50%); 
            border-top: 3px solid #68061C; 
            border-bottom: 3px solid #68061C; 
            background: #ffffff00; 
            overflow: hidden; 
            margin-bottom: -20px;
            position: relative; 
            height: 160px;
             background-image: url('imagenes/fondomenu.webp'); 
            background-repeat: repeat-x;
            background-size: auto 100%;
            background-position: center;   }

        .view-home .home-titulos { 
            padding: 0; 
            text-align: center;  
            padding-top: 61px; 
            padding-bottom: 10px; 
            width: 100%; 
            box-sizing: border-box;        }

        .view-home .home-titulos .logo-portada {
            margin-top: 10px;
            width: auto;
            margin-bottom: -55px; 
            height: min(9vw, 210px); }
        
        .view-home .titulo-gnosis .texto-chico {
            letter-spacing: 5px; 
            font-size: clamp(20px, 3vw, 32px); 
            font-weight: 500;
            display: inline-block;
            line-height: 1.5; 
            margin-bottom: 0;
            margin-top: 0px;      }

        .view-home .titulo-gnosis { 
            font-family: 'Cormorant', 'Times New Roman', Times, serif;
            font-size: clamp(70px, 7vw, 120px);
            font-weight: 600; 
            letter-spacing: 6px; 
            text-transform: uppercase; 
            margin: 5px 5px 20px 5px; 
            line-height: 0.65; 
            background: linear-gradient(to bottom, #ff6b6b 0%, #ad0606 39%, #610f0f 50%, #ad0f0f 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent; 
            filter: drop-shadow(0px -0.5px 0px #ffaa0055)
                    drop-shadow(0.5px -0.5px 0px #ffaa0055)
                    drop-shadow(-0.5px 0.5px 0px #ffaa0055)
                    drop-shadow(0.9px 0.5px 0px #ffaa0055)
                    drop-shadow(3px 3px 2px rgb(0, 16, 4));     }

        .view-home .titulo-antorcha { 
            font-family: 'Tangerine', 'Georgia', cursive; 
            font-size: clamp(65px, 7vw, 90px);
            font-style: italic; 
            line-height: 1; 
            margin: 0 0 -10px 0;
            background: linear-gradient(to bottom, #531139 0%, #8e0a6f 39%, #600505 50%, #260524 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent; 
            will-change: filter;
            filter: drop-shadow(0px -0.3px 0px #2d080833)
                    drop-shadow(0.3px -0.3px 0px #67111133)
                    drop-shadow(-0.3px 0.3px 0px #8766ff33)
                    drop-shadow(0.5px 0.5px 0px #ffe66633)
                    drop-shadow(2px 2px 1.5px rgba(0, 0, 0, 0.3)); }

        .view-home .titulo-ensenanzas { 
            font-family: 'Marcellus', serif; 
            font-weight: bold; 
            letter-spacing: 3px; 
            text-transform: uppercase; 
            margin: 1px 0 -10px 0; 
            display: block; 
            font-size: clamp(26px, 2.8vw, 30px);
            background: linear-gradient(to bottom, #51844b 0%, #31552e 39%, #244b1f 50%, #2b5227 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent; 
            filter: drop-shadow(1.5px 1.5px 1px rgba(0, 0, 0, 0.4)); }

        .view-home .letrachica {
            font-family: 'Jost', sans-serif; 
            font-size: 18px; /* Ajustá acá el valor al tamaño que desees */
            font-weight: normal; 
            color: #525252; 
            margin: 0; 
            padding: 10px 15px 0 15px; 
            letter-spacing: 0.1px;
            line-height: 1.5;  }
        
        .view-home .slider-track { display: flex; animation: scroll-nonstop 120s linear infinite; width: max-content; filter: sepia(0.4) saturate(1);}
        .view-home .slider-track img { width: auto; height: 160px; object-fit: cover; flex-shrink: 0; }
        @keyframes scroll-nonstop { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
        .view-home .seccion-home { padding: 5px 0 20px 0; }
        .view-home .subtitulos-home { font-family: 'Marcellus', sans-serif; color: #9F1515; font-size: 30px; margin: 0 0 5px 0; font-weight: 500; }
        .view-home .recuadro-info { flex: 1; font-family: 'Jost', sans-serif; font-size: 16px; color: #444; text-align: justify; padding: 15px 30px; border-left: 3px solid #9f1515cb; line-height: 1.6; border-top: 3px solid #9F1515; border-bottom: 3px solid #9F1515; border-right: 3px solid #9F1515; background-color: #fdfdf03f; box-shadow: 0 4px 15px rgba(0,0,0,0.2);  }
        .view-home .home-recuadro { display: flex; align-items: stretch; gap: 30px; margin-bottom: 15px; }
        
        .view-home .home-videoinicial {width: 100%; max-width: 450px; display: flex; aspect-ratio: 16 / 9; align-items: center; justify-content: center; border: none;  box-shadow: 0 4px 15px rgba(0,0,0,0.2); margin: 0 auto; }
        .view-home .recuadro-video { width: 80%; display: block; margin: 0 auto; aspect-ratio: 16 / 9; border: none; border-radius: 4px; box-shadow: 0 4px 15px rgba(0,0,0,0.4); }
        
        .view-home .home-recuadro-inversa { display: flex; align-items: center; gap: 30px; margin-bottom: 15px; flex-direction: row-reverse; }
        .view-home .contenedor-img { flex: 0 0 250px; }
        .view-home .img-home { height: 100%; width: 100%; object-fit: cover; border-radius: 2px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
        .view-home .columna-video { flex: 0 0 450px; } 
        
        .modal-video {
            display: none; 
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background-color: rgba(0, 0, 0, 0.6); 
            z-index: 200000; 
            justify-content: center;
            align-items: center; }

        .modal-contenido {
            position: relative;
            width: 90%;
            max-width: 800px;
            aspect-ratio: 16 / 9;
            border: 1px solid #917800;
            box-shadow: 0px 10px 30px rgba(0,0,0,0.5);
            background: #1c1c1c;
            border-radius: 12px; }

        .modal-contenido iframe {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 12px; }

        .cerrar-modal {
            position: absolute;
            top: -33px; right: 10px;
            color: #ffffff;
            background-color: #000000;
            padding: 5px 10px;
            font-size: 14px;
            font-family: 'Jost', sans-serif;
            cursor: pointer;
            user-select: none;
            border-top: 1px solid #917800;
            border-left: 1px solid #917800;
            border-right: 1px solid #917800;
            border-bottom: none; 
            border-top-left-radius: 6px;
            border-top-right-radius: 6px;
            border-bottom-left-radius: 0px;
            border-bottom-right-radius: 0px;
            z-index: 10;
         }

        .recuadro-video .btn-play-home {
            transition: transform 0.1s ease;
        }

        .recuadro-video:hover .btn-play-home {
            transform: scale(1.15); /* 🌟 Agranda el logo al pasar el mouse por encima */
        }

        .contenedor-centro {
            text-align: center;
            margin: 20px auto;
            padding: 0 15px;
            max-width: 85%;
                    }

        .img-centro {
            max-width: 100%;
            height: auto;
            display: inline-block;
            border-radius: 5px; 
                }
        
        .view-home .btn-leer-mas { font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 600; color: #9F1515; cursor: pointer; border: none; background: none; padding: 0; margin-top: 5px; margin-left: 30px; text-decoration: underline; margin-bottom: 15px; }
        .view-home .texto-colapsable { font-family: 'Jost', sans-serif; font-size: 16px; color: #444; text-align: justify; line-height: 1.6; padding: 0 30px; }
        .view-home .texto-oculto { display: none; }
        .view-home .mensaje-final { font-family: 'Marcellus', serif; font-size: 20px;  color: #4d4d4d; text-align: center; margin: 40px auto 20px auto; max-width: 800px; padding: 0 20px; }
        .view-home .mensaje-final span.pregunta-final { font-weight: 600; color: #5c1a1a; display: block; font-style: normal; }
        .view-home .logo-final-container { display: flex; justify-content: center; margin-bottom: 0; padding-bottom: 0; }
        .view-home .logo-final { width: 350px; height: auto; display: block; }
        
        /* 🌟 ESTILOS DE LOS TEMARIOS INTERNOS */
        .lady-header {
            width: 100%; height: 120px; background-image: url('imagenes/imgtemario/lady.jpg'); background-repeat: repeat-x; background-position: top; margin-top: 0px; margin-bottom: 0; position: relative; z-index: 1; 
        }
        .header-ciclo-banner {
            color: #ffffff; text-align: center; padding: 15px 0; margin: 0 auto 10px auto;  width: 100%; font-family: 'Marcellus', serif; font-size: 22px; font-weight: bold; text-transform: uppercase; letter-spacing: 3px; 
        }
        .temario-cuerpo { max-width: 940px; margin: auto; width: 95%; padding-bottom: 10px; box-sizing: border-box; padding-top: 10px; }
        .item-temario { display: flex; align-items: center; gap: 35px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(0,0,0,0.25); }
        .item-temario:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
        .temario-info { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
        .temario-codigo { font-family: 'Marcellus', serif; font-size: 16px; font-weight: bold; letter-spacing: 3px; margin-bottom: -20px; }
        .temario-titulo { font-family: 'Marcellus', serif; font-size: 16px; font-weight: bold; letter-spacing: 3px; margin-bottom: 10px; }
        .temario-descripcion { width: 95%; font-family: 'Josefin Sans', sans-serif; font-size: 15px; color: #444; text-align: justify; line-height: 1.4; }
        .fotos-temario { flex: 0 0 250px; width: 250px; }
        .fotos-temario img { display: block; width: 100%; height: auto; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
        
        .temario-texto { font-family: 'Josefin Sans', sans-serif; font-size: 16px; color: #555; text-align: justify; line-height: 1.4; }

        .seminario-titulo { font-family: 'Cormorant', serif; font-size: 22px; color: #282626; margin: 1px 0 1px 0; font-weight: 700; line-height: 1.2; }
        .seminario-titulo span { color: #A90505; }
        .fondo-seminario { border: 2px solid; padding: 30px; margin-bottom: 30px; background-color: #ffffff00; border-radius: 4px; box-sizing: border-box; }

        summary::-webkit-details-marker { display: none;}
        summary {   list-style: none; }
        details[open] summary i.fa-chevron-down { transform: rotate(180deg); }

        .seccion-temario-interna { position: relative; margin-bottom: 0px; padding-top: 0px; scroll-margin-top: 60px;} 
        .seccion-temario-interna#temarioA .header-ciclo-banner { background-color: #15173C; }
        .seccion-temario-interna#temarioA .fondo-seminario { border: 2px solid #5c1a1a; padding: 20px; margin-bottom: 20px; background-color: rgba(255, 255, 255, 0.8); border-radius: 4px; }
        .seccion-temario-interna#temarioA .temario-codigo { color: #041d43; }
        .seccion-temario-interna#temarioA .temario-titulo { color: #A90505; }
        .seccion-temario-interna#temarioA .fotos-temario img { border: 2px solid #5c1a1a; }

        .seccion-temario-interna#temarioB .header-ciclo-banner { background-color: #8B0000; }
        .seccion-temario-interna#temarioB .fondo-seminario { border: 2px solid #5c1a1a; padding: 20px; margin-bottom: 20px; background-color: rgba(255, 255, 255, 0.8); border-radius: 4px; }
        .seccion-temario-interna#temarioB .temario-codigo { color: #8B0000; }
        .seccion-temario-interna#temarioB .temario-titulo { color: #A90505; }
        .seccion-temario-interna#temarioB .fotos-temario img { border: 2px solid #5c1a1a; }

        .seccion-temario-interna#temarioC .header-ciclo-banner { background-color: #345630; }
        .seccion-temario-interna#temarioC .fondo-seminario { border: 2px solid #3C6138; padding: 20px; margin-bottom: 20px; background-color: rgba(255, 255, 255, 0.8); border-radius: 4px; }
        .seccion-temario-interna#temarioC .temario-codigo { color: #3C6138; }
        .seccion-temario-interna#temarioC .temario-titulo { color: #A90505; }
        .seccion-temario-interna#temarioC .fotos-temario img { border: 2px solid #3C6138; }

        .icono-bandera {
             width: 22px; height: 22px; object-fit: cover; border-radius: 50%; vertical-align: middle; display: inline-block; margin-right: 5px; box-shadow: 0 1px 3px rgba(0,0,0,0.15);
        }
            
        /* --- PIE DE PÁGINA GLOBAL --- */
        footer { background-color: #5c1a1a; color: #ffffff; padding: 40px 0 20px 0; font-family: 'Jost', sans-serif; }
        .footer-container { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 40px; align-items: start; }
        .footer-links li { margin-bottom: 8px; list-style: none;}
        .footer-links a { color: #fff; text-decoration: none; opacity: 0.8; }
        .footer-links a:hover { text-decoration: underline; opacity: 1; }
        .footer-social { display: flex; gap: 15px; margin-top: 15px; justify-content: flex-end; }
        .footer-social a { color: #5c1a1a; background: #fff; width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
        .footer-bottom { text-align: center; padding-top: 30px; margin-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; opacity: 0.7; }
        .logo-footer { height: 100px; width: auto; margin-bottom: 15px; display: block; margin-left: auto; margin-right: auto; }
        .footer-container .footer-col:nth-child(2) { text-align: center; }
        .footer-container .footer-col:nth-child(3) { text-align: right; }

        /* ============================================================
   MODO OSCURO (INDEX)
   ============================================================ */
html.dark-mode body {
    background-color: #121212;
    color: #d1d1d1;
}

html.dark-mode body::before {
    background-image: linear-gradient(to bottom, rgba(18, 18, 18, 0.4) 40%, rgb(18, 18, 18) 100%), url('imagenes/aulavirtual/columnas.webp');
    opacity: 0.35;
}

html.dark-mode nav {
    background-image: linear-gradient(rgba(20, 20, 20, 0.85), rgba(20, 20, 20, 0.85)), url('imagenes/fondomenu.webp');
}

html.dark-mode nav a {
    color: #c9a674;
}

html.dark-mode nav a:hover {
    color: #ffedc3;
}

html.dark-mode .mobile-menu-icon {
    color: #d4a373;
}

html.dark-mode .dropdown-content {
    background: #1c1c1c;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Borde inferior general de los enlaces dentro del dropdown */
html.dark-mode .dropdown-content a {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

html.dark-mode .view-home .titulo-antorcha {
    background: linear-gradient(to bottom, #ffe89e 0%, #e39a3b 45%, #b85d19 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0px 0px 4px rgba(76, 0, 130, 0.767))
           drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.8));
}

/* ============================================================
   COLORES DE CICLOS (TEMARIO Y AULA VIRTUAL) - MODO OSCURO
   ============================================================ */
html.dark-mode .dropdown-content a.ciclo-a { 
    color: #3566c2; /* Azul más luminoso para fondo oscuro (en claro es #15173C) */
}

html.dark-mode .dropdown-content a.ciclo-b { 
    color: #ba2929; /* Rojo más visible para fondo oscuro (en claro es #A90505) */
}

html.dark-mode .dropdown-content a.ciclo-c { 
    color: #3e8638; /* Verde más visible para fondo oscuro (en claro es #3C6138) */
}

html.dark-mode .dropdown-content a.ciclo-d { 
    color: #8d419b; /* Tono arena/dorado para el Ciclo PEG */
}

/* Enlaces del submenú Enlaces (Extractos, Biblioteca, Películas, MGI) */
html.dark-mode .dropdown-content a:not([class*="ciclo-"]) {
    color: #dec9b8;
}

/* Fondos al pasar el mouse por encima */
html.dark-mode .dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.07);
}

html.dark-mode .dropdown-content a:hover {
    background-color: #2a2a2a;
}

html.dark-mode .view-home .subtitulos-home {
    color: #c72121; /* Modifica aquí el color que desees (ej: rojo claro, dorado, etc.) */
}

html.dark-mode .view-home .letrachica,
html.dark-mode .view-home .mensaje-final {
    color: #b0b0b0;
}

html.dark-mode .view-home .recuadro-info {
    background-color: #1a1a1a83;
    color: #d2cbbc;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

html.dark-mode .view-home .texto-colapsable {
    color: #cccccc;
}

html.dark-mode .view-home .contenedor-slide {
    background-image: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.8)), url('imagenes/fondomenu.webp');
}


html.dark-mode .temario-descripcion,
html.dark-mode .temario-texto {
    color: #b0b0b0;
}

html.dark-mode .item-temario {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

html.dark-mode .view-home .mensaje-final span.pregunta-final {
    color: #b13d3d; /* Ajusta aquí el color que desees (ej: #ff6b6b, #d4a373, #e32f22, etc.) */
}

/* Color del texto del título del seminario (ej: ● Seminario I:) */
html.dark-mode .seminario-titulo {
    color: #e0e0e0; /* Gris claro / blanco suave */
}

/* Color del texto destacado dentro del seminario (ej: La Gnosis) */
html.dark-mode .seminario-titulo span {
    color: #e73a3a; /* Rojo luminoso para destacar sobre fondo oscuro */
}

/* Flecha desplegable del acordeón */
html.dark-mode summary i.fa-chevron-down {
    color: #e73a3a;
}

/* Quitar el fondo claro en todos los acordeones abiertos (A, B y C) */
html.dark-mode .seccion-temario-interna#temarioA .fondo-seminario,
html.dark-mode .seccion-temario-interna#temarioB .fondo-seminario,
html.dark-mode .seccion-temario-interna#temarioC .fondo-seminario,
html.dark-mode .fondo-seminario {
    background-color: rgba(12, 12, 12, 0.379);
}

/* Código de clase en Ciclo A para modo oscuro (azul claro visible) */
html.dark-mode .seccion-temario-interna#temarioA .temario-codigo {
    color: #31568e; /* Ajusta aquí el tono de azul claro si prefieres otro valor */
}

.btn-dark-nav {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid rgba(104, 6, 28, 0.3);
    color: #5e0317;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.3s ease;
    z-index: 10;
}

.btn-dark-nav:hover {
    background: rgba(104, 6, 28, 0.1);
    transform: translateY(-50%) scale(1.1);
}

html.dark-mode .btn-dark-nav {
    color: #d4a373;
    border-color: rgba(212, 163, 115, 0.4);
}

html.dark-mode .btn-dark-nav:hover {
    background: rgba(212, 163, 115, 0.15);
}

/* Botón flotante para volver arriba - Oculto por defecto en computadoras */
.botonsubir {
    display: none;
}

        /*  MÓDULO RESPONSIVO UNIFICADO (PARA CELULARES y TABLETAS) */
        @media (max-width: 768px) 
        {
            .transicion-blur {
                backdrop-filter: none ;
                -webkit-backdrop-filter: none ;
                background-color: #ffffff ;
                background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 20%, rgb(255, 255, 255) 100%) ;
                animation: desvanecerBlur 1s ease-out forwards ;
            }
            
            .logo-menu { display: none ; }

            body {
                overflow-y: auto;
                overflow-x: hidden;
                height: auto;
                min-height: 100vh;
                background: transparent;
                }

            body::before {  
                background-image: url('imagenes/aulavirtual/columnas.webp');
                position: fixed;
                top: 0;
                left: 0;
                width: 100vw;
                height: 100vh;
                background-size: cover;
                background-position: center top;
                z-index: -1; }

            nav .cuerpo { 
                display: flex ; flex-direction: row ; justify-content: space-between ; align-items: center ; min-height: 55px; width: 100%; padding: 0;
                }
            nav .cuerpo .menu-lista > li { display: block ; flex: 1 ; text-align: center ; padding: 12px 0 ; box-sizing: border-box ; }

            nav .cuerpo .menu-lista > li a {
                font-size: 0 ; letter-spacing: 0 ; -webkit-text-stroke: 0px ; display: inline-flex ; justify-content: center; align-items: center; width: 100% ;
                }
            nav .cuerpo .menu-lista > li a i { font-size: 21px ; color: #68061C ; vertical-align: middle ; }
            nav .cuerpo .menu-lista > li.dropdown > a i.fa-caret-down { font-size: 13px ; margin-left: 10px ; opacity: 0.7 ; }
            
            .dropdown:hover .dropdown-content { display: none ; } 
            .dropdown.abierto .dropdown-content { 
                display: block ; position: absolute ; top: 100% ; left: 50% ; transform: translateX(-50%) ; width: 160px ; box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.5) ; background: #ffffff ; background-image: none ; border: 1px solid rgba(92, 26, 26, 0.15) ; border-radius: 8px; z-index: 10000;
                }

            .menu-lista > li:nth-of-type(2) .dropdown-content::before { content: "Temario"; }
            .menu-lista > li:nth-of-type(3) .dropdown-content::before { content: "Aula Virtual"; }
            .menu-lista > li:nth-of-type(4) .dropdown-content::before { content: "Enlaces"; }

            .dropdown-content::before {
                display: block ; padding: 10px 16px 6px 16px ; font-family: 'Marcellus', serif ; font-size: 14px ; color: #AD0606 ; text-transform: uppercase ; letter-spacing: 1.5px ; font-weight: bold ; text-align: center; background-color: rgba(68, 7, 7, 0.1) ; border-bottom: 1px solid rgba(104, 6, 28, 0.2) 
                }

            .dropdown-content a { 
                display: block !important; font-size: 18px !important; font-family: 'Marcellus', serif; padding: 12px 16px !important; text-align: left !important; width: auto !important; border-bottom: 1px solid rgba(0,0,0,0.05);
                }

            main { padding-top: 1px ; }
            

            .view-home .home-titulos .logo-portada {
                width: 40vw; 
                height: auto; 
                margin-top: 10px;
                margin-bottom: -10vw;
                display: inline-block; }
        
            .view-home .titulo-gnosis { font-size: 80px; letter-spacing: 3px ; padding-top: 0px;}
            .view-home .titulo-antorcha { font-size: 41px; font-weight: 700; margin-top: -10px;}
            .view-home .titulo-ensenanzas { font-size: 20px; letter-spacing: 2px ; margin-top: 15px; margin-bottom: -10px; }
        
            .view-home .letrachica {
                width: 100%;
                max-width: 100%;
                padding-left: 2px;
                padding-right: 2px;
                margin: 0 auto;
                /* 🌟 SOLUCIÓN: En pantallas chicas como el iPhone SE baja hasta 14px para que no quiebre la palabra, y en pantallas más grandes sube a 17px */
                font-size: clamp(14px, 4.2vw, 17px); 
                line-height: 1.4;
                 }

            .view-home .home-recuadro, .view-home .home-recuadro-inversa { flex-direction: column; align-items: center; }
            .view-home .contenedor-img { display: none; flex: 0 0 auto; width: 350px; height: 180px; margin-bottom: 0px; }
            .view-home .img-home { height: 200px; object-position: top center; }
            .view-home .columna-video { flex: 0 0 auto; width: 100%; display: flex; justify-content: center;}
            .modal-contenido { width: 95%; }
            .cerrar-modal { top: -33px; right: 10px; }
            .view-home .home-videoinicial { width: 100%; max-width: 95%; display: flex; }
            .view-home .logo-final { width: 250px; }
            
            .view-home .subtitulos-home {font-size: 25px; }
            .view-home .slider-track { animation: scroll-nonstop 99s linear infinite; width: max-content; }
            .view-home .slider-track img { width: auto; height: 140px; }
            .view-home .contenedor-slide { height: 140px; min-height: 140px; margin-bottom: -30px;}          
            .view-home .recuadro-info { padding: 15px 15px; }
            .header-ciclo-banner { font-size: 15px; }
            .view-temarioa .item-temario, .view-temariob .item-temario, .view-temarioc .item-temario { 
                flex-direction: column-reverse; gap: 15px ; margin-bottom: 40px ; padding-bottom: 20px; border-bottom: 1px solid rgba(0,0,0,0.05);
                }
            .view-temarioa .fotos-temario, .view-temariob .fotos-temario, .view-temarioc .fotos-temario { 
                flex: 0 0 auto ; width: 100% ; max-width: 250px ; 
                }
            .view-temarioa .temario-info, .view-temariob .temario-info, .view-temarioc .temario-info { 
                width: 100% ;
                }
            .footer-container { grid-template-columns: 1fr ; text-align: center ; gap: 0px; }
            .footer-col, .footer-container .footer-col:nth-child(2), .footer-container .footer-col:nth-child(3) { text-align: center; }
            .footer-links { padding: 0; }
            .footer-links a { font-size: 20px; display: block; margin-bottom: 10px; }
            .footer-social { justify-content: center; margin: 20px 0 ; } 
     
            /* ============================================================
   MODO OSCURO para CELULARES y TABLETAS
   ============================================================ */
         html.dark-mode .mobile-menu-icon {
        color: #d08419;
    }

    html.dark-mode nav .cuerpo .menu-lista > li a i {
        color: #ac8140;
    }

    html.dark-mode .menu-lista > li:nth-of-type(2) .dropdown-content::before {
    color: #c99449; /* <-- Ajusta aquí el color exclusivo para TEMARIO */
}
    html.dark-mode .menu-lista > li:nth-of-type(3) .dropdown-content::before {
    color: #c99449; /* <-- Ajusta aquí el color exclusivo para AULA VIRTUAL */
}

html.dark-mode .menu-lista > li:nth-of-type(4) .dropdown-content::before {
    color: #c99449; /* <-- Ajusta aquí el color exclusivo para ENLACES */
}

    html.dark-mode .dropdown.abierto .dropdown-content {
        background: #1c1c1c;
    }

    html.dark-mode .dropdown-content::before {
        background-color: rgba(255, 255, 255, 0.05);
    }

.botonsubir {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background-color: #68061C;
    color: #ffffff;
    border-radius: 50%;
    border: none;
    outline: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    z-index: 99999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

    /* Clase que se activa mediante scroll */
    .botonsubir.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}
        
        @media (min-height: 1000px) 
            {
                .view-home .home-titulos .logo-portada {
                    margin-top: 0px;
                    margin-bottom: -50px; 
                    width: 240px; /* 🌟 Logo más grande en la tableta */
                    height: 240px;
                }
                .view-home .home-titulos {
                    padding-top: 90px; 
                }
                .view-home .titulo-gnosis {
                    font-size: 105px; /* 🌟 Título Gnosis más imponente */
                    letter-spacing: 5px;
                }
                .view-home .titulo-antorcha {
                    font-size: 58px; /* 🌟 Texto secundario con mayor presencia */
                    margin-top: -10px;
                }
                .view-home .titulo-ensenanzas {
                    font-size: 26px; /* 🌟 Mayor legibilidad en la tableta */
                }
                .view-home .letrachica {
                    font-size: 20px; /* 🌟 Texto de las clases más visible */
                }
            
            }
    