/* === NORLIA.AI — V2 LAYER (carga después de norlia.css) === */
/* Sustituye a motion-pack.css. Fondo negro fijo, bandas bone por sección,
   palabras gigantes en parallax, hero animado y chats que se escriben solos. */

/* ─── NAV: transparente → blur al scroll, invierte color sobre bone ─── */
.nav { background: transparent; border-bottom-color: transparent;
  transition: background .4s ease, border-color .4s ease, color .4s ease; }
.nav.v2-scrolled { background: rgba(10,10,10,.78); border-bottom-color: var(--bone-10);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav.v2-onbone { color: var(--black); }
.nav.v2-onbone.v2-scrolled { background: rgba(250,250,246,.82); border-bottom-color: var(--black-10); }
.nav.v2-onbone .nav__logo, .nav.v2-onbone .nav__links a { color: var(--black); }
.nav.v2-onbone .nav__links a:not(.active):not(:hover) { color: rgba(10,10,10,.55); }
.nav.v2-onbone .nav__lang button { color: rgba(10,10,10,.55); }
.nav.v2-onbone .nav__lang button.active { color: var(--signal); }
.nav.v2-onbone .nav__burger span { background: var(--black); }
.nav.open, .nav.open.v2-onbone { background: var(--black); color: var(--bone); }
.nav.open .nav__logo, .nav.open .nav__links a, .nav.open.v2-onbone .nav__links a { color: var(--bone); }
.nav.open .nav__burger span { background: var(--bone); }
main { padding-top: 0; }

/* ─── PALABRAS GIGANTES EN PARALLAX ─── */
.v2-words { position: fixed; inset: 0; overflow: hidden; pointer-events: none;
  user-select: none; z-index: 0; }
.v2-word { position: absolute; font-family: var(--f-brand); line-height: 1;
  letter-spacing: -.02em; white-space: nowrap; color: rgba(250,250,246,.045);
  will-change: transform; }
.v2-word--signal { color: rgba(255,87,34,.07); }
.v2-word--r { right: -.04em; } .v2-word--l { left: -.04em; }
main, .footer { position: relative; z-index: 1; }

/* ─── SECCIONES ─── */
.v2-sec { padding: var(--pad-y) 0; position: relative; }
.v2-sec--bone { background: var(--bone); color: var(--black); }
.v2-sec--tight { padding-top: var(--pad-y-sm); padding-bottom: var(--pad-y-sm); }
.v2-in { max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.v2-sec--bone .label { color: var(--signal); }
.v2-sec--bone .body-lg, .v2-sec--bone .dim { color: rgba(10,10,10,.65); }
.v2-sec--bone .status-item { border-bottom-color: var(--black-10); }
.v2-sec--bone .btn--ghost { color: var(--black); border-color: rgba(10,10,10,.22); }
.v2-sec--bone .btn--ghost:hover { color: var(--bone); background: var(--black); border-color: var(--black); }
.v2-sec--bone .compare th, .v2-sec--bone .compare td { border-bottom-color: var(--black-10); }

.v2-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; }
.v2-split--start { align-items: start; }
.v2-split--even { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.v2-split p { margin: 0; }
.v2-copy { font-size: clamp(15px, 1.3vw, 17px); line-height: 1.7; color: var(--bone-50); }
.v2-sec--bone .v2-copy { color: rgba(10,10,10,.65); }
.v2-copy + .v2-copy { margin-top: 16px; }
.v2-stack { display: flex; flex-direction: column; gap: 16px; }

/* Títulos más grandes que la escala base */
.v2-d1 { font-family: var(--f-disp); font-weight: 900; text-transform: uppercase;
  font-size: clamp(43px, 7.1vw, 102px); line-height: .88; letter-spacing: -.02em; }
.v2-d2 { font-family: var(--f-disp); font-weight: 900; text-transform: uppercase;
  font-size: clamp(31px, 4.6vw, 62px); line-height: .9; letter-spacing: -.02em; }
.v2-d3 { font-family: var(--f-disp); font-weight: 900; text-transform: uppercase;
  font-size: clamp(25px, 3.3vw, 43px); line-height: .9; letter-spacing: -.02em; }
.v2-sig { color: var(--signal); }

/* ─── HERO ─── */
.v2-hero { min-height: 100vh; min-height: 100svh; display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 420px); gap: 64px;
  align-items: center; padding: calc(var(--nav-h) + 72px) var(--gutter) 80px;
  max-width: 1360px; margin: 0 auto; }
.v2-hero .label { margin-bottom: 36px; }
.v2-hero h1 { margin-bottom: 32px; max-width: 900px; }
.v2-hero .body-lg { max-width: 520px; margin-bottom: 44px; }
.v2-hero__foot { margin-top: 40px; font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--bone-50); }
/* entrada palabra a palabra (el JS envuelve cada palabra en .v2-w) */
.v2-w { display: inline-block; }
body.fx2 .v2-w { opacity: 0; transform: translateY(.6em) rotate(2deg);
  animation: v2-wordIn .9s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes v2-wordIn { to { opacity: 1; transform: none; } }
body.fx2 .v2-fade { opacity: 0; animation: v2-fadeUp .9s ease forwards; }
@keyframes v2-fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ─── TELÉFONO / CHAT QUE SE ESCRIBE SOLO ─── */
.v2-phone { border: 1px solid rgba(250,250,246,.12); border-radius: 28px;
  background: #0f0f0e; padding: 12px; box-shadow: 0 40px 80px rgba(0,0,0,.6); }
.v2-phone__screen { border-radius: 20px; overflow: hidden; background: var(--black);
  display: flex; flex-direction: column; height: 560px; color: var(--bone); }
.v2-phone__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  border-bottom: 1px solid var(--bone-10); }
.v2-phone__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--signal);
  display: grid; place-items: center; font-family: var(--f-disp); font-weight: 700; font-size: 13px; }
.v2-phone__name { font-size: 14px; font-weight: 700; line-height: 1.25; }
.v2-phone__status { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; color: var(--wa); }
.v2-phone__time { margin-left: auto; font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .1em; color: rgba(250,250,246,.4); }
.v2-chat { flex: 1; overflow: hidden; padding: 20px 16px; display: flex;
  flex-direction: column; justify-content: flex-end; gap: 10px; }
.v2-msg { max-width: 82%; padding: 11px 14px; font-size: 13px; line-height: 1.5;
  white-space: pre-line; color: var(--bone); }
.v2-msg--c { align-self: flex-start; background: rgba(250,250,246,.08); border-radius: 16px 16px 16px 4px; }
.v2-msg--v { align-self: flex-end; background: var(--signal); border-radius: 16px 16px 4px 16px; }
.v2-typing { align-self: flex-end; background: var(--signal); border-radius: 16px 16px 4px 16px;
  padding: 12px 14px; display: flex; gap: 5px; align-items: center; }
.v2-typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(250,250,246,.9);
  animation: v2-dot 1s ease-in-out infinite; }
.v2-typing i:nth-child(2) { animation-delay: .15s; } .v2-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes v2-dot { 0%,100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-4px); opacity: 1; } }
body.fx2 .v2-chat .v2-msg { display: none; }
body.fx2 .v2-chat .v2-msg.v2-in { display: block; animation: v2-msgIn .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes v2-msgIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.v2-phone__foot { padding: 12px 16px; border-top: 1px solid var(--bone-10); display: flex;
  justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .08em; color: rgba(250,250,246,.4); }
.v2-phone__foot b { font-weight: 400; color: var(--signal); }

/* ─── EXPERIMENTO: 10 negocios ─── */
.v2-shops { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px;
  margin-top: 64px; height: clamp(180px, 26vw, 340px); }
.v2-shop { display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--bone-10); border-radius: 8px; padding: 14px 10px;
  background: rgba(250,250,246,.03); color: rgba(250,250,246,.45); }
.v2-shop--hit { background: var(--signal); color: var(--bone); border-color: var(--signal); }
.v2-shop__n { font-family: var(--f-disp); font-weight: 900; font-size: clamp(16px, 2vw, 26px); line-height: 1; }
.v2-shop__l { font-family: var(--f-mono); font-size: 9px; letter-spacing: .08em;
  text-transform: uppercase; margin-top: 6px; opacity: .7; }
.v2-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 64px;
  border-top: 1px solid var(--bone-10); }
.v2-num { padding: 28px 24px 0; border-right: 1px solid var(--bone-10); }
.v2-num:last-child { border-right: none; }
.v2-num__v { font-family: var(--f-disp); font-weight: 900; font-size: clamp(33px, 4.1vw, 52px); line-height: 1; }
.v2-num__l { font-size: 12px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--bone-50); margin-top: 8px; }
.v2-sec--bone .v2-nums { border-top-color: var(--black-10); }
.v2-sec--bone .v2-num { border-right-color: var(--black-10); }
.v2-sec--bone .v2-num__l { color: rgba(10,10,10,.55); }
.v2-num__v.v2-fit { font-size: clamp(28px, 3.4vw, 44px); }

/* ─── FILAS EDITORIALES (pilares) ─── */
.v2-rows { margin-top: 72px; border-top: 1px solid var(--black-10); }
.v2-row { display: grid; grid-template-columns: 120px 1fr 1.4fr; gap: 32px;
  align-items: baseline; padding: 34px 0; border-bottom: 1px solid var(--black-10);
  transition: background .3s; }
.v2-row:hover { background: rgba(10,10,10,.03); }
.v2-row__n { font-family: var(--f-disp); font-weight: 900; font-size: clamp(33px, 3.7vw, 52px); line-height: 1; color: var(--signal); }
.v2-row__t { font-family: var(--f-disp); font-weight: 900; font-size: clamp(20px, 2.1vw, 28px); text-transform: uppercase; line-height: 1; }
.v2-row__b { font-size: 15px; line-height: 1.7; color: rgba(10,10,10,.65); }
.v2-sec:not(.v2-sec--bone) .v2-rows { border-top-color: var(--bone-10); }
.v2-sec:not(.v2-sec--bone) .v2-row { border-bottom-color: var(--bone-10); }
.v2-sec:not(.v2-sec--bone) .v2-row:hover { background: var(--bone-05); }
.v2-sec:not(.v2-sec--bone) .v2-row__b { color: var(--bone-50); }

/* ─── COLUMNAS numeradas (control 01/02/03) ─── */
.v2-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 72px;
  border-top: 1px solid var(--black-10); }
.v2-col { padding: 36px 28px 0; border-right: 1px solid var(--black-10); }
.v2-col:last-child { border-right: none; }
.v2-col__n { font-family: var(--f-disp); font-weight: 900; font-size: 46px; line-height: 1; color: var(--signal); }
.v2-col__t { font-family: var(--f-disp); font-weight: 700; font-size: 23px; text-transform: uppercase; line-height: 1; margin: 18px 0 12px; }
.v2-col__b { font-size: 14px; line-height: 1.7; color: rgba(10,10,10,.65); }

/* ─── CARDS capacidades (VERA) ─── */
.v2-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.v2-card { padding: 32px 28px; border: 1px solid var(--black-10); border-radius: 12px;
  transition: background .3s, color .3s, transform .3s; }
.v2-card:hover { background: var(--black); color: var(--bone); transform: translateY(-4px); }
.v2-card__n { font-family: var(--f-mono); font-size: 11px; letter-spacing: .15em; color: var(--signal); margin-bottom: 22px; }
.v2-card__t { font-family: var(--f-disp); font-weight: 700; font-size: 20px; text-transform: uppercase; line-height: 1; margin-bottom: 12px; }
.v2-card__b { font-size: 14px; line-height: 1.7; opacity: .65; }

/* ─── VERA: flujo con chat pegado ─── */
.v2-flow { display: grid; grid-template-columns: 1fr 420px; gap: 80px; align-items: start; }
.v2-flow .steps { border-top: 1px solid var(--bone-10); }
.v2-flow .step__title { font-family: var(--f-disp); font-size: 20px; letter-spacing: 0; line-height: 1; font-weight: 700; }
.v2-flow .step__num { font-size: 44px; }
.v2-sticky { position: sticky; top: calc(var(--nav-h) + 36px); }
.v2-sticky .v2-phone__screen { height: 600px; }

/* ─── VERA: filas de control con captura ─── */
.v2-ctrl { display: flex; flex-direction: column; gap: 96px; }
.v2-ctrl__row { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; }
.v2-ctrl__row--flip { grid-template-columns: auto 1fr; }
.v2-ctrl__row--flip .v2-shot { order: -1; }
.v2-ctrl__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.v2-ctrl__head span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .15em; color: var(--signal); }
.v2-ctrl__head h3 { font-family: var(--f-disp); font-weight: 900; text-transform: uppercase;
  font-size: clamp(20px, 2.5vw, 33px); line-height: 1; margin: 0; }
.v2-ctrl__body { max-width: 560px; font-size: 15px; line-height: 1.7; color: var(--bone-50); margin: 0; }
.v2-ctrl__row--wide .v2-ctrl__body { max-width: 680px; margin-bottom: 28px; }
.v2-shot { border: 1px solid var(--bone-10); border-radius: 12px; overflow: hidden;
  background: var(--black); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.v2-shot img { display: block; max-width: 100%; height: auto; }
.v2-shot--sm img { max-width: 506px; width: 100%; }
.v2-shot--md img { max-width: 520px; width: 100%; }
.v2-shot--wide img { width: 100%; }

/* ─── Collage del panel (reutiliza .collage de norlia.css) ─── */
.v2-sec .collage__desk { border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.4); will-change: transform; }
.v2-sec--bone .collage__desk { border-color: var(--black-10); box-shadow: 0 40px 80px rgba(10,10,10,.18); }
.v2-sec .collage__phone { will-change: transform; }
.v2-sec--bone .collage__phone { filter: drop-shadow(0 24px 44px rgba(0,0,0,.35)); }
.v2-surfaces { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 80px; }
.v2-tag { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--signal); margin-bottom: 12px; }
.v2-surfaces h3 { font-family: var(--f-disp); font-weight: 700; text-transform: uppercase;
  font-size: 23px; line-height: 1; margin: 0 0 14px; }
.v2-surfaces p { font-size: 14px; line-height: 1.7; margin: 0 0 22px; }
.v2-sec--bone .v2-surfaces p { color: rgba(10,10,10,.65); }
.v2-phones { display: flex; flex-wrap: wrap; gap: 48px; margin-top: 64px; align-items: flex-start; }
.v2-phones figure { margin: 0; flex: 0 1 300px; max-width: 300px; }
.v2-phones img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 34px rgba(0,0,0,.35)); }
.v2-phones figcaption { margin-top: 20px; font-size: 13px; line-height: 1.7; color: rgba(10,10,10,.65); }

/* ─── Niveles ─── */
.v2-levels { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.v2-level { padding: 44px; color: var(--bone); background: var(--black); border-radius: 16px 0 0 16px; }
.v2-level--signal { background: var(--signal); border-radius: 0 16px 16px 0; }
.v2-level__n { font-family: var(--f-disp); font-weight: 900; font-size: 59px; line-height: 1; color: var(--signal); }
.v2-level--signal .v2-level__n { color: var(--bone); }
.v2-level__t { font-family: var(--f-disp); font-weight: 900; font-size: 26px; text-transform: uppercase; line-height: 1; margin: 20px 0 12px; }
.v2-level__b { font-size: 14px; line-height: 1.7; color: var(--bone-50); }
.v2-level--signal .v2-level__b { color: rgba(250,250,246,.8); }

/* ─── Roadmap / FAQ / Pasos ─── */
.v2-sec .roadmap { border-top: 1px solid var(--bone-10); }
.v2-sec--bone .roadmap { border-top-color: var(--black-10); }
.v2-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 56px; }
.v2-faq__item { padding: 28px 0; border-bottom: 1px solid var(--bone-10); }
.v2-faq__q { font-family: var(--f-disp); font-weight: 700; text-transform: uppercase; font-size: 20px; line-height: 1.05; margin: 0 0 12px; }
.v2-faq__a { font-size: 14px; line-height: 1.7; color: var(--bone-50); margin: 0; }

/* ─── CTA final ─── */
.v2-cta { padding: var(--pad-y) 0; text-align: center; }
.v2-cta h2 { margin: 0 auto 28px; max-width: 1000px; font-size: clamp(44px, 7vw, 104px); }
.v2-cta p { margin: 0 auto 44px; max-width: 520px; }
.v2-cta .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── REVEAL al scroll (fail-open: sin JS todo visible) ─── */
body.fx2 .v2-r { opacity: 0; transform: translateY(24px);
  transition: opacity .8s ease, transform .8s var(--ease); }
body.fx2 .v2-r.on { opacity: 1; transform: none; }
body.fx2 .btn.v2-r { transform: none; }
body.fx2 .v2-r.v2-d1 { transition-delay: .1s; }
body.fx2 .v2-r.v2-d2 { transition-delay: .2s; }
body.fx2 .v2-r.v2-d3 { transition-delay: .3s; }

/* Pulsos */
@keyframes v2-blink { 50% { opacity: .25; } }
body.fx2 .status-item::before { animation: v2-blink 2.4s ease-in-out infinite; }
.v2-caret { display: inline-block; width: 7px; height: 11px; background: var(--signal);
  margin-left: 6px; vertical-align: -1px; animation: v2-blink 1s steps(2) infinite; }
body.fx2 .nav__logo .dot, body.fx2 .footer__logo .dot { animation: v2-blink 2.8s ease-in-out infinite; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .v2-hero { grid-template-columns: 1fr; gap: 48px; min-height: 0; padding-bottom: var(--pad-y-sm); }
  .v2-hero > .v2-phone-wrap { max-width: 420px; }
  .v2-flow { grid-template-columns: 1fr; gap: 48px; }
  .v2-sticky { position: static; max-width: 420px; }
}
@media (max-width: 900px) {
  .v2-split, .v2-split--even, .v2-surfaces, .v2-faq { grid-template-columns: 1fr; gap: 28px; }
  .v2-cards { grid-template-columns: 1fr 1fr; }
  .v2-ctrl { gap: 64px; }
  .v2-ctrl__row, .v2-ctrl__row--flip { grid-template-columns: 1fr; gap: 28px; }
  .v2-ctrl__row--flip .v2-shot { order: 0; }
  .v2-row { grid-template-columns: 72px 1fr; gap: 12px 20px; padding: 26px 0; }
  .v2-row__n { grid-row: 1 / 3; font-size: 40px; }
  .v2-row__t { font-size: 24px; }
  .v2-cols { grid-template-columns: 1fr; margin-top: 48px; }
  .v2-col { border-right: none; border-bottom: 1px solid var(--black-10); padding: 28px 0; }
  .v2-col:last-child { border-bottom: none; }
  .v2-shops { grid-template-columns: repeat(5, 1fr); height: auto; margin-top: 44px; }
  .v2-shop { min-height: 92px; }
  .v2-levels { grid-template-columns: 1fr; }
  .v2-level, .v2-level--signal { border-radius: 16px; }
  .v2-level { padding: 32px 28px; }
  .v2-level__n { font-size: 56px; }
  .v2-word { font-size: 40vw !important; }
}
@media (max-width: 600px) {
  .v2-hero { padding-top: calc(var(--nav-h) + 48px); }
  .v2-hero h1 { margin-bottom: 24px; }
  .v2-hero .body-lg { margin-bottom: 32px; }
  .v2-phone { padding: 8px; border-radius: 22px; }
  .v2-phone__screen { height: 480px; border-radius: 16px; }
  .v2-sticky .v2-phone__screen { height: 480px; }
  .v2-nums { grid-template-columns: 1fr; margin-top: 44px; border-top: none; }
  .v2-num { border-right: none; border-top: 1px solid var(--bone-10); padding: 20px 0 0; margin-bottom: 20px; }
  .v2-sec--bone .v2-num { border-top-color: var(--black-10); }
  .v2-num__v { font-size: 44px; }
  .v2-cards { grid-template-columns: 1fr; }
  .v2-card { padding: 26px 22px; }
  .v2-shops { gap: 4px; }
  .v2-shop { padding: 10px 8px; min-height: 76px; }
  .v2-shop__l { display: none; }
  .v2-shop--hit .v2-shop__l { display: block; }
  .v2-cta h2 { font-size: clamp(40px, 12vw, 64px); }
  .v2-cta .btn-row .btn, .btn-row .btn { width: 100%; justify-content: center; }
  .v2-phones { gap: 36px; }
  .v2-phones figure { max-width: 260px; }
  .v2-shot--sm img, .v2-shot--md img { max-width: 100%; }
  .v2-flow .step__num { font-size: 32px; }
  .v2-flow .step__title { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  body.fx2 .v2-r, body.fx2 .v2-w, body.fx2 .v2-fade { opacity: 1; transform: none; animation: none; }
  body.fx2 .v2-chat .v2-msg { display: block; }
  body.fx2 * { animation: none !important; }
  .v2-word { transform: none !important; }
}
