/* Manifiesto y páginas legales — mismo ritmo que Home / Soluciones / Precios */

body.pf-body--doc {
  background: var(--pf-ink);
  color: #f7f4ef;
}
body.pf-body--doc .pf-main {
  background: var(--pf-ink);
  padding-top: 0;
  overflow-x: clip;
}
body.pf-body--doc :focus-visible {
  outline: 2px solid var(--pf-cyan);
  outline-offset: 3px;
}
body.pf-body--doc .pf-header--home:not(.is-scrolled):not(.is-mega-open) .pf-btn--primary {
  background: var(--pf-coral);
  color: #fff;
}
body.pf-body--doc .pf-footer {
  background: #080809;
  color: rgba(255, 255, 255, 0.72);
}
body.pf-body--doc .pf-footer a { color: rgba(255, 255, 255, 0.78); }
body.pf-body--doc .pf-footer a:hover { color: #fff; }
body.pf-body--doc .pf-footer__heading { color: #fff; }
body.pf-body--doc .pf-footer .pf-social__link,
body.pf-body--doc .pf-footer .pf-social__link svg {
  color: #fff;
  fill: #fff;
}
body.pf-body--doc .pf-footer .pf-social__link:hover,
body.pf-body--doc .pf-footer .pf-social__link:hover svg {
  color: #111;
  fill: #111;
}

.doc-kicker {
  display: inline-flex;
  margin: 0 0 0.85rem;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  background: rgba(255, 45, 85, 0.14);
  color: #ff8aa0;
  border: 1px solid rgba(255, 45, 85, 0.28);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.doc-kicker--ink {
  background: rgba(255, 45, 85, 0.1);
  color: var(--pf-coral);
  border-color: rgba(255, 45, 85, 0.22);
}

/* —— Manifiesto —— */
.doc-kicker span {
  margin-right: 0.45rem;
  color: inherit;
  opacity: 0.7;
}
.mf-hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: flex;
  align-items: flex-end;
  padding: 8rem 0 4.2rem;
  overflow: hidden;
}
.mf-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.28) 0%, rgba(11, 11, 12, 0.55) 42%, rgba(11, 11, 12, 0.92) 100%),
    url("/img/hero-atelier-bg.jpg") center 42% / cover no-repeat;
}
.mf-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 58rem;
}
.mf-hero h1 {
  margin: 0;
  max-width: 16em;
  font-family: var(--pf-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-wrap: balance;
}
.mf-lead {
  margin: 1.15rem 0 0;
  max-width: 36rem;
  color: rgba(247, 244, 239, 0.72);
  font-size: 1.08rem;
  line-height: 1.55;
}
.mf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}
.mf-hero .pf-btn--primary {
  background: var(--pf-coral);
  color: #fff;
}
.mf-hero .pf-btn--ghost {
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5);
}
.mf-hero .pf-btn--ghost:hover { background: rgba(255, 255, 255, 0.06); }

.mf-split,
.mf-flow {
  background: var(--pf-cream);
  color: var(--pf-ink);
  padding: clamp(4.2rem, 8vw, 6.8rem) 0;
}
.mf-split .pf-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.4rem 3.4rem;
  align-items: end;
}
.mf-split h2,
.mf-voice h2,
.mf-flow__head h2,
.mf-finale h2 {
  margin: 0;
  font-family: var(--pf-display);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.98;
  text-wrap: balance;
}
.mf-split h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.mf-split__copy p:not(.doc-kicker) {
  margin: 1rem 0 0;
  max-width: 38rem;
  color: rgba(11, 11, 12, 0.68);
  font-size: 1.05rem;
  line-height: 1.6;
}
.mf-split__figure {
  margin: 0;
}
.mf-split__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  background: #161618;
}
.mf-split__figure figcaption {
  margin-top: 0.75rem;
  color: rgba(11, 11, 12, 0.52);
  font-size: 0.92rem;
}

.mf-voice {
  padding: clamp(4.6rem, 9vw, 7.4rem) 0;
}
.mf-voice__inner { max-width: 52rem; }
.mf-voice h2 {
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  max-width: 16em;
}
.mf-voice p:not(.doc-kicker) {
  margin: 1.35rem 0 0;
  max-width: 40rem;
  color: rgba(247, 244, 239, 0.72);
  font-size: 1.12rem;
  line-height: 1.6;
}

.mf-flow__head { max-width: 44rem; margin-bottom: 2.6rem; }
.mf-flow__head h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.mf-flow__head p:not(.doc-kicker) {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: rgba(11, 11, 12, 0.66);
  font-size: 1.05rem;
  line-height: 1.6;
}
.mf-flow__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mf-flow__frame {
  position: relative;
  margin: 0 0 1rem;
  overflow: hidden;
  border-radius: 20px;
  background: #161618;
  aspect-ratio: 4 / 3;
}
.mf-flow__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mf-flow__frame--ui img { object-position: center 68%; }
.mf-flow__frame .mf-flow__face {
  position: absolute;
  width: 28%;
  height: auto;
  aspect-ratio: 1;
  right: 0.7rem;
  bottom: 0.7rem;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 10px 24px rgba(11, 11, 12, 0.28);
}
.mf-flow__step {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pf-coral);
}
.mf-flow__list h3 {
  margin: 0.35rem 0 0.4rem;
  font-family: var(--pf-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.08;
}
.mf-flow__list li > p:last-child {
  margin: 0;
  color: rgba(11, 11, 12, 0.64);
  line-height: 1.5;
}

.mf-finale {
  position: relative;
  overflow: hidden;
  padding: 5.6rem 0 5.2rem;
  background: var(--pf-coral);
  color: #fff;
  text-align: center;
}
.mf-finale__inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 var(--pf-gutter);
}
.mf-finale .doc-kicker {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.mf-finale h2 {
  margin: 0 auto;
  max-width: 14em;
  font-size: clamp(2.3rem, 5.6vw, 4rem);
}
.mf-creed {
  display: grid;
  gap: 0.28rem;
  margin: 1.45rem auto 0;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.45;
}
.mf-finale .mf-actions { justify-content: center; }
.mf-finale .pf-btn--primary { background: #fff; color: var(--pf-ink); }
.mf-split,
.mf-voice,
.mf-flow { scroll-margin-top: 5.5rem; }

@media (prefers-reduced-motion: no-preference) {
  .mf-hero .doc-kicker { animation: doc-rise 0.7s 0.04s both; }
  .mf-hero h1 { animation: doc-rise 0.85s 0.12s both; }
  .mf-hero .mf-lead { animation: doc-rise 0.7s 0.24s both; }
  .mf-hero .mf-actions { animation: doc-rise 0.7s 0.36s both; }
  .mf-flow__list li:nth-child(1) { animation: doc-rise 0.7s 0.05s both; }
  .mf-flow__list li:nth-child(2) { animation: doc-rise 0.7s 0.16s both; }
  .mf-flow__list li:nth-child(3) { animation: doc-rise 0.7s 0.27s both; }
}
@keyframes doc-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes doc-pop {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

/* —— Legales —— */
.lg-hero {
  position: relative;
  padding: 7.4rem 0 2.6rem;
  overflow: hidden;
}
.lg-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.62) 0%, rgba(11, 11, 12, 0.82) 55%, #0b0b0c 100%),
    radial-gradient(50% 80% at 80% 0%, rgba(255, 45, 85, 0.28), transparent 70%),
    url("/img/hero-atelier-bg.jpg") center 40% / cover no-repeat;
}
.lg-hero__inner { position: relative; z-index: 1; }
.lg-hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--pf-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-wrap: balance;
}
.lg-hero__lead {
  margin: 1rem 0 0;
  max-width: 38rem;
  color: rgba(247, 244, 239, 0.7);
  font-size: 1.05rem;
  line-height: 1.5;
}
.lg-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.5rem;
}
.lg-docs a {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  color: rgba(247, 244, 239, 0.82);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 650;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}
.lg-docs a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.lg-docs a.is-on {
  background: #fff;
  color: var(--pf-ink);
  box-shadow: none;
}

.lg-sheet {
  background: var(--pf-cream);
  color: var(--pf-ink);
  padding: 1.6rem 0 4.2rem;
}
.lg-card {
  max-width: 48rem;
  margin: 0 auto;
  padding: clamp(1.35rem, 3vw, 2.5rem) clamp(1.2rem, 3vw, 2.6rem);
  border-radius: 28px;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(11, 11, 12, 0.06),
    0 18px 40px rgba(11, 11, 12, 0.05);
}
.lg-prose { font-size: 1.02rem; line-height: 1.65; }
.lg-prose h2,
.lg-prose h3 {
  font-family: var(--pf-display);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--pf-ink);
  scroll-margin-top: 6.5rem;
}
.lg-prose h2 {
  margin: 2.1rem 0 0.55rem;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
}
.lg-prose h2:first-child,
.lg-prose .lg-meta + h2,
.lg-prose .lg-switch + div > h2:first-child { margin-top: 0; }
.lg-prose h3 {
  margin: 1.45rem 0 0.4rem;
  font-size: 1.12rem;
}
.lg-prose p,
.lg-prose li { color: rgba(11, 11, 12, 0.72); }
.lg-prose p { margin: 0 0 0.85rem; }
.lg-prose strong { color: var(--pf-ink); font-weight: 700; }
.lg-prose a {
  color: var(--pf-ink);
  text-decoration-color: var(--pf-coral);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.16em;
}
.lg-prose a:hover { color: var(--pf-coral); }
.lg-prose ul {
  margin: 0.2rem 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.lg-prose li {
  position: relative;
  padding-left: 1.05rem;
}
.lg-prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--pf-coral);
}
.lg-prose code {
  font-size: 0.86em;
  padding: 0.08em 0.38em;
  border-radius: 7px;
  background: var(--pf-cream);
  color: var(--pf-ink);
}
.lg-meta {
  margin: 0 0 1.5rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: var(--pf-cream);
  color: rgba(11, 11, 12, 0.72);
  font-size: 0.92rem;
  line-height: 1.5;
}
.lg-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.35rem;
}
.lg-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: var(--pf-cream);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
}
.lg-switch a:hover { background: #efeae3; }
.lg-lang {
  margin-top: 2.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(11, 11, 12, 0.08);
}
.lg-lang > h2:first-child { margin-top: 0; }

@media (max-width: 980px) {
  .mf-hero { min-height: 0; padding-top: 7rem; padding-bottom: 3.2rem; }
  .mf-split .pf-wrap,
  .mf-flow__list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mf-hero h1,
  .lg-hero h1 { font-size: clamp(2.15rem, 11vw, 2.8rem); }
  .mf-actions .pf-btn { width: 100%; }
  .lg-hero { padding-top: 6.6rem; }
  .lg-card { border-radius: 20px; }
  .lg-docs a { font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce) {
  .mf-hero .doc-kicker,
  .mf-hero h1,
  .mf-hero .mf-lead,
  .mf-hero .mf-actions,
  .mf-flow__list li {
    animation: none !important;
  }
}
