/**
 * Ajustes de la exportación HTML estrictamente estática.
 * Conserva la identidad Archivo Vivo con recursos locales y sin dependencias de aplicación.
 */

.site-header .brand {
  gap: 15px;
  font-size: 37.5px;
}

.site-header .brand img {
  width: 51px;
  height: 51px;
}

.legal-page {
  background: linear-gradient(90deg, var(--paper-2) 0 14px, var(--paper) 14px 100%);
  padding: 94px 0 118px;
}

.legal-page__inner {
  max-width: 950px;
}

.legal-page__header {
  position: relative;
  padding: 0 0 39px 40px;
  border-bottom: 2px solid var(--ink);
}

.legal-page__header::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 18px;
  height: 3px;
  content: "";
  background: var(--copper);
}

.legal-page h1 {
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 6.2rem);
}

.legal-page__content {
  padding-left: 40px;
}

.legal-section {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 50px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  margin: 4px 0 0;
  color: var(--copper);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.legal-section p {
  grid-column: 2;
  max-width: 610px;
  margin: 0 0 18px;
  color: #505b56;
  font-size: 14px;
  line-height: 1.72;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section--last {
  border-bottom: 0;
}

.legal-email {
  color: var(--copper);
  border-bottom: 2px solid currentColor;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.045em;
}

@media (max-width: 700px) {
  .sale-ribbon__detail,
  .search-link,
  .header-cta {
    display: none;
  }

  .site-header .brand {
    gap: 15px;
    font-size: 33px;
  }

  .site-header .brand img {
    width: 45px;
    height: 45px;
  }

  .legal-page {
    padding: 58px 0 68px;
    background: var(--paper);
  }

  .legal-page__header,
  .legal-page__content {
    padding-left: 0;
  }

  .legal-page__header {
    padding-bottom: 28px;
  }

  .legal-page__header::before {
    position: static;
    display: block;
    margin-bottom: 17px;
  }

  .legal-section {
    grid-template-columns: 1fr;
    gap: 11px;
    padding: 25px 0;
  }

  .legal-section p {
    grid-column: auto;
    font-size: 13px;
    line-height: 1.68;
  }

  .legal-email {
    font-size: 1.55rem;
  }
}
