/* PRADO · portada con acceso — sistema visual v2.0 (ruta de color "Manglar") */
@font-face { font-family: "Archivo"; src: url("fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --p-bg: #F1F3EE; --p-surface: #FAFBF8; --p-surface-2: #E8ECE5; --p-ink: #10261E; --p-ink-2: #3E5149; --p-ink-3: #5A6B62; --p-line: #CCD4CB;
  --p-accent: #2F8F4E; --p-accent-ink: #1F6B37; --p-tend: #8F978F; --p-plan: #2F8F4E;
  --p-good: #2468A8; --p-good-soft: #DCE8F3; --p-bad: #A8432F; --p-bad-soft: #F3DDD6; --p-warn: #D6A100; --p-warn-soft: #F7EDC8; --p-plan-soft: #DCEFE1;
  --ink-bg: #10261E; --ink-fg: #E8EEE9; --ink-fg-2: #A9B8AF; --ink-line: rgba(232, 238, 233, .16); --ink-acc: #6CC58A;
  --f-d: "Archivo", "Public Sans", system-ui, sans-serif; --f-b: "Public Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body.prado-portada { background: var(--p-bg); color: var(--p-ink); font: 400 1rem/1.55 var(--f-b); -webkit-font-smoothing: antialiased; }
a { color: var(--p-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--p-accent); outline-offset: 3px; border-radius: 3px; }
svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.pt-skip { position: absolute; left: -9999px; top: 8px; background: var(--p-ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 10; }
.pt-skip:focus { left: 8px; }

.pt { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(380px, 1fr); min-height: 100vh; min-height: 100dvh; }
/* panel de tinta */
.pt-ink { position: relative; overflow: hidden; background: var(--ink-bg); color: var(--ink-fg); padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; }
.pt-pix { position: absolute; right: 0; top: 0; height: 64%; width: auto; max-width: 34%; object-fit: cover; object-position: left top; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); }
.pt-top { position: relative; display: flex; align-items: center; gap: 18px; }
.pt-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-fg); text-decoration: none; }
.pt-mark { width: 46px; height: 32px; }
.pt-word { font: 800 1.85rem/1 var(--f-d); font-stretch: 118%; letter-spacing: .05em; }
.pt-desc { padding-left: 18px; border-left: 1px solid var(--ink-line); font: 600 .78rem/1.2 var(--f-d); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-fg-2); }
.pt-ink h1 { position: relative; margin: auto 0 0; padding-top: 12vh; max-width: 14ch; font: 700 clamp(2.4rem, 4.6vw, 4.1rem)/1.04 var(--f-d); letter-spacing: -.012em; color: var(--ink-fg); text-wrap: balance; }
.pt-tres { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; border-top: 1px solid var(--ink-line); max-width: 760px; }
.pt-tres > div { padding: 16px 18px 4px 0; }
.pt-tres > div + div { padding-left: 18px; border-left: 1px solid var(--ink-line); }
.pt-tres b { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; color: var(--ink-fg); }
.pt-tres .p b { color: var(--ink-acc); }
.pt-tres span { display: block; margin-top: 3px; font-size: .86rem; color: var(--ink-fg-2); }
.g-base, .g-tend, .g-plan { display: inline-block; flex: 0 0 auto; }
.g-base { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-fg); }
.g-tend { width: 9px; height: 9px; border-radius: 50%; border: 1.6px solid var(--ink-fg-2); }
.g-plan { width: 9px; height: 9px; background: var(--ink-acc); transform: rotate(45deg) scale(.92); }
.pt-foot { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; font-size: .8rem; color: var(--ink-fg-2); }
/* panel claro con el acceso */
.pt-side { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 72px); }
.pt-card { width: 100%; max-width: 400px; margin: 0 auto; }
.pt-kick { margin: 0 0 6px; font: 600 .74rem/1.2 var(--f-d); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; color: var(--p-ink-3); }
.pt-card h2 { margin: 0 0 22px; font: 700 1.85rem/1.15 var(--f-d); letter-spacing: -.005em; }
.pt-form { display: grid; gap: 16px; }
.pt-f { display: grid; gap: 6px; }
.pt-f > span:first-child { font-weight: 600; font-size: .88rem; }
.pt-f input { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--p-ink); background: var(--p-surface); border: 1px solid var(--p-line); border-radius: 8px; }
.pt-f input:focus { outline: none; border-color: var(--p-accent); box-shadow: 0 0 0 3px rgba(47, 143, 78, .25); }
.pt-form.has-error .pt-f input { border-color: var(--p-bad); }
.pt-pass { position: relative; display: block; }
.pt-pass input { padding-right: 48px; }
.pt-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; color: var(--p-ink-2); cursor: pointer; border-radius: 6px; }
.pt-eye svg { width: 20px; height: 20px; }
.pt-eye[aria-pressed="true"] { color: var(--p-accent-ink); }
.pt-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .9rem; }
.pt-row a { color: var(--p-ink); }
.pt-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.pt-check input { width: 18px; height: 18px; accent-color: var(--p-ink); margin: 0; }
.pt-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; margin-top: 4px; border: 0; border-radius: 8px; background: var(--p-ink); color: #fff; font: 600 1rem var(--f-b); text-decoration: none; cursor: pointer; }
.pt-btn:hover { background: #1F3A30; }
.pt-note { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--p-line); font-size: .84rem; color: var(--p-ink-3); }
.pt-small { margin: 14px 0 0; font-size: .9rem; }
.pt-alert { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 12px 14px; border-radius: 8px; font-size: .9rem; line-height: 1.45; }
.pt-alert svg { width: 18px; height: 18px; margin-top: 1px; }
.pt-alert.bad { background: var(--p-bad-soft); } .pt-alert.bad svg { color: var(--p-bad); }
.pt-alert.warn { background: var(--p-warn-soft); } .pt-alert.warn svg { color: #8A6800; }
.pt-alert.info { background: var(--p-good-soft); } .pt-alert.info svg { color: var(--p-good); }
.pt-alert.ok { background: var(--p-plan-soft); } .pt-alert.ok svg { color: var(--p-accent-ink); }
.pt-foot-m { display: none; }
@media (max-width: 900px) {
  .pt { grid-template-columns: minmax(0, 1fr); }
  .pt-ink { padding: 28px 22px 64px; }
  .pt-pix { max-width: 46%; height: 120%; opacity: .55; }
  .pt-ink h1 { margin-top: 28px; padding-top: 0; font-size: clamp(1.9rem, 7.4vw, 2.75rem); max-width: 16ch; }
  .pt-tres, .pt-foot, .pt-desc { display: none; }
  .pt-side { position: relative; margin-top: -26px; padding: 26px 22px 28px; background: var(--p-bg); border-radius: 18px 18px 0 0; justify-content: flex-start; }
  .pt-card h2 { font-size: 1.5rem; }
  .pt-foot-m { display: block; margin: 36px 0 0; text-align: center; font-size: .78rem; color: var(--p-ink-3); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
