/* Figuritas — landing.
   La identidad es la de la app después del renombre: papel, tinta y oro. El oro
   solo aparece donde la app lo usa (lo brillante, el progreso, lo premium), no
   como color de marca a repartir. */

:root {
  --paper: #FBFAF7;
  --surface: #FFFFFF;
  --ink: #111111;
  --ink-2: #55534E;
  --muted: #8A8781;
  --hairline: #EAE7E0;
  --gold: #C1912B;
  --gold-ink: #7A5C14;
  --gold-soft: #FAF3E2;
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, .05);
  --shadow-md: 0 2px 6px rgba(17, 17, 17, .05), 0 16px 40px rgba(17, 17, 17, .06);
  --radius: 16px;
  --container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 760px; }

/* ───────────────────────────────────────────────────────────── cabecera */

#header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, .86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
#header.scrolled {
  border-bottom-color: var(--hairline);
  background: rgba(251, 250, 247, .94);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.02em;
  text-decoration: none;
}
.brand img { border-radius: 9px; box-shadow: var(--shadow-sm); }

.nav-menu {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
  color: var(--ink-2);
}
.nav-menu a { text-decoration: none; }
.nav-menu a:hover { color: var(--ink); }

/* ───────────────────────────────────────────────────────────── botones */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { opacity: .9; }
.btn-sm { padding: 9px 18px; font-size: 15px; }

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.stores img { display: block; height: 52px; width: auto; }
.stores a { transition: transform .15s ease; }
.stores a:hover { transform: translateY(-2px); }

/* ─────────────────────────────────────────────────────────────── hero */

.hero {
  background: linear-gradient(115deg, #FAF3E2 0%, #FDFAF3 52%, #F6EBD2 100%);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 76px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 14px;
}

h1 { font-size: clamp(38px, 5.2vw, 60px); }
/* El acento va en la parte que hace la promesa, no en el sujeto: "todos los
   Mundiales" es el qué, "ni uno de menos" es el compromiso. */
.hero-copy h1 span { color: var(--gold-ink); }

.lede {
  margin-top: 20px;
  font-size: 19px;
  color: var(--ink-2);
  max-width: 34em;
}

.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

/* ───────────────────────────────────────────────── mockup de teléfono */

.phone {
  background: #1A1A1A;
  border-radius: 34px;
  padding: 8px;
  box-shadow: 0 24px 60px rgba(17, 17, 17, .18);
}
.phone-hero { width: 300px; }

.screen {
  background: var(--paper);
  border-radius: 27px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 560px;
}

.app-bar {
  background: var(--ink);
  color: #fff;
  padding: 26px 18px 16px;
}
.app-bar-title { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.app-bar-sub { font-size: 12px; opacity: .62; margin-top: 2px; }

.progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  margin-top: 16px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 31%;
  border-radius: 999px;
  background: var(--gold);
  transition: width .35s ease;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  opacity: .75;
  margin-top: 7px;
}

.sheet { padding: 18px 16px 8px; flex: 1; }
.sheet-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.sheet-hint {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

/* La casilla: vacía es un hueco punteado; pegada es papel con tinta. Es el
   mismo contraste que hace legible el álbum de verdad de un vistazo. */
.fig {
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #D7D3CA;
  border-radius: 8px;
  background: transparent;
  color: #BDB9B1;
  font: 600 12px/1 inherit;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  transition: transform .12s ease, background .12s ease, color .12s ease, border-color .12s ease;
}
.fig:hover { transform: scale(1.04); }
.fig.is-on {
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.fig.foil { border-style: solid; border-color: rgba(193, 145, 43, .45); color: var(--gold-ink); }
.fig.foil.is-on {
  background: linear-gradient(140deg, #FDF6E4 0%, #F7E7C0 100%);
  border-color: var(--gold);
  color: var(--gold-ink);
  box-shadow: 0 2px 10px rgba(193, 145, 43, .28);
}

.tabbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 46px;
  border-top: 1px solid var(--hairline);
  background: var(--surface);
}
.tab { width: 22px; height: 4px; border-radius: 999px; background: #DCD8D0; }
.tab.is-on { background: var(--ink); }

/* ─────────────────────────────────────────────────────────── secciones */

.section { padding: 88px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--hairline); }

h2 { font-size: clamp(27px, 3.4vw, 38px); max-width: 20em; }

.section-lede {
  margin-top: 16px;
  font-size: 18px;
  color: var(--ink-2);
  max-width: 46em;
}

.strip {
  background: var(--ink);
  color: #fff;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 34px;
  text-align: center;
}
.strip-grid b { display: block; font-size: 30px; letter-spacing: -.02em; }
.strip-grid span { font-size: 13px; opacity: .66; }

/* pasos */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
  counter-reset: step;
}
.steps li { position: relative; padding-top: 8px; }
.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-ink);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
}
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 16px; }

/* tarjetas */

/* capturas */

/* Carril horizontal, no cuadrícula: las capturas son muy verticales (recorte
   real de iPhone) y apilar cuatro en columna haría la sección kilométrica en
   el móvil, justo donde más importa que sea rápido de hojear. */
.shots {
  display: flex;
  gap: 18px;
  margin-top: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.shot {
  flex: 0 0 220px;
  scroll-snap-align: start;
  margin: 0;
}
.shot img {
  display: block;
  width: 220px;
  border-radius: 20px;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-md);
}
.shot figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-2);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px;
}
.section-alt .card { background: var(--paper); }
.section:not(.section-alt) .card { background: var(--surface); }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 16px; }

/* álbumes */

.albums {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 40px;
}

/* Cada álbum es una ficha, no una fila de lista: lo que hay que poder hacer de
   un vistazo es reconocer el año y ver que hay quince, no leerlos en orden. */
.album {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 18px 16px 16px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.album:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.album-year {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
}
.album-host {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-2);
  min-height: 2.7em;
}

/* `margin-top: auto` la ancla abajo de la ficha: las anfitrionas ocupan una
   línea o dos según el álbum, y sin esto "994 figuritas" quedaría a una altura
   distinta en cada tarjeta de la fila. */
.album-count {
  margin-top: auto;
  padding-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

.album.is-current {
  background: var(--gold-soft);
  border-color: rgba(193, 145, 43, .5);
}

.album-chip {
  position: absolute;
  top: 15px;
  right: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-ink);
  background: rgba(193, 145, 43, .18);
  padding: 4px 8px;
  border-radius: 999px;
}

.albums-foot {
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
}

/* demo */

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.demo-counter {
  margin: 26px 0 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-ink);
}
.board {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-md);
}
.board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.board-progress { color: var(--gold-ink); }
.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.board .fig { font-size: 14px; border-radius: 10px; }

/* faq */

.faq { margin-top: 36px; }
.faq details {
  border-bottom: 1px solid var(--hairline);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 36px 20px 0;
  font-size: 17px;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  padding-bottom: 22px;
  color: var(--ink-2);
  max-width: 62ch;
}

/* cta */

.cta {
  background: linear-gradient(115deg, #FAF3E2 0%, #FDFAF3 52%, #F6EBD2 100%);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
}
.cta h2 { margin: 0 auto; }
.cta p { margin-top: 14px; color: var(--ink-2); font-size: 18px; }
.cta .stores { justify-content: center; }

/* pie */

footer {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  max-width: 32em;
}
footer h4 {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
footer li { margin-bottom: 8px; }
footer li a { font-size: 15px; color: var(--ink-2); text-decoration: none; }
footer li a:hover { color: var(--ink); }

.disclaimer {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}
.disclaimer p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 78ch;
}
.copyright { margin-top: 12px !important; }

/* ────────────────────────────────────────────────────────── responsive */

@media (max-width: 980px) {
  .hero-grid, .demo-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-grid { padding-top: 56px; padding-bottom: 56px; }
  .steps, .cards { grid-template-columns: repeat(2, 1fr); }
  .albums { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .steps, .cards { grid-template-columns: 1fr; }
  .albums { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .album-year { font-size: 24px; }
  .album-host { min-height: 3.9em; }
  /* En una ficha de 166 px la insignia flotante se come el año, así que baja a
     ocupar su propia línea en vez de encogerse hasta no leerse. */
  .album-chip { position: static; align-self: flex-start; margin-top: 9px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 40px 22px; }
  .stores img { height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
