/* =========================================================
   señal · landing provisional
   Paleta 60-30-10: noche (60) · lila digital (30) · verde ácido (10)
   Tipografía: Unbounded (títulos) · Poppins (texto) · Corinthia (acento)
   ========================================================= */

:root {
  --noche: #0B0812;
  --noche-2: #120D1C;
  --panel: #17111F;
  --panel-2: #1E1729;
  --linea: rgba(247, 248, 250, .09);
  --linea-2: rgba(247, 248, 250, .16);

  --lila: #7C3AED;
  --lila-2: #9B6BFF;
  --lila-3: #C9B6FF;
  --lila-hondo: #2A1458;
  --acido: #B8FF3B;
  --acido-oscuro: #8FD11C;
  --hueso: #F7F8FA;
  --gris: #A79FB8;
  --tinta: #141019;

  --f-disp: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --f-txt: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-guion: 'Corinthia', 'Brush Script MT', cursive;

  --pad: clamp(16px, 4.5vw, 56px);
  --max: 1240px;
  --r: 22px;
  --sombra: 0 30px 80px -30px rgba(0, 0, 0, .7);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--noche);
  color: var(--hueso);
  font-family: var(--f-txt);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Grano sutil sobre todo */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--acido); color: var(--tinta); }

.envoltura { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Acento manuscrito (regla del video de subtítulos) ---------- */
.guion {
  font-family: var(--f-guion);
  font-weight: 700;
  font-style: normal;
  color: var(--acido);
  font-size: 1.5em;
  line-height: .5;
  letter-spacing: 0;
  display: inline-block;
  transform: rotate(-5deg) translateY(.08em);
  padding: 0 .06em;
  white-space: nowrap;
}

/* ---------- Logo: la tilde de la ñ es una señal ---------- */
.logo { text-decoration: none; display: inline-flex; }
.logo-txt {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--hueso);
}
.logo-n { position: relative; display: inline-block; }
.tilde {
  position: absolute;
  left: 50%;
  top: -.34em;
  width: .78em;
  transform: translateX(-50%);
  overflow: visible;
}
.tilde path {
  fill: none;
  stroke: var(--acido);
  stroke-width: 4.2;
  stroke-linecap: round;
}

/* ---------- Botones ---------- */
.btn {
  --bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 1em 1.6em;
  border-radius: 999px;
  font-family: var(--f-txt);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid transparent;
  background: var(--bg);
  cursor: pointer;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s;
  will-change: transform;
}
.btn-acido { --bg: var(--acido); color: var(--tinta); box-shadow: 0 10px 40px -12px rgba(184, 255, 59, .55); }
.btn-acido:hover { box-shadow: 0 16px 50px -10px rgba(184, 255, 59, .8); }
.btn-linea { border-color: var(--linea-2); color: var(--hueso); }
.btn-linea:hover { border-color: var(--lila-2); background: rgba(124, 58, 237, .15); }
.btn-chico { padding: .75em 1.2em; font-size: .9rem; }
.btn-grande { padding: 1.2em 2.1em; font-size: 1.12rem; }
.btn:focus-visible, .pers:focus-visible, a:focus-visible { outline: 2px solid var(--acido); outline-offset: 3px; }

/* ---------- Entrada ---------- */
.intro { display: none; }
.js .intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 100;
  background: var(--lila);
}
/* Salvavidas: si algo falla, la cortina se va sola */
.js .intro { animation: salvavidas 0s 4s forwards; }
@keyframes salvavidas { to { visibility: hidden; } }
.intro .logo-txt { font-size: clamp(3rem, 12vw, 7rem); color: var(--hueso); }
.intro .tilde path { stroke-dasharray: 60; stroke-dashoffset: 60; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .js .cursor {
    display: block;
    position: fixed; top: 0; left: 0; z-index: 95;
    width: 38px; height: 38px; margin: -19px 0 0 -19px;
    border: 1.5px solid rgba(201, 182, 255, .55);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s;
  }
  .js .cursor span {
    position: absolute; left: 50%; top: 50%;
    width: 6px; height: 6px; margin: -3px 0 0 -3px;
    border-radius: 50%; background: var(--acido);
  }
  .js .cursor.vivo { opacity: 1; }
  .js .cursor.sobre { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(184, 255, 59, .12); border-color: var(--acido); }
}

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 1180px);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 10px 10px 10px 22px;
  border: 1px solid var(--linea);
  border-radius: 999px;
  background: rgba(11, 8, 18, .55);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  transition: background .3s, border-color .3s;
}
.nav.compacta { background: rgba(11, 8, 18, .82); border-color: var(--linea-2); }
.nav .logo-txt { font-size: 1.3rem; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; font-size: .9rem; color: var(--gris); transition: color .2s; }
.nav-links a:hover { color: var(--hueso); }
@media (max-width: 900px) { .nav-links { display: none; } }

/* ---------- Portada ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 90px;
  overflow: hidden;
}
.hero-fondo { position: absolute; inset: 0; pointer-events: none; }
.mancha { position: absolute; border-radius: 50%; filter: blur(90px); }
.mancha-lila { width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; right: -18vw; top: -22vw; background: radial-gradient(circle, rgba(124, 58, 237, .75), rgba(124, 58, 237, 0) 68%); }
.mancha-acido { width: 26vw; height: 26vw; max-width: 380px; max-height: 380px; left: 6vw; bottom: -8vw; background: radial-gradient(circle, rgba(184, 255, 59, .28), rgba(184, 255, 59, 0) 70%); }
.cuadricula {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--linea) 1px, transparent 1px),
    linear-gradient(90deg, var(--linea) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  opacity: .55;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}
.ceja {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--linea-2);
  border-radius: 999px;
  font-size: .82rem; font-weight: 500; letter-spacing: .02em;
  color: var(--lila-3);
  background: rgba(124, 58, 237, .12);
}
.punto { width: 8px; height: 8px; border-radius: 50%; background: var(--acido); box-shadow: 0 0 0 0 rgba(184, 255, 59, .7); animation: late 2s infinite; }
@keyframes late { 70% { box-shadow: 0 0 0 10px rgba(184, 255, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(184, 255, 59, 0); } }

.hero-titulo {
  margin-top: 26px;
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: clamp(2.3rem, 5.3vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.hero-titulo .linea { display: block; }
.hero-titulo .guion { font-size: 1.55em; margin: 0 .04em; text-shadow: 0 0 40px rgba(184, 255, 59, .35); }
.hero-bajada { margin-top: 26px; max-width: 560px; color: var(--gris); font-size: clamp(1rem, 1.3vw, 1.12rem); }
.hero-bajada strong { color: var(--hueso); font-weight: 600; }
.hero-acciones { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-nota { margin-top: 16px; font-size: .85rem; color: var(--gris); opacity: .8; }

/* Teléfono con reel */
.hero-visual { position: relative; justify-self: center; width: min(100%, 330px); }
.telefono {
  position: relative;
  aspect-ratio: 9 / 18.6;
  border-radius: 46px;
  padding: 11px;
  background: linear-gradient(145deg, #2b2236, #0d0a13 60%);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .08), var(--sombra), 0 0 120px -20px rgba(124, 58, 237, .6);
  transform: rotate(4deg);
}
.telefono-pantalla { position: relative; height: 100%; border-radius: 36px; overflow: hidden; }
.reel { background: linear-gradient(170deg, #5b22c9 0%, #7C3AED 45%, #2A1458 100%); }
.reel-fondo i { position: absolute; border-radius: 50%; filter: blur(30px); }
.reel-fondo i:nth-child(1) { width: 70%; height: 40%; left: -20%; top: 10%; background: rgba(184, 255, 59, .25); animation: flota 9s ease-in-out infinite; }
.reel-fondo i:nth-child(2) { width: 60%; height: 35%; right: -25%; top: 45%; background: rgba(255, 255, 255, .18); animation: flota 11s ease-in-out infinite reverse; }
.reel-fondo i:nth-child(3) { width: 80%; height: 30%; left: 10%; bottom: -10%; background: rgba(11, 8, 18, .6); }
@keyframes flota { 50% { transform: translate(18px, -24px) scale(1.08); } }
.reel-top { position: absolute; top: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: .95rem; }
.reel-top svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; }
.subtitulos {
  position: absolute; left: 10px; right: 10px; top: 42%;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  transform: translateY(-50%);
}
.sub-linea { display: block; }
.sub-sans { font-family: var(--f-txt); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.1; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.sub-guion { font-family: var(--f-guion); font-weight: 700; font-size: 3.2rem; line-height: .9; color: var(--acido); transform: rotate(-4deg); margin-top: .02em; text-shadow: 0 4px 24px rgba(0, 0, 0, .3); }
.sub-palabra { display: inline-block; }
.reel-lado { position: absolute; right: 12px; bottom: 108px; display: flex; flex-direction: column; gap: 16px; align-items: center; font-size: .7rem; font-weight: 600; }
.reel-lado span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.reel-lado svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.reel-lado span:first-child svg { fill: #ff3d71; stroke: #ff3d71; }
.reel-pie { position: absolute; left: 16px; right: 56px; bottom: 18px; font-size: .78rem; }
.reel-cuenta { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.reel-cuenta .avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--acido); color: var(--tinta); font-family: var(--f-disp); font-size: .62rem; font-weight: 800; }
.reel-cuenta b { border: 1px solid rgba(255, 255, 255, .6); border-radius: 7px; padding: 2px 8px; font-size: .7rem; }
.reel-pie p { margin-top: 6px; opacity: .9; line-height: 1.35; }
.reel-barra { margin-top: 10px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.reel-barra i { display: block; height: 100%; width: 0; background: #fff; animation: progreso 12s linear infinite; }
@keyframes progreso { to { width: 100%; } }

.chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  max-width: 250px;
  padding: 10px 14px 10px 10px;
  border-radius: 18px;
  font-size: .78rem; line-height: 1.3;
  color: var(--tinta);
  background: #fff;
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .55);
}
.chip b { display: block; font-size: .72rem; color: #5d5470; font-weight: 600; }
.chip-ico { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; }
.chip-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-ico.wa { background: #25D366; color: #fff; }
.chip-ico.wa svg { fill: #fff; stroke: none; }
.chip-ico.bot { background: var(--lila); color: #fff; }
.chip-ico.play { background: var(--acido); color: var(--tinta); }
.chip-ico.play svg { fill: var(--tinta); stroke: none; }
.chip-1 { top: 11%; left: -24%; }
.chip-2 { top: 47%; right: -18%; background: var(--panel-2); color: var(--hueso); border: 1px solid var(--linea-2); }
.chip-2 b { color: var(--acido); }
.chip-3 { bottom: 9%; left: -22%; }

.bajar { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--linea-2); border-radius: 20px; }
.bajar span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--acido); animation: rueda 1.8s infinite; }
@keyframes rueda { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 980px) {
  .hero { padding-top: 110px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: min(74vw, 300px); margin-top: 20px; }
  .chip { max-width: 210px; font-size: .74rem; }
  .chip-1 { left: -30%; }
  .chip-2 { right: -26%; }
  .chip-3 { left: -24%; }
  .bajar { display: none; }
}
@media (max-width: 520px) {
  .chip-1 { left: -14%; top: 6%; }
  .chip-2 { right: -12%; }
  .chip-3 { left: -10%; bottom: 4%; }
}

/* ---------- Cintas cruzadas ---------- */
.cintas { position: relative; height: 190px; overflow: hidden; margin: -20px 0; }
.cinta { position: absolute; left: -5%; width: 110%; padding: 16px 0; overflow: hidden; }
.cinta-acido { top: 40px; background: var(--acido); color: var(--tinta); transform: rotate(-3deg); z-index: 2; }
.cinta-lila { top: 70px; background: var(--lila); color: var(--hueso); transform: rotate(2.5deg); }
.cinta-pista { display: flex; width: max-content; gap: 28px; align-items: center; animation: cinta 34s linear infinite; }
.cinta-lila .cinta-pista { animation-direction: reverse; animation-duration: 40s; }
.cinta span { font-family: var(--f-disp); font-weight: 700; font-size: clamp(1rem, 2vw, 1.5rem); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.cinta i { font-style: normal; font-size: 1.1rem; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.seccion { position: relative; padding: clamp(84px, 11vw, 150px) 0; }
.etiqueta {
  display: inline-block;
  font-family: var(--f-disp); font-weight: 500;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--acido);
  margin-bottom: 22px;
}
.titulo-seccion {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  max-width: 15ch;
}
.titulo-seccion .guion { font-size: 1.5em; }
.intro-seccion { margin-top: 22px; max-width: 620px; color: var(--gris); font-size: 1.08rem; }
.intro-seccion b { color: var(--hueso); }

/* Cifras */
.cifras { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cifra {
  position: relative;
  padding: 28px 24px 22px;
  border: 1px solid var(--linea);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(124, 58, 237, .14), rgba(124, 58, 237, 0) 70%), var(--panel);
  overflow: hidden;
}
.cifra-num { font-family: var(--f-disp); font-weight: 800; font-size: clamp(2.4rem, 4.4vw, 3.8rem); line-height: 1; letter-spacing: -.04em; color: var(--hueso); }
.cifra-txt { margin-top: 14px; font-size: .98rem; color: var(--hueso); opacity: .88; }
.fuente { margin-top: 18px; font-size: .72rem; letter-spacing: .04em; color: var(--gris); text-transform: uppercase; }
.cifra-alerta { background: linear-gradient(180deg, rgba(184, 255, 59, .11), rgba(184, 255, 59, 0) 70%), var(--panel); }
.cifra-alerta .cifra-num { color: var(--acido); }
.hueco { margin-top: 48px; max-width: 760px; font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--gris); }
.hueco strong { color: var(--hueso); }
@media (max-width: 980px) { .cifras { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cifras { grid-template-columns: 1fr; } }

/* Manifiesto */
.manifiesto { padding: clamp(60px, 9vw, 120px) 0; border-block: 1px solid var(--linea); background: var(--noche-2); }
.manifiesto-txt {
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: clamp(1.7rem, 4.4vw, 3.7rem);
  line-height: 1.16;
  letter-spacing: -.03em;
}
.m-acido { color: var(--acido); }
.m-lila { color: var(--lila-2); }
.js .manifiesto-txt .palabra { opacity: .14; }

/* Bento */
.bento {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.tarjeta {
  --mx: 50%; --my: 50%;
  position: relative;
  grid-column: span 2;
  padding: 26px;
  border: 1px solid var(--linea);
  border-radius: var(--r);
  background: var(--panel);
  overflow: hidden;
  isolation: isolate;
  transition: border-color .3s, transform .4s var(--ease);
}
.tarjeta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(124, 58, 237, .28), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.tarjeta:hover { border-color: rgba(155, 107, 255, .45); }
.tarjeta:hover::before { opacity: 1; }
.t-video, .t-bot { grid-column: span 4; }
.t-marca, .t-precio { grid-column: span 3; }
.tarjeta h3 { margin-top: 22px; font-family: var(--f-disp); font-weight: 700; font-size: 1.22rem; line-height: 1.2; letter-spacing: -.02em; }
.tarjeta p { margin-top: 10px; color: var(--gris); font-size: .97rem; }
.t-visual { height: 150px; border-radius: 16px; display: grid; place-items: center; background: var(--noche-2); border: 1px solid var(--linea); overflow: hidden; position: relative; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .tarjeta, .t-video, .t-bot, .t-marca, .t-precio { grid-column: span 1; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } }

.mini-reel { width: 92px; height: 132px; border-radius: 14px; background: linear-gradient(170deg, #5b22c9, #2A1458); display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 10px 30px -8px rgba(124, 58, 237, .8); }
.mr-sans { font-weight: 700; font-size: .7rem; }
.mr-guion { font-family: var(--f-guion); font-weight: 700; font-size: 1.9rem; line-height: .8; color: var(--acido); transform: rotate(-5deg); }

.flujo { display: flex; align-items: center; gap: 10px; }
.f-caja { padding: 10px 14px; border-radius: 12px; font-weight: 600; font-size: .85rem; background: var(--lila); }
.f-wa { background: #25D366; color: #06210f; }
.f-flecha { width: 64px; height: 2px; background: repeating-linear-gradient(90deg, var(--acido) 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: corre 1s linear infinite; position: relative; }
.f-flecha::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: var(--acido); }
@keyframes corre { to { background-position: 28px 0; } }

.mini-web { width: 70%; height: 112px; border-radius: 10px; background: #f7f8fa; position: relative; padding: 20px 12px 10px; }
.mini-web i { position: absolute; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: #d9d4e2; }
.mini-web i:nth-child(1) { left: 8px; } .mini-web i:nth-child(2) { left: 18px; } .mini-web i:nth-child(3) { left: 28px; }
.mini-web b { display: block; width: 70%; height: 12px; border-radius: 4px; background: var(--lila); }
.mini-web span { display: block; margin-top: 7px; width: 90%; height: 6px; border-radius: 4px; background: #d9d4e2; }
.mini-web span + span { width: 60%; }
.mini-web em { position: absolute; left: 12px; bottom: 10px; font-style: normal; font-size: .62rem; font-weight: 700; color: var(--tinta); background: var(--acido); padding: 5px 10px; border-radius: 999px; }

.chat { width: 82%; display: flex; flex-direction: column; gap: 7px; }
.burbuja { max-width: 80%; padding: 7px 11px; border-radius: 14px; font-size: .74rem; line-height: 1.25; }
.b-cliente { align-self: flex-end; background: #005c4b; color: #e9fff8; border-bottom-right-radius: 4px; }
.b-bot { align-self: flex-start; background: var(--panel-2); border: 1px solid var(--linea-2); border-bottom-left-radius: 4px; }
.escribiendo { display: flex; gap: 4px; padding: 10px 12px; }
.escribiendo i { width: 6px; height: 6px; border-radius: 50%; background: var(--acido); animation: escribe 1.2s infinite; }
.escribiendo i:nth-child(2) { animation-delay: .15s; } .escribiendo i:nth-child(3) { animation-delay: .3s; }
@keyframes escribe { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.barra-603010 { display: flex; width: 78%; height: 46px; border-radius: 12px; overflow: hidden; }
.barra-603010 span { width: var(--p); }
.barra-603010 span:nth-child(1) { background: var(--noche); border: 1px solid var(--linea-2); border-radius: 12px 0 0 12px; }
.barra-603010 span:nth-child(2) { background: var(--lila); }
.barra-603010 span:nth-child(3) { background: var(--acido); }

.signo { font-family: var(--f-disp); font-weight: 800; font-size: 6rem; line-height: 1; color: var(--acido); text-shadow: 0 0 50px rgba(184, 255, 59, .4); }

/* ---------- Tu marca ---------- */
.marca { background: radial-gradient(ellipse 60% 50% at 80% 40%, rgba(124, 58, 237, .16), transparent 70%); }
.marca-grid { margin-top: 56px; display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
.personalidades { display: flex; flex-direction: column; gap: 10px; }
.pers {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  padding: 12px 16px 12px 12px;
  border: 1px solid var(--linea);
  border-radius: 16px;
  background: var(--panel);
  color: var(--hueso);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .25s, background .25s, transform .3s var(--ease);
}
.pers:hover { border-color: var(--linea-2); transform: translateX(4px); }
.pers.activo { border-color: var(--acido); background: var(--panel-2); }
.pers-col { display: flex; flex: none; }
.pers-col i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--panel); }
.pers-col i + i { margin-left: -9px; }
.pers-txt b { display: block; font-size: .95rem; font-weight: 600; }
.pers-txt small { color: var(--gris); font-size: .78rem; }

.regla { margin-top: 14px; padding: 18px; border: 1px dashed var(--linea-2); border-radius: 16px; }
.regla-tit { font-family: var(--f-disp); font-weight: 700; font-size: .85rem; letter-spacing: .06em; }
.regla-barra { margin-top: 12px; display: flex; height: 34px; border-radius: 10px; overflow: hidden; font-size: .7rem; font-weight: 700; }
.regla-barra span { display: grid; place-items: center; transition: background .5s, color .5s; }
.r60 { width: 60%; background: var(--b); color: var(--tb); border: 1px solid var(--linea-2); border-radius: 10px 0 0 10px; }
.r30 { width: 30%; background: var(--s); color: var(--ts); }
.r10 { width: 10%; background: var(--a); color: var(--ta); }
.regla-txt { margin-top: 12px; font-size: .84rem; color: var(--gris); line-height: 1.5; }
.regla-txt b { color: var(--hueso); }

/* Variables de la paleta activa: las ponen JS y estos valores por defecto */
.marca-grid {
  --b: #111014; --s: #7C3AED; --a: #B8FF3B;
  --tb: #F7F8FA; --ts: #FFFFFF; --ta: #141019;
  --sub: rgba(247, 248, 250, .6);
  --acento-txt: #B8FF3B;
}
.tablero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; }
.tablero-nota { grid-column: 1 / -1; font-size: .75rem; color: var(--gris); opacity: .75; }

.ig {
  border-radius: 28px;
  padding: 16px 14px 14px;
  background: var(--b);
  color: var(--tb);
  border: 1px solid var(--linea-2);
  box-shadow: var(--sombra);
  font-size: .78rem;
  transition: background .5s, color .5s;
}
.ig-barra { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; font-size: .9rem; }
.ig-cabeza { margin-top: 14px; display: flex; align-items: center; gap: 14px; }
.ig-avatar {
  flex: none; width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--s);
  box-shadow: 0 0 0 3px var(--b), 0 0 0 5.5px var(--a);
  transition: background .5s, box-shadow .5s;
}
.ig-avatar .wm { font-size: .72rem; color: var(--ts); }
.ig-num { flex: 1; display: flex; justify-content: space-around; text-align: center; }
.ig-num p { display: flex; flex-direction: column; font-size: .68rem; color: var(--sub); }
.ig-num b { font-size: .95rem; color: var(--tb); }
.ig-bio { margin-top: 10px; display: flex; flex-direction: column; line-height: 1.4; }
.ig-bio .ig-cat { color: var(--acento-txt, var(--a)); }
.ig-hist { margin-top: 12px; display: flex; justify-content: space-between; gap: 6px; }
.ig-hist span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .62rem; }
.ig-hist i { width: 42px; height: 42px; border-radius: 50%; background: var(--s); box-shadow: 0 0 0 2px var(--b), 0 0 0 3.5px var(--sub); transition: background .5s; }
.ig-hist i.h2 { background: var(--a); }
.ig-hist i.h3 { background: var(--tb); }
.ig-cuadros { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; border-radius: 8px; overflow: hidden; }
.cu {
  aspect-ratio: 1;
  padding: 9px;
  display: flex; flex-direction: column; justify-content: center;
  font-size: .62rem; line-height: 1.25;
  position: relative; overflow: hidden;
  transition: background .5s, color .5s;
}
.cu p { margin: 0; }
.cu b { color: var(--a); font-weight: 700; }
.cu small { position: absolute; bottom: 7px; left: 9px; font-size: .5rem; font-weight: 700; opacity: .8; }
.cu-sec { background: var(--s); color: var(--ts); }
.cu-base { background: var(--b); color: var(--tb); border: 1px solid rgba(127, 127, 127, .18); }
.cu-base b { color: var(--acento-txt, var(--a)); }
.cu-acento { background: var(--a); color: var(--ta); align-items: center; }
.cu-foto { background: radial-gradient(circle at 30% 30%, var(--a) 0 8%, transparent 9%), linear-gradient(135deg, var(--s), #000 140%); justify-content: flex-end; }
.cu-foto.f2 { background: radial-gradient(circle at 70% 60%, var(--tb) 0 14%, transparent 15%), linear-gradient(200deg, var(--a), var(--s) 70%); }
.cu-wm { font-family: var(--f-disp); font-weight: 800; font-size: .66rem; color: var(--a); letter-spacing: -.02em; }
.cu-mini { font-size: .5rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; margin-bottom: 4px !important; }
.cu ol { margin: 0; padding-left: 12px; font-size: .56rem; }
.cu-big { font-family: var(--f-disp); font-size: 1.9rem; font-weight: 800; line-height: 1; color: var(--acento-txt, var(--a)); }
.cu-logo { font-family: var(--f-disp); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.cu-comillas { font-family: var(--f-guion); font-size: 2.6rem; line-height: .5; color: var(--a); }
.wm { font-family: var(--f-disp); font-weight: 800; letter-spacing: -.035em; line-height: 1; }

.piezas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.pieza {
  position: relative;
  min-height: 140px;
  padding: 14px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: background .5s, color .5s;
}
.pieza > small { position: absolute; top: 10px; left: 12px; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.p-logo { grid-column: 1 / -1; background: #F7F8FA; color: var(--s-txt, var(--s)); }
.p-logo .grande { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.p-sub { background: var(--a); color: var(--ta); }
.sello { width: 104px; height: 104px; animation: gira 18s linear infinite; }
.sello text { font-family: var(--f-txt); font-weight: 700; font-size: 9.5px; letter-spacing: 2.2px; fill: currentColor; }
.sello-letra { position: absolute; font-family: var(--f-disp); font-weight: 800; font-size: 2rem; }
@keyframes gira { to { transform: rotate(360deg); } }
.p-tarjeta {
  background: var(--s); color: var(--ts);
  flex-direction: column; gap: 6px;
  transform: rotate(-4deg) scale(.92);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7);
}
.p-tarjeta .wm { font-size: 1.15rem; }
.p-tarjeta small { font-size: .62rem; opacity: .8; }
.p-tipo { grid-column: 1 / -1; background: var(--panel); border: 1px solid var(--linea); flex-direction: column; align-items: flex-start; justify-content: flex-end; padding-top: 34px; }
.tipo-a { font-family: var(--f-txt); font-weight: 700; font-size: 1.6rem; line-height: 1.1; }
.tipo-b { font-family: var(--f-guion); font-weight: 700; font-size: 2.6rem; line-height: .8; color: var(--a-txt-oscuro, var(--a)); transform: rotate(-3deg); margin: 2px 0 8px; }
.tipo-abc { font-size: .66rem; letter-spacing: .12em; color: var(--gris); word-break: break-all; }

@media (max-width: 1100px) { .marca-grid { grid-template-columns: 1fr; } .personalidades { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); } .regla { grid-column: 1 / -1; } }
@media (max-width: 760px) { .tablero { grid-template-columns: 1fr; } }

/* ---------- Portafolio ---------- */
.portafolio { position: relative; padding: clamp(84px, 11vw, 150px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.porta-pista {
  margin-top: 56px;
  display: flex; gap: 28px;
  padding: 0 var(--pad);
  width: max-content;
}
.proyecto {
  width: min(78vw, 980px);
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: center;
  padding: 22px;
  border: 1px solid var(--linea);
  border-radius: 28px;
  background: var(--panel);
}
.pr-imagen { position: relative; padding: 0 0 26px 0; }
.navegador { border-radius: 14px; overflow: hidden; border: 1px solid var(--linea-2); background: #0e0b14; box-shadow: var(--sombra); }
.nav-puntos { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #1b1524; }
.nav-puntos i { width: 9px; height: 9px; border-radius: 50%; background: #3a3247; }
.nav-puntos i:nth-child(1) { background: #ff5f57; } .nav-puntos i:nth-child(2) { background: #febc2e; } .nav-puntos i:nth-child(3) { background: #28c840; }
.nav-puntos span { margin-left: 10px; padding: 3px 12px; border-radius: 6px; background: #0e0b14; font-size: .68rem; color: var(--gris); }
.navegador img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.cel {
  position: absolute; right: -14px; bottom: 0;
  width: 26%;
  border-radius: 20px; padding: 5px;
  background: #0b0812;
  border: 1px solid var(--linea-2);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .8);
}
.cel img { border-radius: 15px; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.pr-num { font-family: var(--f-disp); font-weight: 800; font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--lila-2); }
.pr-info h3 { margin-top: 10px; font-family: var(--f-disp); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -.03em; line-height: 1.05; }
.pr-giro { margin-top: 12px; color: var(--gris); }
.pr-chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pr-chips li { padding: 6px 12px; border-radius: 999px; font-size: .78rem; border: 1px solid var(--linea-2); color: var(--lila-3); }
.pr-liga { display: inline-block; margin-top: 22px; font-weight: 600; color: var(--acido); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

/* Escritorio: la sección se fija y los proyectos corren de lado */
@media (min-width: 900px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  .js .portafolio { min-height: 100vh; padding: 96px 0 40px; display: flex; flex-direction: column; justify-content: center; }
  .js .portafolio .titulo-seccion { max-width: none; }
  .js .portafolio .intro-seccion { margin-top: 12px; }
  .js .porta-pista { margin-top: 36px; }
  .js .proyecto { width: min(68vw, 880px); }
}
@media (max-width: 899px) {
  .porta-pista { width: auto; flex-direction: column; padding: 0 var(--pad); }
  .proyecto { width: 100%; grid-template-columns: 1fr; padding: 16px; }
  .cel { right: -6px; width: 28%; }
}

/* ---------- Precios ---------- */
.precios { background: linear-gradient(180deg, var(--noche) 0%, var(--noche-2) 100%); }
.unicos { margin-top: 54px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; }
.unico {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 22px;
  padding: 30px;
  border-radius: var(--r);
  border: 1px solid var(--linea);
  background: var(--panel);
}
.unico-bot { background: linear-gradient(135deg, rgba(124, 58, 237, .35), rgba(124, 58, 237, .05)), var(--panel); border-color: rgba(155, 107, 255, .35); }
.unico-tipo { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--acido); font-weight: 600; }
.unico h3 { margin-top: 8px; font-family: var(--f-disp); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; }
.unico p:not(.unico-tipo):not(.monto) { margin-top: 8px; color: var(--gris); font-size: .95rem; max-width: 30ch; }
.monto { font-family: var(--f-disp); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.04em; white-space: nowrap; }
.monto small { font-size: .5em; vertical-align: .55em; margin-right: 2px; }
.monto span { display: block; margin-top: 6px; font-family: var(--f-txt); font-size: .78rem; font-weight: 500; letter-spacing: 0; color: var(--gris); text-align: right; }
.monto-doble { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.monto-chico { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--acido); }
@media (max-width: 820px) { .unicos { grid-template-columns: 1fr; } .unico { flex-direction: column; align-items: flex-start; } .monto span { text-align: left; } .monto-doble { align-items: flex-start; } }

.sub-precios { margin-top: 70px; font-family: var(--f-disp); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; }
.planes { margin-top: 22px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: stretch; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 24px 20px 20px;
  border-radius: var(--r);
  border: 1px solid var(--linea);
  background: var(--panel);
  transition: transform .4s var(--ease), border-color .3s;
}
.plan:hover { transform: translateY(-6px); border-color: var(--linea-2); }
.plan-escalon { display: flex; gap: 4px; }
.plan-escalon i { flex: 1; height: 5px; border-radius: 4px; background: var(--linea-2); }
.plan[style*="--nivel:1"] .plan-escalon i:nth-child(-n+1),
.plan[style*="--nivel:2"] .plan-escalon i:nth-child(-n+2),
.plan[style*="--nivel:3"] .plan-escalon i:nth-child(-n+3),
.plan[style*="--nivel:4"] .plan-escalon i:nth-child(-n+4),
.plan[style*="--nivel:5"] .plan-escalon i { background: var(--lila-2); }
.plan-nombre { margin-top: 18px; font-weight: 600; font-size: .95rem; color: var(--lila-3); }
.plan-monto { margin-top: 6px; font-family: var(--f-disp); font-weight: 800; font-size: 2.2rem; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.plan-monto small { font-size: .5em; vertical-align: .6em; }
.plan-monto span { font-family: var(--f-txt); font-size: .85rem; font-weight: 500; letter-spacing: 0; color: var(--gris); margin-left: 2px; }
.plan ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li { position: relative; padding-left: 22px; font-size: .88rem; color: var(--gris); line-height: 1.4; }
.plan li b { color: var(--hueso); font-weight: 600; }
.plan li::before { content: ""; position: absolute; left: 0; top: .35em; width: 12px; height: 7px; border-left: 2px solid var(--acido); border-bottom: 2px solid var(--acido); transform: rotate(-45deg); }
.plan-eq { margin-top: 16px; font-size: .78rem; color: var(--gris); border-top: 1px dashed var(--linea-2); padding-top: 12px; }
.plan .btn { margin-top: 16px; width: 100%; padding: .85em 1em; font-size: .92rem; }
.plan-destacado { border-color: var(--acido); background: linear-gradient(180deg, rgba(184, 255, 59, .08), transparent 40%), var(--panel-2); box-shadow: 0 30px 70px -30px rgba(184, 255, 59, .35); }
.plan-destacado .plan-escalon i:nth-child(-n+4) { background: var(--acido); }
.plan-sello { position: absolute; top: -12px; right: 16px; padding: 5px 12px; border-radius: 999px; font-size: .7rem; font-weight: 700; color: var(--tinta); background: var(--acido); }
@media (max-width: 1100px) { .planes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .planes { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 4px 18px; margin-left: -4px; margin-right: -4px; }
  .plan { scroll-snap-align: start; }
}
.letra-chica { margin-top: 34px; font-size: .8rem; color: var(--gris); line-height: 1.6; max-width: 780px; }

/* ---------- Pasos ---------- */
.pasos-lista { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: paso; }
.pasos-lista li { padding: 28px; border-radius: var(--r); border: 1px solid var(--linea); background: var(--panel); }
.paso-num { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--lila); font-family: var(--f-disp); font-weight: 800; font-size: 1.4rem; }
.pasos-lista li:nth-child(2) .paso-num { background: var(--acido); color: var(--tinta); }
.pasos-lista li:nth-child(3) .paso-num { background: var(--hueso); color: var(--tinta); }
.pasos-lista h3 { margin-top: 20px; font-family: var(--f-disp); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.pasos-lista p { margin-top: 8px; color: var(--gris); font-size: .96rem; }
@media (max-width: 820px) { .pasos-lista { grid-template-columns: 1fr; } }

/* ---------- Cierre ---------- */
.cierre { position: relative; padding: clamp(100px, 14vw, 190px) 0; text-align: center; overflow: hidden; background: var(--lila); }
.cierre-fondo .mancha-lila { right: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 90vw; height: 90vw; background: radial-gradient(circle, rgba(42, 20, 88, .9), rgba(42, 20, 88, 0) 65%); }
.cierre .envoltura { position: relative; }
.cierre-pre { font-family: var(--f-disp); font-weight: 700; font-size: clamp(1.3rem, 3vw, 2.2rem); letter-spacing: -.02em; }
.cierre-titulo { margin-top: 6px; font-family: var(--f-disp); font-weight: 800; font-size: clamp(2.3rem, 7vw, 6rem); line-height: 1.05; letter-spacing: -.04em; }
.cierre-titulo .guion { font-size: 1.45em; }
.cierre .btn { margin-top: 46px; }
.cierre-nota { margin-top: 16px; font-size: .85rem; opacity: .8; }

/* ---------- Pie ---------- */
.pie { padding: 40px 0; border-top: 1px solid var(--linea); }
.pie-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; color: var(--gris); font-size: .88rem; }

/* ---------- Sin JS o movimiento reducido: todo visible ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .intro { display: none; }
  .js .manifiesto-txt .palabra { opacity: 1; }
}
