/* =========================================================
   VoxIA AGENCY – Páginas Legales (Política, Cookies, Términos)
   ========================================================= */

/* --- Estructura base --- */
body.legal {
  background-color: #0A1020;
  color: #E7EBF3;
  font-family: "Inter", "Montserrat", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
  padding: 0;
}

/* --- Contenedor principal --- */
.legal main {
  max-width: 880px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

/* --- Encabezado principal --- */
.legal h1 {
  display: inline-block;
  font-size: clamp(2.2rem, 1.8rem + 1vw, 2.8rem);
  margin-bottom: 1.5rem;
  background-image: linear-gradient(90deg, #12C3A5, #2155FF);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.legal h2 {
  font-size: 1.4rem;
  color: #12C3A5;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.legal h3 {
  font-size: 1.15rem;
  color: #9DB3FF;
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

/* --- Párrafos y listas --- */
.legal p {
  margin-bottom: 1.1rem;
  opacity: 0.96;
}

.legal ul,
.legal ol {
  margin: 1rem 0 1.5rem 1.5rem;
  padding: 0;
}

.legal li {
  margin-bottom: 0.6rem;
}

/* --- Enlaces --- */
.legal a {
  color: #12C3A5;
  text-decoration: none;
  transition: color 0.25s ease;
}
.legal a:hover {
  color: #00B3C6;
  text-decoration: underline;
}

/* --- Caja de contacto o aviso --- */
.legal .legal-box {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #12C3A5;
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
  border-radius: 8px;
  color: #d7deef;
  font-size: 0.95rem;
}

/* --- Copy final --- */
.legal footer {
  text-align: center;
  margin: 4rem 0 2rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .legal main {
    padding: 0 1.2rem;
    margin: 3rem auto;
  }
  .legal h1 {
    font-size: 2rem;
  }
}
