html {
    scroll-behavior: smooth;
}


#header .nav-link {
    transition: all .2s ease;
}

#header .nav-link:hover {
    opacity: .7;
}

#header .btn-primary {
    border-radius: 20px;
    padding: 6px 14px;
}



.hero-min-height {
    position: relative;
}

.hero-min-height::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.25);
}


/*.hero-min-height {
    min-height: 88vh;
}*/

.hero-visual {
    min-height: 420px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(0,0,0,.12);
}

.hero-visualCirculo {
    min-height: 420px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.tituloBorder {
    display: inline-block;
    border-bottom: 8px solid #000;
    padding-bottom: 0;
}

.section-anchor-offset {
    scroll-margin-top: 90px;
}

.temario-card,
.aval-card,
.cost-card {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    border: 0;
}

/* =========================
   NEXO UI SYSTEM - Landing dinámico
========================= */
.nexo-card-surface {
    border-radius: 18px;
    border: 0;
}

.nexo-card-surface--solid {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.nexo-card-surface--soft {
    background: rgba(255,255,255,.72);
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    backdrop-filter: blur(4px);
}

.nexo-card-surface--ghost {
    background: transparent;
    box-shadow: none;
    border: 1px dashed rgba(15,23,42,.14);
}

.nexo-card-surface--none {
    background: transparent;
    box-shadow: none;
    border: 0;
    border-radius: 0;
}

.nexo-card-padding--sm { padding: 16px; font-size: 22px;}
.nexo-card-padding--md { padding: 28px;  font-size: 22px;}
.nexo-card-padding--lg { padding: 40px;  font-size: 22px;}

.nexo-section-title,
.nexo-section-subtitle {
    margin: 0 0 18px 0;
    line-height: 1.2;
    letter-spacing: .01em;
}

.nexo-section-title {
    text-transform: uppercase;
}


.nexo-acceso-section {
    background-image: src("../img/bg_login.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


.nexo-title-tag--h1 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 800;
}

.nexo-title-tag--h2 {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 700;
}

.nexo-subtitle-tag--h3 {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
}

.nexo-subtitle-tag--h4 {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    font-weight: 600;
}

.nexo-subtitle-tag--h5 {
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nexo-heading-style--clean {
    display: block;
}

.nexo-heading-style--accent-line-left {
    display: inline-block;
    border-left: 5px solid currentColor;
    padding-left: 15px;
}

.nexo-heading-style--center-underline {
    display: inline-block;
    border-bottom: 6px solid currentColor;
    padding-bottom: 8px;
}

.nexo-heading-style--double-line {
    display: inline-block;
    border-bottom: 4px double currentColor;
    padding-bottom: 8px;
}

.nexo-heading-style--highlight-bar {
    display: inline-block;
    background: color-mix(in srgb, currentColor 10%, transparent);
    padding: 10px 20px;
    border-radius: 0px;
}

.text-center .nexo-heading-style--accent-line-left,
.text-end .nexo-heading-style--accent-line-left {
    border-right: 5px solid currentColor;
    border-left: 0;
    padding-right: 15px;
    padding-left: 0;
}

.text-center .nexo-heading-style--accent-line-left {
    border-left: 5px solid currentColor;
    padding-left: 15px;
    padding-right: 15px;
}

.nexo-section-divider {
    position: relative;
    overflow: hidden;
}

.nexo-section-divider--diagonal-right::after,
.nexo-section-divider--diagonal-left::after,
.nexo-section-divider--soft-waves::after,
.nexo-section-divider--center-icon::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.nexo-section-divider--diagonal-right::after {
    height: 46px;
    background: linear-gradient(to right bottom, transparent 49%, rgba(255,255,255,.5) 50%);
}

.nexo-section-divider--diagonal-left::after {
    height: 46px;
    background: linear-gradient(to left bottom, transparent 49%, rgba(255,255,255,.5) 50%);
}

.nexo-section-divider--soft-waves::after {
    height: 26px;
    background:
        radial-gradient(circle at 25px -5px, transparent 24px, rgba(255,255,255,.45) 25px) 0 0/50px 100%;
}

.nexo-section-divider--center-icon::after {
    width: 72px;
    height: 72px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.28);
}

.nexo-animate {
    animation-duration: .7s;
    animation-timing-function: ease;
    animation-fill-mode: both;
}

.nexo-animate--fade-up { animation-name: nexoFadeUp; }
.nexo-animate--fade-in { animation-name: nexoFadeIn; }
.nexo-animate--slide-left { animation-name: nexoSlideLeft; }
.nexo-animate--slide-right { animation-name: nexoSlideRight; }
.nexo-animate--zoom-soft { animation-name: nexoZoomSoft; }

@keyframes nexoFadeUp {
    from { opacity: 0; transform: translate3d(0, 26px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes nexoFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes nexoSlideLeft {
    from { opacity: 0; transform: translate3d(-26px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes nexoSlideRight {
    from { opacity: 0; transform: translate3d(26px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes nexoZoomSoft {
    from { opacity: 0; transform: scale(.96); }
    to { opacity: 1; transform: scale(1); }
}

.tema-item {
    padding: .85rem 1rem;
    border-radius: 12px;
    background: #f8f9fa;
    margin-bottom: .75rem;
}

.aval-logo-wrap {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: transparent;
    border-radius: 14px;
}

.aval-logo-wrap img {
    max-width: 105%;
    max-height: 70px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: grayscale(100%);
    opacity: .7;
    transition: all .3s ease;
}

.aval-logo-wrap a:hover img,
.aval-logo-wrap img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.aval-card {
    border: none;
    background: transparent;
    box-shadow: none;
}


.btn {
    border-radius: 12px;
    transition: all .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,.15);
}

.public-logo {
    max-height: 52px;
    width: auto;
    display: block;
}

.frontend-brand-text {
    color: var(--eb-nav-text) !important;
    font-size: 1.25rem;
}

#header .header-body {
    background: color-mix(in srgb, var(--eb-header-bg) 92%, transparent) !important;
    backdrop-filter: blur(6px);
    transition: background .3s ease;
}

#header .nav-link,
#header .header-nav-features .header-nav-features-toggle,
#header .header-nav-features .header-nav-features-dropdown-mobile-fixed,
#header .text-color-light,
#header .header-nav-main nav > ul > li > a {
    color: var(--eb-nav-text) !important;
}

#header .header-nav-main nav > ul > li > a.active {
    opacity: 1;
}

#header .header-nav-main nav > ul > li > a:not(.active) {
    opacity: .88;
}

#header .dropdown-menu,
#headerTopUserDropdown {
    border-radius: 14px;
    border: 0;
    box-shadow: 0 12px 35px rgba(0,0,0,.18);
}

#headerTopUserDropdown .form-label,
#headerTopUserDropdown h4,
#headerTopUserDropdown p,
#headerTopUserDropdown .text-color-dark {
    color: #212529 !important;
}


@media (min-width: 992px) {
    #header .header-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #header .header-column.justify-content-end {
        display: flex;
        justify-content: flex-end;
        flex: 1 1 auto;
    }

    #header .header-nav {
        margin-right: 12px;
    }

    #header .header-nav-features.d-lg-flex {
        flex: 0 0 auto;
    }
}


.eb-lock {
    overflow: hidden;
}

.eb-mobile-login-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
    z-index: 9998;
}

.eb-mobile-login-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.eb-mobile-login-backdrop {
    backdrop-filter: blur(4px);
}

.eb-mobile-login-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 380px;
    height: 100vh;
    background: #182028;
    color: #fff;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.eb-mobile-login-panel.open {
    transform: translateX(0);
}

.eb-mobile-login-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.eb-mobile-login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.eb-mobile-login-logo {
    max-height: 40px;
    width: auto;
}

.eb-mobile-login-brand {
    font-weight: 700;
    font-size: 1rem;
}

.eb-mobile-login-close {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
}

.eb-mobile-login-body {
    padding: 1rem;
    overflow-y: auto;
}

.eb-input {
    padding-left: 2.2rem;
    border-radius: 10px;
}

.eb-input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    opacity: .6;
    z-index: 2;
    color: #6c757d;
}

.eb-support-item {
    display: flex;
    gap: 8px;
    padding: 8px 0;
    color: #fff;
    text-decoration: none;
}

.eb-support-item i {
    width: 18px;
}

@media (min-width: 992px) {
    .eb-mobile-login-panel,
    .eb-mobile-login-backdrop {
        display: none !important;
    }
}


