/* =======================================
   ESTILOS PÁGINAS LEGALES - 015 CUTZ
   ======================================= */

body.legal-page {
  background-color: #000;
  color: #eee;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.legal-container {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 25px;
  text-align: left;
}

/* ===== TÍTULOS ===== */
.legal-container h1 {
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 2.6rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #fff, #d10000, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 40px;
  position: relative;
}

.legal-container h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, #fff, #d10000, #fff);
  border-radius: 2px;
}

.legal-container h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 10px;
  color: #d10000;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== PÁRRAFOS Y LISTAS ===== */
.legal-container p,
.legal-container ul {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 15px;
}

.legal-container ul {
  padding-left: 20px;
}

.legal-container li {
  margin-bottom: 8px;
}

/* ===== ENLACES ===== */
.legal-container a {
  color: #e60000;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.legal-container a:hover {
  color: #fff;
}

/* ===== BLOQUES ESPECIALES ===== */
.legal-container strong {
  color: #fff;
}

.legal-container h2 + p {
  margin-top: 10px;
}

/* ===== FOOTER ===== */
.footer-legal {
  text-align: center;
  background: #0f0f0f;
  padding: 30px 15px;
  color: #aaa;
  font-size: 0.9rem;
  border-top: 2px solid #d10000;
}

.footer-legal a {
  color: #fff;
  margin: 0 6px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: #d10000;
}

.footer-social a {
  color: #fff;
  font-size: 26px;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #e63946;
  /* Rojo al pasar el ratón */
}

/* Hace que el footer se pegue abajo aunque el contenido sea corto */
html, body {
  height: 100%;
}

body.legal-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Asegura que el contenido ocupe el espacio restante */
.legal-container {
  flex: 1;
}

/* Footer siempre al final */
.footer {
  margin-top: auto;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .legal-container {
    margin: 50px auto;
    padding: 0 20px;
  }

  .legal-container h1 {
    font-size: 2rem;
  }

  .legal-container h2 {
    font-size: 1.2rem;
  }

  .footer-legal {
    font-size: 0.8rem;
  }
}
