/* =====================================================================
   SEDA · Landing "Próxima edición"
   Paleta de marca: negro #090909, blanco #FEFFFC, lima #D0FF00, rosado #FF1FD1
   ===================================================================== */
:root {
  --bg: #090909;
  --w: #fefffc;
  --lime: #d0ff00;
  --pink: #ff1fd1;
  --muted: rgba(254, 255, 252, 0.62);
  --line: rgba(255, 255, 255, 0.13);
  --glass: rgba(14, 14, 14, 0.62);
  --page: min(1320px, calc(100vw - 40px));
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--w);
  font-family: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-stretch: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
video {
  display: block;
  max-width: 100%;
}
em {
  font-style: normal;
}
h1,
h2,
p {
  margin: 0;
}

/* ---------------- Navbar (logo bloqueado: no tocar .logo) ---------------- */
.nav {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--page);
  height: 58px;
  padding: 0 8px 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(8, 8, 8, 0.73);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.logo {
  display: flex;
  align-items: center;
  width: 92px;
  height: 28px;
  flex: 0 0 92px;
  overflow: hidden;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}
.logo img {
  display: block;
  width: 92px;
  height: auto;
  max-height: 28px;
  object-fit: contain;
  object-position: left center;
  transform: none !important;
  animation: none !important;
  transition: none !important;
  pointer-events: none;
  user-select: none;
}
.nav nav {
  display: flex;
  gap: 30px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}
.nav nav a {
  transition: color 0.2s;
}
.nav nav a:hover {
  color: var(--w);
}

/* ---------------- Botones ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 850;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:focus-visible,
.mobile-cta:focus-visible,
.cards:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
.btn-lime {
  background: var(--lime);
  color: #050505;
  box-shadow: 0 0 0 0 rgba(208, 255, 0, 0);
}
.btn-lime:hover {
  box-shadow: 0 10px 40px -8px rgba(208, 255, 0, 0.55);
}
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-dark {
  background: #090909;
  color: var(--w);
}
.btn-small {
  justify-self: end;
  min-height: 42px;
  padding: 0 20px;
  font-size: 0.8rem;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.05) brightness(0.72);
  z-index: -3;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 9, 9, 0.9) 0%, rgba(9, 9, 9, 0.6) 40%, rgba(9, 9, 9, 0.25) 75%, rgba(9, 9, 9, 0.4) 100%),
    linear-gradient(180deg, rgba(9, 9, 9, 0.35) 0%, rgba(9, 9, 9, 0) 30%, rgba(9, 9, 9, 0) 70%, #090909 100%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.08;
  pointer-events: none;
  background-image: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner {
  width: var(--page);
  min-height: 100svh;
  margin: auto;
  padding: 120px 0 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid rgba(208, 255, 0, 0.35);
  border-radius: 999px;
  background: rgba(208, 255, 0, 0.07);
  color: var(--lime);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.16em;
}
.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--lime);
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  0% {
    transform: scale(0.4);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}
.hero h1 {
  margin: 30px 0 0;
  font-weight: inherit;
}
.hero-logo {
  width: clamp(220px, 30vw, 420px);
  height: auto;
  filter: drop-shadow(0 8px 40px rgba(0, 0, 0, 0.5));
}
.hero-title {
  display: block;
  margin-top: 26px;
  font-family: var(--display);
  font-stretch: 72%;
  font-weight: 900;
  font-size: clamp(2.6rem, 6.2vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  max-width: 11ch;
}
.hero-title em {
  color: var(--lime);
}
.hero-lead {
  margin-top: 24px;
  max-width: 46ch;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.55;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* ---------------- Panel de carga ---------------- */
.loader {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
.loader::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(208, 255, 0, 0.55), transparent 35%, transparent 70%, rgba(255, 31, 209, 0.45));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.loader-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.loader-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.loader h2 {
  margin-top: 8px;
  font-family: var(--display);
  font-stretch: 75%;
  font-weight: 850;
  font-size: 1.55rem;
  text-transform: uppercase;
  line-height: 1;
}
.loader-pct {
  font-family: var(--display);
  font-stretch: 70%;
  font-weight: 900;
  line-height: 0.8;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.loader-pct b {
  font-size: 4.2rem;
  font-weight: inherit;
}
.loader-pct span {
  font-size: 1.8rem;
}

.bar {
  position: relative;
  height: 14px;
  margin: 22px 0 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9fd400, var(--lime) 70%, #e9ff7a);
  box-shadow: 0 0 24px rgba(208, 255, 0, 0.55);
  transition: width 1.9s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
.bar-sheen {
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: translateX(-120%);
  animation: sheen 2.6s ease-in-out 2s infinite;
}
@keyframes sheen {
  0% {
    transform: translateX(-120%);
  }
  60%,
  100% {
    transform: translateX(320%);
  }
}
.bar-ticks {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-evenly;
  pointer-events: none;
}
.bar-ticks i {
  width: 2px;
  height: 100%;
  background: rgba(9, 9, 9, 0.55);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.steps li {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 600;
}
.steps li:first-child {
  border-top: 0;
}
.step-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.step-tag {
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
}
.steps .is-done .step-icon {
  background: var(--lime);
  border-color: var(--lime);
}
.steps .is-done .step-icon::after {
  content: "";
  width: 9px;
  height: 5px;
  border: 2.2px solid #090909;
  border-top: 0;
  border-right: 0;
  transform: translateY(-1px) rotate(-45deg);
}
.steps .is-done .step-tag {
  color: var(--lime);
}
.steps .is-live .step-icon {
  border-color: var(--pink);
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}
.steps .is-live .step-tag {
  color: var(--pink);
}
.steps .is-next {
  color: rgba(255, 255, 255, 0.5);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.clock {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.clock-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.clock-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.clock-grid div {
  padding: 12px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}
.clock-grid b {
  display: block;
  font-family: var(--display);
  font-stretch: 72%;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.clock-grid span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.loader-foot {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--muted);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--w);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(14px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ---------------- Ticker ---------------- */
.ticker {
  overflow: hidden;
  background: var(--lime);
  color: #090909;
  padding: 16px 0;
  transform: rotate(-1.2deg);
  margin: 10px -10px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 26px;
  align-items: center;
  font-family: var(--display);
  font-stretch: 72%;
  font-weight: 900;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  text-transform: uppercase;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
}
.ticker-track i {
  font-style: normal;
  font-size: 0.7em;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------------- Secciones ---------------- */
.section {
  width: var(--page);
  margin: auto;
  padding: 130px 0;
}
.kicker {
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  color: var(--lime);
}
.kicker-dark {
  color: #090909;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.section h2,
.notify h2 {
  margin-top: 16px;
  font-family: var(--display);
  font-stretch: 72%;
  font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.92;
  text-transform: uppercase;
}
.section h2 em {
  color: var(--pink);
}
.stats {
  display: flex;
  gap: 36px;
  margin: 0;
}
.stats div {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.stats dt {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
  max-width: 14ch;
}
.stats dd {
  margin: 8px 0 0;
  font-family: var(--display);
  font-stretch: 72%;
  font-weight: 900;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  line-height: 1;
}

/* Tarjetas de ediciones */
.cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 56px;
}
.card {
  position: relative;
  aspect-ratio: 3 / 4.4;
  border-radius: 22px;
  overflow: hidden;
  background: #151515;
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s ease,
    filter 0.6s ease;
  filter: saturate(1.05) brightness(0.9);
}
.card:hover img {
  transform: scale(1.05);
  filter: saturate(1.15) brightness(1);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(9, 9, 9, 0.92));
}
.card-meta {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 4px;
}
.card-meta span {
  font-family: var(--display);
  font-stretch: 72%;
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--lime);
}
.card-meta b {
  font-family: var(--display);
  font-stretch: 78%;
  font-weight: 850;
  font-size: 1.3rem;
  line-height: 1;
  text-transform: uppercase;
}
.card-meta small {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.card-next {
  background:
    radial-gradient(90% 60% at 50% 40%, rgba(255, 31, 209, 0.22), transparent 70%),
    #101010;
  border: 1.5px dashed rgba(208, 255, 0, 0.45);
}
.card-next::after {
  display: none;
}
.card-next-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 16px;
}
.card-next-num {
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(4.5rem, 7vw, 6.5rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--lime);
}
.card-next b {
  font-family: var(--display);
  font-stretch: 78%;
  font-weight: 850;
  font-size: 1.3rem;
  text-transform: uppercase;
}
.card-next small {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.card-next-dots {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.card-next-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  animation: dots 1.2s ease-in-out infinite;
}
.card-next-dots i:nth-child(2) {
  animation-delay: 0.15s;
}
.card-next-dots i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes dots {
  0%,
  80%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

/* ---------------- Avísame ---------------- */
.notify {
  position: relative;
  width: var(--page);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px);
  border-radius: 36px;
  margin-bottom: clamp(70px, 9vw, 120px);
  background: var(--pink);
  color: #090909;
  overflow: hidden;
  isolation: isolate;
}
.notify-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.notify h2 {
  font-size: clamp(2.8rem, 6.6vw, 5.8rem);
}
.notify-lead {
  margin-top: 22px;
  max-width: 44ch;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.55;
  font-weight: 500;
}
.notify-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 34px;
}
.notify-mail {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.notify-logo {
  position: absolute;
  z-index: 0;
  right: -4%;
  bottom: -14%;
  width: min(62%, 760px);
  height: auto;
  opacity: 0.16;
  filter: brightness(0);
  transform: rotate(-6deg);
  pointer-events: none;
}

/* ---------------- Footer ---------------- */
footer {
  width: var(--page);
  margin: auto;
  padding: 34px 0 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--muted);
}
footer b {
  color: var(--w);
  letter-spacing: 0.1em;
}
footer a:hover {
  color: var(--w);
}
.mobile-cta {
  display: none;
}

/* ---------------- Revelado al hacer scroll ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 118px 0 90px;
  }
  .loader {
    max-width: 520px;
  }
}
@media (max-width: 760px) {
  :root {
    --page: calc(100vw - 32px);
  }
  .nav {
    grid-template-columns: 1fr auto;
  }
  .nav nav {
    display: none;
  }
  .hero-inner {
    padding: 104px 0 70px;
    gap: 34px;
  }
  .hero h1 {
    margin-top: 24px;
  }
  .hero-logo {
    width: 58%;
  }
  .hero-title {
    font-size: clamp(2.5rem, 12vw, 3.6rem);
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(9, 9, 9, 0.55) 0%, rgba(9, 9, 9, 0.7) 40%, rgba(9, 9, 9, 0.88) 75%, #090909 100%);
  }
  .loader {
    padding: 22px 20px;
    border-radius: 24px;
  }
  .loader-pct b {
    font-size: 3.4rem;
  }
  .scroll-cue {
    display: none;
  }
  .section {
    padding: 90px 0;
  }
  .stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .stats div {
    padding-left: 10px;
  }
  .stats dt {
    font-size: 0.56rem;
    letter-spacing: 0.1em;
  }
  .cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 40px -16px 0;
    padding: 0 16px 6px;
    scrollbar-width: none;
  }
  .cards::-webkit-scrollbar {
    display: none;
  }
  .card {
    flex: 0 0 64vw;
    scroll-snap-align: start;
  }
  .notify {
    border-radius: 28px;
    padding: 46px 24px;
  }
  .notify-actions .btn {
    width: 100%;
  }
  .notify-logo {
    width: 110%;
    right: -30%;
    bottom: -6%;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 104px;
  }
  .mobile-cta {
    display: flex;
    position: fixed;
    z-index: 30;
    left: 12px;
    right: 12px;
    bottom: 12px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--lime);
    color: #050505;
    font-weight: 900;
    letter-spacing: 0.05em;
    box-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.8);
    transform: translateY(140%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .mobile-cta.is-visible {
    transform: none;
  }
  .nav .btn-small {
    padding: 0 16px;
  }
}

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