/* Bundio · landing. Identidad de la app (ladrillo, papel, tinta; Schibsted Grotesk + IBM Plex Mono)
   sobre fondo oscuro. Sin dependencias externas: fuentes servidas desde el sitio. */

@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('/assets/fonts/schibsted-grotesk-400-800.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/ibm-plex-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/ibm-plex-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/ibm-plex-mono-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  --tinta: #12181a;
  --tinta-2: #1a2124;
  --panel: #1f282b;
  --panel-2: #263134;
  --linea: rgba(244, 241, 234, 0.09);
  --linea-2: rgba(244, 241, 234, 0.16);
  --papel: #f4f1ea;
  --t1: rgba(244, 241, 234, 0.94);
  --t2: rgba(244, 241, 234, 0.62);
  --t3: rgba(244, 241, 234, 0.36);
  --ladrillo: #b9471f;
  --ladrillo-vivo: #e0703f; /* el ladrillo, legible sobre fondo oscuro */
  --ladrillo-suave: rgba(224, 112, 63, 0.14);
  /* Clases de riesgo de la app, en su versión para fondo oscuro */
  --clase-a: #5cbf88;
  --clase-b: #74a3e0;
  --clase-c: #dcae52;
  --bloqueado: #e66a5f;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: 'Schibsted Grotesk', ui-sans-serif, system-ui, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--tinta);
  color: var(--t1);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
}
h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
}
p {
  margin: 0;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--papel);
  color: var(--tinta);
}
.skip:focus {
  left: 8px;
}
:focus-visible {
  outline: 2px solid var(--ladrillo-vivo);
  outline-offset: 3px;
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--ladrillo-vivo);
  color: var(--ladrillo-vivo);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.btn:hover {
  background: var(--ladrillo-vivo);
  color: var(--tinta);
}
.btn:hover span {
  transform: translateX(4px);
}
.btn span {
  transition: transform 0.35s var(--ease);
}
.btn-primary {
  background: var(--ladrillo);
  border-color: var(--ladrillo);
  color: var(--papel);
}
.btn-primary:hover {
  background: var(--ladrillo-vivo);
  border-color: var(--ladrillo-vivo);
}
.btn-ghost {
  border-color: var(--linea-2);
  color: var(--t2);
}
.btn-ghost:hover {
  background: transparent;
  border-color: var(--t2);
  color: var(--t1);
}
.btn-sm {
  padding: 9px 14px;
  font-size: 11.5px;
}

/* ---------- Encabezado fijo ---------- */

.stickytop {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 36px;
  border-bottom: 1px solid transparent;
  transition:
    background 0.4s var(--ease),
    border-color 0.4s var(--ease),
    padding 0.45s var(--ease);
}
body.scrolled .stickytop {
  padding: 10px 36px;
  background: rgba(18, 24, 26, 0.86);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--linea);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.logo {
  width: 36px;
  height: 36px;
  transition:
    width 0.45s var(--ease),
    height 0.45s var(--ease);
}
body.scrolled .stickytop .logo {
  width: 28px;
  height: 28px;
}
.logo-a {
  fill: var(--ladrillo);
}
.logo-b {
  fill: var(--papel);
  opacity: 0.9;
}
.logo-c {
  fill: var(--papel);
  opacity: 0.5;
}
.wordmark {
  display: flex;
  flex-direction: column;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.wordmark small {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--t2);
}
body.scrolled .stickytop .wordmark small {
  display: none;
}
.cursec {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--t2);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.cursec.swap {
  opacity: 0;
  transform: translateY(-6px);
}
.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
}
.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--ladrillo), var(--clase-c));
  transition: width 0.12s linear;
}

/* Navegación por puntos */
.dotnav {
  position: fixed;
  right: 24px;
  top: 50%;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-50%);
}
.dotnav a {
  width: 9px;
  height: 9px;
  border: 1px solid var(--t3);
  border-radius: 50%;
  transition: all 0.4s var(--ease);
}
.dotnav a:hover {
  border-color: var(--t1);
}
.dotnav a.active {
  background: var(--ladrillo-vivo);
  border-color: var(--ladrillo-vivo);
  transform: scale(1.3);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 140px 24px 120px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(185, 71, 31, 0.16), transparent 70%),
    radial-gradient(40% 40% at 80% 80%, rgba(116, 163, 224, 0.06), transparent 70%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--linea) 1px, transparent 1px),
    linear-gradient(90deg, var(--linea) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.55;
  animation: drift 40s linear infinite;
  pointer-events: none;
}
@keyframes drift {
  to {
    background-position:
      64px 64px,
      64px 64px;
  }
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ladrillo-vivo);
}
.hero h1 {
  position: relative;
  max-width: 15ch;
  font-size: clamp(44px, 7.4vw, 96px);
}
.hero h1 .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  filter: blur(8px);
  animation: wordIn 0.9s var(--ease) forwards;
  animation-delay: calc(var(--d) * 70ms + 150ms);
}
@keyframes wordIn {
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
.lead {
  position: relative;
  max-width: 60ch;
  color: var(--t2);
  font-size: 19px;
}
.lead strong {
  color: var(--t1);
  font-weight: 600;
}
.cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.ticker {
  position: relative;
  width: min(1000px, 100%);
  margin-top: 28px;
  padding: 16px 0;
  border-top: 1px solid var(--linea);
  border-bottom: 1px solid var(--linea);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: scrollx 48s linear infinite;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
.ticker span {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker b {
  color: var(--t3);
  font-weight: 500;
  margin-right: 6px;
}
.ticker i {
  color: var(--ladrillo-vivo);
  font-style: normal;
}
@keyframes scrollx {
  to {
    transform: translateX(-50%);
  }
}
.scrollcue {
  position: absolute;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  color: var(--ladrillo-vivo);
  opacity: 0.8;
  animation: cascade 2.2s var(--ease) infinite;
}
.scrollcue svg {
  width: 26px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.scrollcue svg + svg {
  opacity: 0.45;
  margin-top: -4px;
}
@keyframes cascade {
  50% {
    transform: translateY(8px);
    opacity: 0.4;
  }
}

/* ---------- Intro ---------- */

.intro,
.model {
  max-width: 1080px;
  margin: 0 auto;
  padding: 140px 24px 120px;
  text-align: center;
}
.intro h2,
.model h2 {
  margin: 18px auto 0;
  max-width: 22ch;
  font-size: clamp(32px, 4.4vw, 54px);
}
.questions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 30px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.questions li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.questions li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.q-a {
  color: var(--clase-a);
}
.q-b {
  color: var(--clase-b);
}
.q-c {
  color: var(--clase-c);
}

/* ---------- Secciones ---------- */

.feature {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  max-width: 1160px;
  min-height: 92vh;
  margin: 0 auto;
  padding: 120px 40px;
  border-top: 1px solid var(--linea);
  overflow-x: clip; /* el número gigante de fondo no genera scroll horizontal */
}
.feature.rev .txt {
  order: 2;
}
.bignum {
  position: absolute;
  top: 40px;
  left: -10px;
  font-family: var(--mono);
  font-size: clamp(140px, 20vw, 260px);
  font-weight: 600;
  line-height: 1;
  color: rgba(244, 241, 234, 0.035);
  pointer-events: none;
  user-select: none;
}
.feature.rev .bignum {
  left: auto;
  right: -10px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--t3);
}
.tag {
  padding: 3px 9px;
  border: 1px solid;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tag-live {
  color: var(--clase-a);
  border-color: rgba(92, 191, 136, 0.45);
}
.tag-soon {
  color: var(--clase-c);
  border-color: rgba(220, 174, 82, 0.45);
}
.txt h2 {
  margin: 16px 0 22px;
  font-size: clamp(30px, 3.4vw, 44px);
}
.txt .quote {
  font-size: 19px;
  color: var(--t1);
  margin-bottom: 16px;
}
.txt .quote::before,
.txt .quote::after {
  color: var(--ladrillo-vivo);
}
.txt .quote::before {
  content: '“';
}
.txt .quote::after {
  content: '”';
}
.txt p {
  color: var(--t2);
}
.txt em {
  color: var(--t1);
  font-style: normal;
  border-bottom: 1px solid var(--ladrillo-vivo);
}
.txt .foot {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t3);
}

/* Tarjetas */
.card {
  position: relative;
  padding: 28px;
  background: linear-gradient(180deg, var(--panel), var(--tinta-2));
  border: 1px solid var(--linea-2);
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, -40%),
    var(--ladrillo-suave),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.card:hover::before {
  opacity: 1;
}
.mock-note {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--t3);
}
.muted {
  color: var(--t3);
  font-size: 13px;
}
.badge {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid;
}
.badge.big {
  width: 54px;
  height: 54px;
  font-size: 26px;
}
.b-a {
  color: var(--clase-a);
  border-color: rgba(92, 191, 136, 0.5);
  background: rgba(92, 191, 136, 0.08);
}
.b-b {
  color: var(--clase-b);
  border-color: rgba(116, 163, 224, 0.5);
  background: rgba(116, 163, 224, 0.08);
}
.b-c {
  color: var(--clase-c);
  border-color: rgba(220, 174, 82, 0.5);
  background: rgba(220, 174, 82, 0.08);
}
.b-n {
  color: var(--t3);
  border-color: var(--linea-2);
}

/* 01 búsqueda */
.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--linea-2);
  background: var(--tinta);
  font-family: var(--mono);
  font-size: 14px;
}
.mock-q::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 15px;
  margin-left: 3px;
  vertical-align: -2px;
  background: var(--ladrillo-vivo);
  animation: blink 1s steps(2) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.mock-chip {
  margin-left: auto;
  padding: 2px 9px;
  font-size: 11.5px;
  color: var(--ladrillo-vivo);
  background: var(--ladrillo-suave);
}
.mock-rows {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.mock-rows li {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--linea);
  font-size: 15px;
}
.in .mock-rows li {
  animation: rowIn 0.7s var(--ease) backwards;
}
.in .mock-rows li:nth-child(2) {
  animation-delay: 0.12s;
}
.in .mock-rows li:nth-child(3) {
  animation-delay: 0.24s;
}
.in .mock-rows li:nth-child(4) {
  animation-delay: 0.36s;
}
@keyframes rowIn {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
}

/* 02 riesgo */
.risk-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--linea);
}
.risk-head strong {
  display: block;
  font-size: 17px;
}
.meters {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.meters li {
  display: grid;
  grid-template-columns: 1fr 44%;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--t2);
}
.meter {
  height: 6px;
  background: var(--linea);
}
.meter i {
  display: block;
  height: 100%;
  width: 0;
  transition: width 1.4s var(--ease) 0.3s;
}
.m-a {
  background: var(--clase-a);
}
.m-b {
  background: var(--clase-b);
}

/* 03 hechos */
.facts {
  position: relative;
  margin: 0;
  padding: 0 0 0 22px;
  list-style: none;
}
.facts::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--linea-2);
}
.facts li {
  position: relative;
  padding: 10px 0 14px;
}
.facts li::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 17px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--clase-a);
  box-shadow: 0 0 0 4px var(--tinta-2);
}
.facts li.pending::before {
  background: var(--clase-c);
}
.facts b {
  display: block;
  font-weight: 600;
}
.facts span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--t3);
}
.facts li.pending span {
  color: var(--clase-c);
}

/* 04 cola */
.queue {
  margin: 0;
  padding: 0;
  list-style: none;
}
.queue li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--linea-2);
  color: var(--t2);
}
.queue b {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 500;
  color: var(--ladrillo-vivo);
}

/* 05 pedido */
.typed {
  min-height: 5.4em;
  font-family: var(--mono);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--t1);
}
.typed::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 17px;
  margin-left: 2px;
  vertical-align: -3px;
  background: var(--ladrillo-vivo);
  animation: blink 1s steps(2) infinite;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--linea);
}
.chips span {
  padding: 5px 11px;
  font-size: 13.5px;
  border: 1px solid var(--linea-2);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.chips.show span {
  opacity: 1;
  transform: none;
}
.chips.show span:nth-child(2) {
  transition-delay: 0.1s;
}
.chips.show span:nth-child(3) {
  transition-delay: 0.2s;
}
.chips.show span:nth-child(4) {
  transition-delay: 0.3s;
}

/* 06 comparador */
.cmp-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr 0.6fr;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border-bottom: 1px solid var(--linea);
  font-size: 14.5px;
}
.cmp-row.head {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t3);
}
.cmp-row.best {
  background: var(--ladrillo-suave);
  box-shadow: inset 3px 0 0 var(--ladrillo-vivo);
}

/* 07 portal */
.portal-title {
  margin-bottom: 14px;
  font-weight: 600;
}
.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--t2);
}
.checklist li::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 1px solid var(--linea-2);
}
.checklist li.done {
  color: var(--t1);
}
.checklist li.done::before {
  border-color: var(--clase-a);
  background:
    linear-gradient(45deg, transparent 45%, var(--clase-a) 45% 55%, transparent 55%) no-repeat,
    rgba(92, 191, 136, 0.12);
}

/* ---------- Modelo y números ---------- */

.model {
  border-top: 1px solid var(--linea);
}
.model .lead {
  margin: 24px auto 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 60px 0 50px;
}
.statcard {
  position: relative;
  padding: 30px 22px;
  border: 1px solid var(--linea-2);
  background: var(--tinta-2);
  overflow: hidden;
  text-align: left;
}
.statcard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, -50%),
    var(--ladrillo-suave),
    transparent 70%
  );
  pointer-events: none;
}
.statcard b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--papel);
}
.statcard span {
  font-size: 14px;
  color: var(--t2);
}

/* ---------- Pie ---------- */

.footer {
  padding: 80px 40px 36px;
  border-top: 1px solid var(--linea);
  background: #0e1314;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1160px;
  margin: 0 auto;
}
.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--t2);
}
.footer-grid a:not(.btn):not(.brand) {
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.footer-grid a:not(.btn):not(.brand):hover {
  color: var(--ladrillo-vivo);
}
.brand-lg .logo {
  width: 46px;
  height: 46px;
}
.brand-lg .wordmark {
  font-size: 36px;
  color: var(--t1);
}
.col-title {
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--t3);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  max-width: 1160px;
  margin: 64px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--linea);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--t3);
}

/* ---------- Aparición al scrollear ---------- */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(6px);
  transition:
    opacity 1s var(--ease),
    transform 1.1s var(--ease),
    filter 1s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}
.txt.reveal {
  opacity: 1;
  transform: none;
  filter: none;
}
.txt.reveal > * {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.9s var(--ease),
    transform 1s var(--ease);
}
.txt.reveal.in > * {
  opacity: 1;
  transform: none;
}
.txt.reveal.in > :nth-child(2) {
  transition-delay: 0.08s;
}
.txt.reveal.in > :nth-child(3) {
  transition-delay: 0.16s;
}
.txt.reveal.in > :nth-child(4) {
  transition-delay: 0.24s;
}
.txt.reveal.in > :nth-child(5) {
  transition-delay: 0.32s;
}
.vis.reveal {
  transform: translateY(34px) scale(0.97);
  transition-delay: 0.18s;
}
.vis.reveal.in {
  transform: none;
}
.stats .statcard:nth-child(2) {
  transition-delay: 0.08s;
}
.stats .statcard:nth-child(3) {
  transition-delay: 0.16s;
}
.stats .statcard:nth-child(4) {
  transition-delay: 0.24s;
}

/* Sin JS o con movimiento reducido: todo visible, sin animaciones. */
.no-js .reveal,
.no-js .txt.reveal > *,
.no-motion .reveal,
.no-motion .txt.reveal > * {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Página "Sitio en desarrollo" ---------- */

.wip {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 24px;
  text-align: center;
  background: radial-gradient(55% 45% at 50% 35%, rgba(185, 71, 31, 0.18), transparent 70%), var(--tinta);
  position: relative;
  overflow: hidden;
}
.wip-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  max-width: 640px;
}
.build {
  width: 120px;
  height: 120px;
}
.build rect {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: stack 2.8s var(--ease) infinite;
}
.build .logo-b {
  animation-delay: 0.25s;
}
.build .logo-c {
  animation-delay: 0.5s;
}
@keyframes stack {
  0% {
    transform: translateY(-140%);
    opacity: 0;
  }
  22%,
  78% {
    transform: none;
    opacity: 1;
  }
  100% {
    transform: none;
    opacity: 0;
  }
}
.wip h1 {
  font-size: clamp(40px, 7vw, 76px);
}
.wip h1 em {
  font-style: normal;
  color: var(--ladrillo-vivo);
}
.wip .lead {
  font-size: 18px;
}
.wip-bar {
  width: min(360px, 80vw);
  height: 2px;
  background: var(--linea);
  overflow: hidden;
}
.wip-bar span {
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--ladrillo-vivo), transparent);
  animation: sweep 2.4s var(--ease) infinite;
}
@keyframes sweep {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(250%);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  body {
    font-size: 16px;
  }
  .stickytop,
  body.scrolled .stickytop {
    padding: 12px 18px;
  }
  .cursec,
  .dotnav {
    display: none;
  }
  .wordmark {
    font-size: 22px;
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: 0;
    padding: 90px 22px;
  }
  .feature.rev .txt {
    order: 0;
  }
  .bignum {
    top: 20px;
    font-size: 120px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .footer {
    padding: 60px 22px 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .hero {
    padding: 120px 18px 110px;
    gap: 22px;
  }
  .lead {
    font-size: 17px;
  }
  .wordmark small {
    display: none;
  }
  .card {
    padding: 20px;
  }
  .cmp-row {
    font-size: 13px;
    grid-template-columns: 1.3fr 1fr 0.9fr 0.5fr;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
