/* =====================================================================
   EdukTech Theme  -  rediseño frontend público
   Autor: agente "diseno"
   Este archivo re-estiliza el marcado existente (no cambia la lógica ni
   las fuentes de datos). Se enlaza desde el layout del frontend.
   ===================================================================== */

/* ---- Paleta ---- */
:root {
    --ek-navy: #0a1033;
    --ek-navy-2: #0d1640;
    --ek-navy-3: #111a4d;
    --ek-blue: #1a4fd8;
    --ek-blue-light: #2f6bff;
    --ek-red: #e31b23;
    --ek-red-dark: #c5141b;
    --ek-text: #1f2437;
    --ek-muted: #6d7289;
    --ek-border: #e6e8f0;
    --ek-bg-soft: #f5f7fb;
    --ek-yellow: #ffb400;
    --ek-font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Reforzamos la tipografía sans moderna en todo el frontend */
body,
.light-mode,
.dark-mode {
    font-family: var(--ek-font);
}

/* Alineamos las variables del tema del proyecto con la paleta EdukTech
   (sin romper overrides del admin: solo definimos valores por defecto) */
.light-mode {
    --ot-primary: var(--ek-blue);
    --ot-primary-rgb: 26, 79, 216;
    --ot-primary-btn: var(--ek-red);
    --ratting-color: var(--ek-yellow);
}

/* =====================================================================
   1. BARRA SUPERIOR (navy top-bar)
   ===================================================================== */
.ek-topbar {
    background: var(--ek-navy);
    color: #cdd3ee;
    font-size: 13px;
}
.ek-topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    flex-wrap: wrap;
    gap: 6px;
}
.ek-topbar .ek-welcome {
    margin: 0;
    color: #cdd3ee;
    font-weight: 500;
}
.ek-topbar .ek-welcome strong {
    color: #fff;
}
.ek-topbar .ek-welcome .ek-accent {
    color: var(--ek-red);
}
.ek-topbar .ek-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ek-topbar .ek-socials a {
    color: #cdd3ee;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all .2s ease;
    font-size: 14px;
}
.ek-topbar .ek-socials a:hover {
    background: var(--ek-blue);
    color: #fff;
}

/* =====================================================================
   2. CABECERA BLANCA
   ===================================================================== */
.light-mode header .main-header,
header .main-header {
    background: #fff;
    box-shadow: 0 2px 14px rgba(10, 16, 51, .06);
}
header .header-area.header-sticky {
    background: #fff;
}
.menu-wrapper {
    min-height: 74px;
}

/* Menú principal */
.main-menu .listing > .single-list > a.single {
    color: var(--ek-text);
    font-weight: 600;
    font-size: 15px;
    position: relative;
    padding-bottom: 4px;
}
.main-menu .listing > .single-list > a.single:hover {
    color: var(--ek-blue);
}
.main-menu .listing > .single-list.active > a.single {
    color: var(--ek-red);
}
.main-menu .listing > .single-list.active > a.single::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--ek-red);
    border-radius: 2px;
}

/* Buscador en cabecera */
.header-search .input-form input {
    background: var(--ek-bg-soft);
    border: 1px solid var(--ek-border);
    border-radius: 24px;
    padding: 8px 40px 8px 16px;
    min-width: 170px;
    color: var(--ek-text);
}
.header-search .input-form .icon {
    color: var(--ek-blue);
}

/* Botones de sesión */
header .btn-primary-fill,
.ek-btn-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 2px solid var(--ek-blue);
    color: var(--ek-blue) !important;
    background: transparent;
    font-weight: 600;
    border-radius: 24px;
    padding: 7px 18px;
    transition: all .2s ease;
}
header .btn-primary-fill:hover,
.ek-btn-login:hover {
    background: var(--ek-blue);
    color: #fff !important;
}
.ek-btn-register {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ek-red);
    border: 2px solid var(--ek-red);
    color: #fff !important;
    font-weight: 600;
    border-radius: 24px;
    padding: 7px 18px;
    transition: all .2s ease;
}
.ek-btn-register:hover {
    background: var(--ek-red-dark);
    border-color: var(--ek-red-dark);
    color: #fff !important;
}

/* iconos cabecera (carrito, favoritos, modo) */
.cart .cart-list .cart-items,
.cart .cart-list .change-mode {
    color: var(--ek-text);
}
.cart .cart-list .count {
    background: var(--ek-red);
    color: #fff;
}

/* =====================================================================
   3. HERO
   ===================================================================== */
.hero-area {
    background: radial-gradient(circle at 70% 40%, #16215c 0%, var(--ek-navy) 60%);
    position: relative;
}
.hero-area .ot-banner-inner {
    min-height: 460px;
    border-radius: 0;
    background-size: cover;
    background-position: center right;
    position: relative;
}
.hero-area .ot-banner-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,16,51,.92) 0%, rgba(10,16,51,.65) 45%, rgba(10,16,51,.15) 100%);
    z-index: 0;
}
.hero-area .banner-text {
    position: relative;
    z-index: 1;
    max-width: 620px;
    padding: 40px 0;
}
.hero-area .banner-text .title {
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.05;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
}
.hero-area .banner-text .title .sub-title {
    display: block;
    color: #fff;
}
.hero-area .banner-text .pera {
    font-size: 17px;
    max-width: 480px;
    color: #d6daf2;
}
/* Botón primario del hero -> rojo */
.hero-area .banner-text .fill-btn {
    background: var(--ek-red);
    border: none;
    color: #fff;
    border-radius: 26px;
    padding: 12px 28px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero-area .banner-text .fill-btn:hover {
    background: var(--ek-red-dark);
}

/* Botones manuales del hero (cuando no hay sliders admin, usamos partial) */
.ek-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
}
.ek-btn-red,
.ek-btn-blue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 26px;
    padding: 12px 26px;
    font-weight: 600;
    border: none;
    transition: all .2s ease;
}
.ek-btn-red { background: var(--ek-red); color: #fff; }
.ek-btn-red:hover { background: var(--ek-red-dark); color: #fff; }
.ek-btn-blue { background: var(--ek-blue); color: #fff; }
.ek-btn-blue:hover { background: var(--ek-blue-light); color: #fff; }
.ek-hero-title .ek-line-blue { color: #2f6bff; display:block; }
.ek-hero-title .ek-line-mix { display:block; }
.ek-hero-title .ek-line-mix .ek-b { color:#2f6bff; }
.ek-hero-title .ek-line-mix .ek-r { color: var(--ek-red); }

/* =====================================================================
   4. FRANJA DE BENEFICIOS (flotante)
   ===================================================================== */
.ek-benefits {
    position: relative;
    z-index: 3;
    margin-top: -56px;
    margin-bottom: 40px;
}
.ek-benefits .ek-benefits-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(10, 16, 51, .12);
    padding: 26px 18px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.ek-benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 6px 10px;
    border-right: 1px solid var(--ek-border);
}
.ek-benefit:last-child { border-right: none; }
.ek-benefit .ek-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    margin-bottom: 12px;
}
.ek-benefit:nth-child(odd) .ek-icon { background: var(--ek-red); }
.ek-benefit:nth-child(even) .ek-icon { background: var(--ek-blue); }
.ek-benefit h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ek-text);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.ek-benefit p {
    font-size: 12.5px;
    color: var(--ek-muted);
    margin: 0;
    line-height: 1.45;
}

/* =====================================================================
   5. TÍTULOS DE SECCIÓN
   ===================================================================== */
.section-tittle h3,
.ek-section-title {
    color: var(--ek-text);
    font-weight: 700;
}
.ek-section-title .ek-accent { color: var(--ek-red); }
.categories-area .section-tittle,
.testimonial-area .section-tittle {
    text-align: center;
}

/* Botón "ver todos" tipo contorno azul */
.btn-primary-fill.bisg-btn {
    border: 1.5px solid var(--ek-blue);
    color: var(--ek-blue) !important;
    background: #eef2ff;
    border-radius: 22px;
    padding: 8px 18px;
    font-weight: 600;
}
.btn-primary-fill.bisg-btn:hover {
    background: var(--ek-blue);
    color: #fff !important;
}

/* =====================================================================
   6. CATEGORÍAS (tarjetas oscuras)
   ===================================================================== */
.categories-active .swiper-slide {
    background: transparent !important;
    height: auto;
}
.categories-area .categories-active .single-categories {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 190px;
    height: 100%;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start !important;
    padding: 18px !important;
    border: 1px solid rgba(255,255,255,.06) !important;
    background:
        radial-gradient(circle at 75% 25%, rgba(26,79,216,.55) 0%, rgba(26,79,216,0) 55%),
        linear-gradient(160deg, #13205e 0%, #0a1033 70%) !important;
    color: #fff;
    text-align: left !important;
    box-shadow: 0 10px 30px rgba(10,16,51,.18);
    transition: transform .2s ease, box-shadow .2s ease;
}
.categories-area .categories-active .swiper-slide:nth-child(even) .single-categories {
    background:
        radial-gradient(circle at 75% 25%, rgba(227,27,35,.45) 0%, rgba(227,27,35,0) 55%),
        linear-gradient(160deg, #1a1440 0%, #0a1033 70%) !important;
}
.categories-area .categories-active .single-categories:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(10,16,51,.28);
}
.categories-area .categories-active .single-categories .icon {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 52px;
    height: 52px;
    margin: 0 !important;
    border-radius: 50%;
    background: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 0 0 4px rgba(227,27,35,.85);
}
.categories-area .categories-active .single-categories .icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: none;
}
.categories-area .categories-active .single-categories .cat-caption .title {
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}
.categories-area .categories-active .single-categories::after {
    content: "Más información →";
    display: block;
    margin-top: 8px;
    color: #9fb0ff;
    font-size: 12.5px;
    font-weight: 600;
}

/* =====================================================================
   7. TARJETAS DE CURSO
   ===================================================================== */
.course-widget {
    background: #fff;
    border: 1px solid var(--ek-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(10, 16, 51, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.course-widget:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(10, 16, 51, .12);
}
.course-widget .course-widget-img img {
    height: 165px;
    object-fit: cover;
    width: 100%;
}
.course-widget .course-badge {
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    text-transform: uppercase;
    font-weight: 700 !important;
    letter-spacing: .4px;
    color: #fff !important;
    background: var(--ek-red) !important;
}
/* alterna azul/rojo si el tipo es "nuevo"/"new" vía clases del proyecto */
.course-widget .course-badge.bg-info,
.course-widget .course-badge.bg-primary {
    background: var(--ek-blue) !important;
}
.course-widget .widget-mid {
    padding: 16px;
}
.course-widget .title {
    color: var(--ek-text);
    font-weight: 700 !important;
}
.course-widget .widget-footer .btn-primary-outline {
    border: none;
    background: transparent;
    color: var(--ek-blue);
    font-weight: 600;
    padding: 0;
}
.course-widget .widget-footer .btn-primary-outline:hover {
    color: var(--ek-red);
}
.course-widget .pricing .text-title { color: var(--ek-text); }

/* =====================================================================
   8. BANDA DE ESTADÍSTICAS
   ===================================================================== */
.ek-stats {
    background: var(--ek-navy);
    border-radius: 16px;
    padding: 34px 20px;
    margin: 20px 0 50px;
}
.ek-stats .ek-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    text-align: center;
}
.ek-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border-right: 1px solid rgba(255,255,255,.12);
    padding: 0 8px;
}
.ek-stat:last-child { border-right: none; }
.ek-stat .ek-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(47,107,255,.18);
    color: #6f9bff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 4px;
}
.ek-stat .ek-stat-number {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.ek-stat .ek-stat-label {
    font-size: 13px;
    color: #b9c0e6;
    line-height: 1.3;
}

/* =====================================================================
   9. BLOG / NOTICIAS
   ===================================================================== */
.ot-blog-area .blog-single {
    background: #fff;
    border: 1px solid var(--ek-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(10,16,51,.06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.ot-blog-area .blog-single:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(10,16,51,.12);
}
.ot-blog-area .blog-img img {
    height: 170px;
    object-fit: cover;
    width: 100%;
}
.ot-blog-area .blog-cap { padding: 16px; }
.ot-blog-area .blog-cap .title { color: var(--ek-text); }
.ot-blog-area .blog-cap .title:hover { color: var(--ek-blue); }

/* =====================================================================
   10. TESTIMONIOS
   ===================================================================== */
.testimonial-area .single-testimonial .testimonial-caption {
    background: #fff;
    border: 1px solid var(--ek-border);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(10,16,51,.06);
    padding: 26px 22px;
    text-align: left;
}
.testimonial-area .founder-img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
}
.testimonial-area .testimonialCap p {
    color: var(--ek-text);
    font-style: italic;
}
.testimonial-area .founder-text span {
    color: var(--ek-text);
    font-weight: 700;
}
.testimonial-area .founder-text p { color: var(--ek-muted); }

/* =====================================================================
   11. BOLETÍN (newsletter)
   ===================================================================== */
.ek-newsletter {
    background: var(--ek-navy);
}
.ek-newsletter .ek-news-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 0;
    flex-wrap: wrap;
}
.ek-newsletter .ek-news-left {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #fff;
}
.ek-newsletter .ek-news-left .ek-news-icon { font-size: 40px; color: #6f9bff; }
.ek-newsletter .ek-news-left h3 { color: #fff; margin: 0 0 4px; font-weight: 700; }
.ek-newsletter .ek-news-left p { color: #b9c0e6; margin: 0; }
.ek-newsletter form {
    display: flex;
    gap: 10px;
    flex: 1;
    min-width: 280px;
    max-width: 520px;
}
.ek-newsletter form input {
    flex: 1;
    border: none;
    border-radius: 26px;
    padding: 12px 18px;
    background: #fff;
    color: var(--ek-text);
}
.ek-newsletter form button {
    background: var(--ek-red);
    color: #fff;
    border: none;
    border-radius: 26px;
    padding: 12px 24px;
    font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 13px;
}
.ek-newsletter form button:hover { background: var(--ek-red-dark); }

/* =====================================================================
   12. PIE DE PÁGINA
   ===================================================================== */
footer .footer-wrapper,
footer .footer-bg {
    background: var(--ek-navy) !important;
}
footer .footer-caption .pera2 { color: #b9c0e6; }
footer .footer-caption .title { color: #fff; font-weight: 700; }
footer .footer-caption .listing .list a {
    color: #b9c0e6;
    transition: color .2s ease;
}
footer .footer-caption .listing .list a:hover { color: #fff; padding-left: 4px; }
footer .footer-copy-right .pera { color: #8b93c0 !important; }

/* Redes sociales en el pie (si existen) */
.ek-footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    list-style: none;
    padding: 0;
}
.ek-footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #cdd3ee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}
.ek-footer-socials a:hover { background: var(--ek-blue); color: #fff; }

/* Logos de pago */
.ek-pay-logos {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    margin-top: 10px;
}
.ek-pay-logos i { font-size: 30px; color: #cdd3ee; }

/* =====================================================================
   13. RESPONSIVE
   ===================================================================== */
@media (max-width: 1199px) {
    .ek-benefits .ek-benefits-card { grid-template-columns: repeat(3, 1fr); }
    .ek-benefit:nth-child(3) { border-right: none; }
    .ek-stats .ek-stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
    .ek-stat:nth-child(3) { border-right: none; }
}
@media (max-width: 767px) {
    .ek-topbar .ek-welcome { font-size: 12px; }
    .hero-area .ot-banner-inner { min-height: 380px; }
    .hero-area .banner-text .title { font-size: 34px; }
    .ek-benefits { margin-top: -30px; }
    .ek-benefits .ek-benefits-card { grid-template-columns: repeat(2, 1fr); }
    .ek-benefit { border-right: none; border-bottom: 1px solid var(--ek-border); padding-bottom: 14px; }
    .ek-stats .ek-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .ek-stat { border-right: none; }
    .ek-newsletter .ek-news-inner { flex-direction: column; align-items: flex-start; }
    .ek-newsletter form { max-width: 100%; }
}
@media (max-width: 479px) {
    .ek-benefits .ek-benefits-card { grid-template-columns: 1fr; }
    .ek-stats .ek-stats-grid { grid-template-columns: 1fr; }
    .ek-hero-btns { flex-direction: column; }
    .ek-hero-btns a { justify-content: center; }
}

/* =====================================================================
   14. FALLBACK DE IMAGEN DE HERO
   Si un slider del admin no tiene imagen, el arte recortado del diseño
   sirve de respaldo. Las imágenes del admin siempre tienen prioridad
   (se aplican como background-image inline en el marcado).
   ===================================================================== */
.hero-area .ot-banner-inner {
    background-color: var(--ek-navy);
    background-image: url('/frontend/img/eduktech/hero-bg.jpg');
}
/* Nota: el admin aplica background-image en el atributo style inline del
   .ot-banner-inner, que por especificidad siempre prevalece sobre esta
   regla; el respaldo solo se ve cuando no hay imagen del slider. */

/* =====================================================================
   15. CORRECCIÓN DE CABECERA (menú en una línea, buscador como icono)
   ===================================================================== */
@media (min-width: 992px) {
    header .ek-mobile-only { display: none !important; }
    header .main-menu { flex: 1 1 auto; display: flex !important; justify-content: center; min-width: 0; }
    header .main-menu nav { width: auto; }
    header .main-menu #navigation {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 4px;
        margin: 0;
    }
    header .main-menu #navigation > .single-list { margin: 0 !important; padding: 0 !important; }
    header .main-menu #navigation > .single-list > a.single {
        display: block;
        white-space: nowrap;
        padding: 26px 11px !important;
        font-size: 14.5px;
        line-height: 1;
    }
    header .main-menu #navigation > .single-list.active > a.single::after {
        left: 11px; right: 11px; width: auto; bottom: 16px;
    }
}
@media (max-width: 991.98px) {
    header .ek-desktop-only { display: none !important; }
}
header .menu-wrapper { gap: 12px; flex-wrap: nowrap; }
header .menu-wrapper .logo { flex: 0 0 auto; }
header .menu-wrapper .logo img { max-height: 54px; width: auto; }
header .cart { display: flex; align-items: center; flex-wrap: nowrap; gap: 4px; margin: 0; flex: 0 0 auto; }
header .cart .cart-list { margin: 0 !important; }
header .ek-btn-login, header .ek-btn-register { white-space: nowrap; font-size: 14px; padding: 8px 16px; line-height: 1.2; }
header .ek-btn-login.ml-20 { margin-left: 8px !important; }
header #otros-btn { white-space: nowrap; color: var(--ek-text); }

/* Buscador desplegable */
header .ek-search-toggle > button { font-size: 20px; color: var(--ek-text); line-height: 1; }
header .ek-search-drop {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 9999;
    width: 320px;
    background: #fff;
    border: 1px solid var(--ek-border);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(10,16,51,.15);
    padding: 8px;
    gap: 6px;
}
header .ek-search-drop.show { display: flex; }
header .ek-search-drop input {
    flex: 1;
    border: 1px solid var(--ek-border);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
}
header .ek-search-drop input:focus { border-color: var(--ek-blue); }
header .ek-search-drop button {
    border: 0;
    border-radius: 8px;
    background: var(--ek-red);
    color: #fff;
    width: 40px;
}

/* Móvil: los botones de sesión ya están en el menú inferior "Perfil" */
@media (max-width: 575.98px) {
    header .ek-auth-btn { display: none !important; }
}
@media (min-width: 576px) and (max-width: 991.98px) {
    header .ek-auth-register { display: none !important; }
}

/* Título de categorías */
.ek-cat-title h2 { font-size: 28px; font-weight: 800; color: var(--ek-text); margin: 0; position: relative; padding-bottom: 12px; }
.ek-cat-title h2 span { color: var(--ek-red); }
.ek-cat-title h2::after {
    content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    width: 90px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--ek-blue) 50%, var(--ek-red) 50%);
}

/* Cabecera en pantallas medianas */
@media (min-width: 1400px) { header .ek-below-xxl { display: none !important; } }
@media (min-width: 992px) and (max-width: 1399.98px) {
    header .ek-xxl-only { display: none !important; }
    header .main-menu #navigation > .single-list > a.single { padding-left: 9px !important; padding-right: 9px !important; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    header .ek-auth-register { display: none !important; }
    header .menu-wrapper .logo img { max-height: 44px; }
}

/* Menú móvil (slicknav) */
.slicknav_menu .slicknav_nav { padding: 8px 16px 16px; }
.slicknav_menu .slicknav_nav li { border-bottom: 1px solid var(--ek-border); }
.slicknav_menu .slicknav_nav li:last-child { border-bottom: 0; }
.slicknav_menu .slicknav_nav a { display: block; padding: 11px 4px !important; font-weight: 600; font-size: 15px; color: var(--ek-text) !important; }
.slicknav_menu .slicknav_nav li.active > a { color: var(--ek-red) !important; }
.slicknav_menu .slicknav_nav ul li { border-bottom: 0; }
.slicknav_menu .slicknav_nav ul a { padding: 7px 4px 7px 14px !important; font-weight: 500; font-size: 14px; color: var(--ek-muted) !important; }
.slicknav_menu .header-search { margin: 6px 0 4px; }
.slicknav_menu .header-search .input-form { position: relative; }
.slicknav_menu .header-search .input-form input { width: 100%; padding-left: 42px !important; }
.slicknav_menu .header-search .input-form .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); }

/* =====================================================================
   16. BLOGS RECIENTES (tarjetas nuevas)
   ===================================================================== */
.ot-blog-area .section-tittle h3 { font-weight: 800 !important; position: relative; padding-bottom: 10px; }
.ot-blog-area .section-tittle h3::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 70px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--ek-blue) 50%, var(--ek-red) 50%);
}
.ek-blog-card {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--ek-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(10,16,51,.06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.ek-blog-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(10,16,51,.14); }
.ek-blog-media {
    position: relative; display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0a1033;
}
/* fondo difuminado con la misma imagen: los logos se ven completos y las fotos sin franjas vacías */
.ek-blog-media-bg {
    position: absolute; inset: -20px;
    background-size: cover; background-position: center;
    filter: blur(18px) brightness(.85);
    transform: scale(1.1);
}
.ek-blog-media img {
    position: relative; z-index: 1;
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 14px;
    transition: transform .35s ease;
}
.ek-blog-card:hover .ek-blog-media img { transform: scale(1.05); }
.ek-blog-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.ek-blog-date { font-size: 12.5px; color: var(--ek-muted); display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.ek-blog-date i { color: var(--ek-red); }
.ek-blog-title { font-size: 17px; font-weight: 700; line-height: 1.35; margin: 0 0 8px; }
.ek-blog-title a {
    color: var(--ek-text);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ek-blog-title a:hover { color: var(--ek-blue); }
.ek-blog-excerpt {
    font-size: 14px; color: var(--ek-muted); line-height: 1.55; margin: 0 0 14px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ek-blog-more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--ek-blue); display: inline-flex; align-items: center; gap: 4px; }
.ek-blog-more:hover { color: var(--ek-red); gap: 8px; }

/* =====================================================================
   17. MARCAS "Con la confianza de miles"
   ===================================================================== */
.ot-brand-area .section-tittle h3 { font-weight: 800 !important; }
.ot-brand-area .brand-box.ek-brand-box {
    height: 120px;
    display: flex; align-items: center; justify-content: center;
    padding: 18px 26px;
    background: #fff;
    border: 1px solid var(--ek-border);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(10,16,51,.06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ot-brand-area .brand-box.ek-brand-box img {
    width: 100% !important; height: 100% !important;
    max-width: 200px; max-height: 80px;
    object-fit: contain !important;
    transition: transform .25s ease;
}
.ot-brand-area .brand-box.ek-brand-box:hover { transform: translateY(-3px); border-color: var(--ek-blue); box-shadow: 0 12px 28px rgba(10,16,51,.12); }
.ot-brand-area .brand-box.ek-brand-box:hover img { transform: scale(1.05); }

/* Boletín en móvil: botón debajo del campo */
@media (max-width: 575.98px) {
    .ek-newsletter form, .ek-newsletter .ek-newsletter-form { flex-direction: column !important; align-items: stretch !important; }
    .ek-newsletter form input, .ek-newsletter form button { width: 100% !important; }
}
.ot-brand-area:not(:has(.brand-box)) { display: none; }

/* =====================================================================
   18. EVENTOS
   ===================================================================== */
.ek-events-wrap .section-tittle h3 { font-weight: 800 !important; position: relative; padding-bottom: 10px; }
.ek-events-wrap .section-tittle h3::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 70px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--ek-blue) 50%, var(--ek-red) 50%);
}
.ek-event-card {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--ek-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(10,16,51,.07);
    transition: transform .2s ease, box-shadow .2s ease;
}
.ek-event-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(10,16,51,.15); }
.ek-event-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ek-navy); }
.ek-event-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ek-event-card:hover .ek-event-media img { transform: scale(1.06); }
.ek-event-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,16,51,.05) 40%, rgba(10,16,51,.65) 100%);
}
.ek-event-date {
    position: absolute; z-index: 2; top: 14px; left: 14px;
    width: 58px; padding: 6px 0;
    background: #fff; border-radius: 12px; text-align: center;
    box-shadow: 0 6px 16px rgba(0,0,0,.18);
    display: flex; flex-direction: column; line-height: 1;
}
.ek-event-date strong { font-size: 22px; font-weight: 800; color: var(--ek-navy); }
.ek-event-date small {
    margin-top: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
    color: #fff; background: var(--ek-red); margin-left: 6px; margin-right: 6px; border-radius: 4px; padding: 3px 0;
}
.ek-event-status {
    position: absolute; z-index: 2; top: 14px; right: 14px;
    font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
    padding: 5px 10px; border-radius: 20px; color: #fff; background: var(--ek-blue);
}
.ek-event-card.is-live .ek-event-status { background: #16a34a; }
.ek-event-card.is-live .ek-event-status::before {
    content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #fff;
    margin-right: 6px; vertical-align: middle; animation: ekPulse 1.2s infinite;
}
.ek-event-card.is-ended .ek-event-status { background: rgba(10,16,51,.8); }
.ek-event-card.is-ended .ek-event-media img { filter: grayscale(55%); }
@keyframes ekPulse { 0%,100% { opacity: 1; } 50% { opacity: .2; } }
.ek-event-cat {
    position: absolute; z-index: 2; left: 14px; bottom: 12px;
    font-size: 12px; font-weight: 700; color: #fff;
    background: var(--ek-red); padding: 4px 10px; border-radius: 6px;
}
.ek-event-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.ek-event-type {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; margin-bottom: 10px;
}
.ek-event-type.online { color: var(--ek-blue); background: rgba(26,79,216,.1); }
.ek-event-type.offline { color: var(--ek-red); background: rgba(227,27,35,.1); }
.ek-event-title { font-size: 18px; font-weight: 700; line-height: 1.35; margin: 0 0 12px; }
.ek-event-title a {
    color: var(--ek-text);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ek-event-title a:hover { color: var(--ek-blue); }
.ek-event-meta { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.ek-event-meta li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--ek-muted); }
.ek-event-meta li i { color: var(--ek-blue); font-size: 16px; line-height: 1.2; }
.ek-event-footer {
    margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--ek-border);
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.ek-event-price { font-size: 18px; font-weight: 800; color: var(--ek-navy); }
.ek-event-price.free { color: #16a34a; }
.ek-event-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--ek-red); color: #fff !important;
    font-size: 14px; font-weight: 700; padding: 9px 16px; border-radius: 24px;
    transition: background .2s ease, gap .2s ease;
}
.ek-event-btn:hover { background: var(--ek-red-dark); gap: 10px; }
.ek-event-btn.ghost { background: transparent; color: var(--ek-blue) !important; border: 2px solid var(--ek-blue); padding: 7px 14px; }
.ek-event-btn.ghost:hover { background: var(--ek-blue); color: #fff !important; }
.ek-event-btn.booked { background: #16a34a; }

/* Encabezado de páginas internas y buscador de eventos */
.ot-bradcam-area {
    background:
        radial-gradient(circle at 85% 30%, rgba(227,27,35,.35) 0%, rgba(227,27,35,0) 45%),
        radial-gradient(circle at 15% 80%, rgba(26,79,216,.45) 0%, rgba(26,79,216,0) 50%),
        linear-gradient(135deg, #0a1033 0%, #13205e 100%) !important;
}
.events-search-area .card-style { border-radius: 16px !important; box-shadow: 0 12px 36px rgba(10,16,51,.1) !important; padding: 22px 22px 7px !important; }
.events-search-area .header-search .input-form { position: relative; }
.events-search-area .header-search .input-form input { width: 100%; padding-left: 44px !important; border-radius: 10px !important; height: 48px; }
.events-search-area .header-search .input-form .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ek-blue); }
.events-search-area .select2-container .select2-selection { border-radius: 10px !important; min-height: 48px; }
.events-search-area button[type=submit], .events-search-area .btn-primary-fill { border-radius: 10px !important; min-height: 48px; }

/* Detalle del evento */
.event-css .event-hero-section {
    position: relative;
    box-shadow: inset 0 0 0 3000px rgba(10,16,51,.72);
    padding: 90px 0 70px !important;
    background-size: cover; background-position: center;
}
.event-css .event-hero-section.overlay::before,
.event-css .event-hero-section::before {
    background: linear-gradient(180deg, rgba(10,16,51,.75) 0%, rgba(10,16,51,.9) 100%) !important;
    opacity: 1 !important;
}
.event-css .event-hero-section .container { position: relative; z-index: 2; }
.event-css .event-contents .title { font-size: 40px; font-weight: 800; margin-bottom: 14px; }
.event-css .event-contents .listing .single-list {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
    padding: 6px 14px; border-radius: 30px;
}
.event-css .event-contents .listing .single-list p { margin: 0; }
.event-css .date-timer .single {
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
    border-radius: 14px; min-width: 86px; padding: 12px 10px; text-align: center;
}
.event-css .date-timer .time { color: #fff; font-size: 32px; font-weight: 800; }
.event-css .date-timer .cap { color: #cdd6ff; }
.event-css .date-timer .clone { color: var(--ek-red); font-size: 30px; font-weight: 800; align-self: center; }
.event-css #timer_panel { text-align: center; }
.event-css #timer_panel h1.title {
    display: inline-block; font-size: 22px !important; color: #fff !important;
    background: var(--ek-red); padding: 10px 22px; border-radius: 30px;
}
.event-css .event-cart-top {
    position: relative; z-index: 3;
    margin-top: -40px;
    background: #fff; border-radius: 16px; padding: 22px 26px;
    box-shadow: 0 16px 44px rgba(10,16,51,.14);
}
.event-css .event-cart-top .listing .single-list {
    padding-right: 26px; border-right: 1px solid var(--ek-border);
}
.event-css .event-cart-top .listing .single-list:last-child { border-right: 0; }
.event-css .event-cart-top .text-primary { color: var(--ek-muted) !important; font-size: 13px !important; text-transform: uppercase; letter-spacing: .4px; }
.event-css .event-cart-top .text-title { color: var(--ek-navy) !important; font-weight: 700 !important; }
.event-css .event-cart-top .price .price { color: #16a34a !important; font-size: 22px; }
.event-css .event-cart-top .btn-primary-fill {
    background: var(--ek-red) !important; border-color: var(--ek-red) !important; color: #fff !important;
    border-radius: 26px; padding: 11px 28px; font-weight: 700;
}
.event-css .event-discriptions h4, .event-css .event-discriptions h3 { font-weight: 800; }
@media (max-width: 767.98px) {
    .event-css .event-contents .title { font-size: 28px; }
    .event-css .date-timer .single { min-width: 64px; }
    .event-css .date-timer .time { font-size: 24px; }
    .event-css .event-cart-top { padding: 18px; margin-top: -24px; }
    .event-css .event-cart-top .listing .single-list { border-right: 0; padding-right: 0; }
}

/* =====================================================================
   Verificacion publica de certificados (.ek-verify*)
   Agregado por el agente "certificados_qr".
   ===================================================================== */
.ek-verify-area {
    padding: 80px 0;
    background: var(--ek-bg-soft);
}
.ek-verify-card {
    max-width: 680px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--ek-border);
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 12px 40px rgba(10, 16, 51, 0.08);
}
.ek-verify-head {
    text-align: center;
    margin-bottom: 28px;
}
.ek-verify-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ek-blue), var(--ek-blue-light));
    color: #fff;
    font-size: 30px;
    margin-bottom: 16px;
}
.ek-verify-title {
    color: var(--ek-navy);
    font-weight: 700;
    margin: 0 0 8px;
}
.ek-verify-sub {
    color: var(--ek-muted);
    margin: 0;
    font-size: 15px;
}
.ek-verify-form {
    margin-bottom: 8px;
}
.ek-verify-inputwrap {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.ek-verify-input {
    flex: 1 1 220px;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--ek-border);
    border-radius: 10px;
    font-size: 15px;
    color: var(--ek-text);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.ek-verify-input:focus {
    border-color: var(--ek-blue);
    box-shadow: 0 0 0 3px rgba(26, 79, 216, 0.15);
}
.ek-verify-btn {
    flex: 0 0 auto;
    padding: 14px 28px;
    border: 0;
    border-radius: 10px;
    background: var(--ek-blue);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background .2s;
}
.ek-verify-btn:hover {
    background: var(--ek-blue-light);
}
.ek-verify-result {
    margin-top: 28px;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--ek-border);
}
.ek-verify-valid {
    background: #f0f7ff;
    border-color: rgba(26, 79, 216, 0.25);
}
.ek-verify-invalid {
    background: #fdf1f1;
    border-color: rgba(227, 27, 35, 0.25);
}
.ek-verify-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 17px;
    color: var(--ek-blue);
    margin-bottom: 16px;
}
.ek-verify-badge i {
    font-size: 22px;
}
.ek-verify-badge-error {
    color: var(--ek-red);
    margin-bottom: 0;
}
.ek-verify-details {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ek-verify-details li {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(10, 16, 51, 0.06);
}
.ek-verify-details li:last-child {
    border-bottom: 0;
}
.ek-verify-label {
    flex: 0 0 150px;
    color: var(--ek-muted);
    font-size: 14px;
    font-weight: 600;
}
.ek-verify-value {
    color: var(--ek-text);
    font-size: 15px;
    word-break: break-word;
}
.ek-verify-image {
    margin-top: 20px;
    text-align: center;
}
.ek-verify-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--ek-border);
    border-radius: 10px;
}
@media (max-width: 575px) {
    .ek-verify-card { padding: 28px 18px; }
    .ek-verify-label { flex-basis: 110px; }
    .ek-verify-btn { width: 100%; }
}

/* =========================================================
   Botón flotante de WhatsApp (frontend público)
   - Redondo verde, abajo a la derecha, tooltip "Escríbenos".
   - En móvil (<=575px) queda por ENCIMA de la barra inferior fija
     (.footer-mobile-wrapper, ~54-60px) sin taparla.
   ========================================================= */
.ek-whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
    /* Debajo de la barra inferior fija (z-index 9999) para no taparla. */
    z-index: 9998;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ek-whatsapp-float:hover,
.ek-whatsapp-float:focus {
    color: #ffffff;
    background: #1ebe57;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.55);
    outline: none;
}

.ek-whatsapp-float i {
    display: block;
}

/* Tooltip "Escríbenos" */
.ek-whatsapp-tooltip {
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: var(--ek-navy, #0a1033);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    padding: 7px 12px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    box-shadow: 0 4px 14px rgba(10, 16, 51, 0.25);
}

.ek-whatsapp-tooltip::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--ek-navy, #0a1033);
}

.ek-whatsapp-float:hover .ek-whatsapp-tooltip,
.ek-whatsapp-float:focus .ek-whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* En móvil: por encima de la barra inferior fija (~54-60px) + margen */
@media (max-width: 575px) {
    .ek-whatsapp-float {
        right: 16px;
        bottom: 72px;
        width: 52px;
        height: 52px;
        font-size: 27px;
    }
    /* En pantallas táctiles pequeñas ocultamos el tooltip (sin hover real). */
    .ek-whatsapp-tooltip {
        display: none;
    }
}

/* =====================================================================
   Módulo Analytics (#14) — estilos propios, prefijo .ek-an- / .ek-funnel-
   Añadido al final según convención. No modifica estilos existentes.
   ===================================================================== */
.ek-an-card { border: 1px solid rgba(10,16,51,.08); }
.ek-an-card-value { font-size: 1.4rem; font-weight: 700; color: #0a1033; line-height: 1.2; }
.ek-an-card-label { font-size: .8rem; color: #64748b; margin-top: .25rem; }
.ek-funnel-row { display: flex; align-items: center; gap: .75rem; }
.ek-funnel-label { width: 180px; flex: 0 0 180px; font-size: .85rem; color: #0a1033; font-weight: 600; }
.ek-funnel-bar-wrap { position: relative; flex: 1 1 auto; background: #eef1f8; border-radius: 6px; height: 28px; overflow: hidden; }
.ek-funnel-bar { height: 100%; background: linear-gradient(90deg, #1a4fd8, #0a1033); border-radius: 6px; transition: width .4s ease; }
.ek-funnel-value { position: absolute; right: 10px; top: 0; line-height: 28px; font-size: .8rem; font-weight: 700; color: #0a1033; }
.btn.ot-btn-outline-primary { border: 1px solid #1a4fd8; color: #1a4fd8; background: transparent; }
.btn.ot-btn-outline-primary:hover { background: #1a4fd8; color: #fff; }
@media (max-width: 575px) { .ek-funnel-label { width: 110px; flex-basis: 110px; } }

/* ============================================================
   LearningPaths (Rutas de aprendizaje + Gamificación) — prefijo .ek-path / .ek-achv / .ek-badge
   ============================================================ */
.ek-path-area, .ek-path-detail-area, .ek-path-verify-area { padding: 48px 0; }
.ek-path-head { text-align: center; margin-bottom: 36px; }
.ek-path-heading { color: #0a1033; font-weight: 800; font-size: 32px; margin-bottom: 10px; }
.ek-path-subheading { color: #5b6273; max-width: 680px; margin: 0 auto; }
.ek-path-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.ek-path-card { display: block; background: #fff; border: 1px solid #e7eaf3; border-radius: 14px; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.ek-path-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(10,16,51,.12); }
.ek-path-card-img { position: relative; aspect-ratio: 3/2; background: #0a1033; display: flex; align-items: center; justify-content: center; }
.ek-path-card-img img { width: 100%; height: 100%; object-fit: cover; }
.ek-path-card-ph { color: #1a4fd8; font-size: 48px; }
.ek-path-level { position: static; display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: #fff; background: #1a4fd8; }
.ek-path-card-img .ek-path-level { position: absolute; top: 12px; left: 12px; }
.ek-path-level-beginner { background: #1a9d4f; }
.ek-path-level-intermediate { background: #1a4fd8; }
.ek-path-level-advanced { background: #e31b23; }
.ek-path-card-body { padding: 16px 18px; }
.ek-path-card-title { color: #0a1033; font-weight: 700; font-size: 18px; margin: 0 0 8px; }
.ek-path-card-meta { color: #5b6273; font-size: 14px; margin: 0; }
.ek-path-empty { color: #5b6273; grid-column: 1 / -1; text-align: center; }
.ek-path-pagination { margin-top: 32px; display: flex; justify-content: center; }

/* Detalle */
.ek-path-detail-head { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 36px; }
.ek-path-detail-info { flex: 1 1 420px; }
.ek-path-detail-title { color: #0a1033; font-weight: 800; font-size: 30px; margin: 12px 0; }
.ek-path-detail-desc { color: #444b5c; line-height: 1.7; }
.ek-path-detail-stats { margin-top: 12px; color: #5b6273; }
.ek-path-detail-stats i { color: #1a4fd8; }
.ek-path-detail-img { flex: 0 0 320px; max-width: 320px; }
.ek-path-detail-img img { width: 100%; border-radius: 14px; }
.ek-path-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; }
@media (max-width: 991px) { .ek-path-detail-grid { grid-template-columns: 1fr; } }
.ek-path-section-title { color: #0a1033; font-weight: 700; font-size: 22px; margin-bottom: 20px; }
.ek-path-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.ek-path-timeline::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 2px; background: #e7eaf3; }
.ek-path-timeline-item { position: relative; padding-left: 52px; margin-bottom: 20px; }
.ek-path-timeline-marker { position: absolute; left: 0; top: 4px; width: 36px; height: 36px; border-radius: 50%; background: #1a4fd8; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; z-index: 1; }
.ek-path-owned .ek-path-timeline-marker { background: #1a9d4f; }
.ek-path-timeline-card { display: flex; gap: 14px; background: #fff; border: 1px solid #e7eaf3; border-radius: 12px; padding: 12px; }
.ek-path-timeline-thumb { flex: 0 0 90px; width: 90px; height: 64px; border-radius: 8px; overflow: hidden; background: #f0f2f8; }
.ek-path-timeline-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ek-path-timeline-title { font-size: 16px; margin: 0 0 8px; }
.ek-path-timeline-title a { color: #0a1033; text-decoration: none; }
.ek-path-timeline-title a:hover { color: #1a4fd8; }
.ek-path-timeline-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.ek-path-tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.ek-path-tag-req { background: #fdecec; color: #e31b23; }
.ek-path-tag-opt { background: #eef1fb; color: #1a4fd8; }
.ek-path-tag-owned { background: #e6f6ec; color: #1a9d4f; }
.ek-path-tag-free { background: #e6f6ec; color: #1a9d4f; }
.ek-path-tag-price { background: #0a1033; color: #fff; }
.ek-path-sidebar { align-self: start; }
.ek-path-buybox { background: #fff; border: 1px solid #e7eaf3; border-radius: 14px; padding: 22px; position: sticky; top: 90px; }
.ek-path-buybox-price { margin-bottom: 16px; }
.ek-path-buybox-label { display: block; color: #5b6273; font-size: 14px; }
.ek-path-buybox-amount { display: block; color: #0a1033; font-weight: 800; font-size: 30px; }
.ek-path-enroll-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; border: none; background: #1a4fd8; color: #fff; font-weight: 700; padding: 13px 18px; border-radius: 10px; cursor: pointer; transition: background .2s; text-decoration: none; }
.ek-path-enroll-btn:hover { background: #0a1033; color: #fff; }
.ek-path-buybox-note { color: #8a90a0; font-size: 13px; margin: 12px 0 0; }

/* Admin lista ordenable */
.ek-path-admin-list { }
.ek-path-admin-item { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e7eaf3; border-radius: 10px; padding: 10px 14px; margin-bottom: 10px; }
.ek-path-admin-item.dragging { opacity: .5; }
.ek-path-drag { cursor: grab; color: #8a90a0; }
.ek-path-admin-title { flex: 1; color: #0a1033; font-weight: 600; }
.ek-path-req { font-size: 13px; color: #5b6273; display: flex; align-items: center; gap: 6px; margin: 0; }

/* Panel estudiante: mis rutas */
.ek-path-student-card { background: #fff; border: 1px solid #e7eaf3; border-radius: 14px; padding: 20px; height: 100%; }
.ek-path-student-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.ek-path-student-title { font-size: 18px; margin: 0; }
.ek-path-student-title a { color: #0a1033; text-decoration: none; }
.ek-path-progress-bar { height: 10px; background: #eef1fb; border-radius: 999px; overflow: hidden; }
.ek-path-progress-bar span { display: block; height: 100%; background: #1a4fd8; border-radius: 999px; }
.ek-path-progress-meta { display: flex; justify-content: space-between; margin-top: 8px; color: #5b6273; font-size: 14px; }
.ek-path-student-cert { margin-top: 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: #1a9d4f; font-weight: 600; }
.ek-path-cert-dl { color: #1a4fd8; text-decoration: none; font-weight: 600; }
.ek-path-student-pending { margin-top: 14px; color: #8a90a0; font-size: 14px; }

/* Panel estudiante: logros */
.ek-achv-stat { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #e7eaf3; border-radius: 14px; padding: 18px; }
.ek-achv-stat-icon { width: 48px; height: 48px; border-radius: 12px; background: #eef1fb; color: #1a4fd8; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.ek-achv-stat-value { display: block; color: #0a1033; font-weight: 800; font-size: 24px; }
.ek-achv-stat-label { color: #5b6273; font-size: 14px; }
.ek-achv-section-title { color: #0a1033; font-weight: 700; font-size: 20px; margin: 10px 0 20px; }
.ek-achv-badge { background: #fff; border: 1px solid #e7eaf3; border-radius: 14px; padding: 20px; text-align: center; height: 100%; }
.ek-achv-badge-icon { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 12px; }
.ek-achv-earned .ek-achv-badge-icon { background: #1a4fd8; color: #fff; }
.ek-achv-locked { opacity: .65; }
.ek-achv-locked .ek-achv-badge-icon { background: #eceef4; color: #a2a8b8; }
.ek-achv-badge-name { color: #0a1033; font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.ek-achv-badge-desc { color: #5b6273; font-size: 13px; min-height: 36px; }
.ek-achv-badge-status { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.ek-achv-badge-won { background: #e6f6ec; color: #1a9d4f; }
.ek-achv-badge-lock { background: #f2f3f7; color: #8a90a0; }

/* Verificación certificado de ruta */
.ek-path-verify-card { max-width: 620px; margin: 0 auto; background: #fff; border: 1px solid #e7eaf3; border-radius: 16px; padding: 32px; }
.ek-path-verify-head { text-align: center; margin-bottom: 24px; }
.ek-path-verify-icon { display: inline-flex; width: 56px; height: 56px; border-radius: 50%; background: #eef1fb; color: #1a4fd8; align-items: center; justify-content: center; font-size: 28px; }
.ek-path-verify-title { color: #0a1033; font-weight: 800; margin: 12px 0 6px; }
.ek-path-verify-sub { color: #5b6273; }
.ek-path-verify-inputwrap { display: flex; gap: 10px; }
.ek-path-verify-input { flex: 1; border: 1px solid #d7dbe8; border-radius: 10px; padding: 12px 14px; }
.ek-path-verify-btn { border: none; background: #1a4fd8; color: #fff; font-weight: 700; padding: 12px 22px; border-radius: 10px; cursor: pointer; }
.ek-path-verify-btn:hover { background: #0a1033; }
.ek-path-verify-result { margin-top: 24px; border-radius: 12px; padding: 18px; }
.ek-path-verify-valid { background: #f1fbf4; border: 1px solid #bfe8cd; }
.ek-path-verify-invalid { background: #fdf2f2; border: 1px solid #f3c7c9; }
.ek-path-verify-badge { font-weight: 800; display: inline-flex; align-items: center; gap: 6px; color: #1a9d4f; margin-bottom: 12px; }
.ek-path-verify-badge-error { color: #e31b23; }
.ek-path-verify-details { list-style: none; margin: 0; padding: 0; }
.ek-path-verify-details li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed #e7eaf3; }
.ek-path-verify-label { color: #5b6273; }
.ek-path-verify-value { color: #0a1033; font-weight: 600; }
.ek-path-verify-image { margin-top: 16px; }
.ek-path-verify-image img { width: 100%; border-radius: 10px; }

/* Notificación de insignia (toast) */
.ek-badge-toast-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 99999; display: flex; flex-direction: column; gap: 10px; }
.ek-badge-toast { display: flex; gap: 12px; align-items: flex-start; background: #0a1033; color: #fff; border-radius: 12px; padding: 14px 16px; min-width: 260px; max-width: 340px; box-shadow: 0 12px 30px rgba(10,16,51,.35); transform: translateX(120%); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.ek-badge-toast.show { transform: translateX(0); opacity: 1; }
.ek-badge-toast-icon { width: 40px; height: 40px; border-radius: 50%; background: #1a4fd8; display: flex; align-items: center; justify-content: center; font-size: 20px; flex: 0 0 40px; }
.ek-badge-toast-body { display: flex; flex-direction: column; }
.ek-badge-toast-title { font-size: 13px; color: #9fb0ef; }
.ek-badge-toast-name { font-weight: 700; font-size: 15px; }
.ek-badge-toast-desc { font-size: 12px; color: #c4cadb; margin-top: 2px; }

/* ===== Subscription / Membresías (módulo Subscription) ===== */
.ek-planes-section { background: #f4f6fb; }
.ek-planes-heading { color: #0a1033; font-weight: 800; font-size: 32px; margin-bottom: 8px; }
.ek-planes-sub { color: #5b6273; font-size: 16px; }
.ek-planes-empty { color: #5b6273; font-size: 16px; padding: 40px 0; }
.ek-plan-card {
    position: relative; background: #ffffff; border: 1px solid #e6e9f2; border-radius: 16px;
    padding: 28px 24px; height: 100%; display: flex; flex-direction: column;
    box-shadow: 0 6px 24px rgba(10, 16, 51, 0.06); transition: transform .2s ease, box-shadow .2s ease;
}
.ek-plan-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(10, 16, 51, 0.12); }
.ek-plan-card--popular { border: 2px solid #1a4fd8; }
.ek-plan-badge {
    position: absolute; top: -14px; right: 20px; background: #e31b23; color: #fff;
    font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 20px; letter-spacing: .5px;
}
.ek-plan-head { text-align: center; padding-bottom: 18px; border-bottom: 1px solid #eef0f5; }
.ek-plan-name { color: #0a1033; font-weight: 700; font-size: 20px; margin-bottom: 10px; }
.ek-plan-price { color: #1a4fd8; }
.ek-plan-amount { font-size: 34px; font-weight: 800; }
.ek-plan-period { font-size: 15px; color: #5b6273; font-weight: 600; }
.ek-plan-body { flex: 1 1 auto; padding: 18px 0; }
.ek-plan-desc { color: #5b6273; font-size: 14px; margin-bottom: 14px; }
.ek-plan-desc ul { padding-left: 18px; }
.ek-plan-features { list-style: none; padding: 0; margin: 0; }
.ek-plan-features li { color: #333; font-size: 14px; padding: 7px 0; display: flex; align-items: center; gap: 8px; }
.ek-plan-features li i { color: #1a4fd8; font-size: 18px; }
.ek-plan-foot { padding-top: 16px; text-align: center; }
.ek-plan-btn {
    display: inline-block; width: 100%; padding: 13px 20px; border-radius: 10px;
    background: #1a4fd8; color: #fff !important; font-weight: 700; font-size: 15px; border: none; cursor: pointer;
    transition: background .2s ease;
}
.ek-plan-btn:hover { background: #0a1033; }
.ek-plan-btn--renew { background: #e31b23; }
.ek-plan-btn--renew:hover { background: #b3151b; }
.ek-plan-btn--muted { background: #c4cadb; cursor: default; }
.ek-plan-btn--muted:hover { background: #c4cadb; }
.ek-plan-link { display: inline-block; margin-top: 10px; color: #1a4fd8; font-size: 13px; font-weight: 600; }

/* ===================== ExamBank (módulo #7) ===================== */
.ek-eb-card { background:#fff; border:1px solid #e6e9f2; border-radius:12px; padding:20px; margin-bottom:16px; }
.ek-eb-label { display:block; font-weight:600; color:#0a1033; margin-bottom:6px; font-size:14px; }
.ek-eb-subtitle { color:#0a1033; font-weight:700; margin:8px 0 12px; }
.ek-eb-input { border:1px solid #c4cadb; border-radius:8px; padding:9px 12px; font-size:14px; color:#0a1033; background:#fff; }
.ek-eb-input:focus { outline:none; border-color:#1a4fd8; box-shadow:0 0 0 3px rgba(26,79,216,.12); }
.ek-eb-btn { display:inline-flex; align-items:center; gap:6px; border:none; border-radius:8px; padding:9px 16px; font-size:14px; font-weight:600; cursor:pointer; text-decoration:none; transition:background .15s; }
.ek-eb-btn-primary { background:#1a4fd8; color:#fff; }
.ek-eb-btn-primary:hover { background:#143fb0; color:#fff; }
.ek-eb-btn-light { background:#eef1fb; color:#1a4fd8; }
.ek-eb-btn-light:hover { background:#dde4f8; color:#143fb0; }
.ek-eb-icon { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:7px; border:1px solid #c4cadb; background:#fff; color:#1a4fd8; cursor:pointer; }
.ek-eb-icon:hover { background:#eef1fb; }
.ek-eb-icon-danger { color:#e31b23; border-color:#f3c3c5; }
.ek-eb-icon-danger:hover { background:#fdeaea; }
.ek-eb-table { width:100%; border-collapse:collapse; }
.ek-eb-table th, .ek-eb-table td { padding:12px 10px; border-bottom:1px solid #eef1f6; text-align:left; font-size:14px; vertical-align:middle; }
.ek-eb-table th { color:#0a1033; font-weight:700; background:#f7f9fd; }
.ek-eb-badge { display:inline-block; padding:3px 10px; border-radius:20px; background:#eef1fb; color:#1a4fd8; font-size:12px; font-weight:600; }
.ek-eb-badge-ok { background:#e4f6ec; color:#157347; }
.ek-eb-badge-err { background:#fdeaea; color:#e31b23; }
.ek-eb-badge-warn { background:#fff4e0; color:#b26a00; }
.ek-eb-check { display:inline-flex; align-items:center; gap:8px; font-size:14px; color:#0a1033; cursor:pointer; }
.ek-eb-alert { padding:12px 16px; border-radius:8px; margin-bottom:16px; font-size:14px; }
.ek-eb-alert-ok { background:#e4f6ec; color:#157347; }
.ek-eb-alert-err { background:#fdeaea; color:#e31b23; }
.ek-eb-stat { background:#fff; border:1px solid #e6e9f2; border-radius:12px; padding:16px; text-align:center; margin-bottom:12px; }
.ek-eb-stat span { display:block; color:#6b7280; font-size:13px; margin-bottom:4px; }
.ek-eb-stat strong { color:#0a1033; font-size:24px; font-weight:700; }
.ek-eb-bar { background:#eef1f6; border-radius:20px; height:10px; overflow:hidden; }
.ek-eb-bar span { display:block; height:100%; background:#1a4fd8; }
.ek-eb-timer { background:#0a1033; color:#fff; padding:8px 16px; border-radius:8px; font-size:14px; display:inline-flex; align-items:center; gap:6px; }
.ek-eb-timer-danger { background:#e31b23; }
.ek-eb-qnum { font-weight:700; color:#0a1033; }
.ek-eb-option { display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid #e6e9f2; border-radius:8px; margin-bottom:8px; cursor:pointer; }
.ek-eb-option:hover { border-color:#1a4fd8; background:#f7f9fd; }
.ek-eb-match-row { display:flex; align-items:center; gap:12px; margin-bottom:8px; }
.ek-eb-match-left { flex:1; font-weight:600; color:#0a1033; }
.ek-eb-match-row select { flex:1; }
.ek-eb-code-input { font-family:'Courier New',monospace; background:#0a1033; color:#e6e9f2; }
.ek-eb-code { background:#0a1033; color:#e6e9f2; padding:12px; border-radius:8px; overflow-x:auto; white-space:pre-wrap; }
.ek-eb-submit-bar { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:16px 0; }
.ek-eb-student-card { background:#fff; border:1px solid #e6e9f2; border-radius:12px; padding:20px; height:100%; }
.ek-eb-student-top { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; margin-bottom:12px; }
.ek-eb-student-title { color:#0a1033; font-weight:700; font-size:17px; margin:0; }
.ek-eb-student-meta { display:flex; gap:16px; flex-wrap:wrap; color:#6b7280; font-size:13px; margin-bottom:12px; }
.ek-eb-student-actions { display:flex; gap:8px; flex-wrap:wrap; }
.ek-eb-info-list { list-style:none; padding:0; margin:0 0 16px; }
.ek-eb-info-list li { padding:6px 0; color:#0a1033; font-size:14px; border-bottom:1px solid #f2f4f9; }
.ek-eb-result-head { text-align:center; }
.ek-eb-result-score { display:inline-flex; flex-direction:column; align-items:center; padding:16px 28px; border-radius:12px; margin-bottom:10px; }
.ek-eb-result-score.ok { background:#e4f6ec; color:#157347; }
.ek-eb-result-score.err { background:#fdeaea; color:#e31b23; }
.ek-eb-result-score strong { font-size:34px; }
.ek-eb-rich { color:#0a1033; font-size:15px; line-height:1.6; }
.ek-eb-explanation, .ek-eb-feedback { background:#f7f9fd; border-left:3px solid #1a4fd8; padding:10px 14px; border-radius:6px; margin-top:8px; font-size:14px; }
.ek-eb-answer { font-size:14px; color:#0a1033; }

/* ===== JobBoard (bolsa de empleo) ===== */
.ek-jb-wrap { padding:48px 0; background:#f7f9fd; min-height:60vh; }
.ek-jb-head { margin-bottom:24px; }
.ek-jb-title { color:#0a1033; font-weight:700; font-size:30px; margin:0 0 6px; }
.ek-jb-subtitle { color:#5a6072; font-size:15px; }
.ek-jb-filters { background:#fff; border:1px solid #e3e8f4; border-radius:12px; padding:18px; margin-bottom:24px; }
.ek-jb-filter-checks { display:flex; gap:20px; flex-wrap:wrap; margin-top:12px; }
.ek-jb-check { font-size:14px; color:#0a1033; display:flex; align-items:center; gap:6px; margin:0; }
.ek-jb-btn-primary { background:#1a4fd8; color:#fff; border:none; border-radius:8px; padding:9px 18px; font-weight:600; }
.ek-jb-btn-primary:hover { background:#0a1033; color:#fff; }
.ek-jb-list { display:flex; flex-direction:column; gap:14px; }
.ek-jb-card { display:flex; justify-content:space-between; align-items:center; gap:16px; background:#fff; border:1px solid #e3e8f4; border-radius:12px; padding:18px 22px; text-decoration:none; transition:.15s; }
.ek-jb-card:hover { border-color:#1a4fd8; box-shadow:0 6px 18px rgba(10,16,51,.08); }
.ek-jb-card-title { color:#0a1033; font-size:18px; font-weight:700; margin:0 0 4px; }
.ek-jb-card-company { color:#1a4fd8; font-size:14px; font-weight:600; margin-bottom:8px; }
.ek-jb-card-meta { display:flex; gap:14px; flex-wrap:wrap; align-items:center; color:#5a6072; font-size:13px; }
.ek-jb-tag { background:#eef2fc; color:#1a4fd8; border-radius:20px; padding:2px 12px; font-size:12px; font-weight:600; }
.ek-jb-salary { color:#0a1033; font-weight:600; }
.ek-jb-card-close { color:#e31b23; font-size:12px; font-weight:600; white-space:nowrap; }
.ek-jb-empty { background:#fff; border:1px dashed #cbd4ec; border-radius:12px; padding:40px; text-align:center; color:#5a6072; }
.ek-jb-pagination { margin-top:24px; }
.ek-jb-back { display:inline-block; margin-bottom:16px; color:#1a4fd8; text-decoration:none; font-weight:600; }
.ek-jb-detail { background:#fff; border:1px solid #e3e8f4; border-radius:12px; padding:28px; }
.ek-jb-detail-head { border-bottom:1px solid #eef2fc; padding-bottom:16px; margin-bottom:18px; }
.ek-jb-detail-body { color:#0a1033; font-size:15px; line-height:1.7; }
.ek-jb-courses { margin-top:22px; }
.ek-jb-courses h4, .ek-jb-apply h4 { color:#0a1033; font-size:17px; font-weight:700; }
.ek-jb-rel { font-size:11px; border-radius:12px; padding:1px 8px; margin-left:6px; }
.ek-jb-rel-required { background:#fdeaea; color:#e31b23; }
.ek-jb-rel-desirable { background:#eef2fc; color:#1a4fd8; }
.ek-jb-apply { margin-top:26px; background:#f7f9fd; border-radius:10px; padding:20px; }
.ek-jb-note { font-size:12px; color:#5a6072; margin:8px 0; }
.ek-jb-applied { color:#1a4fd8; font-weight:600; }
.ek-jb-panel-title { color:#0a1033; font-weight:700; }
.ek-jb-badge { border-radius:20px; padding:2px 12px; font-size:12px; font-weight:600; color:#fff; }
.ek-jb-badge-received { background:#5a6072; }
.ek-jb-badge-reviewing { background:#1a4fd8; }
.ek-jb-badge-interview { background:#f0a500; }
.ek-jb-badge-rejected { background:#e31b23; }
.ek-jb-badge-hired { background:#1aa75a; }
.ek-jb-alert-list { list-style:none; padding:0; }
.ek-jb-alert-list li { display:flex; justify-content:space-between; align-items:center; background:#f7f9fd; border:1px solid #e3e8f4; border-radius:8px; padding:8px 14px; margin-bottom:8px; }
