/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Tipografía general */
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background-color: white;
  line-height: 1.5;
  width: 100%;
  overflow-x: hidden;

}

/* Contenedora general */
.contenedora {
  max-width: 58rem;
  margin: 0rem auto;
  padding:1rem 1rem;
  
}
@media (max-width: 600px) {
  .contenedora {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
.contenedora h3{
  color: 002b6d;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
}

.navbar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem 2rem;
  gap: 1rem;
}

/* Logo */
#logo img {
  height: 2rem;
}

/* Navegación */
.nav-buttons ul {
  display: flex;
  gap: .5rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  line-height: 1.2;
}

.nav-buttons a {
  text-decoration: none;
  color: #1a1a1a;
  text-transform: uppercase;
}

/* Desktop */
@media (min-width: 850px) {

  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;  }

  
}
@media(min-width: 500px) and (max-width:850px){
    .navbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
.nav-buttons ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  #logo img{
    display: flex;
    justify-content: center;
    height: 1.25rem;
  }

}
@media (max-width: 500px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
.nav-buttons ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  #logo img{
    display: flex;
    justify-content: center;
    height: 1rem;
  }

}

/* Sección principal (h1) */


.overlay{
  background-image: url("../imagenes/backgroundtitulo.jpg"); /* si usás fondo, sino sacar */
  background-size: cover;
  background-position: center;
  padding: 6rem;
  width: 100%;
  color: white;
  text-align: center;


}
.overlay h1{
  text-transform: uppercase;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1;


}
.overlay h2{
margin-top: 0rem;
font-size: clamp(.5rem, 3vw, 1.35rem);
line-height: 1;

}

/* Texto introductorio */


.descripcion {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.boton {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #002b6d;
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 2rem;
  margin-top: 1rem;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.boton:hover {
  background-color: #00338d;
}
/* Sección centros */
section.Centros.clandestinos {
  padding-top: 1rem;
  background-color: #f2f2f2;
}


.bold{
  font-weight: bold;
}

.introduccion{
  margin: 0 auto;
}

.centros_clandestinos {
  display: grid;
  align-content: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

/* Mobile: 1 columna */
@media (max-width: 600px) {
  .centros_clandestinos {
    grid-template-columns: 1fr;
  }
}

/* Tablet: 2 columnas */
@media (min-width: 601px) and (max-width: 1024px) {
  .centros_clandestinos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: 3 columnas */
@media (min-width: 1025px) {
  .centros_clandestinos {
    grid-template-columns: repeat(3, 1fr);
  }
}

article.centro {
  text-align: center;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

article.centro figure {
  margin: 0;
}

article.centro img {
  width: 100%;
  display: block;
}


.info-centro h4 {
  font-size: 1.2rem;
  color: #002b6dff;
}

.etiquetas {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.etiquetas .tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #5a6e9c;
  text-decoration: none;
}

.etiquetas .icono {
  width: 16px;
  height: 16px;
  display: inline-block;
}


.video-memoria {
  background-color: white;
  padding-top: 1rem;
}


.video-memoria h3 {
  color: #002b6d;
  margin-bottom: 0px;
}
.video-container {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}
.video-container iframe {
   width: 100%;
  max-width: 58rem;
  aspect-ratio: 16 / 9;
}

/* --------- PAGINA Ex ESMA --------- */

section.Hero .contenedora p {
padding-top: 1rem;
padding-bottom: 2rem;
}
section.Hero .contenedora{
  border-bottom: grey  solid;
}
article.voces p{
padding-top: 1rem;
}
article.voces .contenedora {
 border-bottom: grey  solid;
 padding-bottom: 3rem;
}
article.encontrar .contenedora h3{
  padding-top: 1rem;
  padding-bottom: 2rem;
}
.lista-encontrar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1.5rem 3rem;
}

@media (max-width: 400px) {
  .lista-encontrar {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.lista-encontrar .item {
  display: flex;
  align-items: start;
  gap: 1rem;
}

.lista-encontrar .item img {
  width: 2rem;
  height: auto;
  flex-shrink: 0;
}

.lista-encontrar .item p {
  font-size: 1rem;
  margin: 0;
  line-height: 1.4;
}
article.encontrar .contenedora {
  padding-bottom: 3rem;
   border-bottom: grey  solid;
}
article.informacion .contenedora{
  padding-top: 2rem;
  padding-bottom: 3rem;
}
article.informacion .contenedora h3{
  padding-bottom: 2rem;
}
.lista-info{
  background-color: #f4f4f4;
  padding: 2rem 1rem;
  border-radius: 1.5rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 20rem;
}
.info-item img {
  width: 2.5rem;
  height: auto;
  margin-bottom: 0.8rem;
}
.info-item p {
  color: #091C54;
  margin: 0;
}
@media (max-width: 600px) {
  .article.encontrar .grid-beneficios {
    grid-template-columns: 1fr;
  }
}
/* --------- Historia --------- */
.overlayHistoria{
  background-image: url("../imagenes/NuestraHistoria.jpg"); /* si usás fondo, sino sacar */
  background-size: cover;
  background-position: center;
  padding: 6rem;
  width: 100%;
  color: white;
  text-align: center;


}
.overlayHistoria h1{
  text-transform: uppercase;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1;


}
@media (max-width: 480px) {
  .overlayHistoria {
    padding: 2rem 1rem;
  }
}
section.lineaTiempo h2{
    color: 002b6d;
    padding-top: 1rem;

}
section.lineaTiempo h3{
  padding-top: 1rem;
  padding-bottom: 1rem;
}
section.lineaTiempo .boton{

  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: white;
  color: #002b6d;
  border: #002b6d solid;
  text-decoration: none;
  font-weight: 600;
  border-radius: 2rem;
  margin-top: 1rem;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

article.sinFondo{
  padding-bottom: 3rem;
  border-bottom: grey  solid;
}
article.sinBorde{
  padding-bottom: 2rem;
}
article.año1977{
background-image: url("../imagenes/CONTEXTO\ 1.jpg"); /* si usás fondo, sino sacar */
  background-size: cover;
  background-position: center;
  width: 100%;


}
article.año1977 .boton{display: inline-block;
  padding: 0.5rem 1rem;
  background-color:transparent;
  color: white;
  border: white solid;
  text-decoration: none;
  font-weight: 600;
  border-radius: 2rem;
  margin-top: 1rem;
  text-transform: uppercase;
  transition: background-color 0.3s ease;}
article.año1977 h3,
article.año1977 h2,
article.año1977 p{
  color: white;
}
article.año1985{
background-image: url("../imagenes/CONTEXTO\ 2.jpg"); /* si usás fondo, sino sacar */
  background-size: cover;
  background-position: center;
  width: 100%;


}
article.año1985 .boton{display: inline-block;
  padding: 0.5rem 1rem;
  background-color:transparent;
  color: white;
  border: white solid;
  text-decoration: none;
  font-weight: 600;
  border-radius: 2rem;
  margin-top: 1rem;
  text-transform: uppercase;
  transition: background-color 0.3s ease;}
article.año1985 h3,
article.año1985 h2,
article.año1985 p{
  color: white;
}

/* Footer */
footer {
  background-color: #002b6d;
  padding: 2rem 1rem;
  color: #fff;
}