/* Manzasoft · hoja de estilos de la web
   Tema oscuro único: el arte de los juegos manda y el marco se queda en segundo plano. */

@font-face {
  font-family: "Archivo";
  src: url("/fuentes/archivo-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("/fuentes/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("/fuentes/archivo-italic-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/fuentes/plexmono-400-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/fuentes/plexmono-500-latin.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0c0d10;
  --bg-2: #101217;
  --surface: #15181e;
  --surface-2: #1c2028;
  --surface-3: #252a34;
  --line: rgba(238, 234, 227, .085);
  --line-2: rgba(238, 234, 227, .15);
  --line-3: rgba(238, 234, 227, .26);
  --text: #eeeae3;
  --text-2: #bdb7ad;
  --muted: #908a81;
  --accent: #e24b3f;
  --accent-2: #f2685c;
  --accent-ink: #ffffff;
  --gold: #e6b65e;
  --leaf: #82c48e;
  --sky: #8fb0ec;
  --radius: 16px;
  --radius-s: 10px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  --display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --body: "Archivo", "Segoe UI", system-ui, sans-serif;
  --mono: "Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.65; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; text-wrap: balance; color: var(--text); overflow-wrap: break-word; hyphens: manual; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografía de apoyo ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex: none; }
.lead { font-size: clamp(18px, 1.1vw + 13px, 21px); line-height: 1.6; color: var(--text-2); max-width: 62ch; }
.mono { font-family: var(--mono); }
.h2 {
  font-size: clamp(32px, 2.4vw + 18px, 50px); font-weight: 740; font-stretch: 108%;
  letter-spacing: -.022em; line-height: 1.06;
}
.section { padding-block: clamp(72px, 9vw, 128px); position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head .lead { margin-top: 18px; }

/* ---------- Botones y etiquetas ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-s);
  font-family: var(--display); font-size: 16px; font-weight: 650; font-stretch: 104%; letter-spacing: .005em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; line-height: 1.2;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line-3); color: var(--text); background: rgba(12, 13, 16, .35); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-1px); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 7px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line); white-space: nowrap;
}
.status {
  --st: var(--gold);
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 999px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--st); border: 1px solid var(--line-2); background: var(--surface-2);
  border-color: color-mix(in srgb, var(--st) 45%, transparent);
  background: color-mix(in srgb, var(--st) 9%, transparent); white-space: nowrap;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.status--proximamente { --st: var(--gold); }
.status--revision_steam, .status--revision_play { --st: var(--sky); }
.status--prueba_cerrada { --st: var(--leaf); }
.status--disponible { --st: var(--accent-2); }
.juego-marco { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: #ece0c2; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8); }
.juego-marco iframe { display: block; width: 100%; height: clamp(620px, 82vh, 900px); border: 0; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(12, 13, 16, .78); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); flex: none; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-mark rect { fill: var(--accent); }
.brand-mark path { fill: #fff; }
.brand-word { font-family: var(--display); font-size: 17px; font-weight: 380; font-stretch: 125%; letter-spacing: .06em; line-height: 1; }
.brand-word b { font-weight: 820; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav ul { display: flex; list-style: none; gap: 2px; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--text-2);
  font-size: 15px; font-weight: 520; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--text); }
.nav .lang {
  margin-left: 10px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .08em;
  border: 1px solid var(--line-2); color: var(--text); padding: 7px 11px;
}
.nav .lang:hover { border-color: var(--text); background: transparent; }
.nav-toggle {
  display: none; align-items: center; gap: 8px; background: transparent; color: var(--text);
  border: 1px solid var(--line-2); border-radius: 9px; padding: 8px 12px; font: 500 13px/1 var(--mono);
  letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h); flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line-2); padding: 10px var(--gutter) 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .5); display: none;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 14px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav .lang { margin: 16px 0 0; text-align: center; border-radius: 9px; }
}

/* ---------- Portada: héroe ---------- */
.hero-home { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 104px) 0 clamp(48px, 6vw, 80px); isolation: isolate; }
.hero-home::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 60% at 78% 32%, rgba(107, 79, 216, .20), transparent 70%),
    radial-gradient(40% 45% at 8% 88%, rgba(226, 75, 63, .12), transparent 70%),
    linear-gradient(180deg, #0e1015 0%, var(--bg) 100%);
}
.hero-home::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 70% at 70% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000 0%, transparent 75%);
}
.hero-home__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero-home h1 {
  font-size: clamp(40px, 2.9vw + 18px, 68px); font-weight: 760; font-stretch: 104%;
  letter-spacing: -.03em; line-height: 1.02; margin-bottom: 26px;
}
.hero-home .lead { margin-bottom: 34px; }
.hero-art { position: relative; padding: 24% 0 0 0; }
.frame {
  display: block; position: relative; border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--text);
  border: 1px solid var(--line-2); background: var(--surface); aspect-ratio: 16 / 9;
}
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.frame--front { position: relative; z-index: 2; width: 86%; margin-left: auto; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .75); }
.frame--back { position: absolute; z-index: 1; width: 58%; top: 0; left: 0; opacity: .72; filter: saturate(.9); transition: opacity .3s; }
.frame--back:hover { opacity: 1; }
.frame__label.status { background: rgba(8, 9, 12, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.frame:hover img { transform: scale(1.03); }
.frame__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 22px 18px;
  background: linear-gradient(0deg, rgba(8, 9, 12, .92) 10%, rgba(8, 9, 12, 0));
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px;
}
.frame__cap b { display: block; font-family: var(--display); font-size: 22px; font-weight: 720; font-stretch: 106%; letter-spacing: -.01em; }
.frame__cap small { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--text-2); text-transform: uppercase; margin-top: 4px; }
.frame__label { position: absolute; top: 14px; left: 14px; }
.hero-art__back-cap {
  position: absolute; left: 12px; top: 10px; z-index: 1; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text); text-shadow: 0 1px 8px #000;
}

.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--line-2);
}
.stats > div { padding: 24px 24px 0 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats b { display: block; font-family: var(--display); font-size: clamp(38px, 2vw + 24px, 56px); font-weight: 780; font-stretch: 118%; line-height: 1; letter-spacing: -.02em; }
.stats span { display: block; margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }

/* ---------- Saludo ---------- */
.greeting__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.greeting__letter { font-size: clamp(18px, .6vw + 14px, 20px); line-height: 1.7; color: var(--text-2); max-width: 64ch; }
.greeting__letter p:first-child::first-line { color: var(--text); }
.sign { margin-top: 34px !important; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.sign > span:first-child { font-style: italic; color: var(--text-2); }
.sign .brand { pointer-events: none; }
.sign .brand-mark { width: 38px; height: 38px; }
.sign .brand-word { font-size: 21px; }

/* ---------- Catálogo ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filters button {
  font: 500 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2);
  background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 11px 16px; cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.filters button:hover { color: var(--text); border-color: var(--line-3); }
.filters button[aria-pressed="true"] { color: var(--bg); background: var(--text); border-color: var(--text); }
.catalog { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.card {
  grid-column: span 2; position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-3); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .8); }
.card--feature { grid-column: span 3; }
.card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.card__link { position: absolute; inset: 0; z-index: 3; border-radius: var(--radius); }
.card__link:focus-visible { outline-offset: -3px; }
.card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.card--wide .card__media { aspect-ratio: auto; min-height: 100%; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.035); }
.card__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--c, var(--accent)); opacity: .9; }
.card__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 24px; flex: 1; }
.card--feature .card__body { padding: 26px 28px 28px; }
.card--wide .card__body { padding: clamp(24px, 3vw, 40px); justify-content: center; }
.card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.card h3 { font-size: 24px; font-weight: 720; font-stretch: 106%; letter-spacing: -.015em; line-height: 1.15; }
.card--feature h3 { font-size: clamp(26px, 1vw + 18px, 32px); }
.card__genre { font-family: var(--mono); font-size: 12.5px; letter-spacing: .03em; color: var(--muted); margin: -4px 0 0; }
.card__text { color: var(--text-2); font-size: 15.5px; line-height: 1.6; margin: 0; }
.card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.card__date { font-family: var(--mono); font-size: 12.5px; color: var(--text-2); letter-spacing: .03em; }
.card__date span { color: var(--muted); }
.card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 620; font-size: 15px; color: var(--text); white-space: nowrap; }
.card__more svg { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }

/* ---------- Calendario ---------- */
.rtable { width: 100%; border-collapse: collapse; font-size: 16px; }
.rtable caption { text-align: left; }
.rtable th {
  text-align: left; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  padding: 0 16px 14px; border-bottom: 1px solid var(--line-2);
}
.rtable td { padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.rtable tbody tr { transition: background .2s; }
.rtable tbody tr:hover { background: var(--surface); }
.rtable th:first-child, .rtable td:first-child { padding-left: 4px; }
.rt-title { display: flex; align-items: center; gap: 14px; }
.rt-title img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; background: var(--surface-2); }
.rt-title a { font-weight: 660; font-size: 17px; text-decoration: none; white-space: nowrap; }
.rt-title a:hover { text-decoration: underline; }
.rt-title small { display: block; color: var(--muted); font-size: 13.5px; font-weight: 400; }
.rt-date { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--text); white-space: nowrap; }
.rt-plat { color: var(--text-2); font-size: 15px; white-space: nowrap; }

.releases__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 72px); }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.timeline li { position: relative; padding: 20px 0 26px; border-top: 1px solid var(--line-2); }
.timeline li::before { content: ""; position: absolute; left: 0; top: -1px; width: 40px; height: 2px; background: var(--accent); opacity: .55; }
.timeline li:first-child::before { opacity: 1; }
.timeline time { display: block; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text); margin-bottom: 8px; }
.timeline p { color: var(--text-2); font-size: 15.5px; line-height: 1.55; margin: 0; }
.h3-small { font-size: 20px; font-weight: 700; font-stretch: 106%; margin-bottom: 22px; letter-spacing: -.01em; }
.note-small { margin-top: 18px; color: var(--muted); font-size: 14px; }

/* ---------- Estudio ---------- */
.studio__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.studio__text > p:not(.eyebrow) { color: var(--text-2); font-size: 18px; line-height: 1.7; }
.tech { margin-top: 36px; border-top: 1px solid var(--line-2); }
.tech h3 { font: 500 12.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 20px 0 6px; }
.tech li { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tech b { font-weight: 650; }
.tech span { color: var(--text-2); font-size: 15px; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.principle { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.principle .num { font-family: var(--mono); font-size: 12.5px; color: var(--accent-2); letter-spacing: .08em; }
.principle h3 { font-size: 20px; font-weight: 700; font-stretch: 106%; margin: 14px 0 10px; }
.principle p { color: var(--text-2); font-size: 15.5px; line-height: 1.6; margin: 0; }
.press-banner {
  margin-top: clamp(56px, 7vw, 96px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(26px, 3vw, 40px); border-radius: var(--radius); border: 1px solid var(--line-2);
  background: linear-gradient(120deg, rgba(226, 75, 63, .14), rgba(107, 79, 216, .10) 60%, transparent), var(--surface);
}
.press-banner h3 { font-size: clamp(22px, 1vw + 16px, 28px); font-weight: 720; font-stretch: 106%; margin-bottom: 8px; }
.press-banner p { color: var(--text-2); margin: 0; max-width: 60ch; }

/* ---------- Contacto ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__direct { margin-top: 34px; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.contact__direct a, .contact__direct div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--line); text-decoration: none;
}
.contact__direct span { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact__direct b { font-weight: 560; overflow-wrap: anywhere; text-align: right; }
.contact__direct a:hover b { color: var(--accent-2); }
.form { background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.5 var(--body); color: var(--text); background: var(--bg-2);
  border: 1px solid var(--line-2); border-radius: var(--radius-s); padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23bdb7ad' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(226, 75, 63, .25); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form-status { font-size: 15px; min-height: 1.5em; margin: 0; }
.form-status.ok { color: var(--leaf); }
.form-status.error { color: var(--accent-2); }
.hp { position: absolute; left: -5000px; }

/* ---------- Pie ---------- */
.site-footer { background: #08090b; border-top: 1px solid var(--line); padding: clamp(56px, 6vw, 80px) 0 32px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__brand p { color: var(--muted); margin-top: 18px; max-width: 34ch; }
.site-footer h2 { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.footer__bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 12px 24px; color: var(--muted); font-size: 13px;
}

/* ---------- Página de juego: héroe ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); margin-bottom: 26px; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--muted); }
.ghero { position: relative; isolation: isolate; overflow: hidden; }
.ghero--cine { min-height: clamp(560px, 82vh, 860px); display: flex; align-items: flex-end; }
.ghero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 70% 50%); }
.ghero--cine::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, var(--bg) 0%, rgba(12, 13, 16, .88) 20%, rgba(12, 13, 16, .35) 55%, rgba(12, 13, 16, .45) 100%),
    linear-gradient(90deg, rgba(12, 13, 16, .78) 0%, rgba(12, 13, 16, .15) 60%);
}
.ghero__content { padding-block: 120px clamp(48px, 6vw, 80px); }
.ghero__logo { width: min(620px, 86vw); height: auto; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .6)); margin-bottom: 22px; }
.ghero__title {
  font-size: clamp(40px, 3.6vw + 18px, 76px); font-weight: 780; font-stretch: 108%; letter-spacing: -.028em; line-height: 1.02; margin-bottom: 18px;
}
.ghero__lema { font-size: clamp(18px, .8vw + 14px, 22px); color: var(--text); max-width: 46ch; line-height: 1.5; margin-bottom: 24px; }
.ghero__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 30px; }
.ghero__date { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--text); }
.ghero__date span { color: var(--text-2); }
.ghero--split { padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 6vw, 88px); }
.ghero--split::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg-2);
  background:
    radial-gradient(60% 80% at 80% 30%, color-mix(in srgb, var(--c) 32%, transparent), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%),
    var(--bg-2);
}
.ghero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.ghero__icon { width: 76px; height: 76px; border-radius: 18px; margin-bottom: 22px; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.ghero__visual { position: relative; padding-bottom: 28%; }
.ghero__feature { width: 100%; border-radius: 18px; border: 1px solid var(--line-2); box-shadow: 0 40px 90px -24px rgba(0, 0, 0, .8); }
.ghero__phone {
  position: absolute; right: 4%; bottom: 0; width: 18%; border-radius: 20px; border: 5px solid #0a0b0e;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .7); background: #0a0b0e;
}
.ghero__phone img { border-radius: 15px; }

/* ---------- Página de juego: cuerpo ---------- */
.gbody { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 88px); align-items: start; padding-block: clamp(56px, 7vw, 96px); }
.prose { max-width: 70ch; }
.prose > .lead { color: var(--text); margin-bottom: 40px; }
.prose h2 { font-size: clamp(24px, 1vw + 18px, 30px); font-weight: 720; font-stretch: 106%; letter-spacing: -.015em; margin: 52px 0 16px; line-height: 1.2; }
.prose h2::before { content: ""; display: block; width: 28px; height: 3px; background: var(--c, var(--accent)); margin-bottom: 18px; }
.prose p { color: var(--text-2); font-size: 17.5px; line-height: 1.72; }
.prose ul { list-style: none; display: grid; gap: 12px; margin: 0; }
.prose li { position: relative; padding-left: 24px; color: var(--text-2); font-size: 17px; line-height: 1.65; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 7px; height: 7px; background: var(--c, var(--accent)); }
.callout {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius-s); background: var(--surface);
  border: 1px solid var(--line); border-left: 3px solid var(--sky); color: var(--text-2); font-size: 16px; margin: 0 0 36px;
}
.callout svg { width: 20px; height: 20px; color: var(--sky); flex: none; margin-top: 3px; }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.factsheet { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px; }
.factsheet h2 { font: 500 12.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.factsheet dl { margin: 0 0 22px; }
.factsheet dl div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.factsheet dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.factsheet dd { margin: 0; font-size: 15.5px; line-height: 1.45; }
.factsheet .btn + .btn { margin-top: 10px; }
.links { list-style: none; margin-top: 18px; display: grid; }
.links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; text-decoration: none;
  border-top: 1px solid var(--line); color: var(--text-2); font-size: 15px;
}
.links a:hover { color: var(--text); }
.links svg { width: 16px; height: 16px; flex: none; color: var(--muted); }
.kit {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius-s);
  border: 1px dashed var(--line-3); text-decoration: none; color: var(--text); font-size: 15px;
}
.kit:hover { border-color: var(--text); }
.kit svg { width: 22px; height: 22px; color: var(--accent-2); flex: none; }
.kit small { display: block; color: var(--muted); font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; }

.video { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: #000; aspect-ratio: 16 / 9; margin: 8px 0 12px; }
.video img, .video video, .video iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__play { position: absolute; inset: 0; display: grid; place-items: center; text-decoration: none; background: linear-gradient(0deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .1)); }
.video__play span {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--accent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .55); transition: transform .3s var(--ease), background .2s;
}
.video__play svg { width: 30px; height: 30px; color: #fff; margin-left: 4px; }
.video__play:hover span { transform: scale(1.06); background: var(--accent-2); }
.video-note { font-size: 13.5px; color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.gallery--v { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
.gallery a { position: relative; display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.gallery--v img { aspect-ratio: 9 / 16; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a::after {
  content: ""; position: absolute; right: 10px; top: 10px; width: 32px; height: 32px; border-radius: 8px; opacity: 0;
  background: rgba(8, 9, 12, .75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eeeae3' stroke-width='2'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: opacity .3s;
}
.gallery a:hover::after, .gallery a:focus-visible::after { opacity: 1; }

.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-size: 19px; font-weight: 640; font-stretch: 104%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 14px; height: 14px; flex: none; transition: transform .3s var(--ease);
  background: linear-gradient(var(--text-2), var(--text-2)) center / 14px 2px no-repeat, linear-gradient(var(--text-2), var(--text-2)) center / 2px 14px no-repeat;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding-bottom: 22px; margin: 0; max-width: 70ch; }

.more { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.mini { position: relative; display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.mini:hover { border-color: var(--line-3); transform: translateY(-2px); }
.mini img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.mini div { padding: 14px 16px 16px; }
.mini b { display: block; font-size: 16.5px; font-weight: 680; }
.mini span { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--muted); margin-top: 4px; }

/* ---------- Prensa y páginas legales ---------- */
.page-head { padding: clamp(56px, 7vw, 104px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); background: radial-gradient(50% 80% at 90% 0%, rgba(226, 75, 63, .10), transparent 70%), var(--bg-2); }
.page-head h1 { font-size: clamp(38px, 3vw + 18px, 64px); font-weight: 760; font-stretch: 108%; letter-spacing: -.028em; line-height: 1.04; margin-bottom: 18px; }
.press-studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.facts-table { margin: 0; border-top: 1px solid var(--line-2); }
.facts-table div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts-table dt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts-table dd { margin: 0; overflow-wrap: anywhere; }
.logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.logos a { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 12px; border: 1px solid var(--line-2); padding: 18px; text-decoration: none; }
.logos a.claro { background: #f3f0ea; }
.logos a.oscuro { background: #0c0d10; }
.logos img { max-height: 70%; width: auto; }
.logos-cap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 8px; letter-spacing: .04em; }
.kits { display: grid; gap: 20px; }
.kitrow { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.kitrow > img { width: 100%; height: auto; align-self: center; object-fit: cover; aspect-ratio: 16 / 9; }
.kitrow__body { padding: 24px 24px 24px 0; display: flex; flex-direction: column; gap: 12px; }
.kitrow h3 { font-size: 24px; font-weight: 720; font-stretch: 106%; }
.kitrow p { color: var(--text-2); margin: 0; font-size: 15.5px; }
.kitrow .btn-row { margin-top: auto; padding-top: 6px; }
.legal { max-width: 760px; padding-block: clamp(48px, 6vw, 80px); }
.legal h2 { font-size: 24px; font-weight: 700; font-stretch: 106%; margin: 44px 0 14px; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { list-style: none; display: grid; gap: 8px; margin: 0 0 1em; }
.legal li::before { content: "— "; color: var(--muted); }
.legal a { color: var(--accent-2); }
.legal .summary { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px 24px; color: var(--text); font-size: 18px; }
.legal .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }

/* ---------- Visor de imágenes ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(5, 6, 8, .94); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 64px 72px 24px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.lightbox__cap { color: var(--text-2); font-size: 15px; padding-top: 14px; text-align: center; }
.lightbox button {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-3); background: rgba(12, 13, 16, .7); color: var(--text); cursor: pointer;
}
.lightbox button:hover { border-color: var(--text); }
.lightbox button svg { width: 20px; height: 20px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Aviso de idioma ---------- */
.lang-note {
  position: fixed; z-index: 60; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(560px, calc(100vw - 24px));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px;
  padding: 14px 16px 14px 20px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6); font-size: 15px;
}
.lang-note div { display: flex; gap: 8px; }
.lang-note .btn { min-height: 38px; padding: 8px 14px; font-size: 14px; }

/* ---------- Adaptación ---------- */
@media (max-width: 1080px) {
  .gbody { grid-template-columns: minmax(0, 1fr) 320px; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero-home__grid, .greeting__grid, .releases__grid, .studio__grid, .contact__grid, .ghero__grid, .press-studio { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 680px; }
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .card--feature { grid-column: span 1; }
  .card--wide { grid-column: 1 / -1; }
  .gbody { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; order: -1; }
  .ghero__visual { max-width: 640px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .card--wide { grid-template-columns: minmax(0, 1fr); }
  .card--wide .card__media { aspect-ratio: 16 / 9; }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .rt-title a { white-space: normal; }
  .form .row2 { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kitrow { grid-template-columns: minmax(0, 1fr); }
  .kitrow__body { padding: 0 20px 22px; }
  .logos, .logos-cap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rtable thead { display: none; }
  .rtable, .rtable tbody, .rtable tr, .rtable td { display: block; width: 100%; }
  .rtable tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .rtable td { border: 0; padding: 4px 0; }
  .rtable td[data-l]::before { content: attr(data-l) " · "; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .rtable td.rt-first { padding-bottom: 10px; }
  .rt-date { white-space: normal; }
  .tech li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .lightbox__inner { padding: 64px 10px 20px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lightbox__inner { padding-bottom: 80px; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery--v { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats b { font-size: 40px; }
}
@media (max-width: 480px) {
  .brand-word { font-size: 15px; letter-spacing: .04em; }
  .brand-mark { width: 26px; height: 26px; }
  .brand { gap: 9px; }
  .nav-toggle { padding: 9px 10px; }
  .nav-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .status, .tag { white-space: normal; }
  .hero-home h1, .ghero__title, .page-head h1 { font-size: clamp(30px, 9.4vw, 46px); letter-spacing: -.025em; }
  .h2 { font-size: clamp(27px, 7.6vw, 36px); }
  .frame__cap { padding: 36px 14px 12px; }
  .frame__cap b { font-size: 18px; }
  .frame__cap .card__more { display: none; }
  .btn-row .btn { flex: 1 1 auto; }
  .contact__direct a { flex-direction: column; gap: 4px; }
  .contact__direct b { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .site-header, .site-footer, .nav-toggle, .lang-note, .form { display: none !important; }
  body { background: #fff; color: #000; }
}
