body {
    background-color: #efe9e0;
}

body.nosotros {
    background-color: #2b4c7e;
}

/* Estilos base del header */
.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #5586c1;
  position: relative; /* Para el posicionamiento del menú absoluto en responsive */
}

.menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu ul li {
  margin-left: 20px;
}

.menu ul li a {
  text-decoration: none;
  color: #efe9e0;
  font-weight: bold;
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}

.hamburger-menu .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #efe9e0;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
}

.nav-links ul li a {
  text-decoration: none;
  color: #efe9e0;
  font-weight: bold;
  padding: 10px 20px;
  border: 2px solid #3d618c;
  border-radius: 8px;
  background-color: #5586c1;
  transition: all 0.3s ease;
  display: inline-block;
}

.nav-links ul li a:hover {
  background-color: #3d618c;
  border-color: #2c4666;
  transform: translateY(-2px);
}

.nav-links ul li a:active {
  transform: translateY(0);
}

/* Ocultamos el checkbox */
#menu-toggle {
  display: none;
}

@media (max-width: 995px) {
  .menu {
    flex-direction: row;
    align-items: center;
    position: relative;
  }

  /* Ocultamos el menú nav-links por defecto */
  .nav-links {
    display: none;
    position: absolute;
    top: 70px; /* Debajo del header */
    right: 20px;
    background-color: #5586c1;
    width: 350px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 1000;
  }

  /* Cuando el checkbox está activo, mostramos el menú */
  #menu-toggle:checked ~ .nav-links {
    display: block;
  }

  /* Ajustamos la lista dentro del menú */
  .nav-links ul {
    flex-direction: column;
    padding: 10px 0;
  }

  .nav-links ul li {
    margin: 0;
    text-align: center;
    border-bottom: 1px solid #3d618c;
  }

  .nav-links ul li a {
    border: none;
    background-color: transparent;
    padding: 12px 0; /* ajusta padding para que se vea bien sin fondo */
    display: block; /* que ocupe todo el ancho */
  }

  .nav-links ul li:last-child {
    border-bottom: none;
  }

  /* Mostrar el menú hamburguesa */
  .hamburger-menu {
    display: flex;
    position: absolute;
    top: 15px;
    right: 20px;
  }

  /* Quitamos márgenes a los links */
  .menu ul li {
    margin-left: 0;
  }
}
/*--------fin de barra----*/

/*---banner nosotros y texto index---*/
.banner {
    max-width: 100%;
    height: auto;
}

.content-section {
  width: 70%;
  margin: 0 auto;
  text-align: justify;
}
.content-section h1 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
    white-space: pre-line;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    color: #0d2341;
}

/* --------------------- */
/* TIPOGRAFÍA GLOBAL */
/* --------------------- */
body {
    background-color: #efe9e0;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: #111;
  }
  
  h1, h2, h3, p, summary, label, .titulo {
    font-family: 'Montserrat', sans-serif;
  }
  
/* --------------------- */
  /* ESTILOS PARA PELÍCULAS (details / summary) */
  /* --------------------- */
  .peliculas-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
  }
  
  details {
    background: #f9f9f9;
    border: 2px solid #5586c1;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
  }
  
  details[open] {
    background: #e3ebf6;
  }
  
  summary {
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
  }
  
  /* Símbolo + / − para details */
  summary::before {
    content: '+';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #5586c1;
  }
  
  details[open] summary::before {
    content: '−';
  }
  
  /* Ocultar el marcador por defecto */
  summary::-webkit-details-marker {
    display: none;
  }
  
  .contenido p {
    margin: 0.5rem 0;
    line-height: 1.5;
  }
  
  .estilo-final {
    background-color: #dbe6f7;
    border: 2px dashed #5586c1;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 2rem;
  }


  
  /* --------------------- */
  /* ESTILOS PARA LÍNEA DE TIEMPO (checkbox + label) */
  /* --------------------- */
  .body-linea {
    margin-top: 50px;
  }
  .titulo-linea {
    color: #0d2341;
  }
  .linea-tiempo {
    max-width: 800px;
    margin: 2rem auto;
    font-family: 'Montserrat', sans-serif;
  }
  
  /* Ocultar inputs */
  .linea-tiempo input[type="checkbox"] {
    display: none;
  }
  
  /* Etiquetas que funcionan como resumen */
  .summary-item {
    display: block;
    cursor: pointer;
    padding: 1rem;
    margin: 0.3rem 0;
    background-color: #ffffff;
    color: #000;
    border: 2px solid #5586c1;
    border-radius: 8px;
    position: relative;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    user-select: none;
  }
  
  .summary-item:hover {
    background-color: #e3ebf6;
  }
  
  /* Símbolo + / − para los labels */
  .summary-item::after {
    content: "+";
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 1.4rem;
    color: #0d2341;
    transition: transform 0.3s ease;
  }
  
  /* Cambiar el + a – cuando está chequeado */
  input[type="checkbox"]:checked + .summary-item::after {
    content: "–";
  }
  
  /* Contenido oculto */
  .detail-item {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    padding: 0 1rem;
    background-color: #f5f6fa;
    border-radius: 0 0 8px 8px;
    font-weight: 300;
  }
  .detail-item p {
    color: #0d2341;
  }
  
  /* Mostrar contenido cuando el checkbox está chequeado */
  input[type="checkbox"]:checked + .summary-item + .detail-item {
    max-height: 300px;
    padding: 1rem;
  }

  .pelicula {
    background: #f9f9f9;
    border: 2px solid #5586c1;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .pelicula .titulo {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .pelicula .contenido p {
    margin: 0.4rem 0;
    line-height: 1.5;
  }

  .pelicula video {
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0.5rem 0 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #000;
    display: block;
  }
  @media screen and (max-width: 600px) {
    .pelicula video {
      border-radius: 4px;
    }
  }
  .pelicula video {
    width: 100%;
    max-width: 640px;  /* límite de tamaño en computadoras */
    height: auto;
    margin: 0.5rem auto 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #000;
    display: block;
  }
  .pelicula-card {
  background-color: #e3ebf6; /* mismo azul claro del diseño */
  padding: 1.5rem;
  margin: 1.5rem auto;
  border-radius: 10px;
  max-width: 800px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.pelicula-card {
    background-color: #e3ebf6; /* Fondo azul claro */
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  }
  
  /* --------------------- */
  /* OTROS ESTILOS GENERALES */
  /* --------------------- */

/*CARRUSEL*/
.main-container-037 {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-title-037 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 4em;
    line-height: 1.1em;
    color: #fbfbfb;
    max-width: 600px;
    margin-top: -1em;
    margin-bottom: 1.4em;
    text-align: center;
}

.slider-037 {
    width: 100%;
    height: var(--height);
    overflow: hidden;
    transform: none;
    position: relative;
    margin-top: 80px;
    border-radius: 20px;
}

.slider-037 .list-037 {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-037 .list-037 .item-037 {
    width: var(--width);
    height: 100%;
    position: absolute;
    left: 100%;
    animation: autoRun 20s linear infinite;
    transition: filter 0.5s;
    animation-delay: calc((20s / var(--quantity)) * (var(--position) - 1) - 20s)!important;
}

.slider-037 .list-037:hover .item-037 {
  animation-play-state: paused;
}
.slider-037 .list-037 .item-037 img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    pointer-events: none;
}
.slider-037 .list-037 .item-037 a {
  display: block;
  position: relative;
  z-index: 2;
}

@keyframes autoRun {
    from {
        left: 100%;
    }
    to {
        left: calc(var(--width) * -2.5);
    }

}
     
@media (max-width: 768px) {
        .main-title-037 {
            font-size: 2.5em;
            margin-bottom: 1em;
    }
    .slider-037 {
        --width: 25vw;
        --height: 90vw;
    }
}


.video-container {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.video-container video,
.video-container iframe {
    border-radius: 10px;
    background-color: #000;
}

/* Asegura que el video sea responsive */
.video-container iframe {
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
}

/* Fondo general */
body {
    background-color: #efe9e0;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: #222;
}


/* Contenido principal */
main {
    margin-top: 100px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    line-height: 1.7;
    text-align: left;
}

/* Jerarquía de textos */
h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: #2b4c7e;
    text-align: left;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.6rem;
    color: #3e5e8e;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #3e5e8e;
    padding-left: 10px;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: justify;
}

/* Estilo para links dentro del main */
main a {
    display: block;
    background-color: #bcc1d2;
    border: 2px solid #3e5e8e;
    border-radius: 10px;
    color: #222;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}


/* Listas */
ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

ul li {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    main {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.3rem;
    }
}


.comentarios {
    background-color: #dfe3ec;
    border-left: 4px solid #3e5e8e;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
    font-family: 'Montserrat', sans-serif;
    color: #222;
}

.comentarios h2,
.comentarios h3 {
    color: #2b4c7e;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
}

.comentarios form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comentarios label {
    font-weight: 600;
    color: #3e5e8e;
}

.comentarios input,
.comentarios textarea {
    padding: 0.8rem;
    border: 2px solid #bcc1d2;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #222;
    resize: vertical;
}

.comentarios button {
    align-self: flex-start;
    padding: 0.6rem 1.2rem;
    background-color: #5586c1;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.comentarios button:hover {
    background-color: #3e5e8e;
}

.comentarios ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.comentarios li {
    background-color: #f4f5f7;
    padding: 0.8rem 1rem;
    margin-bottom: 0.7rem;
    border-left: 4px solid #5586c1;
    border-radius: 6px;
}

.listado-archivos {
    margin: 2rem auto;
    max-width: 750px;
    text-align: center;
}

.botonera {
    list-style: none;
    padding: 0;
}

.botonera li {
    margin: 1rem 0;
}

.botonera button {
    background-color: #bcc1d2;
    color: #222;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    border: 2px solid #3e5e8e;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.botonera button:hover {
    background-color: #3e5e8e;
    color: #fff;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-contenido {
    background-color: #fff;
    margin: 10% auto;
    padding: 2rem;
    border: 2px solid #3e5e8e;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    color: #222;
}

.cerrar {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.cerrar:hover {
    color: #000;
}



/* Contenido principal general */
main {
    margin-top: 100px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    line-height: 1.7;
    background-color: transparent;
    color: #fff;
    border-radius: 8px;
    box-sizing: border-box;
    text-align: left;
}

/* Jerarquía de textos general */
h1 {
    font-family: 'Montserrat', sans-serif; /* antes era 'Libre Bodoni' */
    font-size: 3rem;
    color: #1f2f50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    color: #0d2341;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: left;
    color: #000000;
}

/* Negrita */
strong {
    font-weight: 700;
    color: #5586c1; /* celeste claro para destacar */
}

/* Listas */
ul {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    list-style-type: circle;
    color: #fff;
    text-align: left;
}

ul li {
    margin-bottom: 0.5rem;
}

/* Imagen debajo del título */
.imagen-portada {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    main {
        padding: 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links a {
        padding: 10px 20px;
    }
}

/* ====== ESTILOS PARA PÁGINA ARCHIVOS AUDIOVISUALES ====== */

.archivos {
    background-color: #ffffff; /* fondo blanco SOLO en esta sección */
    max-width: 900px;
    margin: 100px auto 3rem auto;
    padding: 2rem;
    border-radius: 8px;
    box-sizing: border-box;
    text-align: left;
}

.archivos, 
.archivos p, 
.archivos ul, 
.archivos li, 
.archivos h1, 
.archivos h2, 
.archivos a {
    color: #3399ff;
}


.archivos h2 {
    font-family: 'Libre Bodoni', serif;
    font-size: 2rem;
    color: #3399ff;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.archivos a,
.archivos a:hover {
    color: #3399ff;
}

.archivos .boton-enlace {
    display: block;
    background-color: #bcc1d2;
    border: 2px solid #3e5e8e;
    color: #222;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    width: 95%;
    transition: background-color 0.3s ease;
    margin-bottom: 1.5rem;
}

.archivos .boton-enlace:hover {
    background-color: #3e5e8e;
    color: white;
}

/* Encuesta interactiva */
.encuesta {
    background-color: #efe9e0;
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 12px;
    color: #fff;
}

.encuesta h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #a3c1e1;
}

.encuesta label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
}

.encuesta button {
    margin-top: 1rem;
    background-color: #a3c1e1;
    color: #1f2f50;
    border: none;
    padding: 0.6rem 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.encuesta button:hover {
    background-color: #fff;
    color: #1f2f50;
}

.resultados {
    margin-top: 2rem;
}

.resultados ul {
    list-style: none;
    padding: 0;
}

.resultados li {
    margin-bottom: 0.5rem;
    color: #a3c1e1;
}

.oculto {
    display: none;
}
/* ...otros estilos que ya tenés arriba... */

/* === Encuesta interactiva - con fondo blanco === */
.encuesta {
    background-color: #ffffff;
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 12px;
    color: #1f2f50;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* ...resto de las reglas de estilo para .encuesta, botón, resultados, etc... */

.imagen-con-texto {
    width: 100%;
    margin: 0;
    padding: 0;
}

.imagen-con-texto img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/*---footer---*/
.footer {
    background-color: #1f2f50; /* Azul oscuro */
    color: #a3c1e1; /* Celeste claro */
    padding: 3rem 2rem 2rem;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Aquí el cambio principal: logo y texto alineados en fila */
  .footer-logo-col {
    display: flex;
    align-items: flex-start; /* Alinea el logo y texto arriba */
    gap: 1rem; /* Espacio entre logo y texto */
    flex: 1 1 300px;
  }
  
  .footer-logo {
    max-width: 150px; /* Ajusta tamaño para que quede bien */
    margin-bottom: 0; /* Sin margen inferior */
  }
  
  .footer-texto {
    line-height: 1.6;
    max-width: 400px;
    color: #d0e3f5;
    font-size: 0.95rem;
  }
  
  .footer-links-col {
    flex: 1 1 180px;
  }
  
  .footer-links-col h4 {
    margin-bottom: 1rem;
    font-weight: bold;
    color: #ffffff;
    font-size: 1rem;
  }
  
  .footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-links-col ul li {
    margin-bottom: 0.5rem;
  }
  
  .footer-links-col ul li a {
    text-decoration: none;
    color: #a3c1e1;
    transition: color 0.3s;
  }
  
  .footer-links-col ul li a:hover {
    color: #ffffff;
  }
  
  .footer-bottom {
    margin-top: 2rem;
    border-top: 1px solid #2b4c7e;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: #a3c1e1;
  }
  
  .footer-bottom a {
    color: #a3c1e1;
    text-decoration: none;
  }
  
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .footer-logo-col,
    .footer-links-col {
      flex: 1 1 100%;
    }
  
    .footer-logo {
      margin: 0 auto 1rem;
    }
  
    .footer-texto {
      max-width: 100%;
    }
  }

/* Estilos generales para el video */
.main.archivos {
    display: flex;
    justify-content: center; /* Centra el video horizontalmente */
    margin: 2rem 0;
  }
  
  video {
    max-width: 100%; /* Que no se salga del contenedor */
    height: auto;    /* Ajusta la altura proporcionalmente */
    border: 2px solid #1f2f50; /* Borde azul oscuro opcional */
    border-radius: 8px; /* Bordes redondeados */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Sombra sutil */
  }

  /* === Mosaico estilo Pinterest === */

.mosaico {
    column-count: 3;
    column-gap: 1rem;
    padding: 2rem;
  }
  
  .mosaico img {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 6px;
    break-inside: avoid;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .mosaico img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
  }
  
  /* Responsive: se adapta a tablets y móviles */
  @media (max-width: 1024px) {
    .mosaico {
      column-count: 2;
    }
  }
  
  @media (max-width: 600px) {
    .mosaico {
      column-count: 1;
    }
  }

  /* ... existing code ... */

/* --------------------- */
/* JERARQUÍA DE TEXTOS NOSOTROS */
/* --------------------- */
body.nosotros h1,
body.nosotros h2,
body.nosotros h3,
body.nosotros p {
    color: #efe9e0;
}

body.nosotros h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #efe9e0;
}

body.nosotros h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #a3c1e1
}

body.nosotros h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

body.nosotros p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
body.nosotros strong {
  color: #5586c1
}

/*---NOTAS---*/
.entrevistas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.card {
  background-color: #5586c1; /* azul claro, acorde a navbar */
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  color: #e6f0ff;
  font-family: 'Montserrat', sans-serif;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.card h3 {
  font-family: 'Montserrat', sans-serif; /* ahora igual al título principal */
  font-size: 1.4rem;
  margin: 0.5rem 0 0.3rem;
  color: #d0e3f5;
}

.card p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #c9dbf0;
}

.card .btn {
  display: inline-block;
  background-color: #1f2f50; /* azul oscuro */
  color: #a3c1e1; /* celeste claro */
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.card .btn:hover {
  background-color: #a3c1e1;
  color: #1f2f50;
}

/* --------------------- */
/* JERARQUÍA DE TEXTOS ARCHIVO AUDIOVISUAL */
/* --------------------- */
body.archivoaudiovisual h1,
body.archivoaudiovisual h2,
body.archivoaudiovisual h3,
body.archivoaudiovisual p {
    color: #1f2f50;
}

body.archivoaudiovisual h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #3e5e8e; /* Color del subrayado */
    text-decoration-thickness: 3px; /* Grosor del subrayado */
}

body.archivoaudiovisual h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #3d618c;
    font-family: 'Montserrat', sans-serif;
}

body.archivoaudiovisual h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #5586c1;
}

body.archivoaudiovisual p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/*---ARCHIVO---*/
.botonera {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px; /* Aumentado el espacio entre botones */
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.boton-enlace {
  display: block;
  background-color: #bcc1d2;
  color: #222;
  text-decoration: none;
  padding: 10px 20px; /* Mismo padding que los enlaces del nav */
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #3e5e8e; /* Agregado el borde como en el nav */
}

.boton-enlace:hover {
  background-color: #3e5e8e;
  border-color: #3e5e8e;
  color: #ffffff;
}

.botonera-archivos {
  border: 2px solid #5586c1;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 900px;
  background-color: rgba(85, 134, 193, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.botonera-archivos p {
  text-align: center;
  color: #2b4c7e;
  font-weight: bold;
}

/* Estilos responsive para la página de archivo */
@media (max-width: 995px) {
  .botonera {
      flex-direction: column;
      gap: 0px;
  }

  .boton-enlace {
      text-align: center;
  }

  .botonera-archivos {
      margin: 20px;
      padding: 20px;
  }
}

/*---SUSCRIPCION---*/
.suscripcion {
  background-color: #dfe3ec;
  border-left: 4px solid #3e5e8e;
  border-radius: 8px;
  padding: 2rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
  font-family: 'Montserrat', sans-serif;
  color: #222;
}

.suscripcion h2 {
  color: #2b4c7e;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
}

.suscripcion form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.suscripcion label {
  font-weight: 600;
  color: #3e5e8e;
}

.suscripcion input {
  padding: 0.8rem;
  border: 2px solid #bcc1d2;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  background-color: #ffffff;
  color: #222;
}

.suscripcion button {
  align-self: flex-start;
  padding: 0.6rem 1.2rem;
  background-color: #5586c1;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.suscripcion button:hover {
  background-color: #3e5e8e;
}