@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/home/fonts/bricolage.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/home/fonts/instrument.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --ink: #09090d;
  --paper: #09090d;
  --card: #14161f;
  --tx: #e8eeff;
  --mu: #9aa3b8;
  --m: #2f6bff;
  --c: #5cc8ff;
  --y: #bfd4ff;
  --v: #1b2e7a;
  --d: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --b: "Instrument Sans", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); background: #09090d; }
body {
  background: var(--ink);
  color: var(--tx);
  font: 400 1.05rem/1.6 var(--b);
  overflow-x: hidden;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--d); line-height: 1.02; letter-spacing: -0.02em; }
img { max-width: 100%; }

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: calc(0.85rem + env(safe-area-inset-top, 0px)) 4vw 0.85rem;
  color: #fff;
  background: #09090dcc;
}
.site-nav .brand { margin-right: auto; display: flex; align-items: center; text-decoration: none; }
.site-nav .brand img { height: 38px; width: auto; }
.site-nav a { text-decoration: none; font-weight: 600; }
.site-nav .nav-link { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 99px;
  font-weight: 600;
  text-decoration: none;
  background: var(--y);
  color: #09090d;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s;
}
.btn:hover { transform: translateY(-3px) rotate(-1.5deg); }
.btn.o { background: none; color: #fff; box-shadow: inset 0 0 0 2px #ffffff88; }

#particulas {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero, .que-es, .bookwrap, .howwrap, .shieldwrap, .end, .pie { position: relative; z-index: 2; }
.hero { z-index: auto; }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: transparent;
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  padding: 7rem 5vw 22vh;
  overflow: hidden;
  gap: 2rem;
}
.hero-fondo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(70% 60% at 80% 30%, #18254F, transparent), #07080F;
}
.hero-fondo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, #ffffff1f 1.2px, transparent 1.7px) 0 0 / 24px 24px;
  -webkit-mask: linear-gradient(#000, transparent 75%);
  mask: linear-gradient(#000, transparent 75%);
}
.hero > div:not(.hero-fondo):not(.strokebox) { position: relative; z-index: 2; }
.hero .strokebox { z-index: 2; }
.hero::before { content: none; }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 5.6rem); font-weight: 800; position: relative; }
.hero p { max-width: 34rem; margin: 1.4rem 0 2rem; color: #b6c4ea; position: relative; }
.hero .cta { display: flex; gap: 0.8rem; flex-wrap: wrap; position: relative; }
.chips { position: absolute; left: 5vw; bottom: 2.2rem; display: flex; gap: 0.6rem; flex-wrap: wrap; z-index: 3; }
.chips span {
  background: #ffffff18;
  backdrop-filter: blur(6px);
  border: 1px solid #ffffff33;
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  font-size: 0.9rem;
}
.strokebox { position: absolute; left: 0; right: 0; bottom: 0; height: 34vh; pointer-events: none; }
.strokebox svg { width: 100%; height: 100%; overflow: visible; }
.scene { perspective: 900px; height: min(52vh, 440px); display: grid; place-items: center; position: relative; }
.fan { position: relative; width: 150px; height: 210px; transform-style: preserve-3d; }
.sw {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: #fff;
  color: #09090d;
  box-shadow: 0 30px 60px #0007;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.8rem;
  font: 800 1rem var(--d);
}
.sw::before { content: ""; position: absolute; inset: 0 0 34%; background: var(--k); }
.sw small { font: 400 0.72rem var(--b); color: #55527f; position: relative; }
.sw b { position: relative; }
.sw:nth-child(1) { --k: var(--c); transform: rotateY(-34deg) translateZ(150px); }
.sw:nth-child(2) { --k: var(--m); transform: rotateY(0) translateZ(170px); }
.sw:nth-child(3) { --k: var(--y); transform: rotateY(34deg) translateZ(150px); }

.que-es { background: transparent; color: #fff; padding: 26vh 6vw 28vh; }
.que-es-inner { max-width: 46rem; }
.que-es h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  margin-bottom: 1.1rem;
}
.que-logo { height: 0.82em; width: auto; }
.que-es p { font-size: clamp(1.08rem, 1.7vw, 1.28rem); line-height: 1.55; color: #c5d0ea; max-width: 62ch; }

.bookwrap { height: 460vh; position: relative; background: #07080F; color: #fff; }
.bookwrap .stage {
  justify-items: stretch;
  align-items: center;
  padding: 0;
  background: radial-gradient(50% 55% at 72% 55%, #18254F, transparent), #07080F;
}
.bookwrap .stage h2 {
  position: static;
  left: auto;
  right: auto;
  top: auto;
  width: auto;
  color: #fff;
  text-align: left;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  margin-bottom: 0.8rem;
}
.eyebrow { display: block; font: 600 0.85rem var(--b); letter-spacing: 0.14em; text-transform: uppercase; color: #4C6FFF; margin-bottom: 1rem; }
.bookwrap .eyebrow { color: #9DB0FF; }
.qg { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 3vw; align-items: center; width: 100%; height: 100%; padding: 6rem 6vw 2rem; }
.qg .lead { font-size: 1.02rem; margin-bottom: 1.4rem; max-width: 34rem; color: #b4c0e6; }
.qcard { background: #ffffff0f; border: 1px solid #ffffff22; border-radius: 22px; padding: 1.5rem 1.6rem; min-height: 15.5rem; backdrop-filter: blur(8px); }
.qcard.entra { animation: swp 0.6s both; }
@keyframes swp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.qcard .tag { font: 600 0.78rem var(--b); letter-spacing: 0.14em; text-transform: uppercase; color: #9DB0FF; }
.qcard h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin: 0.5rem 0 0.7rem; }
.qcard p { color: #c3cdee; font-size: 1rem; line-height: 1.55; }
.qcard .btn { margin-top: 1rem; background: #4C6FFF; color: #fff; }
.qvis { position: relative; height: 100%; perspective: 1800px; display: grid; place-items: center; }
.stack { position: relative; width: 380px; height: 280px; transform-style: preserve-3d; will-change: transform; }
.lay { position: absolute; inset: 0; border-radius: 20px; transform: translateZ(var(--lz, 0px)); transform-style: preserve-3d; background: var(--bg); border: 2px solid #ffffff2e; opacity: 0.4; transition: opacity 0.5s, box-shadow 0.5s; }
.lay.act { opacity: 1; box-shadow: 0 0 0 3px #4C6FFF, 0 0 60px #4C6FFF88; }
.lay .lab { position: absolute; left: 14px; top: 10px; font: 800 0.8rem var(--d); letter-spacing: 0.12em; text-transform: uppercase; color: #9DB0FF; }
.lay.top { background: linear-gradient(135deg, #4C6FFF, #18254F); opacity: 0; display: grid; place-items: center; font: 800 3.2rem var(--d); color: #fff; }
.lay.top.act { opacity: 1; }
.sn, .pc { transform-style: preserve-3d; }
.sn { position: absolute; inset: 0; }
.pc { position: absolute; opacity: 0; transform: translate3d(var(--dx, 0px), var(--dy, 0px), 0) rotate(var(--r, 0deg)); transition: transform 1.1s cubic-bezier(0.2, 1.2, 0.4, 1) var(--dl, 0s), opacity 0.5s var(--dl, 0s); backface-visibility: hidden; }
.on > .pc { opacity: 1; transform: translate3d(0, 0, var(--z, 0px)) rotate(var(--rf, 0deg)); }
.chip { background: #fff; color: #0B1020; padding: 0.4rem 0.9rem; border-radius: 99px; font-weight: 600; font-size: 0.82rem; box-shadow: 0 12px 30px #07080F55; white-space: nowrap; }
.coin { width: 66px; height: 66px; border-radius: 50%; background: #FFB938; color: #07080F; display: grid; place-items: center; font: 800 1.8rem var(--d); box-shadow: inset 0 0 0 5px #ffdb8a, 0 14px 24px #07080F55; }
.lyr { position: absolute; right: 0; bottom: 5vh; width: 210px; display: flex; flex-direction: column; gap: 3px; background: #07080Fcc; border: 1px solid #ffffff22; border-radius: 14px; padding: 0.4rem; backdrop-filter: blur(8px); z-index: 3; }
.lyr button { display: flex; align-items: center; gap: 0.6rem; border: 0; background: none; color: #aab6dd; font: 600 0.85rem var(--b); padding: 0.35rem 0.5rem; border-radius: 9px; cursor: pointer; text-align: left; }
.lyr button i { width: 26px; height: 20px; border-radius: 5px; background: var(--bg); box-shadow: inset 0 0 0 1px #ffffff33; }
.lyr button.on { background: #4C6FFF; color: #fff; }
[hidden] { display: none !important; }
.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  place-items: center;
  perspective: 2000px;
  overflow: hidden;
  background: #09090d;
}
.stage h2 {
  position: absolute;
  z-index: 3;
  top: calc(92px + env(safe-area-inset-top, 0px));
  left: 5vw;
  right: 42vw;
  text-align: left;
  font-size: clamp(1.6rem, 3.6vw, 3rem);
}
.stage h2 small {
  display: block;
  font: 400 1.05rem/1.45 var(--b);
  color: var(--mu);
  margin-top: 0.6rem;
  letter-spacing: 0;
}
.libro-fondos { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.libro-fondos img {
  position: absolute;
  top: 0;
  left: 0;
  width: min(58vw, 980px);
  height: 100%;
  object-fit: cover;
  object-position: left center;
  opacity: 0;
  transition: opacity 0.55s ease;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 46%, rgba(0, 0, 0, 0.55) 68%, transparent 92%);
  mask-image: linear-gradient(90deg, #000 0%, #000 46%, rgba(0, 0, 0, 0.55) 68%, transparent 92%);
}
.libro-fondos::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, #fff 0, #fff 150px, transparent 250px);
  pointer-events: none;
}
.libro-fondos img.activa { opacity: 0.94; }

.book {
  position: relative;
  z-index: 2;
  width: 860px;
  height: 520px;
  transform-style: preserve-3d;
  margin-top: 8vh;
  margin-right: 1vw;
}
.pg, .leaf { position: absolute; left: 50%; top: 0; width: 430px; height: 520px; }
.leaf { transform-origin: left center; transform-style: preserve-3d; }
.f, .pg {
  background: #141414;
  box-shadow: none;
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  border-radius: 2px 10px 10px 2px;
  overflow: auto;
}
.f { position: absolute; inset: 0; backface-visibility: hidden; }
.f.bk {
  transform: rotateY(180deg);
  border-radius: 10px 2px 2px 10px;
  background: #0e0e0e;
}
.f h3 { font-size: clamp(1.55rem, 2.2vw, 2.15rem); }
.f p { font-size: 1rem; line-height: 1.5; color: #bdbdbd; }
.f.cv {
  background: #0a0a0a;
  color: #fff;
  align-items: flex-start;
  justify-content: flex-end;
  border-radius: 2px 14px 14px 2px;
  background-image:
    radial-gradient(circle at 80% 18%, var(--m) 0 70px, transparent 71px),
    radial-gradient(circle at 62% 26%, var(--c) 0 48px, transparent 49px),
    radial-gradient(circle at 88% 34%, var(--y) 0 32px, transparent 33px);
}
.f.cv .portada-logo { height: 72px; width: auto; margin-bottom: 0.4rem; }
.f.cv p { color: #d6d6d6; }
.art { padding: 0.8rem; }
.vec path.pth { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.6s ease; }
.vec.on path.pth { stroke-dashoffset: 0; }
.vec .h { opacity: 0; transition: opacity 0.6s 1s; }
.vec.on .h { opacity: 1; }
.px rect { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); }
.px.on rect { transform: scale(1); }
.ht circle { mix-blend-mode: screen; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 0.8s; }
.ht.on circle { transform: scale(1); }

.howwrap {
  --pasos: 7;
  height: calc(var(--pasos) * 92vh);
  position: relative;
  background: #F1F3FA;
  color: #0B1020;
}
.how {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4vw;
  align-items: center;
  padding: 6rem 6vw 1rem;
  perspective: 2200px;
  overflow: hidden;
}
.how h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 1rem; }
.tabs { display: inline-flex; gap: 0.3rem; background: #fff; padding: 0.3rem; border-radius: 99px; margin-bottom: 1.2rem; box-shadow: 0 4px 16px #0B102014; }
.tabs button { font: 600 0.95rem var(--b); border: 0; border-radius: 99px; padding: 0.55rem 1.2rem; background: none; color: #0B1020; cursor: pointer; }
.tabs button[aria-pressed="true"] { background: #07080F; color: #fff; }
.paso { padding: 0.55rem 0 0.55rem 1.1rem; border-left: 4px solid #0B10201f; opacity: 0.45; transition: 0.4s; }
.paso h3 { font-size: 1.25rem; display: flex; gap: 0.7rem; align-items: baseline; margin: 0; }
.paso h3 small { font: 600 0.8rem var(--b); color: #4C6FFF; }
.paso p { max-height: 0; overflow: hidden; color: #5A6485; font-size: 0.98rem; transition: max-height 0.5s; }
.paso.on { opacity: 1; border-color: #4C6FFF; }
.paso.on p { max-height: 6rem; }
.tabletbox { display: grid; place-items: center; min-width: 0; }
.tablet {
  width: 100%;
  max-width: 760px;
  aspect-ratio: 16 / 10;
  background: #111;
  border-radius: 28px;
  padding: 16px 16px 16px 26px;
  box-shadow: 0 50px 90px #0B102055, inset 0 0 0 2px #ffffff22;
  transform: rotateY(-16deg) rotateX(6deg);
  position: relative;
  display: flex;
}
.tablet-cam { position: absolute; left: 9px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: #3a3a3a; box-shadow: inset 0 0 0 2px #1a1a1a; transform: translateY(-50%); }
.tablet-screen { position: relative; flex: 1; min-width: 0; border-radius: 16px; overflow: hidden; background: #fff; }

.relato {
  --pasos: 7;
  height: calc(var(--pasos) * 92vh);
  position: relative;
  background: #09090d;
  color: #fff;
}
.relato.dis { --pasos: 6; }
.relato .stage {
  justify-items: stretch;
  align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 4vw;
  padding: 0 6vw 0 5vw;
  perspective: none;
}
.relato.dis .stage { grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr); }
.relato.dis .pantalla { order: 2; }
.relato.dis .stage > div:last-child { order: 1; }
.relato .stage::before {
  content: "";
  position: absolute;
  width: min(52vw, 680px);
  height: min(52vw, 680px);
  left: 2vw;
  top: 16vh;
  border-radius: 50%;
  background: radial-gradient(circle, #2f6bff44, transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}
.relato.dis .stage::before { left: auto; right: 2vw; background: radial-gradient(circle, #5cc8ff33, transparent 68%); }
.kicker {
  font: 600 0.78rem/1 var(--b);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.paso-num { color: #fff; font: 800 0.95rem var(--d); letter-spacing: 0; }
.relato-copy { position: relative; min-height: 230px; }
.relato-copy article {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s ease, transform 0.45s ease;
}
.relato-copy article.on { opacity: 1; transform: none; }
.relato-copy h3 { font-size: clamp(2.1rem, 4vw, 3.5rem); margin-bottom: 0.7rem; }
.relato-copy p { color: var(--mu); max-width: 34ch; font-size: 1.05rem; }
.marca-fases { display: flex; gap: 0.45rem; margin-top: 1.6rem; }
.marca-fases i {
  width: 2.1rem;
  height: 3px;
  border-radius: 99px;
  background: #ffffff22;
}
.marca-fases i.on { background: var(--m); }
.relato.dis .marca-fases i.on { background: var(--c); }

.tablet-screen .pantalla {
  position: absolute;
  inset: 0;
  z-index: 1;
  height: 100%;
  border-radius: 0;
  background: #fff;
  color: #141414;
  box-shadow: none;
  overflow: hidden;
}
.tablet-screen .pantalla[hidden] { display: none; }
.tablet-screen .charla { min-height: 0; grid-template-columns: 64px 1fr 64px; }
.tablet-screen .campo.alta { min-height: 58px; }
.tablet-screen .toma { padding: 0.85rem 0.95rem 1.15rem; gap: 0.55rem; }
.pantalla {
  position: relative;
  z-index: 1;
  height: min(640px, 74svh);
  border-radius: 22px;
  background: #fff;
  color: #141414;
  box-shadow: none;
  overflow: hidden;
}
.progreso { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #00000014; z-index: 5; }
.progreso i { display: block; height: 100%; width: 0; background: #141414; }
.toma {
  position: absolute;
  inset: 0 0 3px 0;
  padding: 1.35rem 1.35rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.toma.on { opacity: 1; transform: none; }
.winbar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #222;
  font: 600 0.92rem var(--b);
}
.dots { display: flex; gap: 0.35rem; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #d5d5d5; }
.dots i:nth-child(1) { background: #cfcfcf; }
.dots i:nth-child(2) { background: #8d8d8d; }
.dots i:nth-child(3) { background: #222; }
.form-sil, .lista, .chat, .detalle { display: flex; flex-direction: column; gap: 0.75rem; }
.campo {
  background: #f3f3f3;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.campo.alta { min-height: 92px; }
.campo em {
  font-style: normal;
  color: #141414;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(6px);
  transition: 0.35s ease;
}
.toma.a1 .campo:nth-child(1) em,
.toma.a2 .campo:nth-child(2) em,
.toma.a3 .campo em { opacity: 1; transform: none; }
.campo s {
  display: block;
  font: 600 0.72rem var(--b);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b6b6b;
  text-decoration: none;
}
.campo s:empty, .linea, .precio-sil {
  display: block;
  height: 8px;
  width: 28%;
  border-radius: 99px;
  background: #ffffff22;
  text-decoration: none;
}
.fill {
  display: block;
  height: 10px;
  width: 0;
  border-radius: 99px;
  background: #141414;
  transition: width 0.55s ease;
}
.toma.a1 .fill { width: 46%; }
.toma.a2 .fill { width: 74%; }
.toma.a3 .fill { width: 92%; }
.toma.a2 .campo.alta .fill { width: 80%; }
.btn-sil {
  margin-top: 0.35rem;
  align-self: flex-start;
  border: 0;
  border-radius: 999px;
  background: #141414;
  color: #fff;
  font: 700 0.95rem var(--b);
  padding: 0.72rem 1.3rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.toma.a3 .btn-sil { transform: scale(0.96); box-shadow: 0 0 0 8px #00000018; }

.tarjeta {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 0.9rem;
  background: #f3f3f3;
  padding: 0.8rem;
  align-items: center;
}
.miniatura {
  height: 92px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 30%, #fff, transparent 55%),
    linear-gradient(145deg, #d0d0d0, #2a2a2a);
}
.nombre { color: #141414; font-weight: 600; font-size: 0.95rem; line-height: 1.25; }
.sub { display: block; color: #6b6b6b; font-size: 0.8rem; line-height: 1.35; margin-top: 0.2rem; }
.precio { color: #141414; font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.tarjeta .linea { width: 80%; margin-bottom: 0.35rem; }
.pastilla {
  display: inline-flex;
  margin-top: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  background: #141414;
  color: #fff;
  font: 700 0.75rem var(--b);
}
.llegadas { display: flex; gap: 0.7rem; align-items: center; width: 100%; }
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8e8e8, #4a4a4a);
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.avatar:nth-child(2) { background: linear-gradient(135deg, #bdbdbd, #2b2b2b); }
.avatar:nth-child(3) { background: linear-gradient(135deg, #fff, #6e6e6e); }
.toma.a1 .avatar:nth-child(1),
.toma.a2 .avatar:nth-child(2),
.toma.a3 .avatar:nth-child(3) { transform: scale(1); }
.contador {
  margin-left: auto;
  font: 800 1.35rem var(--d);
  color: #141414;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.35s ease;
}
.toma.a2 .contador { opacity: 1; transform: none; }

.fila {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  background: #f3f3f3;
  border-radius: 14px;
  padding: 0.7rem 0.8rem;
  opacity: 0;
  transform: translateX(18px);
  transition: 0.4s ease;
  box-shadow: inset 0 0 0 0 #141414;
}
.toma.a1 .fila:nth-child(1),
.toma.a2 .fila:nth-child(2),
.toma.a3 .fila:nth-child(3) { opacity: 1; transform: none; }
.fila .avatar { width: 42px; height: 42px; transform: none; }
.precio-sil { width: 52px; height: 14px; background: #141414; }
.toma.elige .fila { opacity: 1; transform: none; }
.toma.elige.a2 .fila:nth-child(2),
.toma.elige.a3 .fila:nth-child(2) { box-shadow: inset 0 0 0 2px #141414; background: #e7e7e7; }
.puntero {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #141414;
  box-shadow: 0 8px 18px #0008;
  left: 22%;
  top: 78%;
  transition: 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.toma.a2 .puntero { left: 34%; top: 64%; }
.toma.a3 .puntero { left: 38%; top: 68%; transform: scale(0.85); }

.charla {
  display: grid;
  grid-template-columns: 84px 1fr 84px;
  gap: 0.85rem;
  align-items: center;
  min-height: 340px;
  flex: 1;
}
.silueta { width: 72px; height: 118px; position: relative; justify-self: center; }
.silueta::before, .silueta::after { content: ""; position: absolute; background: currentColor; }
.silueta::before { top: 0; left: 12px; width: 46px; height: 46px; border-radius: 50%; }
.silueta::after { top: 52px; left: 2px; width: 68px; height: 64px; border-radius: 26px 26px 12px 12px; }
.silueta.izq { color: #bdbdbd; }
.silueta.der { color: #141414; }
.chat { justify-content: center; min-height: 0; padding-bottom: 0; gap: 0.75rem; }
.burbuja {
  margin: 0;
  width: fit-content;
  max-width: 15rem;
  align-self: flex-start;
  padding: 0.8rem 1rem;
  border-radius: 16px 16px 16px 5px;
  background: #ececec;
  color: #141414;
  font-size: 1.05rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(12px);
  transition: 0.4s ease;
}
.burbuja.mia { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: #141414; color: #fff; }
.toma.a1 .burbuja:nth-child(1),
.toma.a2 .burbuja:nth-child(2),
.toma.a3 .burbuja:nth-child(3) { opacity: 1; transform: none; }
.burbuja:nth-child(1),
.burbuja:nth-child(2),
.burbuja:nth-child(3) { width: fit-content; }

.entrega { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; }
.entrega.columna { flex-direction: column; align-items: flex-start; gap: 1rem; }
.entrega.columna .check { position: static; }
.archivo {
  width: min(280px, 70%);
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background:
    linear-gradient(160deg, #ffffff18, transparent 40%),
    linear-gradient(145deg, #dedede, #2b2b2b);
  transform: translateY(-36px) scale(0.92);
  opacity: 0;
  transition: 0.5s cubic-bezier(0.2, 0.85, 0.2, 1);
  box-shadow: 0 24px 40px #0006;
}
.toma.a2 .archivo, .toma.a3 .archivo { opacity: 1; transform: none; }
.check {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #141414;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  opacity: 0;
  transform: scale(0.4);
  transition: 0.35s cubic-bezier(0.2, 1.5, 0.4, 1);
}
.toma.a3 .check { opacity: 1; transform: scale(1); }
.zona {
  flex: 1;
  border: 1.5px dashed #c8c8c8;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--mu);
  position: relative;
}
.toma.a3 .zona { border-color: #141414; }

.modal-sil {
  margin-top: auto;
  background: #f7f7f7;
  color: #141414;
  border-radius: 18px 18px 12px 12px;
  padding: 1rem;
  transform: translateY(30px);
  opacity: 0;
  transition: 0.45s ease;
  box-shadow: 0 -20px 50px #0008;
}
.toma.a1 .modal-sil, .toma.a2 .modal-sil, .toma.a3 .modal-sil { opacity: 1; transform: none; }
.modal-sil .linea { width: 70%; height: 12px; background: #141414; margin-bottom: 0.55rem; }
.modal-sil .linea.corta { width: 40%; height: 8px; background: #00000033; }
.sello {
  align-self: flex-start;
  font: 800 clamp(2rem, 4vw, 3rem) var(--d);
  color: #141414;
  transition: 0.4s ease;
}
.toma.a2 .sello, .toma.a3 .sello { opacity: 1; transform: none; }

.shieldwrap { height: 320vh; position: relative; background: #fff; color: #09090d; }
.shieldwrap .stage { background: #fff; justify-items: stretch; padding-right: 0; perspective: 1400px; }
.shield {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
  align-items: center;
  padding: 0 6vw;
  width: 100%;
  height: 100%;
}
.shield h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); margin-bottom: 1.4rem; color: #09090d; }
.li { padding: 1rem 0 1rem 1.2rem; border-left: 4px solid #09090d22; opacity: 0.45; transition: 0.4s; }
.li.on { opacity: 1; border-color: var(--m); }
.li h3 { font-size: 1.3rem; margin-bottom: 0.2rem; color: #09090d; }
.li p { color: #4a5368; font-size: 0.95rem; }
.mock {
  color: #e8eeff;
  background: var(--card);
  border-radius: 22px;
  padding: 1rem;
  box-shadow: 0 30px 70px #0008;
  transform: rotateY(-12deg) rotateX(5deg);
}
.work {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: #09090d;
}
.diseno {
  position: absolute;
  inset: 8% 10%;
  z-index: 0;
  display: grid;
  place-items: center;
  --nitidez: 0;
  filter: blur(calc((1 - var(--nitidez)) * 5px));
}
.diseno svg { width: auto; height: 92%; max-width: 72%; display: block; }
.diseno .rejilla {
  position: absolute;
  inset: -4%;
  background:
    repeating-linear-gradient(0deg, transparent 0 7px, #09090d 7px 8px),
    repeating-linear-gradient(90deg, transparent 0 7px, #09090d 7px 8px);
  opacity: calc(1 - var(--nitidez));
  pointer-events: none;
}
.wm {
  position: absolute;
  z-index: 1;
  inset: -20%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem 0.6rem;
  align-content: center;
  justify-items: center;
  transform: rotate(-18deg);
  opacity: 0.45;
}
.wm img { height: 28px; width: auto; }
.bar { height: 8px; border-radius: 9px; background: #ffffff18; margin: 1rem 0 0.6rem; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--m); }
.st { display: flex; justify-content: space-between; font-weight: 600; font-size: 0.95rem; }
.stars { color: var(--y); letter-spacing: 0.2em; opacity: 0; transition: opacity 0.4s; }

.end {
  background: #09090d;
  color: #fff;
  text-align: center;
  padding: 18vh 6vw 10vh;
}
.end h2 { font-size: clamp(2.4rem, 7vw, 6rem); max-width: 16ch; margin: 0 auto 1.6rem; }
.end .cta { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

.pie {
  background: #09090d;
  color: #9aa3b8;
  padding: 4rem 6vw 2rem;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 2rem;
  font-size: 0.92rem;
  border-top: 1px solid #ffffff14;
}
.pie h3 {
  color: #fff;
  margin-bottom: 0.7rem;
  font-family: var(--b);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pie ul { list-style: none; padding: 0; }
.pie li { margin: 0.35rem 0; }
.pie a { text-decoration: none; }
.pie a:hover { color: var(--y); }
.pie-logo { height: 42px; width: auto; margin-bottom: 0.8rem; }
.redes { display: flex; gap: 0.5rem; margin: 0.4rem 0 0.6rem; }
.redes a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff14;
}
.redes svg { width: 14px; height: 14px; fill: currentColor; }
.contacto-linea { display: flex; gap: 0.4rem; align-items: center; margin-top: 0.35rem; }
.redes[hidden], .contacto-linea[hidden] { display: none !important; }
.pie-legal { grid-column: 1 / -1; border-top: 1px solid #ffffff22; padding-top: 1.2rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 6.5rem; padding-bottom: 8rem; }
  .scene { height: 230px; order: -1; }
  .fan { transform: scale(0.7); }
  .chips { position: static; margin-top: 1.4rem; }
  .bookwrap .stage, .shieldwrap .stage { justify-items: stretch; align-items: stretch; padding: 0; }
  .relato.dis .pantalla, .relato.dis .stage > div:last-child { order: 0; }
  .relato .stage { grid-template-columns: 1fr; padding: 4.2rem 5vw 0.6rem; align-content: center; gap: 0.8rem; }
  .pantalla { height: min(300px, 40svh); }
  .relato-copy { min-height: 148px; }
  .relato-copy h3 { font-size: 1.55rem; }
  .relato-copy p { font-size: 0.92rem; }
  .que-es { padding: 16vh 5vw; }
  .qg {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    height: 100%;
    padding: 4.7rem 4.5vw 0.6rem;
    gap: 0.3rem;
    align-content: start;
    align-items: start;
    overflow: hidden;
  }
  .qg > * { min-width: 0; max-width: 100%; }
  .bookwrap .stage h2 { font-size: 1.65rem; margin-bottom: 0.3rem; text-align: left; }
  .bookwrap .eyebrow { margin-bottom: 0.35rem; }
  .qvis {
    order: -1;
    height: auto;
    min-width: 0;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 210px auto;
    justify-items: center;
    align-items: center;
    overflow: hidden;
    perspective: 900px;
  }
  .stack { margin: 0; z-index: 1; min-width: 0; justify-self: center; }
  .qcard { min-height: 0; max-width: 100%; padding: 0.8rem 0.9rem; }
  .qcard h3 { font-size: 1.2rem; margin: 0.25rem 0 0.35rem; }
  .qcard p { font-size: 0.9rem; line-height: 1.4; }
  .qg .lead { display: block; font-size: 0.92rem; line-height: 1.4; margin-bottom: 0.45rem; }
  .lyr {
    position: relative;
    z-index: 2;
    right: auto;
    bottom: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0;
    align-self: start;
    padding: 0.25rem;
  }
  .lyr button { font-size: 0.72rem; padding: 0.22rem 0.35rem; gap: 0.3rem; }
  .lyr button i { width: 16px; height: 12px; }
  .how { grid-template-columns: minmax(0, 1fr); padding: 5.3rem 4.5vw 0.5rem; gap: 0.35rem; align-content: start; }
  .how > * { min-width: 0; max-width: 100%; }
  .how h2 { font-size: 1.55rem; margin-bottom: 0.35rem; }
  .how .eyebrow { margin-bottom: 0.35rem; }
  .tabs { margin-bottom: 0.45rem; }
  .tabs button { padding: 0.4rem 0.85rem; font-size: 0.85rem; }
  .tabletbox { order: -1; width: 100%; }
  .tablet {
    transform: none;
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    height: clamp(248px, 34svh, 292px);
    border-radius: 20px;
    padding: 8px 8px 8px 16px;
  }
  .paso:not(.on) { display: none; }
  .paso.on p { font-size: 0.9rem; }
  .tablet-screen .toma { justify-content: flex-start; padding: 0.45rem 0.6rem 0.55rem; gap: 0.32rem; }
  .tablet-screen .form-sil, .tablet-screen .lista, .tablet-screen .chat { gap: 0.35rem; }
  .tablet-screen .winbar { font-size: 0.78rem; gap: 0.4rem; }
  .tablet-screen .campo { padding: 0.32rem 0.5rem; gap: 0.2rem; }
  .tablet-screen .campo.alta { min-height: 42px; }
  .tablet-screen .btn-sil { margin-top: 0.1rem; padding: 0.38rem 0.8rem; font-size: 0.8rem; }
  .tablet-screen .tarjeta { grid-template-columns: 72px 1fr; gap: 0.5rem; padding: 0.45rem; }
  .tablet-screen .miniatura { height: 58px; }
  .tablet-screen .fila { padding: 0.35rem 0.5rem; gap: 0.4rem; }
  .tablet-screen .fila .avatar, .tablet-screen .avatar { width: 30px; height: 30px; }
  .tablet-screen .charla { grid-template-columns: 28px 1fr 28px; min-height: 0; gap: 0.25rem; }
  .tablet-screen .silueta { width: 24px; height: 42px; }
  .tablet-screen .silueta::before { left: 3px; width: 16px; height: 16px; }
  .tablet-screen .silueta::after { top: 18px; left: 0; width: 24px; height: 22px; }
  .tablet-screen .burbuja { font-size: 0.78rem; max-width: 100%; padding: 0.4rem 0.5rem; }
  .tablet-screen .archivo { width: min(160px, 52%); }
  .tablet-screen .check { width: 42px; height: 42px; font-size: 1.25rem; }
  .tablet-screen .sello { font-size: 1.45rem; }
  .tablet-screen .modal-sil { padding: 0.6rem; }
  .charla { grid-template-columns: 46px 1fr 46px; min-height: 0; gap: 0.4rem; }
  .silueta { width: 40px; height: 68px; }
  .silueta::before { left: 6px; width: 26px; height: 26px; }
  .silueta::after { top: 30px; left: 0; width: 40px; height: 36px; }
  .burbuja { font-size: 0.82rem; max-width: 11rem; padding: 0.55rem 0.7rem; }
  .stage h2 { left: 5vw; right: 5vw; width: auto; text-align: center; }
  .bookwrap .stage h2 { left: auto; right: auto; text-align: left; }
  .book { width: 760px; height: 500px; margin-right: 0; }
  .pg, .leaf { width: 380px; height: 500px; }
  .shield {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 0.5rem;
    height: 100%;
    padding: 5.3rem 5vw 0.8rem;
    overflow: hidden;
  }
  .shield h2 { font-size: 1.65rem; margin-bottom: 0.3rem; }
  .li { padding: 0.35rem 0 0.35rem 0.75rem; }
  .li h3 { font-size: 1.05rem; }
  .li p { font-size: 0.86rem; line-height: 1.35; }
  .mock {
    display: block;
    transform: none;
    width: min(100%, 250px);
    justify-self: center;
    padding: 0.5rem;
    box-shadow: 0 12px 28px #0004;
  }
  .pie { grid-template-columns: 1fr 1fr; }
  .libro-fondos img { width: 92vw; -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.35) 42%, transparent 78%); mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.35) 42%, transparent 78%); }
}
@media (max-width: 900px) and (max-height: 700px) {
  .qvis { grid-template-rows: 168px auto; }
  .qcard { padding: 0.65rem 0.75rem; }
  .qcard p { font-size: 0.82rem; }
  .tablet { height: clamp(228px, 36svh, 270px); }
  .shield h2 { font-size: 1.4rem; }
  .mock { width: min(100%, 190px); }
}
@media (max-width: 680px) {
  .site-nav .nav-link { display: none; }
  .pie { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .vec path.pth, .libro-fondos img, .li, .toma, .relato-copy article, .fill, .burbuja, .fila, .archivo { transition: none; }
}
