@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-900.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

/* =========================================================
   manija — landing
   Paleta y tipografía oficiales del brandbook.
   ========================================================= */
:root {
  --lime: #DFFF00;
  --orange: #FF6A00;
  --violet: #A78BFA;
  --ink: #0B0E11;
  --paper: #F7F6F2;

  /* Derivados por opacidad (no son colores nuevos) */
  --ink-70: rgba(11, 14, 17, .7);
  --ink-50: rgba(11, 14, 17, .5);
  --ink-12: rgba(11, 14, 17, .12);
  --ink-06: rgba(11, 14, 17, .06);
  --paper-70: rgba(247, 246, 242, .7);
  --paper-50: rgba(247, 246, 242, .5);
  --paper-14: rgba(247, 246, 242, .14);
  --paper-06: rgba(247, 246, 242, .06);
  --ink-raised: #151A1F; /* ink elevado para tarjetas sobre fondo oscuro */

  --font: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --radius: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 76px;
  --section: clamp(80px, 10vw, 150px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: clamp(1rem, .95rem + .2vw, 1.125rem);
  line-height: 1.5;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul[role="list"], ol { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
[data-theme="light"] :focus-visible, [data-theme="lime"] :focus-visible, [data-theme="violet"] :focus-visible { outline-color: var(--ink); }
::selection { background: var(--lime); color: var(--ink); }

[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--lime); color: var(--ink); padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.lime { color: var(--lime); }
.muted-ink { color: var(--ink-50); }
.i { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Tipografía ---------- */
.h-xxl { font-size: clamp(3rem, 8.4vw, 8.6rem); line-height: .9; letter-spacing: -.045em; font-weight: 700; }
.h-xl  { font-size: clamp(2.35rem, 5vw, 5rem); line-height: .96; letter-spacing: -.04em; font-weight: 700; text-wrap: balance; }

.eyebrow {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  margin-bottom: clamp(16px, 2vw, 24px); color: var(--ink-70);
}
[data-theme="dark"] .eyebrow { color: var(--paper-70); }
.eyebrow--lime, [data-theme="dark"] .eyebrow--lime { color: var(--lime); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--lime); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 1.5em; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .3s;
}
.btn .i { transition: transform .45s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--lime { --bg: var(--lime); --fg: var(--ink); }
.btn--ink { --bg: var(--ink); --fg: var(--paper); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--lime); color: var(--lime); }
.btn--sm { min-height: 42px; padding: 0 1.15em; font-size: .95rem; }
.btn--block { width: 100%; }

/* ---------- Logo (wordmark oficial vectorizado: /logo) ---------- */
.logo { display: inline-block; line-height: 0; text-decoration: none; }
.logo svg { height: 30px; width: auto; aspect-ratio: 1140.4 / 403.6; }
.logo--xl svg { height: auto; width: clamp(260px, 52vw, 720px); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: env(safe-area-inset-top, 0px) 0 auto; z-index: 50; height: var(--nav-h);
  color: var(--paper);
  transition: transform .5s var(--ease), color .35s;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(11, 14, 17, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: opacity .35s, background-color .35s;
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-110%); }
.nav[data-on="light"], .nav[data-on="lime"], .nav[data-on="violet"] { color: var(--ink); }
.nav[data-on="light"]::before { background: rgba(247, 246, 242, .78); }
.nav[data-on="lime"]::before { background: rgba(223, 255, 0, .85); }
.nav[data-on="violet"]::before { background: rgba(167, 139, 250, .85); }
.nav[data-on="lime"] .logo { --logo-dot: var(--ink); }
.nav[data-on="lime"] .nav__cta { --bg: var(--ink); --fg: var(--paper); }
.nav__inner { height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; gap: 30px; margin-left: auto; font-size: .95rem; }
.nav__links a { text-decoration: none; position: relative; padding-block: 6px; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 49; background: var(--ink); color: var(--paper);
  padding: calc(var(--nav-h) + 24px + env(safe-area-inset-top, 0px)) var(--gutter) 32px; display: flex; flex-direction: column; gap: 32px;
  overflow: hidden;
}
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-size: clamp(2.2rem, 10vw, 3.2rem); font-weight: 700; letter-spacing: -.04em; text-decoration: none; padding-block: 6px; border-bottom: 1px solid var(--paper-14); }
.menu .btn { align-self: flex-start; }
.menu__iso { position: absolute; right: -40px; bottom: -30px; width: 260px; height: auto; aspect-ratio: 183.26/125.17; color: var(--lime); }
.menu.is-open nav a { animation: rise .6s var(--ease) both; }
.menu.is-open nav a:nth-child(2) { animation-delay: .04s; } .menu.is-open nav a:nth-child(3) { animation-delay: .08s; }
.menu.is-open nav a:nth-child(4) { animation-delay: .12s; } .menu.is-open nav a:nth-child(5) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger {
    display: grid; place-content: center; gap: 6px; margin-left: auto;
    width: 48px; height: 48px; border-radius: 50%; border: 0; background: transparent;
  }
  .nav__burger span:not(.sr) { width: 24px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease); }
  .nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
  body.menu-open .nav { color: var(--paper); }
  body.menu-open .nav::before { opacity: 0; }
}

/* =========================================================
   HERO — la pila de tareas a mano: cada nota se tacha y sale volando
   ========================================================= */
.hero { position: relative; overflow: hidden; background: var(--ink); min-height: 100svh; display: flex; align-items: center; }
/* Fondo: la cinta lima; el degradé oscurece a la izquierda para que el texto se lea y funde abajo con la sección siguiente */
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 14, 17, .85) 0%, rgba(11, 14, 17, .45) 45%, rgba(11, 14, 17, 0) 70%), linear-gradient(to top, var(--ink), rgba(11, 14, 17, 0) 25%);
}
.hero__inner {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(24px, 4vw, 64px);
  padding-block: calc(var(--nav-h) + 40px) 72px;
}
.hero__title { display: grid; font-size: clamp(2.7rem, 5.2vw, 5.6rem); line-height: .98; letter-spacing: -.05em; font-weight: 700; }
.hero__hl { color: var(--lime); }
.hero__sub { margin-top: clamp(20px, 2.4vw, 32px); max-width: 34ch; font-size: clamp(1.15rem, 1.6vw, 1.45rem); color: var(--paper); line-height: 1.3; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3vw, 40px); }
.i--down { transform: rotate(90deg); }
.btn:hover .i--down { transform: rotate(90deg) translateX(4px); }

/* Tablero: halo que cambia de color con cada solución, flotación y leve giro con el mouse */
.hero__art {
  --mx: 0; --my: 0; position: relative; justify-self: center; width: min(100%, 520px); color: var(--hl, var(--lime));
  transform: perspective(1000px) rotateY(calc(var(--mx) * 9deg)) rotateX(calc(var(--my) * -7deg));
  transition: transform .8s var(--ease), color 1.2s var(--ease);
}
.board { position: relative; display: grid; color: var(--paper); animation: art-float 7s ease-in-out infinite; }
/* Todas las vistas en la misma celda: el alto no salta */
.board__slide {
  grid-area: 1 / 1; display: grid; gap: 14px; align-content: start;
  opacity: 0; visibility: hidden; transform: translateY(18px) scale(.98); transition: transform .7s var(--ease), opacity .45s, visibility 0s .7s;
}
.board__slide.is-on { opacity: 1; visibility: visible; transform: none; transition: transform .7s var(--ease), opacity .45s; }
.board__slide.is-out { visibility: visible; transform: translateY(-18px) scale(.98); }
.board__card, .board__sol { background: rgba(21, 26, 31, .72); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--paper-14); border-radius: 24px; }
.board__card { padding: clamp(20px, 2.4vw, 28px); }
.board__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--paper-70); font-size: 15px; }
.board__tag { padding: 5px 12px; border-radius: 99px; background: var(--hl, var(--lime)); color: var(--ink); font-size: 13px; font-weight: 700; transition: background .8s var(--ease); }
.board__viz { display: grid; align-content: center; gap: 10px; min-height: clamp(190px, 17vw, 230px); margin-top: 18px; }
.board__meta { color: var(--paper-50); font-size: 13px; }
.board__num { font-size: clamp(2rem, 3.2vw, 2.8rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.board__num em { font-style: normal; font-size: 15px; letter-spacing: 0; color: var(--lime); font-weight: 700; vertical-align: middle; margin-left: 6px; }
.board__bars { display: flex; align-items: flex-end; gap: 10px; height: clamp(100px, 9vw, 130px); }
.board__bars i { flex: 1; height: var(--h); border-radius: 8px; background: var(--paper-14); transform-origin: bottom; }
.board__bars i:nth-child(5) { background: var(--violet); }
.board__bars i:nth-child(6) { background: var(--lime); }
.board__slide.is-on .board__bars i { animation: bar-grow 1s var(--ease) both; }
.board__slide.is-on .board__bars i:nth-child(2) { animation-delay: .08s; } .board__slide.is-on .board__bars i:nth-child(3) { animation-delay: .16s; }
.board__slide.is-on .board__bars i:nth-child(4) { animation-delay: .24s; } .board__slide.is-on .board__bars i:nth-child(5) { animation-delay: .32s; }
.board__slide.is-on .board__bars i:nth-child(6) { animation-delay: .4s; }
.board__steps, .board__leads, .board__road { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.board__steps li, .board__leads li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--paper-06); font-size: 16px; }
.board__steps span { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 13px; font-weight: 700; }
.board__leads li { display: block; color: var(--paper-70); }
.board__leads b { color: var(--paper); font-weight: 500; }
.board__msg { max-width: 82%; margin: 0; padding: 12px 16px; border-radius: 18px; font-size: 16px; line-height: 1.3; }
.board__msg--in { justify-self: start; background: var(--paper-14); border-bottom-left-radius: 6px; }
.board__msg--out { justify-self: end; background: var(--violet); color: var(--ink); border-bottom-right-radius: 6px; }
.board__order { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--paper-06); }
.board__order b { display: block; font-weight: 500; font-size: 16px; }
.board__order small { color: var(--paper-50); font-size: 13px; }
.board__order strong { color: var(--lime); white-space: nowrap; }
.board__mods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.board__mods span { padding: 18px 16px; border-radius: 14px; background: var(--paper-06); font-size: 16px; }
.board__mods span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.board__road li { display: flex; align-items: center; gap: 14px; font-size: 17px; color: var(--paper-50); }
.board__road span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--paper-14); font-weight: 700; font-size: 14px; }
.board__road .is-done { color: var(--paper-70); }
.board__road .is-done span { background: var(--paper-14); border-color: transparent; }
.board__road .is-now { color: var(--paper); font-weight: 700; }
.board__road .is-now span { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.board__sol { display: flex; align-items: center; gap: 12px; margin: 0; padding: 16px 20px; }
.board__ok {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--hl, var(--lime)); color: var(--ink); font-weight: 700; transition: background .8s var(--ease);
}
.board__sol b { font-size: 17px; font-weight: 500; }
.board__note { justify-self: end; margin-top: 10px; padding: 3px 10px; border-radius: 99px; background: rgba(11, 14, 17, .6); font-size: 12px; color: var(--paper-70); }
@keyframes bar-grow { from { transform: scaleY(0); } }
@keyframes art-float { 50% { transform: translateY(-14px) rotate(-1.2deg); } }

@media (max-width: 800px) {
  .hero { align-items: flex-start; }
  .hero__inner { grid-template-columns: 1fr; padding-bottom: 56px; }
  /* En celular la cinta va abajo, debajo de los botones, para no competir con el texto */
  .hero__bg { top: auto; height: 48%; object-position: 72% 50%; }
  .hero::after { background: linear-gradient(to bottom, var(--ink) 52%, rgba(11, 14, 17, 0) 68%), linear-gradient(to top, var(--ink), rgba(11, 14, 17, 0) 12%); }
  .hero__title { font-size: clamp(2.3rem, 10.4vw, 4.2rem); }
  .hero__art { width: min(86vw, 440px); }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* =========================================================
   DIAGNÓSTICO — el juego central
   ========================================================= */
.diag { background: var(--paper); color: var(--ink); padding-block: var(--section); scroll-margin-top: calc(var(--nav-h) - 40px); }
.diag__head { display: grid; gap: 16px; max-width: 900px; margin-bottom: clamp(32px, 4vw, 56px); }
.diag__head .eyebrow { margin-bottom: 0; }
.diag__title { font-size: clamp(2.6rem, 6vw, 6rem); line-height: .95; letter-spacing: -.05em; font-weight: 700; text-wrap: balance; }
.diag__lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: var(--ink-70); max-width: 44ch; }
.diag__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }

.diag__result {
  position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 20px; justify-items: start;
  padding: clamp(24px, 3vw, 40px); border-radius: 36px; background: var(--ink); color: var(--paper);
}
.diag__num { font-size: clamp(5rem, 9vw, 8.5rem); font-weight: 700; line-height: .8; letter-spacing: -.05em; color: var(--lime); font-variant-numeric: tabular-nums; }
.diag__num small, .diag__bar small { font-size: .3em; color: var(--paper-50); letter-spacing: 0; margin-left: 6px; }
.diag__meter { justify-self: stretch; display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.diag__meter i { height: 8px; border-radius: 99px; background: var(--paper-14); transition: background-color .4s var(--ease), transform .4s var(--ease); }
.diag__meter i.on { background: var(--lime); }
.diag__msg { min-height: 2.4em; font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.diag__reveal { justify-self: stretch; display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--paper-14); animation: rise .6s var(--ease); }
.diag__truth { font-size: 1.15rem; font-weight: 700; }
.diag__next { color: var(--paper-70); }
.diag__note { font-size: .95rem; color: var(--paper-70); }
.diag__bar { display: none; }
.is-bump .diag__num, .diag__bar.is-bump b { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08) rotate(-2deg); } }

.pains { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pain {
  width: 100%; height: 100%; min-height: 128px; text-align: left; border: 0; border-radius: 24px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--ink-12);
  padding: 20px 20px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  position: relative; overflow: hidden;
  transition: background-color .35s var(--ease), transform .45s var(--ease), box-shadow .35s;
}
.pain::before { content: ""; position: absolute; top: 18px; right: 18px; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-50); transition: all .35s var(--ease); }
.pain::after { content: ""; position: absolute; top: 25px; right: 25px; width: 12px; height: 7px; border-left: 2.5px solid var(--lime); border-bottom: 2.5px solid var(--lime); transform: rotate(-45deg) scale(0); transition: transform .35s var(--ease); }
.pain__t { font-size: clamp(1.2rem, 1.6vw, 1.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; padding-right: 34px; }
.pain__d { color: var(--ink-70); font-size: .95rem; line-height: 1.35; }
.pain:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pain[aria-pressed="true"] { background: var(--lime); box-shadow: none; }
.pain[aria-pressed="true"]::before { background: var(--ink); box-shadow: none; }
.pain[aria-pressed="true"]::after { transform: rotate(-45deg) scale(1); }
.pain[aria-pressed="true"] .pain__d { color: var(--ink); }

@media (max-width: 900px) {
  .diag__grid { grid-template-columns: 1fr; }
  .diag__result { position: static; }
  .diag__bar {
    display: flex; align-items: center; gap: 16px; position: sticky; bottom: 12px; z-index: 5; margin-top: 12px;
    padding: 12px 18px; border-radius: 22px; background: var(--ink); color: var(--paper);
    box-shadow: 0 16px 40px -16px rgba(11, 14, 17, .6);
  }
  .diag__bar b { font-size: 2.4rem; line-height: 1; letter-spacing: -.05em; color: var(--lime); font-variant-numeric: tabular-nums; flex: none; }
  .diag__bar > span { font-size: .95rem; color: var(--paper-70); line-height: 1.3; }
}
@media (max-width: 560px) {
  .pains { grid-template-columns: 1fr; gap: 8px; }
  .pain { min-height: 0; padding: 18px; gap: 6px; }
}

/* =========================================================
   SERVICIOS
   ========================================================= */
.services { background: var(--paper); color: var(--ink); padding-block: 0 var(--section); }
.services__head { max-width: 980px; margin-bottom: clamp(40px, 5vw, 72px); padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--ink-12); }

.svc { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.svc__list { display: grid; border-top: 1px solid var(--ink-12); }
.svc__q {
  display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: baseline;
  text-align: left; background: none; border: 0; border-bottom: 1px solid var(--ink-12);
  padding: 20px 8px 20px 0; position: relative; scroll-margin-top: calc(var(--nav-h) + 8px);
}
.svc__qn { font-size: .85rem; font-weight: 700; color: var(--ink-50); font-variant-numeric: tabular-nums; }
.svc__qt { font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; color: var(--ink-50); transition: color .35s, transform .5s var(--ease); }
.svc__qs { grid-column: 2; font-size: .9rem; font-weight: 700; display: none; align-items: center; gap: 6px; margin-top: 6px; }
.svc__qs::before { content: "→"; }
.svc__q::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.svc__q:hover .svc__qt { color: var(--ink); }
.svc__q[data-on="true"] .svc__qt { color: var(--ink); transform: translateX(6px); }
.svc__q[data-on="true"] .svc__qs { display: inline-flex; animation: rise .5s var(--ease); }
.svc__q[data-on="true"]::before { transform: scaleX(1); }

.svc__panels { position: sticky; top: calc(var(--nav-h) + 24px); }
.svc__p {
  --shape: var(--ink);
  position: relative; overflow: hidden; border-radius: 36px; padding: clamp(26px, 3.2vw, 44px);
  min-height: 520px; display: flex; flex-direction: column; gap: 16px; color: var(--ink);
  animation: panelIn .7s var(--ease) both;
}
.svc__p--lime { background: var(--lime); }
.svc__p--violet { background: var(--violet); --shape: var(--lime); }
.svc__p--orange { background: var(--orange); }
.svc__p--ink { background: var(--ink); color: var(--paper); --shape: var(--lime); }
.svc__p > *:not(.shape) { position: relative; z-index: 1; }
.svc__tag { font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.svc__p h3 { font-size: clamp(2.1rem, 3.6vw, 3.3rem); line-height: .95; letter-spacing: -.045em; font-weight: 700; max-width: 12ch; }
.svc__p > p:not(.svc__tag) { font-size: 1.05rem; max-width: min(40ch, 100%); }
.svc__p ul { list-style: none; padding: 0; display: grid; gap: 8px; max-width: min(34ch, 68%); }
.svc__p li { display: flex; gap: 10px; align-items: baseline; }
.svc__p li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; transform: translateY(-2px); }
.svc__link { margin-top: auto; align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); transition: transform .4s var(--ease); }
.svc__p--ink .svc__link { background: var(--lime); color: var(--ink); }
.svc__link:hover { transform: translateY(-2px); }
.svc__link .i { transition: transform .4s var(--ease); }
.svc__link:hover .i { transform: translateX(3px); }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px) scale(.985); } }

/* Formas del sistema gráfico */
.shape { position: absolute; pointer-events: none; animation: shapeIn 1s var(--ease) both .08s; }
.shape--arc { width: 220px; height: 220px; right: -40px; bottom: -40px; border-radius: 50%; border: 48px solid var(--shape); clip-path: inset(0 50% 50% 0); }
.shape--circle { width: 170px; height: 170px; right: -30px; bottom: -40px; border-radius: 50%; background: var(--shape); }
.shape--pill { width: 240px; height: 72px; right: -70px; bottom: 30px; border-radius: 99px; background: var(--shape); transform: rotate(-45deg); animation-name: pillIn; }
.shape--ring { width: 170px; height: 170px; right: -20px; bottom: -30px; border-radius: 50%; border: 3px solid var(--shape); }
@keyframes shapeIn { from { opacity: 0; transform: translate(40px, 40px) rotate(-12deg); } }
@keyframes pillIn { from { opacity: 0; transform: translate(60px, 60px) rotate(-45deg); } to { transform: rotate(-45deg); } }

/* Demo IA: pregunta → decisión → acción */
.mflow { display: grid; gap: 8px; }
.mflow__row { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 18px; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.mflow__row span { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.mflow__row b { font-weight: 700; font-size: 1.02rem; line-height: 1.25; letter-spacing: -.01em; }
.mflow__row--q { background: var(--paper); border-bottom-left-radius: 6px; }
.mflow__row--d { background: var(--ink); color: var(--paper); }
.mflow__row--a { background: var(--lime); }
.mflow__row.off { opacity: .15; transform: translateX(-10px); }

/* Demo datos */
.dash { display: grid; gap: 16px; padding: 18px; border-radius: 24px; background: var(--ink-raised); box-shadow: inset 0 0 0 1px var(--paper-14); }
.dash__top { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.dash__tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--paper-06); }
.dash__tabs button { border: 0; background: transparent; border-radius: 99px; min-height: 36px; padding: 4px 13px; font-weight: 700; font-size: .85rem; transition: background-color .3s, color .3s; }
.dash__tabs button[aria-selected="true"] { background: var(--lime); color: var(--ink); }
.badge { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--paper-50); color: var(--paper-70); white-space: nowrap; }
.bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; height: 150px; align-items: end; border-bottom: 1px solid var(--paper-14); margin-bottom: 22px; margin-top: 18px; }
.bar { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.bar__fill { width: 100%; max-width: 44px; height: var(--h, 0%); border-radius: 4px 4px 0 0; background: rgba(247, 246, 242, .22); transition: height .9s var(--ease), background-color .3s; }
.bar.is-last .bar__fill { background: var(--lime); }
.bar:hover .bar__fill { background: var(--paper); }
.bar.is-last:hover .bar__fill { background: var(--lime); }
.bar__val { position: absolute; left: 50%; bottom: calc(var(--h, 0%) + 6px); transform: translateX(-50%); font-size: .75rem; font-weight: 700; white-space: nowrap; opacity: 0; transition: opacity .25s, bottom .9s var(--ease); pointer-events: none; font-variant-numeric: tabular-nums; }
.bar:hover .bar__val, .bar:focus-visible .bar__val, .bar.is-last .bar__val { opacity: 1; }
.bar__m { position: absolute; bottom: -22px; font-size: .75rem; color: var(--paper-50); }
.dash__insight { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; font-weight: 700; line-height: 1.3; }
.dash__insight .i { color: var(--lime); margin-top: 2px; }
.dash__insight span { transition: opacity .3s; }

@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; }
  .svc__panels { position: static; }
  .svc__list .svc__p { margin: 6px 0 18px; }
  .svc__p { min-height: 0; border-radius: 28px; }
  .svc__p:has(.shape) { padding-bottom: 150px; }
  .svc__p ul { max-width: none; }
  .shape { scale: .75; transform-origin: 100% 100%; }
  .mflow__row { grid-template-columns: 1fr; gap: 2px; }
}

/* =========================================================
   CÓMO TRABAJAMOS
   ========================================================= */
.process { background: var(--ink); padding-block: var(--section); }
.process__head { margin-bottom: clamp(40px, 5vw, 72px); }
.route__svg { width: 100%; height: auto; overflow: visible; margin-bottom: 20px; }
.route__track { fill: none; stroke: var(--paper-14); stroke-width: 6; stroke-linecap: round; }
.route__line { fill: none; stroke: var(--lime); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease-io) .2s; }
.route__svg circle { fill: var(--ink); stroke: var(--paper-50); stroke-width: 3; transition: fill .4s, stroke .4s; }
.route.is-in .route__line { stroke-dashoffset: 0; }
.route.is-in circle { fill: var(--lime); stroke: var(--lime); }
.route.is-in circle:nth-of-type(1) { transition-delay: .3s; } .route.is-in circle:nth-of-type(2) { transition-delay: .6s; }
.route.is-in circle:nth-of-type(3) { transition-delay: .9s; } .route.is-in circle:nth-of-type(4) { transition-delay: 1.6s; }
.route.is-in circle:nth-of-type(5) { transition-delay: 2s; } .route.is-in circle:nth-of-type(6) { transition-delay: 2.4s; }
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.steps li { display: grid; gap: 8px; align-content: start; text-align: center; }
.step__n { font-size: .9rem; font-weight: 700; color: var(--lime); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: clamp(1.3rem, 2vw, 1.9rem); letter-spacing: -.035em; font-weight: 700; line-height: 1; }
.steps p { color: var(--paper-70); font-size: .98rem; line-height: 1.35; }
.process__cta { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius); background: var(--paper-06); box-shadow: inset 0 0 0 1px var(--paper-14); }
.process__cta p { font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 700; letter-spacing: -.02em; }

@media (max-width: 900px) {
  .route__svg { display: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .steps li { text-align: left; padding-top: 16px; border-top: 2px solid var(--paper-14); }
  .route.is-in .steps li { border-top-color: var(--lime); transition: border-color .6s; }
}

/* =========================================================
   NOSOTROS — manifiesto
   ========================================================= */
.manifest { position: relative; overflow: hidden; background: var(--lime); color: var(--ink); padding-block: var(--section); }
.manifest__title { display: grid; gap: .15em; font-weight: 700; letter-spacing: -.05em; line-height: .92; position: relative; z-index: 1; }
.manifest__l1 { font-size: clamp(1.9rem, 4.4vw, 4.2rem); font-weight: 500; letter-spacing: -.035em; }
.manifest__strike { position: relative; white-space: nowrap; }
.manifest__strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: .14em; border-radius: 99px; background: var(--ink); transform: scaleX(var(--strike, 0)); transform-origin: left; }
.manifest__l2 { font-size: clamp(3.2rem, 10.4vw, 10.6rem); max-width: 10ch; }
.manifest__text { margin-top: clamp(28px, 3.5vw, 48px); max-width: 48ch; font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.4; position: relative; z-index: 1; }
.manifest__arc { position: absolute; border-radius: 50%; pointer-events: none; will-change: transform; }
.manifest__arc--o { width: clamp(320px, 44vw, 660px); aspect-ratio: 1; right: -12vw; top: -14vw; border: clamp(60px, 8vw, 116px) solid var(--orange); clip-path: inset(50% 50% 0 0); transform: rotate(var(--rot, 0deg)); }
.manifest__arc--v { width: clamp(220px, 28vw, 420px); aspect-ratio: 1; right: -6vw; top: -6vw; border: clamp(50px, 6vw, 90px) solid var(--violet); clip-path: inset(50% 50% 0 0); transform: rotate(calc(var(--rot, 0deg) * -1.4)); }

.unsmoke-list { position: relative; z-index: 1; margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; padding: 0; }
.unsmoke { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.2vw, 28px); border-radius: var(--radius); background: var(--ink-06); box-shadow: inset 0 0 0 1px var(--ink-12); color: var(--ink); transition: background-color .6s var(--ease), color .6s, box-shadow .6s; }
.unsmoke__label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-70); transition: color .6s; }
.unsmoke__text { display: grid; flex: 1; }
.unsmoke__hype, .unsmoke__real { grid-area: 1 / 1; font-size: clamp(1.15rem, 1.55vw, 1.45rem); line-height: 1.2; letter-spacing: -.025em; font-weight: 700; transition: opacity .6s var(--ease), filter .8s var(--ease), transform .7s var(--ease); }
.unsmoke__hype { color: var(--ink-50); }
.unsmoke__real { opacity: 0; filter: blur(8px); transform: translateY(10px); }
.unsmoke.is-clear { background: var(--ink); color: var(--paper); box-shadow: none; }
.unsmoke.is-clear .unsmoke__label { color: var(--lime); }
.unsmoke.is-clear .unsmoke__hype { opacity: 0; filter: blur(14px); transform: translateY(-14px) scale(1.02); }
.unsmoke.is-clear .unsmoke__real { opacity: 1; filter: none; transform: none; }
.switch { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; font-weight: 700; padding: 4px 2px; color: inherit; }
.switch__track { width: 58px; height: 32px; border-radius: 99px; background: var(--ink-12); position: relative; transition: background-color .4s var(--ease); }
.switch__knob { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); transition: transform .5s var(--ease), background-color .4s; }
.switch[aria-checked="true"] .switch__track { background: var(--lime); }
.switch[aria-checked="true"] .switch__knob { transform: translateX(26px); background: var(--ink); }
.unsmoke.is-clear :focus-visible { outline-color: var(--lime); }
@media (max-width: 900px) { .unsmoke-list { grid-template-columns: 1fr; } }
.switch:not(.used) .switch__track { animation: nudge 2.4s var(--ease) infinite 1s; }
@keyframes nudge { 0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(11,14,17,0); } 80% { box-shadow: 0 0 0 7px rgba(11,14,17,.14); } }

@media (max-width: 700px) {
  .manifest { padding-bottom: 240px; }
  .manifest__arc--o { width: 320px; top: auto; bottom: -160px; right: -40px; border-width: 56px; clip-path: inset(0 50% 50% 0); }
  .manifest__arc--v { width: 208px; top: auto; bottom: -104px; right: 16px; border-width: 44px; clip-path: inset(0 50% 50% 0); }
}

/* =========================================================
   CONTACTO
   ========================================================= */
.contact { background: var(--ink); padding-block: var(--section); }
.contact__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: end; }
.contact__iso { width: clamp(72px, 7vw, 104px); height: auto; aspect-ratio: 183.26/125.17; color: var(--lime); margin-bottom: 28px; }
.contact__lead { margin-top: 24px; font-size: clamp(1.2rem, 1.8vw, 1.5rem); color: var(--paper-70); max-width: 30ch; }
.bridge { margin-top: 32px; display: grid; gap: 12px; }
.bridge__t { font-weight: 700; font-size: 1.1rem; }
.bridge__steps { display: flex; flex-wrap: wrap; gap: 6px; }
.bridge__steps li { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 700; padding: 8px 12px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--paper-14); color: var(--paper-70); }
.bridge__steps li:first-child { background: var(--violet); color: var(--ink); box-shadow: none; }
.bridge__steps li:not(:last-child)::after { content: "→"; opacity: .6; margin-left: 2px; }
.contact__direct { margin-top: 28px; display: grid; gap: 8px; }
.contact__direct a { font-weight: 700; font-size: 1.05rem; text-decoration: none; background-image: linear-gradient(var(--lime), var(--lime)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .45s var(--ease); padding-bottom: 2px; }
.contact__direct a:hover { background-size: 100% 2px; }

.form { display: grid; gap: 14px; padding: clamp(22px, 3vw, 36px); border-radius: 36px; background: var(--ink-raised); box-shadow: inset 0 0 0 1px var(--paper-14); }
.field { display: grid; gap: 6px; }
.field span { font-size: .85rem; font-weight: 700; color: var(--paper-70); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--paper); background: var(--paper-06); border: 0; border-radius: 16px;
  padding: 14px 16px; box-shadow: inset 0 0 0 1px var(--paper-14); transition: box-shadow .25s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--paper-50); }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--lime); }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 0 0 2px var(--orange); }
.form__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.form__chips span { font-size: .8rem; font-weight: 700; background: var(--lime); color: var(--ink); padding: 6px 10px; border-radius: 99px; }
.form__status { min-height: 1.4em; font-size: .95rem; color: var(--lime); font-weight: 700; }
.form__status.is-error { color: var(--orange); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* =========================================================
   NOSOTROS — cierre de la landing
   ========================================================= */
.about { position: relative; overflow: hidden; background: var(--violet); color: var(--ink); padding-block: var(--section); }
.about .eyebrow { color: var(--ink); }
.about__iso { position: absolute; right: -6vw; bottom: -8vw; width: clamp(280px, 52vw, 820px); height: auto; aspect-ratio: 183.26/125.17; color: var(--lime); pointer-events: none; }
.about .wrap { position: relative; z-index: 1; }
.about__title { font-size: clamp(3.2rem, 10vw, 10.4rem); line-height: .9; letter-spacing: -.055em; font-weight: 700; max-width: 9ch; }
/* "manija." resaltado con marcador: se pinta al aparecer */
.about__mark {
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 88% / 0% 42%;
  transition: background-size 1s var(--ease-io) .5s; padding-inline: .04em; margin-inline: -.04em;
}
.about__title.is-in .about__mark, html:not(.js) .about__mark { background-size: 100% 42%; }
.about__hand { font-family: "Caveat", "Segoe Print", cursive; font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1; transform: rotate(-4deg); margin: .2em 0 0 clamp(8px, 20vw, 380px); }
.about__text { margin-top: clamp(28px, 4vw, 56px); max-width: 34ch; font-size: clamp(1.15rem, 1.8vw, 1.6rem); line-height: 1.35; letter-spacing: -.01em; }
@media (max-width: 700px) {
  .about { padding-bottom: 60vw; }
  .about__iso { width: 82vw; right: -10vw; bottom: -10vw; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); padding-block: clamp(48px, 7vw, 96px) 32px; border-top: 1px solid var(--paper-14); }
.footer__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.footer__tag { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; margin-top: 10px; letter-spacing: -.02em; }
.footer__cols { display: flex; flex-wrap: wrap; gap: clamp(32px, 8vw, 120px); margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--paper-14); }
.footer__cols nav { display: grid; gap: 10px; align-content: start; }
.footer__cols a { text-decoration: none; color: var(--paper-70); transition: color .25s; }
.footer__cols a:hover { color: var(--lime); }
.footer__legal { margin-top: 40px; font-size: .88rem; color: var(--paper-50); }

/* ---------- WhatsApp flotante (sólo si hay número configurado) ---------- */
.wa {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 99px;
  background: var(--lime); color: var(--ink); font-weight: 700; text-decoration: none;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); transition: transform .45s var(--ease), opacity .3s;
}
.wa svg { width: 22px; height: 22px; }
.wa.is-away { transform: translateY(140%); opacity: 0; }

/* =========================================================
   REVEALS (sólo con JS activo)
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   MOVIMIENTO REDUCIDO
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .about__mark { background-size: 100% 42%; }
  .route__line { stroke-dashoffset: 0; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .manifest__strike::after { transform: scaleX(1); }
}
.contact .h-xxl { font-size: clamp(2.8rem, 6.4vw, 6.6rem); text-wrap: balance; }

/* Logo del header: isotipo + wordmark (versión horizontal del brandbook) */
.logo--lockup { display: inline-flex; align-items: flex-start; gap: 8.4px; }
.logo .logo__iso { aspect-ratio: auto; width: 27.23px; height: 18.6px; margin-top: 3.79px; color: var(--lime); transition: color .35s; }
.nav[data-on="light"] .logo__iso, .nav[data-on="lime"] .logo__iso, .nav[data-on="violet"] .logo__iso { color: var(--ink); }

