/* === Estilos base === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}

html, body {
  height: 100%;
}

body {
  background: #f9f9fb;
  color: #222;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

/* === Contenedor principal === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  flex: 1; /* Empuja el footer hacia abajo */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === Header y navegación === */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 15px 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 45px;
}

.site-nav {
  display: flex;
  gap: 25px;
}

.site-nav a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.3s;
}

.site-nav a:hover {
  color: #6b21a8;
}

/* === Botón de menú hamburguesa === */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* === Contenido === */
h1, h2 {
  color: #111;
  margin-bottom: 10px;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }

ul { list-style: none; padding: 0; margin: 10px 0 20px 0; }
ul li { margin: 6px 0; }

.button {
  display: inline-block;
  background: #6b21a8;
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}
.button:hover { background: #4c1d95; }

/* === Footer fijo al fondo === */
.site-footer {
  text-align: center;
  padding: 20px;
  background: #eee;
  font-size: 0.9rem;
  margin-top: auto; /* Mantiene el footer abajo */
}

/* === Responsividad === */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: white;
    position: absolute;
    top: 70px;
    left: 0;
    border-top: 1px solid #ddd;
  }
  .site-nav.active {
    display: flex;
  }
  .site-nav a {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
  }
  .container { padding: 15px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
}

@media (max-width: 420px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
  .button { padding: 10px 14px; font-size: 15px; }
}

/* === Disclaimer === */
.disclaimer {
  text-align: center;
  font-size: 0.85rem;
  color: #555;
  background: #f1f1f1;
  padding: 10px 15px;
  border-top: 1px solid #ddd;
}

.disclaimer p {
  margin: 0;
}

