body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f8f8f8;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #333;
}

header {
  background-color: #fff;
  color: #1D2D44;
  padding: 20px;
  text-align: left;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 15px;
}

.container {
  background-color: #fff;
  padding: 20px;
  width: 100%;
  max-width: 1100px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
}

h1 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #1D2D44;
  text-align: center;
}

.content {
  display: flex;
  flex-direction: column;  /* vertical */
  align-items: center;
  gap: 20px;
}

.text-section {
  width: 100%;
  max-width: 800px;
  text-align: justify;
  padding: 10px;
}

.text-section p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.image-section {
  width: 100%;
  max-width: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.image-section img {
  width: 100%;
  max-width: 600px;      /* ancho máximo uniforme */
  height: 250px;         /* altura fija para consistencia */
  object-fit: cover;     /* recorta sin deformar */
  border-radius: 8px;
  margin-bottom: 30px;   /* separación del botón regresar */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-section img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(61, 92, 118, 0.15);
}
.button-container {
  text-align: center;
  margin-top: 10px;
}

.back-link {
  display: inline-block;
  padding: 12px 24px;
  background-color: #1D2D44;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.back-link:hover {
  background-color: #3E5C76;
  box-shadow: 0 4px 12px rgba(61, 92, 118, 0.3);
  transform: translateY(-2px);
}

footer {
  background-color: #1D2D44;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}

/* TOQUES DE AMARILLO EN ENLACES INTERNOS (opcional) */
.alink_links {
  color: #1D2D44;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.alink_links:hover {
  color: #F0C808;
  text-decoration: underline;
}

/* RESPONSIVIDAD */
@media (max-width: 1024px) {
  .content {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 22px;
  }

  .text-section p {
    font-size: 15px;
  }

  .logo img {
    height: 40px;
  }

  footer {
    font-size: 0.8em;
    padding: 15px;
  }
  .image-section img {
    height: 200px;       /* más compacto en móvil */
  }
}
    
