/* ==========================================================================
   UTTT · Educación Continua — Hoja de estilos institucional
   - Barras de gobierno y pie de página: guinda y dorado (Gobierno de Hidalgo)
   - Cuerpo: azul marino, verde turquesa y verde lima (identidad UTTT / Cardenales)
   Se carga DESPUÉS de bootstrap.min.css y Style.css para sobrescribirlos.
   ========================================================================== */

:root {
    /* Barras y pie (gobierno) */
    --guinda: #691C32;
    --guinda-osc: #4A1323;
    --dorado: #BC955C;
    --dorado-clr: #DDC9A3;

    /* Cuerpo (UTTT) */
    --azul: #141B4D;
    --azul-2: #1F2A6B;
    --azul-3: #2B3784;
    --verde: #00A884;
    --verde-2: #00C29A;
    --verde-osc: #00876B;
    --lima: #8DC63F;
    --lima-clr: #C9E39A;
    --fondo: #F2F5F8;
    --linea: #DCE3EC;
    --campo: #E8F0FE;
    --texto: #1E2433;
    --texto-sec: #5B6478;
    --sombra: 0 12px 32px rgba(20, 27, 77, .12);
    --radio: 14px;
}

/* ---------- Base ---------- */
html, body { min-height: 100%; }

body {
    margin: 0;
    padding: 0 !important;
    font-family: 'Rajdhani', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-size: 15.5px;
    font-weight: 500;
    color: var(--texto);
    background-color: var(--fondo);
    /* Patrón de hexágonos tenue */
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cg fill='none' stroke='%23141B4D' stroke-opacity='.07' stroke-width='1.1'%3E%3Cpath d='M28 0 L56 16 L56 48 L28 64 L0 48 L0 16 Z'/%3E%3Cpath d='M28 64 L28 97'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 56px 97px;
    position: relative;
}

/* Hexágonos decorativos laterales (como la imagen de referencia) */
body::before,
body::after {
    content: "";
    position: fixed;
    top: 300px;
    width: 260px;
    height: 640px;
    pointer-events: none;
    z-index: 0;
    background-repeat: no-repeat;
    background-size: contain;
}
body::before {
    left: -40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 640'%3E%3Cpolygon points='60,40 115,72 115,136 60,168 5,136 5,72' fill='none' stroke='%23A7ADC6' stroke-width='12'/%3E%3Cpolygon points='190,140 225,160 225,200 190,220 155,200 155,160' fill='%23A7ADC6' opacity='.75'/%3E%3Cpolygon points='70,190 130,224 130,292 70,326 10,292 10,224' fill='%2300A884' opacity='.3'/%3E%3Cpolygon points='240,300 262,313 262,339 240,352 218,339 218,313' fill='none' stroke='%238DC63F' stroke-opacity='.45' stroke-width='6'/%3E%3Cpolygon points='30,380 65,400 65,440 30,460 -5,440 -5,400' fill='%238DC63F' opacity='.3'/%3E%3C/svg%3E");
}
body::after {
    right: -40px;
    top: auto;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 640'%3E%3Cpolygon points='210,150 240,167 240,201 210,218 180,201 180,167' fill='%238DC63F' opacity='.3'/%3E%3Cpolygon points='60,250 88,266 88,298 60,314 32,298 32,266' fill='none' stroke='%238DC63F' stroke-opacity='.4' stroke-width='6'/%3E%3Cpolygon points='170,370 240,410 240,490 170,530 100,490 100,410' fill='%2300A884' opacity='.28'/%3E%3Cpolygon points='60,560 95,580 95,620 60,640 25,620 25,580' fill='%23A7ADC6' opacity='.7'/%3E%3Cpolygon points='255,500 300,526 300,578 255,604 210,578 210,526' fill='%238DC63F' opacity='.22'/%3E%3C/svg%3E");
}
.gob-bar, .inst-bar, .hero-wrap, .reloj, .divPrincipal, .franja-ec, .pie-inst { position: relative; z-index: 1; }

a { color: var(--verde-osc); }
a:hover, a:focus { color: var(--verde); }

.contenedor-inst {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------- Barra gob (guinda) ---------- */
.gob-bar {
    background: var(--guinda);
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.gob-bar .contenedor-inst,
.inst-bar .contenedor-inst {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 24px;
}
.gob-bar .contenedor-inst { min-height: 54px; }
.gob-bar .gob-logo img { height: 34px; width: auto; display: block; }
.gob-bar nav a,
.inst-bar nav a {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 2px;
    margin-left: 22px;
    display: inline-block;
    position: relative;
}
.gob-bar nav a::after,
.inst-bar nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--dorado-clr);
    transform: scaleX(0);
    transition: transform .2s ease;
}
.gob-bar nav a:hover::after,
.inst-bar nav a:hover::after { transform: scaleX(1); }
.inst-bar nav a::after { background: var(--guinda); }

/* ---------- Barra institucional (dorado) ---------- */
.inst-bar {
    background: var(--dorado);
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.inst-bar .contenedor-inst { min-height: 48px; }
.inst-bar .inst-nombre {
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    letter-spacing: .2px;
}
.inst-bar .inst-nombre:hover { color: #fff; text-decoration: none; }

.btn-menu-movil {
    display: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,.6);
    color: #fff;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 16px;
}

/* ---------- Encabezado principal (hero) ---------- */
.hero-wrap { padding: 24px 16px 0; }
.hero {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    min-height: 248px;
    border-radius: 22px;
    background:
        radial-gradient(ellipse at 50% 40%, var(--azul-3) 0%, var(--azul-2) 35%, var(--azul) 75%);
    box-shadow: var(--sombra);
    display: grid;
    grid-template-columns: 230px 1fr 230px;
    align-items: center;
    padding: 20px 34px 46px;
    color: #fff;
}
/* Patrón tenue de hexágonos sobre el azul */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='.05' stroke-width='1.4'%3E%3Cpath d='M28 0 L56 16 L56 48 L28 64 L0 48 L0 16 Z'/%3E%3Cpath d='M28 64 L28 97'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 56px 97px;
    pointer-events: none;
}
/* Esquinas en verde lima y turquesa con líneas blancas diagonales */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background:
        linear-gradient(135deg, var(--lima) 0 7%, transparent 7.1%),
        linear-gradient(135deg, transparent 0 7.2%, var(--verde) 7.3% 30%, transparent 30.1%) top left / 60% 100% no-repeat,
        linear-gradient(315deg, var(--verde) 0 7%, transparent 7.1%),
        linear-gradient(315deg, transparent 0 9%, rgba(255,255,255,.75) 9.1% 9.35%, transparent 9.45%),
        linear-gradient(135deg, transparent 0 31%, rgba(255,255,255,.35) 31.1% 31.3%, transparent 31.4%) top left / 60% 100% no-repeat;
    pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

/* Logo UTTT dentro de hexágonos (blanco + turquesa) con hexágonos lima alrededor */
.hero-logo-uttt {
    justify-self: start;
    position: relative;
    width: 178px;
    height: 198px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    filter: drop-shadow(0 10px 14px rgba(0,0,0,.35));
}
.hero-logo-uttt .hex-interno {
    width: 156px;
    height: 174px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--azul);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.hero-logo-uttt .hex-interno::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 156px;
    background: linear-gradient(160deg, var(--verde-2), var(--verde-osc));
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.hero-logo-uttt img { width: 108px; height: auto; position: relative; z-index: 1; }
.hero-logo-wrap { position: relative; justify-self: start; }
.hero-logo-wrap .hex-lima {
    position: absolute;
    width: 44px;
    height: 50px;
    background: var(--lima);
    border: 0;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    z-index: 2;
}
.hero-logo-wrap .hex-lima.h1 { top: 6px; left: -14px; }
.hero-logo-wrap .hex-lima.h2 { top: -12px; right: 4px; background: var(--lima-clr); }
.hero-logo-wrap .hex-lima.h3 { top: 64px; left: -24px; width: 34px; height: 39px; background: var(--verde); }

.hero-titulo {
    margin: 0;
    text-align: center;
    line-height: 1.02;
}
.hero-titulo .linea1 {
    display: block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: .3px;
    color: #fff;
    text-shadow: 0 3px 8px rgba(0,0,0,.35);
}
.hero-titulo .linea2 {
    display: inline-block;
    margin-top: 10px;
    font-family: 'Black Ops One', 'Arial Black', Impact, sans-serif;
    font-size: 72px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(180deg, var(--lima-clr) 0%, var(--lima) 35%, var(--verde) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px #fff;
    filter: drop-shadow(0 4px 0 var(--azul)) drop-shadow(0 8px 12px rgba(0,0,0,.45));
}

.hero-logo-card { justify-self: end; }
.hero-logo-card img {
    width: 205px;
    height: auto;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,.4));
}

.hero-pill {
    position: absolute;
    left: 50%;
    bottom: -26px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
    background: linear-gradient(180deg, var(--azul-2), var(--azul));
    color: #fff;
    border: 4px solid #fff;
    border-radius: 999px;
    padding: 12px 38px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 4.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(20,27,77,.35);
}
.hero-pill i { color: var(--verde-2); letter-spacing: 0; font-size: 17px; }

/* ---------- Encabezado con imagen (banner institucional) ---------- */
.hero.hero-imagen {
    display: block;
    min-height: 0;
    padding: 0;
    background: var(--azul);
    border-radius: 22px;
}
.hero.hero-imagen::before,
.hero.hero-imagen::after { display: none; }
.hero-banner {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
}

/* ---------- Franja fecha / hora ---------- */
.reloj {
    margin: 48px auto 0;
    width: max-content;
    max-width: calc(100% - 32px);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--linea);
    border-radius: 12px;
    padding: 10px 18px 10px 26px;
    box-shadow: 0 6px 18px rgba(20,27,77,.07);
}
.reloj .fecha { font-weight: 700; font-size: 16.5px; color: var(--texto); letter-spacing: .3px; }
.reloj .fecha i { color: var(--verde); margin-right: 10px; }
.reloj .separador { width: 1px; height: 26px; background: var(--linea); }
.reloj .hora {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 2.5px;
    color: #fff;
    background: var(--azul);
    border-radius: 8px;
    padding: 4px 14px;
}

/* ---------- Contenedor principal ---------- */
.divPrincipal {
    background: transparent !important;
    max-width: 1280px;
    margin: 0 auto !important;
    padding: 24px 16px 50px;
}
.area-contenido { margin: 0 auto; }
.area-contenido > .row { margin-left: 0; margin-right: 0; }

.borde {
    border: 1px solid var(--linea) !important;
    border-radius: var(--radio) !important;
    background: #fff !important;
    box-shadow: var(--sombra);
    padding: 16px !important;
}

/* ---------- Menú lateral ---------- */
.divmenu { padding: 0 !important; overflow: hidden; }
.menu-cabecera {
    background: linear-gradient(120deg, var(--azul), var(--azul-2));
    color: #fff;
    padding: 18px 18px 16px;
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(90deg, var(--azul), var(--verde), var(--lima)) 1;
}
.menu-cabecera small {
    display: block;
    color: var(--lima);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2.5px;
    font-weight: 700;
}
.menu-cabecera strong { font-size: 19px; }

#accordion { padding: 12px; margin: 0; }
#accordion .panel {
    border: 0;
    box-shadow: none;
    margin: 0 0 6px !important;
    background: transparent;
}
#accordion .panel-heading { background: transparent; border: 0; padding: 0; }
#accordion .panel-title a,
#accordion .panel-title .menu-salir {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--texto);
    font-size: 16.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
#accordion .panel-title a img,
#accordion .panel-title .menu-salir img {
    width: 30px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 4px;
    background: #F1F6FB;
    border: 1px solid var(--linea);
    border-radius: 8px;
    object-fit: contain;
}
#accordion .panel-title a:hover {
    background: #E9F7F3;
    color: var(--verde-osc);
    transform: translateX(3px);
}
#accordion .menu-salir {
    margin-top: 6px;
    border-top: 1px solid var(--linea);
    border-radius: 0 !important;
    padding-top: 14px !important;
}
#accordion .menu-salir a { display: block !important; color: var(--azul) !important; font-weight: 700; padding: 0 !important; }
#accordion .menu-salir a:hover { transform: none !important; background: none !important; text-decoration: underline; }
.smallNombre {
    float: none !important;
    display: block;
    font-size: 13px !important;
    color: var(--texto-sec) !important;
    font-weight: 500;
    padding-top: 2px !important;
}

.menu_bar .bt-menu {
    background: var(--azul) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    font-weight: 700;
    display: flex !important;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.menu_bar .bt-menu i { font-size: 18px; color: var(--verde-2); }

/* ---------- Tarjeta de inicio de sesión ---------- */
.login-wrap { display: flex; justify-content: center; padding: 8px 0 20px; }
.login-card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--linea);
    box-shadow: var(--sombra);
    overflow: hidden;
}
.login-card .login-barra {
    height: 4px;
    background: linear-gradient(90deg, var(--azul) 0%, var(--verde) 55%, var(--lima) 100%);
}
.login-card .login-cuerpo { padding: 30px 34px 34px; }
.login-card h3 {
    margin: 0 0 30px;
    font-family: 'Rajdhani', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--azul);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: .4px;
}
.login-card h3 i { color: var(--verde); }
.login-card .campo { margin-bottom: 18px; }
.login-card .campo label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--texto-sec);
}
.campo-icono { position: relative; display: flex; align-items: center; }
.campo-icono > .ico {
    position: absolute;
    left: 15px;
    color: var(--texto-sec);
    font-size: 14px;
    pointer-events: none;
    z-index: 2;
}
.campo-icono .form-control {
    height: 48px;
    padding-left: 42px;
    padding-right: 46px;
    border-radius: 10px;
    border: 1.5px solid var(--linea);
    background: #fff;
    box-shadow: none;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    color: var(--texto);
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.campo-icono .form-control:not(:placeholder-shown) { background: var(--campo); }
.campo-icono .form-control:focus {
    border-color: var(--verde);
    background: var(--campo);
    box-shadow: 0 0 0 4px rgba(0,168,132,.14);
}
.campo-icono .ver-clave {
    position: absolute;
    right: 6px;
    height: 36px;
    width: 36px;
    border: 0;
    background: transparent;
    color: var(--texto-sec);
    border-radius: 8px;
    cursor: pointer;
    z-index: 2;
}
.campo-icono .ver-clave:hover { color: var(--verde-osc); background: #E9F7F3; }
.campo-icono .text-danger.req {
    position: absolute;
    right: -18px;
    font-weight: 700;
    font-size: 18px;
}
.btn-ingresar {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 10px;
    color: #fff !important;
    font-family: 'Rajdhani', Arial, sans-serif;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: .5px;
    background: linear-gradient(90deg, #009C7A 0%, var(--verde-2) 100%) !important;
    box-shadow: 0 10px 20px rgba(0,168,132,.28);
    transition: transform .12s ease, box-shadow .12s ease;
}
.btn-ingresar:hover, .btn-ingresar:focus {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0,168,132,.36);
    color: #fff;
}
.login-nota {
    margin: 22px 0 0;
    text-align: center;
    font-size: 14px;
    color: var(--texto-sec);
    line-height: 1.5;
}
.login-nota i { color: var(--verde); margin-right: 4px; }
.login-card .mensaje { margin-top: 14px; text-align: center; border-radius: 8px !important; padding: 8px !important; }
.login-pie { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--texto-sec); }

/* ---------- Componentes Bootstrap en páginas internas ---------- */
.panel-primary {
    border: 1px solid var(--linea) !important;
    border-radius: var(--radio) !important;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(20,27,77,.06);
}
.panel-primary > .panel-heading {
    background: linear-gradient(90deg, var(--azul), var(--azul-2)) !important;
    border-color: var(--azul) !important;
    border-bottom: 3px solid var(--verde) !important;
    color: #fff !important;
    padding: 14px 18px;
}
.panel-primary > .panel-heading .panel-title { font-family: 'Rajdhani', Arial, sans-serif; font-size: 19px; font-weight: 700; letter-spacing: .4px; }
.panel-body h3 { color: var(--azul); font-weight: 700; font-size: 22px; margin-left: 10px; }

.btn-success, .btn-primary {
    background: linear-gradient(90deg, #009C7A, var(--verde-2)) !important;
    border-color: var(--verde-osc) !important;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 700;
}
.btn-success:hover, .btn-primary:hover,
.btn-success:focus, .btn-primary:focus { background: var(--verde-osc) !important; }
.btn-default {
    border-radius: 8px;
    border-color: var(--linea);
    color: var(--azul);
    font-weight: 700;
}
.btn-default:hover { background: #E9F7F3; border-color: var(--verde); color: var(--verde-osc); }

.form-control:focus {
    border-color: var(--verde);
    box-shadow: 0 0 0 3px rgba(0,168,132,.15);
}

.table > thead > tr.bg-info > td,
.table > thead > tr.bg-info > th,
tr.bg-info {
    background: #E9EEF8 !important;
    color: var(--azul) !important;
    font-size: 13.5px;
    letter-spacing: .4px;
}
.table > thead > tr.bg-primary > td,
tr.bg-primary { background: var(--azul) !important; color: #fff !important; }
.table-hover > tbody > tr:hover { background: #F2FAF7; }
.table-bordered, .table-bordered > tbody > tr > td, .table-bordered > thead > tr > td { border-color: var(--linea) !important; }

.nav-pills { border: 2px solid var(--verde) !important; border-radius: 10px !important; padding: 4px; }
.nav-pills > li > a { color: var(--azul); font-weight: 700; border-radius: 8px; }
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus { background: var(--azul) !important; color: #fff !important; }

h3.bg-success {
    background: #E9F7F3;
    color: var(--azul);
    border-left: 4px solid var(--verde);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 18px;
}

/* ---------- Ventana modal (AjaxControlToolkit) ---------- */
.modalDialog {
    background-color: rgba(20, 27, 77, .55) !important;
    opacity: 1 !important;
}

/* ---------- Pie de página ---------- */
.franja-ec {
    background: var(--dorado);
    color: #fff;
    text-align: center;
    font-size: 14px;
    padding: 12px 16px;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.7;
}
.franja-ec a { color: #fff; text-decoration: underline; }

.pie-inst {
    font-family: 'Montserrat', Arial, sans-serif;
    background: var(--guinda);
    color: #fff;
    padding: 40px 16px 0;
}
.pie-inst .contenedor-inst {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    align-items: center;
    gap: 30px;
}
.pie-inst .pie-logo { text-align: center; }
.pie-inst .pie-logo img { max-width: 230px; width: 100%; height: auto; }
.pie-inst .pie-logo.uttt img { max-width: 180px; }
.pie-inst .pie-contacto { text-align: center; font-size: 13.5px; line-height: 1.75; }
.pie-inst .pie-contacto h4 {
    font-weight: 700;
    font-size: 20px;
    margin: 0 0 6px;
    color: var(--dorado-clr);
}
.pie-inst .redes a {
    color: #fff;
    font-size: 26px;
    margin: 8px 8px 0;
    display: inline-block;
    transition: color .15s;
}
.pie-inst .redes a:hover { color: var(--dorado-clr); }
.pie-inst .pie-legal {
    margin-top: 32px;
    border-top: 1px solid rgba(255,255,255,.15);
    text-align: center;
    padding: 14px 0 16px;
    font-size: 12px;
    color: rgba(255,255,255,.75);
}

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
    .hero { grid-template-columns: 170px 1fr 170px; padding: 20px 22px 44px; }
    .hero-logo-uttt { width: 140px; height: 156px; }
    .hero-logo-uttt .hex-interno { width: 122px; height: 136px; }
    .hero-logo-uttt .hex-interno::before { width: 108px; height: 121px; }
    .hero-logo-uttt img { width: 84px; }
    .hero-logo-card img { width: 150px; }
    .hero-titulo .linea1 { font-size: 24px; }
    .hero-titulo .linea2 { font-size: 50px; }
    body::before, body::after { display: none; }
}
@media (max-width: 860px) {
    .gob-bar nav, .inst-bar nav { display: none; width: 100%; padding-bottom: 8px; }
    .gob-bar nav.abierto, .inst-bar nav.abierto { display: block; }
    .gob-bar nav a, .inst-bar nav a { display: block; margin-left: 0; }
    .btn-menu-movil { display: inline-block; }
    .hero { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; padding: 24px 16px 50px; }
    .hero-logo-uttt, .hero-logo-card, .hero-logo-wrap { justify-self: center; }
    .hero-logo-card { display: none; }
    .hero-titulo .linea2 { font-size: 38px; }
    .hero-pill { font-size: 11px; letter-spacing: 2px; padding: 8px 18px; bottom: -22px; border-width: 3px; }
    .hero.hero-imagen, .hero-banner { border-radius: 14px; }
    .pie-inst .contenedor-inst { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .hero-titulo .linea1 { font-size: 19px; }
    .hero-titulo .linea2 { font-size: 30px; letter-spacing: 1px; }
    .hero-pill { white-space: normal; text-align: center; width: 88%; justify-content: center; }
    .login-card .login-cuerpo { padding: 24px 20px; }
    .reloj .separador { display: none; }
}
