/* RESET BÁSICO Y FUENTES */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  background-color: #f4f6f9; /* Fondo más serio y profesional */
  color: #2d2d2d;
  padding: 20px 15px;
  min-height: 100vh;
}

/* CONTENEDORES PRINCIPALES */
header, main, footer {
  max-width: 1200px; /* Más ancho para ocupar más pantalla */
  margin: 0 auto 30px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  padding: 50px 40px; /* Más espacio interno */
}

/* HEADER HERO */
header.hero {
  background: linear-gradient(135deg, #0d1b2a, #1b4332); /* Azul marino + verde financiero */
  color: white;
  text-align: center;
  padding: 80px 30px 90px;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

header.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  line-height: 1.1;
}

header.hero p {
  font-size: 1.3rem;
  max-width: 750px;
  margin: 0 auto 30px auto;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.25);
}

/* BOTÓN PRINCIPAL */
.btn {
  display: inline-block;
  background-color: #1b4332;
  color: white;
  font-weight: 700;
  padding: 16px 50px;
  font-size: 1.2rem;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(27, 67, 50, 0.4);
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover,
.btn:focus {
  background-color: #0d1b2a;
  box-shadow: 0 6px 20px rgba(13, 27, 42, 0.5);
  outline: none;
}

/* BOTÓN PEQUEÑO PARA ENLACES INTERNOS */
.btn-link {
  display: inline-block;
  background-color: #1b4332;
  color: white;
  font-weight: 600;
  padding: 8px 16px;
  font-size: 0.9rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(27, 67, 50, 0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.btn-link:hover,
.btn-link:focus {
  background-color: #0d1b2a;
  box-shadow: 0 4px 12px rgba(13, 27, 42, 0.4);
  outline: none;
}

/* ARTÍCULOS */
article {
  max-width: 900px;
  margin: 0 auto;
}

article h2 {
  font-size: 2rem;
  color: #0d1b2a;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 800;
  border-left: 6px solid #1b4332;
  padding-left: 15px;
}

article h3 {
  font-size: 1.5rem;
  margin-top: 25px;
  margin-bottom: 10px;
  color: #1b4332;
  font-weight: 700;
}

article p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #444;
  line-height: 1.7;
}

article ol,
article ul {
  margin-left: 30px;
  margin-bottom: 25px;
}

article li {
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #444;
}

/* ENLACES */
a {
  color: #0d1b2a;
  font-weight: 600;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* FOOTER */
footer {
  text-align: center;
  font-size: 14px;
  color: #666;
  padding: 25px 10px;
  border-top: 1px solid #ddd;
  max-width: 1200px;
  margin: 0 auto 40px;
}
.related-posts {
  background-color: #f0f5f3; /* Verde claro suave */
  border-left: 5px solid #1b4332; /* Verde corporativo */
  padding: 15px 20px;
  margin: 30px 0;
  border-radius: 6px;
}

.related-posts h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #1b4332;
}

.related-posts a {
  display: inline-block;
  margin-bottom: 10px;
}


/* RESPONSIVE */
@media (max-width: 900px) {
  body {
    font-size: 16px;
  }

  header, main, footer {
    padding: 30px 20px;
    margin-bottom: 20px;
  }

  header.hero h1 {
    font-size: 2.5rem;
  }

  article h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
    padding: 15px 10px;
  }

  header.hero {
    padding: 50px 20px 60px;
  }

  header.hero h1 {
    font-size: 2rem;
  }

  .btn {
    padding: 14px 35px;
    font-size: 1rem;
  }

  .btn-link {
    padding: 6px 14px;
    font-size: 0.85rem;
  }

  article h2 {
    font-size: 1.5rem;
  }

  article h3 {
    font-size: 1.2rem;
  }
}


