/* Tipografía y cuerpo */
body {
  font-family: 'Libre Baskerville', serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #003366;
  line-height: 1.8; /* Mejor interlineado para lectura */
}

/* Encabezado principal */
header {
  background-color: #003366;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  flex-wrap: wrap;
}

.logo {
  max-height: 60px;
}

nav a {
  color: white;
  margin-left: 1rem;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* Secciones */
.section {
  padding: 3rem 2rem;   /* Más espacio para respirar */
  max-width: 900px;
  margin: auto;
  line-height: 1.9; /* Muy buena legibilidad */
  text-align: justify;
}

/* Títulos */
h1, h2, h3, h4 {
  color: #002244;
  margin-bottom: 1.5rem; /* Separación mayor entre títulos y contenido */
  line-height: 1.3;
}

/* Párrafos y listas */
p, li {
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 1rem;
  line-height: 1.7;
}

ul {
  padding-left: 2rem;  /* Sangría adecuada */
  margin-bottom: 1.5rem;
}

/* Botones */
.buttons {
  margin-top: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin: 0.5rem 0.5rem 0 0;
  text-decoration: none;
  border-radius: 5px;
  background-color: #cccccc;
  color: #003366;
  font-weight: bold;
  transition: all 0.2s;
}

.btn.primary {
  background-color: #0066cc;
  color: white;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

/* Formulario */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
}

/* Footer */
footer {
  background-color: #003366;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80px;
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  nav a {
    margin: 0.5rem 0;
  }
}

/* Language switcher */
.language-switcher {
  margin-left: auto;
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
}

.language-switcher a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
}

.language-switcher a:hover {
  text-decoration: underline;
}

/* Header con imagen y gradiente */
.header {
  height: 60vh;
  background-image: 
    linear-gradient(to right bottom, rgba(6, 45, 56, 0.45), rgba(5, 44, 99, 0.45)),
    url('./esta.jpg');
  background-size: cover;
  background-position: bottom;
  text-shadow: 4px 4px #000000;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 55vh, 0 100%);
}

.text-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.heading-primary {
  color: #fff;
  text-transform: uppercase;
  backface-visibility: hidden;
  margin-bottom: 30px;
}

.heading-primary-main {
  display: block;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 5px;
}

.heading-primary-sub {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 7.4px;
}

/* Botones adicionales */
.btn-white {
  background-color: #fff;
  color: #777;
  font-size: 14px;
}
