:root {
    --gris-oscuro: #595959;
    --gris: #878787;
    --gris-claro: #acacac;
    --blanco: #F0F0F0;
    --verde: #005E6E;
}

body {
    font-family: "Lato", sans-serif !important;
    text-align: justify !important;
}

h3,
h4 {
    font-weight: bold !important;
    text-align: left;
    margin-bottom: 0px !important;
}

.nav-logo {
    width: 200px;
}

.card-informe {
    padding: 24px;
    text-align: left;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.14);
    margin: 24px;
}

.card-informe h3 {
    color: var(--verde);
    font-weight: 800;
    margin-top: 24px;
    margin-bottom: 0px;
}

.card-informe p {
    color: var(--gris);
}

.card-informe p:last-child {
    margin-bottom: 0px;
}

.card-informe p:last-child a {
    color: var(--verde) !important;
    text-decoration: none;
}

.videoframe {
    width: 100%;
    height: 600px;
}

.offcanvas.offcanvas-start {
    border: 0px !important;
}

#redes-sociales,
#redes-sociales-sidebar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#sidebar #redes-sociales-sidebar a,
nav #redes-sociales a {
    text-decoration: none;
    margin-right: 10px;
}

#sidebar #redes-sociales-sidebar a:last-child,
nav #redes-sociales a:last-child {
    margin-right: 0;
}

#sidebar #redes-sociales-sidebar a svg,
nav #redes-sociales a svg {
    fill: var(--verde);
}

.offcanvas-body a {
    font-size: 16px !important;
}

.navbar-toggler {
    border: 0 !important;
}

.submenu {
    background-color: #EDEDED;
}

ul.submenu li {
    list-style: none;
}

.nav-link {
    color: var(--gris-oscuro) !important;
    text-align: left;
}

footer {
    background-color: var(--blanco);
}

footer p {
    margin: 0px;
}

footer h6 {
    margin-top: 24px;
    margin-bottom: 0px;
    font-weight: 800;
}

.btn-secondary {
    background-color: var(--gris-claro) !important;
    border-color: var(--gris-claro) !important;
}

nav#navbar-informe {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.dropdown-toggle::after {
    display: none !important;
}

.nav-item.dropdown {
    display: flex;
    align-items: center;
}

.dropdown-toggle {
    text-align: center;
    line-height: 16px;
}

.navbar-informe .nav-item .dropdown {
    height: 80px !important;
}

.dropbtn {
    color: #595959;
    padding: 16px;
    font-size: 15px;
    border: none;
    background-color: #fff;
    height: 115px;
    line-height: 16px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    font-size: 14px;
    text-align: start;
    line-height: 16px;
    display: none;
    position: absolute;
    background-color: #EDEDED;
    min-width: 180px;
    z-index: 3;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #145e6e;
    color: #fff;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    color: #fff;
    background-color: #145e6e;
}

/* .simply-countdown {
    overflow: hidden;
    display: table;
} */

.simply-countdown>.simply-section {
    max-width: 100px;
    max-height: 150px;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: end;
    justify-content: end;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    float: left;
    margin: 10px;
}

.simply-countdown>.simply-section .simply-amount,
.simply-countdown>.simply-section .simply-word {
    display: block;
    text-align: center;
}

.simply-amount {
    font-size: 48px;
}

.simply-word {
    font-size: 18px;
}

#informe.simply-countdown>.simply-section {
    max-width: 150px;
    max-height: 100px;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: end;
    justify-content: end;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    float: left;
    margin: 0px 10px;
}

#informe .simply-countdown>.simply-section .simply-amount,
#informe .simply-countdown>.simply-section .simply-word {
    display: block;
    text-align: center;
}

#informe .simply-amount {
    font-size: 48px;
    color: #f6f6f6 !important;
}

#informe .simply-word {
    font-size: 18px;
    color: #f6f6f6 !important;
}

.bg-hero-section {
    height: 95vh !important;
    background-image: url('../images/invitacion-100.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-gray {
    background-color: #A3A3A3;
}

.logo-informe {
    max-width: 350px;
}

.logo-cucea {
    max-width: 150px;
}

.btn-success {
    background-color: #6abf4b !important;
    border-color: #6abf4b !important;
}

.btn-info {
    background-color: #248fbe !important;
    border-color: #248fbe !important;
}

.btn-warning {
    background-color: #f9c812 !important;
    border-color: #f9c812 !important;
}

.btn-danger {
    background-color: #d93c8d !important;
    border-color: #d93c8d !important;
}

.text-danger {
    color: #A81A44 !important;
}

.text-warning {
    color: #f9c812 !important;
}

.text-success {
    color: #3C532A !important;
}

.text-title {
    color: #BF863F !important;
}

.text-info {
    color: #1D445A !important;
}

.text-p {
    color: #E44BA3 !important;
}

.btn-informe {
    background-color: #145e6e !important;
    border-color: #145e6e !important;
    color: white;
}

.btn-informe:hover {
    color: white;
}


img.construccion {
    max-height: 1000px;
    object-fit: cover;
    object-position: top;
    margin: 10px 0px;
}

/* .carousel-control-prev,
.carousel-control-next {
    height: 150px !important;
} */

@media (min-width: 992px) {
    .logo-informe {
        max-width: 500px;
    }
}

/*
.carousel-item {
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: auto;
} */

/* Capa de color para cada imagen */

/* .carousel-item:nth-child(2)::before {
    background-color: #62B65A75; */
/* Verde con 50% de opacidad */
/* } */

/* .carousel-item:nth-child(3)::before {
    background-color: #2087A975; */
/* Azul con 50% de opacidad */
/* } */
/*
.carousel-item:nth-child(4)::before {
    background-color: #F3C13675; */
/* Amarillo con 50% de opacidad */
/* }

.carousel-item:nth-child(5)::before {
    background-color: #C7408675; */
/* Magenta con 50% de opacidad */
/* } */

.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Estilo para el contenedor del SVG y el texto */
.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
}

.overlay-text {
    margin-top: 10px;
    font-size: 1.75rem;
    font-weight: bold;
}


.parallax {
    min-height: 60vh;

    background-attachment: fixed;
    background-position: center -150px;
    background-repeat: no-repeat;
    background-size: cover;

    padding: 30px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .overlay-content svg {
        width: 30%;
    }

    .overlay-text {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 480px) {
    .overlay-content svg {
        width: 20%;
    }

    .overlay-text {
        font-size: 1rem !important;
    }
}

.carousel-control-next,
.carousel-control-next {
    z-index: 2;
}

.svg-banner {
    width: 300px !important;
}

@media (min-width: 576px) {
    .svg-banner {
        width: 400px !important;
    }
}

@media (min-width: 768px) {
    .svg-banner {
        width: 500px !important;
    }
}

.dropdown.docencia:hover .dropbtn,
.dropdown-content.docencia a:hover {
    background-color: #62b65a !important;
}

.dropdown.investigacion:hover .dropbtn,
.dropdown-content.investigacion a:hover {
    background-color: #2287a9 !important;
}

.dropdown.extension:hover .dropbtn,
.dropdown-content.extension a:hover {
    background-color: #f3c136 !important;
}

.dropdown.cultura:hover .dropbtn,
.dropdown-content.cultura a:hover {
    background-color: #c74085 !important;
}

.btn-informe-outline {
    border-color: #145e6e !important;
    color: #145e6e;
    transition: 0.5s;
}

.btn-informe-outline:hover {
    background-color: #145e6e !important;
    color: white;
}

.btn-docencia-outline {
    border-color: #62b65a !important;
    color: #62b65a;
    transition: 0.5s;
}

.btn-docencia-outline:hover {
    background-color: #62b65a !important;
    color: white;
}

.btn-investigacion-outline {
    border-color: #2287a9 !important;
    color: #2287a9;
    transition: 0.5s;
}

.btn-investigacion-outline:hover {
    background-color: #2287a9 !important;
    color: white;
}

.btn-extension-outline {
    border-color: #f3c136 !important;
    color: #f3c136;
    transition: 0.5s;
}

.btn-extension-outline:hover {
    background-color: #f3c136 !important;
    color: white;
}

.btn-cultura-outline {
    border-color: #c74085 !important;
    color: #c74085;
    transition: 0.5s;
}

.btn-cultura-outline:hover {
    background-color: #c74085 !important;
    color: white;
}

.matricula-link{
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  color: #0b4aa2;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.matricula-link:hover{ opacity: .85; }

.modal-modern{
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 22px 60px rgba(2, 6, 23, .20);
  overflow: hidden;
}

.info-box{
  background: #f6f7fb;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 16px;
  padding: 16px;
  line-height: 1.7;
  white-space: pre-wrap;
}

/* css del la tabla del popup*/
.modern-wrap{
  display: grid;
  gap: 14px;
}

.modern-head{
  display:flex;
  gap: 14px;
  align-items:flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.kicker{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  color: #0b4aa2;
  text-transform: uppercase;
}

.headline{
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
}

.tag{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(15,23,42,.04);
  color: #0f172a;
  font-weight: 800;
}

.searchbox{
  display:flex;
  gap: 10px;
  align-items:center;
  width: min(520px, 100%);
}

.chips{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip{
  border: 1px solid rgba(15,23,42,.10);
  background: #fff;
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: 0 10px 24px rgba(2,6,23,.06);
  display:flex;
  gap: 10px;
  align-items:center;
}
.chip .label{ font-size: 12px; color:#64748b; font-weight: 700; }
.chip .value{ font-size: 14px; font-weight: 900; color:#0f172a; }

.table-wrap{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(2,6,23,.08);
  background: #fff;
}

/* tabla*/

.modern-modal{
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(2,6,23,.22);
  border: 1px solid rgba(15,23,42,.12);
}

.modern-modal-header{
  background: radial-gradient(900px 160px at 20% 0%, rgba(31,111,235,.28), transparent 55%),
              radial-gradient(900px 160px at 80% 0%, rgba(11,74,162,.22), transparent 55%),
              linear-gradient(135deg, #0b4aa2, #1f6feb);
  color: #fff;
  border-bottom: 0;
}

.modern-title{
  display:grid;
  gap:6px;
}

.kicker{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .35px;
  text-transform: uppercase;
  opacity: .95;
}

.headline{
  font-size: 16px;
  font-weight: 950;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap: wrap;
}

.tag{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.14);
  color: #fff;
  font-weight: 900;
}

.table-wrap{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.modern-table thead th{
  position: sticky;
  top: 0;
  z-index: 1;
  background: #0f172a;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  padding: 12px;
  border-bottom: 0;
}

.modern-table td{
  padding: 12px;
  font-size: 14px;
  border-color: rgba(15,23,42,.08);
}

.group-row td{
  background: #f1f5f9;
  color: #0b4aa2;
  font-weight: 950;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .35px;
}

.total-row td{
  background: #0b4aa2 !important;
  color: #fff;
  font-weight: 950;
  border-top: 0;
}

.footnote{
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}


.btn-modern{
  --radius: 12px;
  --font-weight: 800;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 10px 18px;
  border-radius: var(--radius);

  font-size: 14px;
  font-weight: var(--font-weight);
  letter-spacing: .2px;

  border: 1px solid transparent;
  cursor: pointer;

  transition: all .18s ease;
  position: relative;
  overflow: hidden;
}

/* Descargar */
.btn-modern-primary{
  background:#0b4aa2;
  color: #fff;

}

.btn-modern-primary:hover{
  transform: translateY(-2px);
}

.btn-modern-primary:active{
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(11,74,162,.25);
}

/* Cerrar */
.btn-modern-outline{
  background: #a81d1d;
  color: #ffff;

}

.btn-modern-outline:hover{
 background: #a81d1d;
  color: #ffff;
  transform: translateY(-2px);
}

.btn-modern-outline:active{
  transform: translateY(0);
}

.modal-footer{
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px;
  border-top: 1px solid rgba(15,23,42,.08);
}

.modern-accordion .accordion-item{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 14px 36px rgba(2,6,23,.06);
  background: #fff;
}
.modern-accordion .accordion-button{
  font-weight: 900;
  gap: 10px;
  padding: 14px 16px;
}
.modern-accordion .accordion-button:not(.collapsed){
  background: rgba(11,74,162,.06);
  color: #0b4aa2;
}
.axis-pill{
  font-size: 16px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  color: #005e6e;
}
.table-link{
  width: 100%;
  text-align: left;
  border: 1px solid rgba(15,23,42,.10);
  background: #fff;
  border-radius: 14px;
  padding: 12px 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.table-link:hover{
  transform: translateY(-1px);
  border-color: rgba(11,74,162,.28);
  box-shadow: 0 12px 26px rgba(2,6,23,.08);
}
.table-code{
  font-weight: 900;
  color: #0b4aa2;
  min-width: 70px;
}
.table-title{
  color: #00324c;
  font-weight: 600;
  line-height: 1.25;
}
.chev{
  color: rgba(15,23,42,.45);
  font-weight: 900;
}

.modal-modern{
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 22px 60px rgba(2, 6, 23, .22);
  overflow: hidden;
}
.modal-kicker{
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: #0b4aa2;
}
.fw-black{ font-weight: 900; }
.modal-box{
  background: #f6f7fb;
  border: 1px solid rgba(35, 163, 23, 0.1);
  border-radius: 16px;
  padding: 16px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.accordion-button {
    background-color: #0d6efd;   /* cuando está abierto */
    color: white;
}

.accordion-button.collapsed {
    background-color: #e9ecef;   /* cuando está cerrado */
    color: #000;
}

#modalTitle {
    font-size: 18px;
    font-weight: 600;
    color: #002855;
    line-height: 1.3;
    border-left: 5px solid #e99025; /* línea */
    padding-left: 12px;
}

.btn-download {
    background: #033a81 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0,0,0,.15);
    transition: all .3s ease;
}

.btn-download:hover {
     transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,.25);
}

.modal-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    border: 1px solid #e9ecef;
}

.chev{
    display: none;
}

.table-wrap-modern{
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .10);
  background: #fff;
}

.table-modern{
  margin: 0;
  font-size: 0.95rem;
  color: #0f172a;
}

/* Mantener anchos */
.table-fixed{
  table-layout: fixed;   /* clave */
  width: 100%;
}

/* Header*/
.table-modern thead th{
  position: sticky;
  top: 0;
  z-index: 3;
  background: #004067;
  color: #fff;
  font-weight: 700;
  padding: 12px 10px;
  border: 0 !important;
  text-align: left;
  white-space: nowrap;
}

/* Celdas */
.table-modern td{
  padding: 10px 10px;
  border-top: 1px solid rgba(15, 23, 42, .08);
  border-right: 1px solid rgba(15, 23, 42, .06);
  background: #fff;
  vertical-align: middle;
}

.table-modern td:last-child,
.table-modern thead th:last-child{
  border-right: 0 !important;
}

/* Zebra */
.table-modern tbody tr:nth-child(even) td{
  background: #f8fafc;
}

/* Hover*/
.table-modern tbody tr:hover td{
  background: rgba(29, 78, 216, .06);
}

/* Altura uniforme por fila */
.table-modern tbody tr{
  height: 44px;          /* misma altura */
}

/* Texto largo*/
.table-modern td,
.table-modern th{
   padding: 8px 10px;
  line-height: 1.3;
}

/* Primera columna  */
.table-modern tbody td:first-child{
  font-weight: 600;
}

/* Numeros legibles */
.table-modern td.text-end{
  font-variant-numeric: tabular-nums;
}

/* Filas bold*/
.table-modern tbody tr.fw-bold td{
  background: rgba(29, 78, 216, .10) !important;
  border-top-color: rgba(29, 78, 216, .18);
}

/* Control exacto de anchos */
.table-fixed col.col-nombre {
  width: 35%;
}

.table-fixed col.col-num {
  width: calc(85% / 6); /* divide entre las columnas numéricas */
}
.table-modern td:first-child {
  white-space: normal;
  word-break: break-word;
}

.img-logo-footer{
    width: 250px;
    height:auto;
}

.mb-3 {
    margin-bottom: auto;
}

:root {
    --white: #ffffff;
}

.footer {
    background-color: #4b4b4b;
}

.footer,
.footer * {
    color: var(--white) !important;
}

.banner-wrapper {
    width: 100%;
}

.banner-wrapper .carousel-inner,
.banner-wrapper .carousel-item {
    width: 100%;
}

.banner-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.btn-informe {
    color: white;
}

.btn-informe a {
    color: white !important;
    text-decoration: none;
}

.btn-informe svg {
    color: white;
    fill: white;
}

.btn-informe {
    color: white;
}

/*boton inicio*/
.btn-back-floating i {
    font-size: 24px;
    color: #005E6E;
}

banner-img{

}
