@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,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;
}

@media (max-width: 700px) {
  .menu-hamburguesa {
    width: 30px;
    height: 30px;
    margin-left: 0;
    align-self: center;
    flex-shrink: 0;
  }
  .menu-hamburguesa span {
    width: 18px;
    height: 2px;
    margin: 2px 0;
  }
}
.menu-hamburguesa span {
  width: 22px;
  height: 3px;
  margin: 3px 0;
  background: #0a2342;
  border-radius: 2px;
  transition: 0.3s;
}
.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;
  position: relative;
}
.menu-desplegable 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;
}
.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:hover::after {
  width: 80%;
  left: 10%;
}
.menu-desplegable a i {
  font-size: 1.3rem;
  margin-right: 1.1rem;
  color: inherit !important;
}
.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;
}
.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;
}
/* LINEA DIVISORIA */
.linea-divisoria {
  width: 100%;
  height: 4px;
  background: var(--azul-oscuro);
  border: none;
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
/* FOOTER */
footer {
  background: var(--azul-oscuro);
  color: var(--blanco);
  padding: 0.5rem 0.5rem 0.3rem 0.5rem;
  text-align: center;
  margin-top: 0rem;
  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;
}
/* 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);
}
.nota-galeria-main {
  min-height: 70vh;
  width: 100%;
  max-width: 1200px;
  margin: 2.5rem auto 2.5rem auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(10,35,66,0.10);
  padding: 2.5rem 2.5rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.nota-galeria-titulo {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--azul-oscuro);
  margin-bottom: 2.2rem;
  border-bottom: 2.5px solid var(--naranja);
  padding-bottom: 0.7rem;
  width: 100%;
  text-align: center;
}
.nota-galeria-imgs {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  width: 100%;
}
.nota-galeria-imgs img {
  width: 420px;
  max-width: 95vw;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(10,35,66,0.13);
  object-fit: cover;
  background: #f7f7fa;
  transition: transform 0.3s, box-shadow 0.3s;
}
.nota-galeria-imgs img:hover {
  transform: scale(1.04) rotate(-1deg);
  box-shadow: 0 8px 32px rgba(10,35,66,0.18);
}
.modal-imagen {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10,35,66,0.85);
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.3s;
}
.modal-imagen img.modal-contenido {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(10,35,66,0.25);
  background: #fff;
  animation: popInModal 0.4s cubic-bezier(.77,0,.18,1);
}
.cerrar-modal {
  position: absolute;
  top: 32px;
  right: 48px;
  color: #fff;
  font-size: 2.7rem;
  font-weight: 900;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3100;
  text-shadow: 0 2px 8px #000;
  transition: color 0.2s;
}
.cerrar-modal:hover {
  color: var(--naranja);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes popInModal {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@media (max-width: 700px) {
  /* Banner superior - mover iconos sociales a la derecha */
  .banner-superior {
    flex-direction: row;
    justify-content: space-between;
    padding: 0.3rem 1rem;
  }
  .banner-superior .izquierda {
    font-size: 0.7rem;
    gap: 0.5rem;
  }
  .banner-superior .derecha {
    display: flex;
    gap: 0.8rem;
  }
  .banner-superior .derecha a {
    margin-left: 0;
    font-size: 1.2rem;
  }
  
  /* Banner principal - logo y texto en línea horizontal */
  .banner-principal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.3rem 1rem;
    min-height: 50px;
  }
  .logo-titulo {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
    margin-right: 1rem;
  }
  .logo-grande {
    width: 60px;
    height: 60px;
    margin: 0 !important;
    padding: 0 !important;
  }
  .titulo-grande {
    font-size: 0.65rem;
    line-height: 1.1;
    white-space: normal;
    flex: 1;
  }
  .nota-galeria-main {
    max-width: 98vw;
    padding: 1.2rem 0.7rem 1rem 0.7rem;
    min-height: 60vh;
  }
  .nota-galeria-titulo {
    font-size: 1.3rem;
    padding-bottom: 0.3rem;
  }
  .nota-galeria-imgs {
    gap: 1rem;
  }
  .nota-galeria-imgs img {
    width: 98vw;
    max-width: 98vw;
    height: auto;
  }
  .footer-textos {
    font-size: 0.98rem;
  }
  .whatsapp-flotante a {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }
  .pie-logo img {
    width: 60px;
    max-width: 60px;
  }
}
@media (max-width: 900px) {
  .nota-galeria-main {
    max-width: 98vw;
    padding: 1.2rem 0.7rem 1rem 0.7rem;
    min-height: 60vh;
  }
  .nota-galeria-titulo {
    font-size: 1.3rem;
    padding-bottom: 0.3rem;
  }
  .nota-galeria-imgs {
    gap: 1rem;
  }
  .nota-galeria-imgs img {
    width: 98vw;
    max-width: 98vw;
  }
}
@keyframes aparecerArriba {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes aparecerAbajo {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}