/* Hoja simple: papel y pie de informacion-legal.html (patrón demo-mainfo).
   La genera PuertaLegal con #4f7997 sustituida por el color del cliente. */

:root {
  color-scheme: light;
}

body {
  margin: 0;
  font-family: system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  background: #f4f6f7;
  color: #1e2b36;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #e3e8ed;
}

.site-header .brand-name {
  display: block;
  max-width: 60rem;
  margin: 0 auto;
  padding: .9rem 1rem;
  font-weight: 700;
  color: #4f7997;
  text-decoration: none;
}

.legal-main {
  padding-block: clamp(2.5rem,4vw,4rem);
}

.legal-main .page-container {
  max-width: 58rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.legal-main h1 {
  margin: 0 0 1.5rem;
  font-size: 2rem;
  line-height: 1.2;
}

.paper {
  background: #fff;
  border-radius: .5rem;
  box-shadow: 0 .25rem 1rem rgba(0,0,0,.08);
  padding: clamp(1.25rem,3vw,2.5rem);
}

.paper h2 {
  margin: 2rem 0 .75rem;
  font-size: 1.35rem;
  line-height: 1.3;
}

.paper h2:first-child {
  margin-top: 0;
}

.paper p, .paper li {
  color: #555;
}

.paper p {
  margin: 0 0 1rem;
  line-height: 1.7;
}

.paper a {
  color: #4f7997;
}

.cookie-controls {
  max-width: 58rem;
  margin: 1rem auto;
  padding: 0 1rem;
}

.site-footer {
  background: #fff;
  border-top: 1px solid #e3e8ed;
  margin-top: 2rem;
}

.site-footer .footer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  max-width: 58rem;
  margin: 0 auto;
  padding: .8rem 1rem;
  font-size: .85rem;
}

.site-footer .footer-line p {
  margin: 0;
}

.site-footer .footer-legal {
  margin-left: auto;
  text-align: right;
  font-size: .75rem;
  color: #8a97a3;
}

.site-footer .footer-legal a {
  color: inherit;
}

.site-footer .footer-legal button {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
}

@media (max-width:600px) {
  .site-footer .footer-line {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width:600px) {
  .site-footer .footer-legal {
    margin-left: 0;
    text-align: center;
  }
}

