/* Entrada del demo con la línea gráfica de sitio web: hero oscuro con titular en mayúsculas finas, secciones papel,
   etiquetas con raya, cifras grandes y botones de píldora. Helvetica Neue en pesos finos, sin colores de acento. */
:root {
  --fondo: #0a0a0a; --fondo-2: #111111; --texto: #f4f4f2; --tenue: #8d9298;
  --papel: #f4f4f2; --tinta: #0a0a0a; --gris: #55595f; --gris-2: #80848a;
  --linea: rgba(255, 255, 255, .14); --linea-p: rgba(10, 10, 10, .12);
  --g: clamp(20px, 5vw, 72px); --max: 1280px; --ease: cubic-bezier(.22, .61, .24, 1);
  --f: "Helvetica Neue", Helvetica, "Inter Tight", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { background: var(--fondo); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--f); font-size: 17px; font-weight: 300; line-height: 1.55; color: var(--texto); background: var(--fondo);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--texto); color: var(--fondo); }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 500; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--g); }

/* tipografía */
h1, h2 { font-weight: 400; letter-spacing: -.035em; line-height: 1.02; }
.h-xl { font-size: clamp(38px, 8.6vw, 128px); line-height: .95; font-weight: 300; }
.h-l { font-size: clamp(32px, 4.4vw, 64px); }
.mayus { text-transform: uppercase; letter-spacing: -.03em; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 12.5px; font-weight: 400; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 26px; }
.eyebrow .raya { width: 22px; height: 1px; background: currentColor; flex: none; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--gris); max-width: 52ch; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px;
  border-radius: 999px; font-size: 14px; font-weight: 400; letter-spacing: .02em; border: 1px solid var(--texto);
  background: var(--texto); color: var(--fondo); transition: background .3s, color .3s, border-color .3s; white-space: nowrap; }
.btn:hover { background: transparent; color: var(--texto); }
.btn .fl { transition: transform .3s var(--ease); }
.btn:hover .fl { transform: translateX(4px); }
.btn-l { background: transparent; color: var(--texto); border-color: var(--linea); }
.btn-l:hover { border-color: var(--texto); }

/* cabecera */
.hdr { position: absolute; inset: 0 0 auto; z-index: 10; }
.hdr .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; max-width: none; }
.logo { width: 86px; }
.hdr-tag { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--tenue); }
.hdr-link { justify-self: end; font-size: 13.5px; }
.hdr-link:hover { text-decoration: underline; text-underline-offset: 5px; }

/* hero */
.hero { min-height: 92vh; display: flex; align-items: flex-end; padding: 140px 0 clamp(48px, 8vh, 96px);
  background: radial-gradient(120% 90% at 85% 10%, #1b1c1e 0%, #0a0a0a 55%) var(--fondo); border-bottom: 1px solid var(--linea); }
.hero .wrap { width: 100%; }
.hero-pie { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: clamp(32px, 6vh, 64px);
  padding-top: 28px; border-top: 1px solid var(--linea); flex-wrap: wrap; }
.lema { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; color: var(--texto); font-weight: 300; }

/* papel */
.papel { background: var(--papel); color: var(--tinta); padding: clamp(72px, 11vw, 140px) 0; }
.papel + .papel { padding-top: 0; }
.papel .h-l { color: #4a4d52; max-width: 16ch; }
.papel .eyebrow.osc { color: var(--tinta); }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.cifras { display: flex; gap: clamp(24px, 4vw, 56px); margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--linea-p); flex-wrap: wrap; }
.cifras div { display: flex; flex-direction: column; }
.cifras b { font-size: clamp(34px, 3.6vw, 52px); font-weight: 300; letter-spacing: -.04em; line-height: 1; color: #4a4d52; }
.cifras span { font-size: 12.5px; color: var(--gris-2); margin-top: 8px; }

/* perfiles: filas editoriales */
.roles { list-style: none; margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--linea-p); }
.roles li { border-bottom: 1px solid var(--linea-p); }
.roles a { display: grid; grid-template-columns: 56px 1.1fr 1fr 2.2fr auto; align-items: baseline; gap: 20px;
  padding: 28px 0; transition: padding .35s var(--ease), background .35s; }
.roles a:hover { padding-left: 14px; padding-right: 14px; background: rgba(10, 10, 10, .035); }
.roles .n { font-size: 12.5px; color: var(--gris-2); letter-spacing: .06em; }
.roles .rol { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.03em; font-weight: 400; line-height: 1.1; }
.roles .quien { font-size: 14px; color: var(--gris); }
.roles .que { font-size: 15.5px; color: var(--gris); line-height: 1.5; }
.roles .ir { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--linea-p); font-size: 13.5px; color: var(--tinta); transition: background .3s, color .3s, border-color .3s; white-space: nowrap; }
.roles a:hover .ir { background: var(--tinta); color: var(--papel); border-color: var(--tinta); }

/* Nix */
.nix { padding: clamp(72px, 11vw, 140px) 0; border-top: 1px solid var(--linea); }
.nix .lead { color: #c9ccd0; }
.acciones { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* pie */
.ftr { background: var(--papel); color: var(--gris); padding: 40px 0; }
.ftr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ftr-logo { width: 72px; }
.ftr p { font-size: 13px; max-width: 60ch; }

@media (max-width: 860px) {
  .hdr .wrap { grid-template-columns: 1fr auto; }
  .hdr-tag { display: none; }
  .dos { grid-template-columns: 1fr; }
  .roles a { grid-template-columns: 36px 1fr auto; grid-template-areas: "n rol ir" "n quien quien" "n que que"; row-gap: 6px; padding: 22px 0; }
  .roles .n { grid-area: n; } .roles .rol { grid-area: rol; } .roles .quien { grid-area: quien; } .roles .que { grid-area: que; } .roles .ir { grid-area: ir; }
  .roles a:hover { padding-left: 0; padding-right: 0; background: none; }
  .hero { min-height: 86vh; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* código de acceso */
.codigo-form { flex-direction: column; align-items: stretch; }
.codigo-fila { display: flex; gap: 10px; max-width: 520px; width: 100%; }
.codigo-fila input { flex: 1; min-width: 0; min-height: 50px; background: transparent; border: 1px solid var(--linea); border-radius: 999px;
  color: var(--texto); padding: 0 22px; font: inherit; font-size: 17px; }
.codigo-fila input:focus { outline: none; border-color: var(--texto); }
.err { color: #f0a7a0; font-size: 14px; }
.hero-acc { margin-top: 0; }
.nota-rec { margin-top: 18px; font-size: 15px; }
