/* ================================================================
   LANDING.CSS — Diseño moderno para Colegio JESistemas
   Standalone: solo requiere Bootstrap 5 (modales/grid) + iconos
   ================================================================ */

/* ----------------------------------------------------------------
   1. RESET & VARIABLES
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Open Sans', sans-serif; color: #1E293B; background: #fff; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color .25s ease; }
ul { list-style: none; padding: 0; margin: 0; }
button { cursor: pointer; font-family: inherit; }
h1,h2,h3,h4,h5,h6 { font-family: 'Raleway', sans-serif; font-weight: 700; line-height: 1.2; }

:root {
    --p:    #1565C0;  /* primary */
    --pd:   #0D47A1;  /* primary dark */
    --pl:   #42A5F5;  /* primary light */
    --a:    #00BFA5;  /* accent */
    --ad:   #00897B;  /* accent dark */
    --dark: #0A1628;
    --tx:   #1E293B;  /* text */
    --txm:  #64748B;  /* text muted */
    --bg:   #F0F5FF;
    --bgs:  #F8FAFC;
    --w:    #FFFFFF;
    --brd:  rgba(0,0,0,.08);
    --s0: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --s1: 0 4px 12px rgba(21,101,192,.09);
    --s2: 0 10px 30px rgba(21,101,192,.14);
    --s3: 0 20px 48px rgba(21,101,192,.20);
    --r:  14px;
    --rs: 8px;
    --rl: 22px;
    --tr: all .28s cubic-bezier(.4,0,.2,1);
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bgs); }
::-webkit-scrollbar-thumb { background: var(--pl); border-radius: 3px; }

/* ----------------------------------------------------------------
   2. PRELOADER
   ---------------------------------------------------------------- */
#preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: white;
    display: flex; align-items: center; justify-content: center;
}
#preloader::before {
    content: '';
    width: 42px; height: 42px;
    border: 3px solid var(--bg);
    border-top-color: var(--p);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ----------------------------------------------------------------
   3. BOTONES GLOBALES
   ---------------------------------------------------------------- */
.lbtn {
    display: inline-flex; align-items: center; gap: 7px;
    border: none; border-radius: 50px;
    font-family: 'Open Sans', sans-serif; font-weight: 700;
    cursor: pointer; transition: var(--tr);
    white-space: nowrap; text-decoration: none;
    line-height: 1;
}
.lbtn-primary   { background: linear-gradient(135deg, var(--p), var(--pd)); color: #fff; padding: 11px 26px; font-size: .88rem; box-shadow: 0 4px 14px rgba(21,101,192,.30); }
.lbtn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(21,101,192,.42); color: #fff; }
.lbtn-accent    { background: linear-gradient(135deg, var(--a), var(--ad)); color: #fff; padding: 13px 34px; font-size: .97rem; box-shadow: 0 6px 20px rgba(0,191,165,.38); }
.lbtn-accent:hover  { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,191,165,.52); color: #fff; }
.lbtn-ghost     { background: rgba(255,255,255,.15); backdrop-filter: blur(8px); border: 1.5px solid rgba(255,255,255,.32); color: #fff; padding: 12px 28px; font-size: .93rem; }
.lbtn-ghost:hover   { background: rgba(255,255,255,.25); color: #fff; }
.lbtn-outline   { background: transparent; border: 2px solid var(--p); color: var(--p); padding: 10px 22px; font-size: .88rem; }
.lbtn-outline:hover { background: var(--p); color: #fff; }
.lbtn-sm        { padding: 8px 18px !important; font-size: .82rem !important; }
.lbtn-w100      { width: 100%; justify-content: center; border-radius: var(--rs) !important; }

/* Bootstrap btn overrides */
.btn { border-radius: 50px !important; font-weight: 700 !important; transition: var(--tr) !important; }
.btn-primary   { background: linear-gradient(135deg, var(--p), var(--pd)) !important; border: none !important; box-shadow: 0 4px 12px rgba(21,101,192,.28) !important; }
.btn-primary:hover { transform: translateY(-2px) !important; box-shadow: 0 8px 20px rgba(21,101,192,.40) !important; }
.btn-success   { border-radius: 50px !important; font-weight: 700 !important; }
.btn-info      { border-radius: 50px !important; font-weight: 700 !important; }
.btn-danger    { border-radius: 50px !important; font-weight: 700 !important; }
.btn-warning   { border-radius: 50px !important; font-weight: 700 !important; }
.btn-secondary { border-radius: 50px !important; font-weight: 700 !important; }

/* ----------------------------------------------------------------
   4. HEADER & NAVIGATION
   ---------------------------------------------------------------- */
.lhdr {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: background .3s ease, box-shadow .3s ease;
}
.lhdr.at-top    { background: transparent; }
.lhdr.scrolled  {
    background: rgba(13,71,161,.97);
    backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 2px 24px rgba(0,0,0,.18);
}

.lnav-wrap {
    max-width: 1220px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; height: 66px; gap: 16px;
}

/* Brand */
.lnav-brand {
    display: flex; align-items: center; gap: 10px;
    flex-shrink: 0; text-decoration: none;
}
.lnav-brand img {
    width: 40px; height: 40px; object-fit: contain;
    background: white; border-radius: 50%; padding: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.lnav-brand-name {
    color: white; font-family: 'Raleway', sans-serif;
    font-weight: 800; font-size: .95rem; letter-spacing: .3px;
}
@media (max-width: 480px) { .lnav-brand-name { display: none; } }

/* Desktop menu */
.lnav-menu {
    display: flex; align-items: center; gap: 2px;
    margin-left: auto;
}
.lnav-menu > li > a,
.lnav-menu > li > button {
    display: flex; align-items: center; gap: 4px;
    color: rgba(255,255,255,.88); font-size: .85rem; font-weight: 600;
    padding: 7px 12px; border-radius: var(--rs);
    background: none; border: none;
    transition: var(--tr); white-space: nowrap;
    font-family: 'Open Sans', sans-serif; cursor: pointer;
}
.lnav-menu > li > a:hover,
.lnav-menu > li > button:hover { color: #fff; background: rgba(255,255,255,.12); }

/* Dropdown */
.lnav-drop { position: relative; }
.lnav-drop-menu {
    position: absolute; top: calc(100% + 10px); left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 230px; background: white;
    border-radius: var(--r); box-shadow: var(--s3);
    padding: 6px; opacity: 0; visibility: hidden;
    transition: var(--tr); z-index: 200; list-style: none;
    border: 1px solid rgba(21,101,192,.08);
}
.lnav-drop:hover .lnav-drop-menu,
.lnav-drop:focus-within .lnav-drop-menu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.lnav-drop-menu li a,
.lnav-drop-menu li button {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 14px; border-radius: var(--rs);
    color: var(--tx); font-size: .84rem; font-weight: 600;
    transition: var(--tr); text-decoration: none;
    width: 100%; background: none; border: none;
    font-family: 'Open Sans', sans-serif; cursor: pointer;
}
.lnav-drop-menu li a:hover,
.lnav-drop-menu li button:hover { background: var(--bg); color: var(--p); }
.lnav-drop-menu .drop-divider { height: 1px; background: var(--brd); margin: 4px 8px; }

/* Sub-dropdown */
.lnav-sub-drop { position: relative; }
.lnav-sub-menu {
    position: absolute; top: 0; left: calc(100% + 6px);
    min-width: 210px; background: white;
    border-radius: var(--r); box-shadow: var(--s3);
    padding: 6px; opacity: 0; visibility: hidden;
    transform: translateX(-6px);
    transition: var(--tr); z-index: 201;
    list-style: none; border: 1px solid rgba(21,101,192,.08);
}
.lnav-sub-drop:hover .lnav-sub-menu,
.lnav-sub-drop:focus-within .lnav-sub-menu {
    opacity: 1; visibility: visible; transform: translateX(0);
}
.lnav-sub-drop > a .arr { margin-left: auto; font-size: .7rem; }

/* Actions */
.lnav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lnav-login {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, var(--a), var(--ad));
    color: #fff; border: none; border-radius: 50px;
    padding: 9px 20px; font-size: .85rem; font-weight: 700;
    box-shadow: 0 4px 14px rgba(0,191,165,.35);
    transition: var(--tr); cursor: pointer;
    font-family: 'Open Sans', sans-serif; text-decoration: none;
    white-space: nowrap;
}
.lnav-login:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,191,165,.50); color: #fff; }
.lnav-logout { background: linear-gradient(135deg, #EF5350, #C62828) !important; box-shadow: 0 4px 14px rgba(198,40,40,.30) !important; }
.lnav-logout:hover { box-shadow: 0 8px 20px rgba(198,40,40,.42) !important; }

/* Hamburger */
.lnav-ham {
    display: none; flex-direction: column; justify-content: center;
    gap: 5px; background: none; border: none;
    padding: 6px; margin-left: auto; cursor: pointer;
}
.lnav-ham span {
    display: block; width: 22px; height: 2px;
    background: white; border-radius: 2px;
    transition: var(--tr);
}
.lnav-ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lnav-ham.open span:nth-child(2) { opacity: 0; }
.lnav-ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 991px) {
    .lnav-ham { display: flex; }
    .lnav-menu {
        position: fixed; top: 66px; left: 0; right: 0;
        background: rgba(10,22,40,.97); backdrop-filter: blur(20px);
        flex-direction: column; align-items: stretch;
        padding: 12px 16px 20px; gap: 2px;
        max-height: calc(100vh - 66px); overflow-y: auto;
        transform: translateY(-110%); opacity: 0;
        transition: transform .38s ease, opacity .28s ease;
        pointer-events: none; z-index: 999;
    }
    .lnav-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    .lnav-menu > li > a,
    .lnav-menu > li > button { width: 100%; justify-content: space-between; padding: 10px 14px; font-size: .9rem; }
    .lnav-drop-menu {
        position: static; transform: none; opacity: 1; visibility: visible;
        box-shadow: none; background: rgba(255,255,255,.06);
        border-radius: var(--rs); margin: 4px 0 4px 12px;
        display: none; border-color: transparent;
    }
    .lnav-drop.m-open .lnav-drop-menu { display: block; }
    .lnav-drop-menu li a, .lnav-drop-menu li button { color: rgba(255,255,255,.78); font-size: .85rem; }
    .lnav-drop-menu li a:hover, .lnav-drop-menu li button:hover { background: rgba(255,255,255,.08); color: white; }
    .lnav-sub-menu {
        position: static; transform: none; opacity: 1; visibility: visible;
        box-shadow: none; background: rgba(255,255,255,.04);
        border-radius: var(--rs); margin: 4px 0 4px 12px;
        display: none; border-color: transparent;
    }
    .lnav-sub-drop.m-open .lnav-sub-menu { display: block; }
    .lnav-sub-menu li a { color: rgba(255,255,255,.65); font-size: .82rem; }
    .lnav-drop-menu .drop-divider { background: rgba(255,255,255,.1); }
}

/* ----------------------------------------------------------------
   5. HERO
   ---------------------------------------------------------------- */
.lhero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    background: url('../img/portada1.webp') center center / cover no-repeat;
}
.lhero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(145deg,
        rgba(13,71,161,.92) 0%,
        rgba(5,100,120,.85) 60%,
        rgba(0,137,123,.78) 100%);
}
/* Decorative shape */
.lhero-overlay::after {
    content: '';
    position: absolute; bottom: -2px; left: 0; right: 0; height: 120px;
    background: white;
    clip-path: ellipse(60% 100% at 50% 100%);
}
.lhero-body {
    position: relative; z-index: 2;
    text-align: center; color: white;
    max-width: 820px; padding: 120px 24px 100px;
}
.lhero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.14); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.28); color: white;
    border-radius: 50px; padding: 8px 22px;
    font-size: .78rem; font-weight: 700; letter-spacing: 1.8px;
    text-transform: uppercase; margin-bottom: 1.6rem;
}
.lhero h1 {
    font-family: 'Raleway', sans-serif; font-weight: 800; color: white;
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    line-height: 1.1; margin-bottom: 1.1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.lhero h1 em { font-style: normal; color: var(--a); }
.lhero-sub {
    font-size: clamp(.95rem, 2vw, 1.2rem);
    color: rgba(255,255,255,.85); line-height: 1.7;
    max-width: 540px; margin: 0 auto 2.5rem;
}
.lhero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lhero-scroll {
    position: absolute; bottom: 48px; left: 50%;
    transform: translateX(-50%); z-index: 3;
    color: rgba(255,255,255,.65); font-size: 1.6rem;
    animation: lbounce 2.2s ease infinite; cursor: pointer;
}
@keyframes lbounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(9px); }
}

/* ----------------------------------------------------------------
   6. SECCIÓN BASE
   ---------------------------------------------------------------- */
.lsec { padding: 88px 0; }
.lsec-alt { background: var(--bgs); }
.lsec-blue { background: var(--bg); }
.lcontainer { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lsec-head { text-align: center; margin-bottom: 60px; }
.lsec-label {
    display: inline-block;
    background: linear-gradient(135deg, rgba(21,101,192,.1), rgba(0,191,165,.1));
    color: var(--p); border: 1px solid rgba(21,101,192,.16);
    border-radius: 50px; padding: 6px 18px;
    font-size: .73rem; font-weight: 700; letter-spacing: 1.8px;
    text-transform: uppercase; margin-bottom: .9rem;
}
.lsec-title {
    font-family: 'Raleway', sans-serif; font-weight: 800;
    font-size: clamp(1.6rem, 3.5vw, 2.35rem); color: var(--tx);
    margin-bottom: .8rem;
}
.lsec-title em { font-style: normal; color: var(--p); }
.lsec-desc { color: var(--txm); font-size: 1rem; max-width: 540px; margin: 0 auto; line-height: 1.75; }

/* ----------------------------------------------------------------
   7. ESTADÍSTICAS / COUNTERS
   ---------------------------------------------------------------- */
.lstats {
    background: linear-gradient(135deg, var(--pd) 0%, var(--p) 50%, #0277BD 100%);
    padding: 56px 0;
}
.lstats-grid {
    display: grid; grid-template-columns: repeat(3,1fr);
}
.lstat {
    text-align: center; padding: 2rem 1.5rem;
    border-right: 1px solid rgba(255,255,255,.15);
}
.lstat:last-child { border-right: none; }
.lstat-ico { font-size: 2rem; color: rgba(255,255,255,.45); margin-bottom: .5rem; }
.lstat-num {
    font-family: 'Raleway', sans-serif; font-weight: 800;
    font-size: clamp(2.4rem, 5vw, 3.4rem); color: white;
    line-height: 1; display: block;
}
.lstat-lbl {
    display: block; color: rgba(255,255,255,.72);
    font-size: .73rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    margin-top: .45rem;
}
@media (max-width: 576px) {
    .lstats-grid { grid-template-columns: 1fr; }
    .lstat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
    .lstat:last-child { border-bottom: none; }
}

/* ----------------------------------------------------------------
   8. QUIÉNES SOMOS
   ---------------------------------------------------------------- */
.labout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.labout-img-wrap { position: relative; }
.labout-img-wrap img {
    border-radius: var(--rl); box-shadow: var(--s3);
    width: 100%; aspect-ratio: 4/3; object-fit: cover;
}
.labout-badge {
    position: absolute; bottom: -22px; right: -22px;
    background: linear-gradient(135deg, var(--a), var(--ad));
    color: white; border-radius: var(--r);
    padding: 18px 22px; text-align: center;
    box-shadow: 0 10px 28px rgba(0,191,165,.40);
}
.labout-badge-num { font-size: 1.9rem; font-weight: 800; display: block; line-height: 1; }
.labout-badge-lbl { font-size: .72rem; font-weight: 700; opacity: .9; letter-spacing: .5px; }
.labout-text { color: var(--txm); font-size: .93rem; line-height: 1.85; margin-bottom: .9rem; text-align: justify; }
.labout-text strong { color: var(--tx); font-size: 1.05rem; }
@media (max-width: 768px) {
    .labout-grid { grid-template-columns: 1fr; gap: 56px; }
    .labout-badge { right: 12px; bottom: -16px; }
}

/* ----------------------------------------------------------------
   9. PROCESOS / SERVICE CARDS
   ---------------------------------------------------------------- */
.lproc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
@media (max-width: 991px) { .lproc-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px)  { .lproc-grid { grid-template-columns: 1fr; } }

.lproc-card {
    background: white; border-radius: var(--r);
    padding: 32px 22px 26px; text-align: center;
    box-shadow: var(--s0); border: 1px solid var(--brd);
    transition: var(--tr); position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: center;
}
.lproc-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--p), var(--a));
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s ease;
}
.lproc-card:hover { transform: translateY(-8px); box-shadow: var(--s2); border-color: rgba(21,101,192,.15); }
.lproc-card:hover::before { transform: scaleX(1); }
.lproc-icon {
    width: 66px; height: 66px; border-radius: 50%;
    background: var(--bg); display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; color: var(--p); margin: 0 auto 1.3rem;
    transition: var(--tr);
}
.lproc-card:hover .lproc-icon {
    background: linear-gradient(135deg, var(--p), var(--a));
    color: white; transform: scale(1.07);
}
.lproc-card h3 { font-size: 1rem; font-weight: 700; color: var(--tx); margin-bottom: .45rem; }
.lproc-card p  { font-size: .84rem; color: var(--txm); line-height: 1.6; margin-bottom: 1.3rem; flex: 1; }

/* ----------------------------------------------------------------
   10. REPORTES (ICON GRID)
   ---------------------------------------------------------------- */
.lrep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 14px; }
.lrep-card {
    display: flex; align-items: center; gap: 13px;
    background: white; border-radius: var(--r);
    padding: 16px 18px; cursor: pointer;
    box-shadow: var(--s0); border: 1px solid var(--brd);
    transition: var(--tr); text-decoration: none; color: var(--tx);
}
.lrep-card:hover { transform: translateY(-5px); box-shadow: var(--s2); border-color: rgba(21,101,192,.18); color: var(--p); }
.lrep-ico {
    width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--rs);
    background: var(--bg); display: flex; align-items: center; justify-content: center;
    font-size: 1.22rem; transition: var(--tr);
}
.lrep-card:hover .lrep-ico {
    background: linear-gradient(135deg, var(--p), var(--a)); color: white;
}
.lrep-lbl { font-size: .84rem; font-weight: 700; line-height: 1.3; }

/* ----------------------------------------------------------------
   11. AULA VIRTUAL / COURSES
   ---------------------------------------------------------------- */
.lcourses-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
@media (max-width: 991px) { .lcourses-grid { grid-template-columns: 1fr; } }

.lcourse-card {
    background: white; border-radius: var(--rl);
    overflow: hidden; box-shadow: var(--s1);
    border: 1px solid var(--brd); transition: var(--tr);
    display: flex; flex-direction: column;
    text-decoration: none; color: var(--tx);
}
.lcourse-card:hover { transform: translateY(-10px); box-shadow: var(--s3); color: var(--tx); }
.lcourse-thumb { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.lcourse-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lcourse-card:hover .lcourse-thumb img { transform: scale(1.06); }
.lcourse-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(13,71,161,.72) 100%);
    display: flex; align-items: flex-end; padding: 14px;
    opacity: 0; transition: opacity .3s ease;
}
.lcourse-card:hover .lcourse-overlay { opacity: 1; }
.lcourse-overlay-btn {
    width: 44px; height: 44px; background: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--p); font-size: 1.2rem; box-shadow: var(--s1);
}
.lcourse-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.lcourse-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(21,101,192,.1), rgba(0,191,165,.1));
    color: var(--p); border-radius: 50px;
    padding: 4px 14px; font-size: .73rem; font-weight: 700;
    letter-spacing: .5px; margin-bottom: .85rem;
}
.lcourse-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--tx); margin-bottom: .45rem; }
.lcourse-body p  { font-size: .86rem; color: var(--txm); line-height: 1.65; flex: 1; }

/* ----------------------------------------------------------------
   12. BANCOS
   ---------------------------------------------------------------- */
.lbanks-notice {
    background: linear-gradient(135deg, rgba(21,101,192,.07), rgba(0,191,165,.07));
    border: 1px solid rgba(21,101,192,.14); border-radius: var(--r);
    padding: 16px 22px; display: flex; align-items: center; gap: 14px;
    font-size: .9rem; color: var(--tx); margin-bottom: 44px;
}
.lbanks-notice i { font-size: 1.4rem; color: var(--p); flex-shrink: 0; }
.lbanks-notice a { color: var(--p); font-weight: 700; }
.lbanks-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 768px) { .lbanks-grid { grid-template-columns: 1fr; } }
@media (max-width: 991px) and (min-width: 769px) { .lbanks-grid { grid-template-columns: 1fr 1fr; } }

.lbank-card {
    background: white; border-radius: var(--r);
    overflow: hidden; box-shadow: var(--s1);
    border: 1px solid var(--brd); transition: var(--tr);
}
.lbank-card:hover { transform: translateY(-6px); box-shadow: var(--s2); }
.lbank-head {
    background: linear-gradient(135deg, var(--p), var(--pd));
    padding: 22px 24px; color: white;
}
.lbank-type { font-size: .7rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: rgba(255,255,255,.68); margin-bottom: 4px; }
.lbank-name { font-family: 'Raleway', sans-serif; font-size: 1.15rem; font-weight: 800; }
.lbank-body { padding: 20px 24px; }
.lbank-row { margin-bottom: 10px; }
.lbank-row-lbl { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--txm); }
.lbank-row-val { font-size: .88rem; font-weight: 600; color: var(--tx); }
.lbank-logo { padding: 14px 24px 18px; border-top: 1px solid var(--brd); display: flex; align-items: center; justify-content: center; }
.lbank-logo img { height: 34px; width: auto; object-fit: contain; }

/* ----------------------------------------------------------------
   13. COMUNICADOS
   ---------------------------------------------------------------- */
.ldoc-wrap { margin-bottom: 28px; border-radius: var(--r); overflow: hidden; box-shadow: var(--s1); }
.ldoc-title { background: linear-gradient(135deg, var(--p), #1E88E5); padding: 14px 20px; color: white; font-weight: 700; font-size: .95rem; }
.ldoc-frame { position: relative; height: 0; padding-bottom: 70%; }
.ldoc-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ----------------------------------------------------------------
   14. FOOTER
   ---------------------------------------------------------------- */
.lfooter { background: linear-gradient(160deg, #080F1E 0%, #0A1628 50%, #0D1B2A 100%); color: rgba(255,255,255,.58); }
.lfooter-top { padding: 70px 0 44px; }
.lfooter-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
@media (max-width: 991px) { .lfooter-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 576px)  { .lfooter-grid { grid-template-columns: 1fr; gap: 28px; } }

.lfooter-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1.1rem; }
.lfooter-brand-logo img { width: 42px; height: 42px; background: white; border-radius: 50%; padding: 3px; object-fit: contain; }
.lfooter-brand-logo span { color: white; font-family: 'Raleway', sans-serif; font-weight: 800; font-size: .95rem; }
.lfooter-brand p { font-size: .86rem; line-height: 1.8; }
.lfooter-brand p strong { color: rgba(255,255,255,.82); }

.lfooter-col h4 { color: white; font-size: .88rem; font-weight: 700; margin-bottom: 1.1rem; padding-bottom: .55rem; border-bottom: 2px solid rgba(0,191,165,.3); }
.lfooter-links li { padding: .28rem 0; }
.lfooter-links li a,
.lfooter-links li button {
    color: rgba(255,255,255,.55); font-size: .86rem;
    display: flex; align-items: center; gap: 7px;
    transition: var(--tr); text-decoration: none;
    background: none; border: none; cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    padding: 0;
}
.lfooter-links li a:hover,
.lfooter-links li button:hover { color: var(--a); padding-left: 4px; }
.lfooter-links li i { color: var(--a); font-size: .7rem; }

.lfooter-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 18px 0;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 10px;
}
.lfooter-cr { font-size: .8rem; }
.lfooter-cr a { color: var(--a); }
.lsocials { display: flex; gap: 8px; }
.lsocial-a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.65); font-size: 1rem;
    text-decoration: none; transition: var(--tr);
}
.lsocial-a:hover { background: var(--a); color: white; transform: translateY(-3px); }
@media (max-width: 576px) { .lfooter-bottom { flex-direction: column; text-align: center; } }

/* ----------------------------------------------------------------
   15. FLOTANTE & BACK-TO-TOP
   ---------------------------------------------------------------- */
.lfloat {
    position: fixed; right: 22px; bottom: 22px; z-index: 990;
    display: flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #00C853, #00897B);
    color: white; border: none; border-radius: 50px;
    padding: 13px 20px; font-size: .88rem; font-weight: 700;
    box-shadow: 0 8px 24px rgba(0,150,100,.38);
    transition: var(--tr); cursor: pointer;
    font-family: 'Open Sans', sans-serif;
}
.lfloat:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,150,100,.50); color: white; }
@media (max-width: 576px) {
    .lfloat { padding: 12px 14px; border-radius: 50%; width: 50px; height: 50px; justify-content: center; }
    .lfloat-label { display: none; }
}

.lbtt {
    position: fixed; right: 22px; bottom: 82px; z-index: 989;
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--p), var(--a));
    color: white; display: flex; align-items: center; justify-content: center;
    text-decoration: none; box-shadow: var(--s2);
    transition: var(--tr); opacity: 0; visibility: hidden;
}
.lbtt.show { opacity: 1; visibility: visible; }
.lbtt:hover { transform: translateY(-3px); color: white; }

/* ----------------------------------------------------------------
   16. MODALES
   ---------------------------------------------------------------- */
.modal-content {
    border-radius: var(--r) !important; border: none !important;
    box-shadow: 0 24px 60px rgba(0,0,0,.22) !important; overflow: hidden;
}
.modal-header {
    background: linear-gradient(135deg, var(--pd), var(--p)) !important;
    border: none !important; padding: 1.1rem 1.4rem !important;
}
.modal-title { color: white !important; font-weight: 700 !important; font-size: .97rem !important; }
.modal-header .btn-close { filter: brightness(0) invert(1) !important; opacity: .75; }
.modal-footer { border-top: 1px solid rgba(0,0,0,.06) !important; gap: 6px; }
.form-control { border-radius: var(--rs) !important; border: 1.5px solid var(--brd) !important; padding: 10px 14px !important; font-size: .9rem !important; transition: border-color .25s ease !important; }
.form-control:focus { border-color: var(--p) !important; box-shadow: 0 0 0 3px rgba(21,101,192,.1) !important; outline: none !important; }
.modal-body p { color: var(--txm); line-height: 1.75; }
.modal-body h3 { color: var(--tx); }
.col-form-label { font-size: .88rem; font-weight: 600; color: var(--tx); }

/* ----------------------------------------------------------------
   17. UTILITARIOS
   ---------------------------------------------------------------- */
.lmt-1 { margin-top: .5rem; }  .lmt-2 { margin-top: 1rem; }
.lmb-1 { margin-bottom: .5rem; } .lmb-2 { margin-bottom: 1rem; }
.ltxt-c { text-align: center; }
.lhide-scroll { scrollbar-width: none; } .lhide-scroll::-webkit-scrollbar { display: none; }

/* ----------------------------------------------------------------
   18. PÁGINAS INTERNAS (consulta, perfil, etc.)
   ---------------------------------------------------------------- */
.lpage-hdr {
    background: linear-gradient(135deg, var(--pd) 0%, var(--p) 55%, #1E88E5 100%);
    padding: 6.5rem 0 2.8rem;
    text-align: center;
    color: white;
    position: relative;
}
.lpage-hdr::after {
    content: '';
    position: absolute; bottom: -1px; left: 0; right: 0;
    height: 48px;
    background: var(--bgs);
    clip-path: ellipse(55% 100% at 50% 100%);
}
.lpage-hdr h2 { font-size: 1.8rem; font-weight: 800; margin: 0 0 .5rem; }
.lpage-hdr .lbreadcrumb { font-size: .88rem; opacity: .82; display: flex; align-items: center; justify-content: center; gap: 6px; }
.lpage-hdr .lbreadcrumb a { color: white; opacity: .78; }
.lpage-hdr .lbreadcrumb a:hover { opacity: 1; }
.lpage-hdr .lbreadcrumb i { font-size: .6rem; }

.lpage-main { background: var(--bgs); padding: 2.5rem 0 4.5rem; min-height: 55vh; }

.lform-card {
    background: var(--w);
    border-radius: var(--r);
    box-shadow: var(--s1);
    margin-bottom: 1.75rem;
    overflow: hidden;
    border: 1px solid var(--brd);
}
.lform-card-hdr {
    padding: .85rem 1.5rem;
    display: flex; align-items: center; gap: .6rem;
    color: white;
    font-weight: 700; font-size: .95rem;
}
.lform-card-hdr.blue   { background: linear-gradient(135deg, var(--pd), var(--p)); }
.lform-card-hdr.teal   { background: linear-gradient(135deg, var(--ad), var(--a)); }
.lform-card-hdr.pink   { background: linear-gradient(135deg, #c2185b, #e91e63); }
.lform-card-hdr.sky    { background: linear-gradient(135deg, #0277BD, #29B6F6); }
.lform-card-hdr.purple { background: linear-gradient(135deg, #6a1b9a, #ab47bc); }
.lform-card-body { padding: 1.5rem; }
@media (max-width: 576px) { .lform-card-body { padding: 1rem; } }

.lfoto-wrap {
    display: flex; flex-direction: column; align-items: center; gap: .75rem;
    padding: 1.25rem;
}
.lfoto-wrap img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 3px solid var(--brd); }
.lfoto-wrap .btn-info { font-size: .82rem; border-radius: 50px; padding: 6px 16px; }
