/* ============================================================================
   Landing de la plataforma + páginas auxiliares (marca kora: oscuro + coral).
   ========================================================================= */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --fondo: #0b0b0d;
  --panel: #17181c;
  --borde: #2b2e35;
  --texto: #f2f2f0;
  --texto-2: #b9bcc4;
  --texto-3: #8d919b;
  --acento: #ff8383;
  --acento-tinta: #2b1112;
  --fuente: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--fondo); color: var(--texto);
  font-family: var(--fuente); line-height: 1.6; font-size: 1rem;
}
a { color: var(--acento); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.salto { position: absolute; left: 0.75rem; top: -3rem; background: var(--acento); color: var(--acento-tinta); padding: 0.6rem 1rem; border-radius: 0.5rem; text-decoration: none; z-index: 30; transition: top 0.15s ease; font-weight: 600; }
.salto:focus-visible { top: 0.75rem; }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 60rem; margin: 0 auto; padding: 1.25rem 1.5rem;
}
.topbar__enlace {
  text-decoration: none; color: var(--texto); font-weight: 600; font-size: 0.9rem;
  border: 1px solid var(--borde); padding: 0.5rem 1.1rem; border-radius: 999px;
  min-height: 44px; display: inline-flex; align-items: center;
}
.topbar__enlace:hover { border-color: var(--acento); color: var(--acento); }

/* ── Hero con ondas NFC ─────────────────────────────────────────────────── */
.hero {
  max-width: 44rem; margin: 0 auto; padding: 2.5rem 1.5rem 3.5rem;
  text-align: center;
}
.hero h1 {
  margin: 1.5rem 0 0; font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1.08; letter-spacing: -0.025em; font-weight: 800;
}
.hero__sub { margin: 1.25rem auto 0; max-width: 32rem; color: var(--texto-2); font-size: 1.0625rem; }
.hero__cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }
.hero__nota { margin-top: 1rem; color: var(--texto-3); font-size: 0.8125rem; }

.hero__ondas {
  position: relative; width: 8.5rem; height: 8.5rem; margin: 0.5rem auto 0;
  display: grid; place-items: center;
}
.hero__ondas span:not(.hero__chip) {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--acento); opacity: 0;
  animation: onda 2.8s ease-out infinite;
}
.hero__ondas span:nth-child(2) { animation-delay: 0.7s; }
.hero__ondas span:nth-child(3) { animation-delay: 1.4s; }
@keyframes onda {
  0% { transform: scale(0.35); opacity: 0.9; }
  100% { transform: scale(1.05); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__ondas span:not(.hero__chip) { opacity: 0.25; transform: scale(0.75); animation: none; }
}
.hero__chip {
  position: relative; z-index: 1;
  background: var(--panel); border: 1px solid var(--borde);
  color: var(--acento); font-weight: 700; letter-spacing: 0.14em; font-size: 0.875rem;
  padding: 0.8rem 1rem; border-radius: 16px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.6rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: 0.9375rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
}
.btn--primario { background: var(--acento); color: var(--acento-tinta); }
.btn--primario:hover { filter: brightness(1.08); }
.btn--secundario { color: var(--texto); border-color: var(--borde); }
.btn--secundario:hover { border-color: var(--texto-3); }

/* ── Pasos ──────────────────────────────────────────────────────────────── */
.pasos { max-width: 34rem; margin: 0 auto; padding: 0 1.5rem 4rem; }
.pasos h2 { font-size: 1.25rem; letter-spacing: -0.01em; }
.pasos__lista { margin: 1rem 0 0; padding-left: 1.25rem; color: var(--texto-2); display: grid; gap: 0.75rem; }
.pasos__lista strong { color: var(--texto); }
.pasos__lista li::marker { color: var(--acento); font-weight: 700; }
.pasos__lista code { background: var(--panel); border: 1px solid var(--borde); padding: 0.1rem 0.4rem; border-radius: 6px; }

.pie-landing {
  border-top: 1px solid var(--borde);
  padding: 1.5rem; text-align: center; color: var(--texto-3); font-size: 0.8125rem;
}
.pie-landing a { color: var(--texto-2); }

/* ── Páginas auxiliares (legales, 404, guía) ────────────────────────────── */
.paginita { max-width: 34rem; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.paginita h1 { font-size: 1.75rem; letter-spacing: -0.02em; }
.paginita p { color: var(--texto-2); }
.paginita--error { text-align: center; padding-top: 5rem; }
.paginita--error p:has(.btn) { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.aviso-demo {
  background: var(--panel); border: 1px solid var(--borde); border-radius: 12px;
  padding: 0.75rem 1rem; font-size: 0.875rem;
}
