/* RESET BÁSICO */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ESTILO GENERAL */
body {
  font-family: Arial, sans-serif;
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

/* HEADER */
header {
  background-color: #2ecc71;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
}

header h1 {
  font-size: 2.2rem;
}

header p {
  margin-top: 10px;
  font-size: 1.1rem;
}

/* CONTENEDOR GENERAL */
.container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

/* FOOTER */
footer {
  background-color: #222;
  color: #aaa;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
  font-size: 0.9rem;
}

footer a {
  color: #aaa;
  text-decoration: underline;
}



/* BOTONES GENÉRICOS */
button {
  background-color: #2ecc71;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

button:hover {
  background-color: #27ae60;
}

/* INPUTS GENERALES */
input, select {
  width: 100%;
  padding: 10px;
  margin: 8px 0 15px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

main {
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ENLACES INTERNOS MEJORADOS */
.internal-links {
  margin-top: 50px;
}

.internal-links h3 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.internal-links ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.internal-links li a {
  display: block;
  background-color: #f5f7fa;
  padding: 15px;
  border-radius: 8px;
  font-weight: bold;
  color: #2ecc71;
  border: 1px solid #e0e0e0;
  transition: all 0.2s ease;
}

.internal-links li a:hover {
  background-color: #2ecc71;
  color: white;
  transform: translateY(-3px);
}
/* BOTÓN VOLVER AL INICIO */
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  padding: 10px 18px;
  background-color: #f5f7fa;
  color: #2ecc71;
  font-weight: bold;
  text-decoration: none;
  border-radius: 25px;
  border: 1px solid #e0e0e0;
  transition: all 0.25s ease;
}

.back-home:hover {
  background-color: #2ecc71;
  color: #ffffff;
  transform: translateX(-4px);
}

/* HEADER CLICABLE - ESTILO LIMPIO */
.site-header .header-link,
.site-header .header-link:visited,
.site-header .header-link:hover,
.site-header .header-link:active {
  text-decoration: none;
  color: inherit;
}

/* Opcional: efecto hover sutil */
.site-header .header-link:hover h1 {
  opacity: 0.9;
}


