/* Animación de entrada para el texto institucional */
#contexto-texto {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.4,0,0.2,1);
}
#contexto-texto.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sombra azul para imágenes */
img, video {
  box-shadow: 0 4px 24px 0 rgba(30, 64, 175, 0.18);
}

/* Efecto de ola en el footer */
footer {
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 40px;
  background: url('data:image/svg+xml;utf8,<svg width="100%25" height="40" viewBox="0 0 100 40" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,20 Q25,40 50,20 T100,20 V40 H0 Z" fill="%231e40af" fill-opacity="0.3"/></svg>') repeat-x;
  z-index: 1;
}
footer span {
  position: relative;
  z-index: 2;
}

/* Responsive padding para secciones */
section {
  scroll-margin-top: 80px;
}

body, .font-montserrat {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadein {
  animation: fadein 1.2s cubic-bezier(0.4,0,0.2,1);
}

/* Modal encabezado */
.border-yellow-400 {
  border-color: #FFD600 !important;
}

/* Footer institucional */
footer {
  border-top: 4px solid #FFD600 !important;
  background: #fff !important;
}
footer a {
  color: #1e3a8a !important;
} 