

@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700;900&display=swap');


:root {
    --azul-oscuro: #0a2342;
    --blanco: #fff;
    --negro: #111;
    --naranja: #ff7300;
  }
  body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    background: var(--blanco);
    color: var(--negro);
    overflow-x: hidden;
  }
  /* BANNER SUPERIOR */
.banner-superior {
  background: var(--azul-oscuro);
  color: var(--blanco);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.18rem 0.7rem;
  font-size: 0.82rem;
  animation: aparecerArriba 1s;
}
.banner-superior .izquierda {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.banner-superior .derecha a {
  color: var(--blanco);
  margin-left: 0.5rem;
  font-size: 1.05rem;
  transition: color 0.3s;
}
.banner-superior .derecha a:hover {
  color: var(--naranja);
}

/* BANNER PRINCIPAL */
.banner-principal {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.05rem 0.5rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  min-height: 0px;
  position: relative;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.logo-titulo {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin: 0 !important;
    padding: 0.05rem 0 !important;
}
.logo-grande {
    width: 110px;
    height: 110px;
    margin: -35px !important;
    padding: 0px 0px 0px 40px;
    object-fit: contain;
}
.titulo-grande {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0a2342;
  letter-spacing: 1px;
  white-space: pre-line;
  line-height: 1;
  margin: 0 !important;
  padding: 0 !important;
}
.banner-principal .logo {
  order: 1;
  margin: 0;
}
.banner-principal .logo img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  border-radius: 0;
  background: none;
  display: block;
}
.banner-principal nav {
  order: 2;
  margin-top: 0;
}
.banner-principal nav a {
  position: relative;
  text-decoration: none;
  color: var(--azul-oscuro);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1.1rem;
  border-radius: 18px;
  background: var(--blanco);
  border: 2px solid var(--azul-oscuro);
  box-shadow: 0 2px 8px rgba(10,35,66,0.08);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
  overflow: hidden;
  z-index: 1;
}
.banner-principal nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 0;
  height: 3px;
  background: var(--naranja);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(.77,0,.18,1), left 0.3s cubic-bezier(.77,0,.18,1);
  z-index: 2;
}
.banner-principal nav a:hover {
  background: var(--azul-oscuro);
  color: var(--blanco);
  box-shadow: 0 6px 24px rgba(10,35,66,0.18);
  transform: translateY(-3px) scale(1.06);
}
.banner-principal nav a:hover::after {
  width: 80%;
  left: 10%;
}
  .menu-hamburguesa {
    margin-left: auto;
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    cursor: pointer;
    z-index: 102;
  }
  .menu-hamburguesa span {
    width: 22px;
    height: 3px;
    margin: 3px 0;
    background: #0a2342;
    border-radius: 2px;
    transition: 0.3s;
    border: none !important;
    box-shadow: none !important;
  }
  .menu-desplegable {
    position: fixed;
    top: 0; right: -260px;
    width: 260px;
    height: 100vh;
    background: #0a2342;
    box-shadow: -4px 0 24px rgba(10,35,66,0.16);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 3.5rem 1.5rem 1.5rem 1.5rem;
    gap: 2.1rem;
    z-index: 200;
    transition: right 0.5s cubic-bezier(.77,0,.18,1), opacity 0.4s;
    opacity: 0;
    pointer-events: none;
    border-radius: 18px 0 0 18px;
  }
  .menu-desplegable.abierto {
    right: 0;
    opacity: 1;
    pointer-events: all;
    animation: slideInMenu 0.6s cubic-bezier(.77,0,.18,1);
  }
  @keyframes slideInMenu {
    from { right: -260px; opacity: 0; }
    to { right: 0; opacity: 1; }
  }
  .menu-desplegable a {
    background: #0a2342 !important;
    color: #fff !important;
    border-radius: 16px !important;
    padding: 1.1rem 1.5rem !important;
    font-size: 1.18rem !important;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(10,35,66,0.10);
    border: none;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    min-width: 170px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    text-decoration: none !important;
  }
  .menu-desplegable a::after {
    display: none !important;
    content: none !important;
  }
  .menu-desplegable.abierto a {
    opacity: 1;
    transform: translateX(0);
  }
  .menu-desplegable a:hover {
    background: #fff !important;
    color: #0a2342 !important;
    box-shadow: 0 4px 16px rgba(10,35,66,0.18);
    transform: scale(1.06);
  }
  .menu-desplegable a i {
    font-size: 1.3rem;
    margin-right: 1.1rem;
    color: inherit !important;
  }
  @keyframes aparecerMenu {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
  }
  .cerrar-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    position: absolute;
    top: 3.5rem;
    right: 1.2rem;
    cursor: pointer;
    padding: 0.2rem 0.7rem;
    box-shadow: none;
    border-radius: 50%;
    z-index: 201;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
  }
  .cerrar-menu:hover {
    background: #fff;
    color: #0a2342;
  }
  .menu-desplegable .menu-titulo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
    margin-left: 0.2rem;
    opacity: 0.7;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    width: 100%;
    padding-bottom: 0.7rem;
    line-height: 1;
  }
  .fondo-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,35,66,0.18);
    z-index: 101;
  }
  .menu-desplegable.abierto ~ .fondo-menu {
    display: block;
  }
/* WHATSAPP FLOTANTE */
.whatsapp-flotante {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}
.whatsapp-flotante a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(10,35,66,0.18);
  font-size: 1.5rem;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  text-decoration: none;
}
.whatsapp-flotante a:hover {
  background: #1ebe57;
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(10,35,66,0.25);
}
/* FOOTER */
footer {
  background: var(--azul-oscuro);
  color: var(--blanco);
  padding: 0.5rem 0.5rem 0.3rem 0.5rem;
  text-align: center;
  margin-top: auto;
  border-radius: 16px 16px 0 0;
  animation: aparecerAbajo 1.2s 0.7s backwards;
  font-size: 0.60rem;
}
.pie-logo {
  width: 95px;
  margin: 0 auto 0.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pie-logo img {
  width: 100%;
  height: auto;
  max-width: 95px;
  object-fit: contain;
  display: block;
}
.footer-powered {
  font-size: 0.5rem;
  color: #b0c4d8;
  margin-top: 0.2rem;
  text-align: center;
}
.footer-textos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
}
  .linea-divisoria {
    height: 3px;
    background: var(--azul-oscuro);
    margin-bottom: 30px;
  }
  .contenedor {
    max-width: 900px;
    margin: 40px auto 0 auto;
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  }

  .menu-desplegable a, a {
    text-decoration: none !important;
  }

/* Estilos para el directorio */
.titulo-directorio {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0a2342;
  margin-bottom: 2.2rem;
  text-align: center;
  letter-spacing: 1px;
  opacity: 0;
  transform: scale(0.95);
  animation: popIn 0.8s 0.2s forwards;
}
.cargo-block {
  background: #f7faff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(10,35,66,0.08);
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  margin-bottom: 1.5rem;
  border-left: 6px solid #0a2342;
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
}
.cargo-block:hover {
  box-shadow: 0 8px 32px rgba(10,35,66,0.16);
  transform: translateY(-4px) scale(1.02);
}
.cargo-block h2 {
  font-size: 1.25rem;
  color: #0a2342;
  font-weight: 700;
  margin: 0 0 0.7rem 0;
  letter-spacing: 0.5px;
}
.nombre {
  font-size: 1.15rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 0.2rem;
  margin-left: 0.2rem;
}
.lista-nombres {
  list-style: none;
  padding: 0 0 0 0.5rem;
  margin: 0;
}
.lista-nombres li {
  font-size: 1.08rem;
  color: #222;
  margin-bottom: 0.2rem;
  padding-left: 0.5rem;
  position: relative;
}
.lista-nombres li::before {
  content: '\2022';
  color: #ff7300;
  font-size: 1.2em;
  position: absolute;
  left: -1em;
  top: 0.1em;
}
.subseccion {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0a2342;
  margin: 1.1rem 0 0.3rem 0.2rem;
}
/* Animaciones */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.9s forwards;
}
.cargo-block.fade-in-up { animation-delay: 0.2s; }
.cargo-block.fade-in-up:nth-of-type(2) { animation-delay: 0.3s; }
.cargo-block.fade-in-up:nth-of-type(3) { animation-delay: 0.4s; }
.cargo-block.fade-in-up:nth-of-type(4) { animation-delay: 0.5s; }
.cargo-block.fade-in-up:nth-of-type(5) { animation-delay: 0.6s; }
.cargo-block.fade-in-up:nth-of-type(6) { animation-delay: 0.7s; }
.cargo-block.fade-in-up:nth-of-type(7) { animation-delay: 0.8s; }
.cargo-block.fade-in-up:nth-of-type(8) { animation-delay: 0.9s; }
.cargo-block.fade-in-up:nth-of-type(9) { animation-delay: 1.0s; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.contenedor-directorio-minimal {
  max-width: 700px;
  margin: 48px auto 0 auto;
  background: #fff;
  padding: 38px 18px 28px 18px;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(10,35,66,0.10);
}
.tabla-directorio {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.fila-directorio {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 0 14px 0;
  border-bottom: 1px solid #e3e8ee;
  font-size: 1.13rem;
  min-height: 38px;
  opacity: 0;
  animation: fadeInSide 0.8s forwards;
  background: transparent;
  transition: background 0.2s;
}
.fila-directorio:nth-child(even) {
  animation-name: fadeInSideRight;
}
.fila-directorio:last-child {
  border-bottom: none;
}
.rango {
  font-family: 'Roboto Slab', 'Roboto', serif;
  font-weight: 700;
  color: #14213d;
  letter-spacing: 0.5px;
  min-width: 220px;
  max-width: 220px;
  font-size: 0.8rem;
  text-align: left;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.subrango {
  display: block;
  font-weight: 400;
  color: #666;
  font-size: 0.98em;
  margin-top: 2px;
  margin-left: 100px;
  text-transform: none;
  letter-spacing: 0.2px;
}
.nombre {
  color: #232323;
  font-weight: 400;
  text-align: right;
  line-height: 1.5;
  font-size: 1.08rem;
  flex: 1;
  margin-left: 50px;
  word-break: break-word;
  position: relative;
  transition: color 0.2s;
  cursor: pointer;
}
.nombre:hover {
  color: #0a2342;
}
.nombre::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #0a2342;
  transition: width 0.3s cubic-bezier(.77,0,.18,1);
  margin-top: 2px;
}
.nombre:hover::after {
  width: 100%;
}
.titulo-directorio {
  font-size: 2.1rem;
  font-family: 'Roboto Slab', 'Roboto', serif;
  font-weight: 900;
  color: #14213d;
  margin-bottom: 2.2rem;
  text-align: center;
  letter-spacing: 1px;
  opacity: 0;
  transform: scale(0.95);
  animation: popIn 0.8s 0.2s forwards;
}
/* Animaciones minimalistas y formales */
.fila-directorio.fade-in-up { animation-delay: 0.2s; }
.fila-directorio.fade-in-up:nth-of-type(2) { animation-delay: 0.3s; }
.fila-directorio.fade-in-up:nth-of-type(3) { animation-delay: 0.4s; }
.fila-directorio.fade-in-up:nth-of-type(4) { animation-delay: 0.5s; }
.fila-directorio.fade-in-up:nth-of-type(5) { animation-delay: 0.6s; }
.fila-directorio.fade-in-up:nth-of-type(6) { animation-delay: 0.7s; }
.fila-directorio.fade-in-up:nth-of-type(7) { animation-delay: 0.8s; }
.fila-directorio.fade-in-up:nth-of-type(8) { animation-delay: 0.9s; }
.fila-directorio.fade-in-up:nth-of-type(9) { animation-delay: 1.0s; }
.fila-directorio.fade-in-up:nth-of-type(10) { animation-delay: 1.1s; }
.fila-directorio.fade-in-up:nth-of-type(11) { animation-delay: 1.2s; }
@keyframes fadeInSide {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInSideRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.menu-desplegable a {
  position: relative !important;
}
.menu-desplegable a::after {
  content: '' !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 10px !important;
  width: 0 !important;
  height: 3px !important;
  background: #ff7300 !important;
  border-radius: 2px !important;
  transition: width 0.3s cubic-bezier(.77,0,.18,1), left 0.3s cubic-bezier(.77,0,.18,1) !important;
  z-index: 2 !important;
  display: block !important;
}
.menu-desplegable a:hover::after {
  width: 80% !important;
  left: 10% !important;
}
@media (max-width: 700px) {
  .contenedor-directorio-minimal {
    padding: 12px 2px 12px 2px;
    border-radius: 10px;
  }
  .titulo-directorio {
    font-size: 1.2rem;
  }
  .rango {
    min-width: 90px;
    max-width: 120px;
    font-size: 0.98rem;
  }
  .nombre {
    font-size: 0.98rem;
    margin-left: 8px;
  }
  .fila-directorio {
    font-size: 0.98rem;
    padding: 10px 0 7px 0;
  }
} 