/* =========================================================
   Ceuta GameFest · Web pública — cartel con la inscripción en funda PSA 10
   Colores oficiales: rojo #F42F37 · negro #0A0A0A
   ========================================================= */
@view-transition { navigation: auto; }

:root {
  --red: #f42f37;
  --red-dark: #c91d25;
  --ink: #0a0a0a;
  --paper: #f2ede4;
  --white: #ffffff;
  --muted: #6b665e;

  --font: "Archivo", "Arial Narrow", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 48px; }

body {
  margin: 0;
  background: var(--red);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
/* Titulares condensados, la seña de esta versión */
.poster__title,
.deck h2,
.signup h2,
.faq h2,
.foot__big,
.cta,
.tabs button,
.submit,
.stamp,
.done h3,
.faq__t {
  font-stretch: 62%;
  font-weight: 900;
  text-transform: uppercase;
}

/* ---------- Barra superior ---------- */
.bar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--gutter);
  background: var(--ink);
  color: var(--white);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bar__brand { font-weight: 600; text-decoration: none; white-space: nowrap; }
.bar__brand::first-line { color: inherit; }
.bar__info { color: rgba(255, 255, 255, 0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar__nav { display: flex; align-items: center; gap: 22px; }
.bar__nav > a {
  text-decoration: none;
  background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat;
  padding: 3px 0;
  transition: background-size 0.3s var(--ease);
}
.bar__nav > a:hover { background-size: 100% 2px; }

/* ---------- Cartel ---------- */
.poster {
  position: relative;
  overflow: hidden;
  padding-top: clamp(16px, 2.5vw, 40px);
}
.poster__title {
  line-height: 0.8;
  letter-spacing: -0.01em;
  font-size: 22.6vw;
}
.poster__word {
  display: block;
  white-space: nowrap;
  padding: 0 calc(var(--gutter) * 0.6);
  transform: translateX(var(--drift, 0px));
  will-change: transform;
}
.poster__word--a { color: var(--ink); }
.poster__word--b { color: var(--white); text-align: right; margin-top: -0.02em; }

.poster__foot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px 48px;
  margin: clamp(20px, 3vw, 40px) var(--gutter) 0;
  padding: clamp(20px, 2.5vw, 32px) 0 clamp(32px, 4vw, 56px);
  border-top: 2px solid var(--ink);
}
.poster__when { display: grid; gap: 10px; margin: 0; }
.poster__when strong {
  font-size: clamp(44px, 5.4vw, 80px);
  font-stretch: 62%;
  font-weight: 900;
  line-height: 0.82;
  text-transform: uppercase;
  white-space: nowrap;
}
.poster__when strong span { display: block; color: var(--white); }
.poster__lead {
  margin: 0;
  max-width: 32ch;
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 500;
  line-height: 1.3;
}
.poster__cta { display: grid; justify-items: end; gap: 12px; }
.cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  height: 68px;
  padding: 0 34px;
  background: var(--ink);
  color: var(--white);
  font-size: 28px;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
}
.cta::after { content: "→"; font-stretch: 100%; transition: transform 0.3s var(--ease); }
.cta:hover { background: var(--white); color: var(--ink); }
.cta:hover::after { transform: translateX(6px); }

.signup h2,
.faq h2 {
  font-size: clamp(56px, 9vw, 136px);
  line-height: 0.84;
  letter-spacing: -0.005em;
}

/* ---------- Qué encontrarás: rodillo y muro de palabras ---------- */
.deck {
  background: var(--ink);
  color: var(--white);
  padding: clamp(56px, 7vw, 104px) 0;
  overflow: hidden;
}
.deck__head .mono { color: var(--red); margin: 0 0 14px; }
/* Siempre dos líneas ("Ven a por" / palabra) para que el alto no cambie
   según la palabra; si una no cabe, muro.js la encoge. */
.deck .deck__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  font-size: clamp(44px, 6.2vw, 100px);
  line-height: 0.86;
}
.deck__fijo { white-space: nowrap; }
/* La palabra que rueda */
.rodillo {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  height: 0.92em;
  /* recorta solo arriba y abajo: la palabra nueva nunca se ve cortada de ancho */
  clip-path: inset(0 -100vw 0 0);
  vertical-align: bottom;
  color: var(--red);
  transition: width 0.55s var(--ease);
}
.rodillo__palabra {
  display: block;
  flex: none;
  white-space: nowrap;
  line-height: 0.92;
}
.rodillo__palabra.sale { position: absolute; left: 0; top: 0; animation: rodilloSale 0.55s var(--ease) forwards; }
.rodillo__palabra.entra { animation: rodilloEntra 0.6s cubic-bezier(0.3, 1.45, 0.5, 1) both; }
@keyframes rodilloSale { to { transform: translateY(-105%); opacity: 0.2; } }
@keyframes rodilloEntra { from { transform: translateY(105%); } }

/* Muro: todo lo que habrá, en grande y apagado; se va encendiendo */
.muro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.06em 0;
  margin: clamp(24px, 3vw, 44px) 0 0;
  padding: clamp(14px, 1.6vw, 22px) 0 0;
  border-top: 2px solid rgba(255, 255, 255, 0.9);
  list-style: none;
  font-size: clamp(19px, 2.3vw, 36px);
  font-stretch: 62%;
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}
.muro li {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.16);
  transition: color 0.5s, transform 0.5s var(--ease);
}
.muro li::after {
  content: "";
  flex: none;
  width: 0.16em;
  height: 0.16em;
  margin: 0 0.42em;
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(45deg);
  transition: background-color 0.5s;
}
.muro li:last-child::after { display: none; }
.muro li.is-luz { color: var(--white); transition-duration: 0.15s; }
.muro li.is-ya { color: var(--red); transform: translateY(-0.06em); }
.muro li.is-ya::after { background: var(--red); }
.muro li:hover { color: var(--white); }
/* Sin JS o con movimiento reducido: todo encendido */
html:not(.js) .muro li { color: var(--white); }
.deck .deck__sub { margin: clamp(16px, 2vw, 28px) 0 0; max-width: 36em; color: rgba(255, 255, 255, 0.6); font-size: 17px; font-weight: 500; }

/* ---------- Apúntate: la entrada ---------- */
.signup { padding: clamp(72px, 10vw, 140px) 0; overflow-x: clip; }
.signup__head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 56px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.signup h2 { color: var(--white); grid-row: span 2; }
.signup__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.signup__head p { margin: 0; font-size: 17px; font-weight: 500; max-width: 30em; }

/* Funda gradeada tipo Beckett: plástico transparente esmerilado, etiqueta roja
   con las subnotas y la ventana con el formulario */
.slab-wrap { max-width: 660px; margin: 0 auto; }
.slab {
  --gx: 30%;
  --gy: 0%;
  --plate: var(--red);
  position: relative;
  padding: clamp(10px, 1.4vw, 14px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background:
    radial-gradient(520px circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.28), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.18) 28%, rgba(255, 255, 255, 0.1) 62%, rgba(255, 255, 255, 0.3));
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -14px 30px rgba(120, 0, 6, 0.12),
    0 46px 70px -34px rgba(70, 0, 4, 0.6),
    0 16px 30px -18px rgba(70, 0, 4, 0.35);
  overflow: hidden;
}
/* canto interior del plástico */
.slab::before {
  content: "";
  position: absolute;
  inset: clamp(6px, 0.9vw, 10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 0 1px rgba(120, 0, 6, 0.06);
  pointer-events: none;
}
/* grano esmerilado */
.slab::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.22;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

/* etiqueta: el logo va sobre el plástico y la placa de color a su derecha */
.slab__label {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  padding-left: clamp(4px, 0.8vw, 8px);
  color: var(--white);
  font-family: var(--font);
  font-stretch: 88%;
  text-transform: uppercase;
}
.slab__brand { display: grid; justify-items: center; gap: 5px; }
.slab__brand img {
  width: clamp(34px, 3.8vw, 44px);
  filter: drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff) drop-shadow(0 6px 10px rgba(70, 0, 4, 0.3));
}
.slab__brand span {
  font-family: var(--serif);
  font-size: clamp(8.5px, 0.8vw, 10px);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-align: center;
  text-shadow: 0 1px 2px rgba(70, 0, 4, 0.55), 0 0 10px rgba(120, 0, 6, 0.35);
  white-space: nowrap;
}
.slab__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "lines grade" "subs grade";
  align-items: center;
  gap: 5px clamp(16px, 2.6vw, 32px);
  padding: clamp(7px, 0.9vw, 9px) clamp(12px, 1.8vw, 18px);
  border-radius: 4px;
  background-color: var(--plate);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 45%, rgba(0, 0, 0, 0.1));
  /* canto oscuro y nítido para que la placa se lea igual en rojo que en negro */
  box-shadow:
    0 0 0 1px rgba(60, 0, 3, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 8px 16px -10px rgba(40, 0, 2, 0.6);
  transition: background-color 0.5s var(--ease);
}
.slab__lines { grid-area: lines; display: grid; margin: 0; font-size: clamp(10.5px, 1.05vw, 12.5px); font-weight: 500; line-height: 1.15; letter-spacing: 0.02em; }
.slab__subs {
  grid-area: subs;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 0 clamp(16px, 2.4vw, 28px);
  margin: 0;
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: 0.02em;
}
.slab__subs div { display: grid; grid-template-columns: minmax(8em, auto) auto; gap: 8px; }
.slab__subs dt { font-weight: 800; }
.slab__subs dd { margin: 0; font-weight: 600; }
.slab__grade {
  grid-area: grade;
  display: grid;
  justify-items: center;
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.slab__grade strong {
  margin-bottom: 2px;
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0;
}

/* Tienda: todo lo rojo de la funda pasa a negro */
.slab:has(#tab-tienda[aria-selected="true"]) { --plate: var(--ink); }
.slab .submit { background-color: var(--plate); }
.slab:has(#tab-tienda[aria-selected="true"]) .submit:hover { background-color: #3a3a3a; }

/* hueco donde va la carta: plástico en relieve alrededor */
.slab__window {
  position: relative;
  z-index: 1;
  margin-top: clamp(10px, 1.4vw, 14px);
  padding: clamp(8px, 1.1vw, 11px);
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 0 0 4px rgba(255, 255, 255, 0.1),
    inset 0 3px 8px rgba(70, 0, 4, 0.18);
}
.slab__card {
  padding: clamp(18px, 2.6vw, 28px) clamp(18px, 3vw, 32px);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(70, 0, 4, 0.2);
}
.slab__glint {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.16) 47%, rgba(255, 255, 255, 0.04) 53%, transparent 60%) no-repeat;
  background-size: 260% 100%;
  background-position: 130% 0;
  pointer-events: none;
}
@keyframes glint { 0% { background-position: 130% 0; } 30%, 100% { background-position: -30% 0; } }

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid var(--ink);
}
.tabs button {
  height: 44px;
  border: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 21px;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.tabs button + button { border-left: 2px solid var(--ink); }
.tabs button:hover { background: var(--paper); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.tabs__hint { margin: 8px 0 14px; color: var(--muted); font-size: 11px; }

form { display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 2px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label,
.field legend {
  padding: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.field legend { margin-bottom: 8px; }
.opt { font-weight: 500; opacity: 0.7; }

input[type="text"],
input[type="email"],
select {
  width: 100%;
  height: 38px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 500 16px var(--font);
  transition: border-color 0.2s;
}
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
  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.5 6 6.5l5-5' fill='none' stroke='%230a0a0a' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  cursor: pointer;
}
input:focus,
select:focus { outline: none; border-bottom-color: var(--red); }
.is-invalid input,
.is-invalid select { border-bottom-color: var(--red); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips label {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--bounce);
}
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label:hover { transform: translateY(-2px); }
.chips label:has(input:checked) { background: var(--ink); color: var(--white); }
.chips label:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
}
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--red); cursor: pointer; }
.consent.is-invalid { color: var(--red-dark); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error {
  margin: 0;
  padding: 12px 14px;
  border-left: 4px solid var(--red);
  background: #fde8e9;
  color: #9b1219;
  font-size: 14px;
  font-weight: 600;
}

.submit {
  height: 54px;
  border: 0;
  background: var(--red);
  color: var(--white);
  font-family: var(--font);
  font-size: 25px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.25s;
}
.submit::after { content: "  →"; font-stretch: 100%; }
.submit:hover { background: var(--ink); }
.submit[disabled] { opacity: 0.7; cursor: progress; }

.link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link:hover { color: var(--red); }

.done { position: relative; padding: 16px 0; outline: none; }
.done h3 { font-size: clamp(32px, 3.4vw, 42px); line-height: 0.9; max-width: 11em; padding-right: 170px; }
.done p { margin: 16px 0 0; font-weight: 500; }
.done a { font-weight: 700; text-underline-offset: 3px; }
.done #again { margin-top: 28px; color: var(--muted); }
.stamp {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 14px;
  border: 4px solid var(--red);
  border-radius: 8px;
  color: var(--red);
  font-family: var(--font);
  font-size: 28px;
  line-height: 1.1;
  transform: rotate(-12deg);
  animation: stamp 0.5s var(--bounce) 0.15s both;
}
@keyframes stamp { from { opacity: 0; transform: rotate(-12deg) scale(2.6); } }

/* ---------- Preguntas frecuentes ---------- */
.faq { background: var(--ink); color: var(--white); padding: clamp(72px, 10vw, 140px) 0; }
.faq .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 40px 64px;
  align-items: start;
}
.faq h2 { position: sticky; top: 88px; font-size: clamp(52px, 6.4vw, 104px); }
.faq__list { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.faq__item { border-top: 1px solid rgba(255, 255, 255, 0.18); }
.faq__item h3 { font: inherit; }
.faq__q {
  width: 100%;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 14px;
  padding: 24px 0;
  border: 0;
  background: none;
  color: var(--white);
  font-family: var(--font);
  text-align: left;
  cursor: pointer;
}
.faq__n { color: var(--red); }
.faq__t {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1;
  transition: transform 0.35s var(--ease), color 0.25s;
}
.faq__q:hover .faq__t { transform: translateX(8px); color: var(--red); }
.faq__icon { position: relative; width: 20px; height: 20px; }
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 20px;
  height: 2px;
  background: currentColor;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__icon { transition: transform 0.4s var(--ease); }
.faq__item.is-open .faq__icon { transform: rotate(45deg); color: var(--red); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.45s var(--ease), visibility 0s linear 0.45s;
}
.faq__a > div { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 0.45s var(--ease); }
.faq__a p { margin: 0 0 28px 58px; max-width: 58ch; color: rgba(255, 255, 255, 0.7); font-size: 16px; }
.faq__a a { color: var(--white); text-underline-offset: 3px; }

/* ---------- Pie: despedida y cuenta de Instagram ---------- */
.foot { padding: 0 0 28px; overflow: hidden; }
.farewell {
  padding: clamp(72px, 10vw, 150px) 0 clamp(28px, 4vw, 48px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.farewell__t {
  margin: 0;
  font-size: 18.4vw;
  font-stretch: 62%;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.farewell__w {
  display: block;
  white-space: nowrap;
  padding: 0 calc(var(--gutter) * 0.6);
  transform: translateX(var(--drift, 0px));
  will-change: transform;
}
.farewell__w--red { color: var(--red); text-align: right; margin-top: 0.04em; }
.farewell__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin: clamp(32px, 5vw, 64px) var(--gutter) 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
  color: rgba(255, 255, 255, 0.6);
}
.farewell__meta li:first-child { color: var(--white); }
.foot__big { margin-top: clamp(56px, 8vw, 110px); }
.foot__big {
  display: block;
  text-align: center;
  font-size: 12.4vw;
  line-height: 0.85;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s, letter-spacing 0.6s var(--ease);
}
.foot__big:hover { color: var(--white); letter-spacing: 0.01em; }
.foot__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin: clamp(28px, 4vw, 48px) var(--gutter) 0;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}
.foot__legal { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot__row a { text-underline-offset: 3px; }

/* Crédito del estudio: mismo lenguaje que las pestañas y el botón del cartel */
.credit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.credit__pill {
  display: inline-flex;
  align-items: stretch;
  border: 2px solid var(--ink);
}
.credit__name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 7px;
  background: var(--ink);
  color: var(--white);
  transition: background-color 0.25s, color 0.25s;
}
.credit__name strong {
  font-family: var(--font);
  font-size: 24px;
  font-stretch: 62%;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.credit__spark { flex: none; color: var(--red); transition: transform 0.6s var(--ease); }
.credit__tag {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  transition: background-color 0.25s, color 0.25s;
}
.credit:hover .credit__name { background: var(--white); color: var(--ink); }
.credit:hover .credit__tag { background: var(--ink); color: var(--white); }
.credit:hover .credit__spark { transform: rotate(90deg); }

/* ---------- Política de privacidad ---------- */
.legal {
  max-width: 820px;
  margin: clamp(32px, 6vw, 72px) auto 0;
  padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px);
  background: var(--paper);
  font-size: 16.5px;
  font-weight: 450;
}
.legal h1 { font-size: clamp(48px, 7vw, 88px); font-stretch: 62%; font-weight: 900; line-height: 0.86; text-transform: uppercase; }
.legal__date { margin: 14px 0 8px; font: 500 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.legal h2 {
  margin: 36px 0 10px;
  font-size: 26px;
  font-stretch: 62%;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}
.legal p, .legal ul { margin: 0 0 12px; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal a { text-underline-offset: 3px; }
.foot--legal { padding-top: clamp(24px, 4vw, 48px); }

.demo-note {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 40;
  max-width: calc(100% - 24px);
  padding: 6px 10px;
  background: #fff4cc;
  border: 1px solid #e6c24d;
  color: #5a4500;
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .poster__foot { grid-template-columns: minmax(0, 1fr); }
  .poster__cta { justify-items: start; }
  .signup__head { grid-template-columns: minmax(0, 1fr); }
  .signup h2 { grid-row: auto; }
  .faq .container { grid-template-columns: minmax(0, 1fr); }
  .faq h2 { position: static; }
}

@media (max-width: 640px) {
  .bar__info,
  .bar__nav a[href="#lista"] { display: none; }
  .poster__word--b { margin-top: 0.1em; }
  .cta { height: 60px; padding: 0 24px; font-size: 24px; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .tabs button { font-size: 19px; }
  .submit { font-size: 23px; }
  .done h3 { padding-right: 0; padding-top: 70px; }
  .slab { border-radius: 18px; }
  .slab::before { border-radius: 13px; }
  .slab__label { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-left: 0; }
  .slab__brand { grid-template-columns: auto auto; justify-content: start; align-items: center; gap: 10px; padding: 2px 4px 0; }
  .slab__brand img { width: 28px; }
  .slab__panel { grid-template-areas: "lines grade" "subs subs"; }
  .slab__subs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px 14px; }
  .slab__subs div { grid-template-columns: minmax(0, 1fr) auto; }
  .slab__card { border-radius: 8px; }
  .stamp { font-size: 26px; }
  .faq__q { grid-template-columns: 34px minmax(0, 1fr) 20px; gap: 10px; }
  .faq__a p { margin-left: 44px; }
  .farewell__meta { flex-direction: column; }
  .credit { flex-wrap: wrap; gap: 8px 14px; }
}

/* =========================================================
   Movimiento (solo con JS activo)
   ========================================================= */
@keyframes fromLeft { from { transform: translateX(-35%); opacity: 0; } }
@keyframes fromRight { from { transform: translateX(35%); opacity: 0; } }
@keyframes rise { from { transform: translateY(30px); opacity: 0; } }
@keyframes deal {
  from {
    opacity: 0;
    transform: translate(calc((1.5 - var(--i)) * 100%), 140px) rotate(calc((var(--i) - 1.5) * 9deg));
  }
}

.js .poster__word--a { animation: fromLeft 1.1s var(--ease) 0.05s backwards; }
.js .poster__word--b { animation: fromRight 1.1s var(--ease) 0.15s backwards; }
.js .poster__foot { animation: rise 0.9s var(--ease) 0.45s backwards; }

.js .rv {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
/* la funda entra inclinada, como al sacarla de la caja */
.js .slab-wrap.rv:not(.is-in) { transform: perspective(1600px) translateY(90px) rotateX(18deg) scale(0.96); transform-origin: 50% 100%; }
.js .slab-wrap.is-in .slab__glint { animation: glint 7s ease-in-out 0.9s infinite; }
.slab.is-certified .slab__grade strong { animation: grade 0.7s var(--bounce); }
@keyframes grade { 40% { transform: scale(1.35) rotate(-6deg); } }
.js .rv.is-in { opacity: 1; transform: none; }


#done-view:not([hidden]) { animation: rise 0.6s var(--ease) both; }
.only-tienda:not([hidden]) { animation: rise 0.45s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
