/* IKIU · Quiénes somos (scrollytelling oscuro) */
:root {
  --fondo: #05040f;
  --fondo2: #07061a;
  --texto: #f4f3ff;
  --suave: #c9c6e6;
  --azul: #4f7bff;
  --azulc: #8fb3ff;
  --violeta: #7b5cff;
  --lav: #b9a8ff;
  --ambar: #ffc46b;
  --nav: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--fondo); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: linear-gradient(180deg, var(--fondo) 0%, var(--fondo2) 100%);
  color: var(--texto);
  font: 400 1rem/1.65 "Manrope", system-ui, sans-serif;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ambar); outline-offset: 3px; border-radius: 6px; }
.salto { position: fixed; left: 12px; top: -60px; z-index: 50; background: var(--violeta); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; transition: top .2s; }
.salto:focus { top: 12px; }

/* lienzo y triángulos flotantes */
#lienzo { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; pointer-events: none; }
.flota { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.flota svg { position: absolute; left: 0; top: 0; overflow: visible; will-change: transform; }
.flota polygon { fill: none; stroke-width: 2; stroke-linejoin: round; }

/* navegación */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: var(--nav); transition: background .3s, backdrop-filter .3s; }
.nav.fondo { background: rgba(5, 4, 15, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav-in { max-width: 1240px; margin: 0 auto; height: 100%; padding: 0 24px; display: flex; align-items: center; gap: 8px; }
.logo { display: block; margin-right: auto; }
.logo svg { height: 36px; width: auto; display: block; }
.nav-links { display: none; gap: 2px; margin-right: 14px; }
.nav-links a, .pill, .burger { font: 500 .92rem/1 "Manrope", sans-serif; text-decoration: none; }
.nav-links a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--suave); border-radius: 999px; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: #fff; }
.nav-links a[aria-current] { position: relative; }
.nav-links a[aria-current]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--violeta); }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--violeta); color: #fff; font-weight: 700; transition: transform .2s, background .2s; }
.pill:hover { background: #8d72ff; transform: translateY(-1px); }
.pill .x { display: none; }
.burger { min-height: 44px; padding: 0 14px; border: 1px solid rgba(185, 168, 255, .35); background: transparent; color: var(--texto); border-radius: 999px; cursor: pointer; }
.nav-links.abierto { display: flex; flex-direction: column; position: absolute; top: calc(var(--nav) - 4px); left: 12px; right: 12px; padding: 8px 14px; border-radius: 22px; background: rgba(10, 8, 30, .96); border: 1px solid rgba(185, 168, 255, .2); margin: 0; }
.nav-links.abierto a { min-height: 48px; }
.nav-links.abierto a[aria-current]::after { left: 14px; right: auto; width: 24px; bottom: 8px; }

/* secciones */
main { position: relative; z-index: 2; }
.s { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav) + 24px) 0 64px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.txt { max-width: 520px; }
.txt.der { margin-left: auto; }
.centro { text-align: center; max-width: 900px; }
.centrado { text-align: center; }
.s-caos { min-height: 150vh; min-height: 150svh; }
.s-caos .wrap { display: flex; flex-direction: column; gap: 44vh; padding-top: 10vh; padding-bottom: 10vh; }
.s-valores { min-height: 120svh; }

h1, h2 { font-family: "Archivo", system-ui, sans-serif; font-weight: 300; letter-spacing: -.02em; line-height: 1.04; }
h1 { font-size: clamp(3.2rem, 8vw, 6.4rem); margin-bottom: 26px; }
h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); margin-bottom: 24px; }
h3 { font-family: "Archivo", system-ui, sans-serif; font-weight: 400; font-size: 1.25rem; line-height: 1.25; margin-bottom: 8px; }
.et { color: var(--ambar); font: 700 .8rem/1.4 "Manrope", sans-serif; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 22px; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--texto); margin-bottom: 18px; }
.txt p { color: var(--suave); font-size: 1.05rem; }
.txt p.lead { color: var(--texto); }
.txt p + p { margin-top: 14px; }
.grande { font: 300 clamp(1.7rem, 3.6vw, 3rem)/1.25 "Archivo", system-ui, sans-serif; letter-spacing: -.01em; color: var(--texto); text-shadow: 0 2px 30px rgba(5, 4, 15, .9); }
.grande.suave { color: var(--suave); }
.centro .grande + .grande { margin-top: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; margin-top: 12px; border-radius: 999px; background: var(--violeta); color: #fff; text-decoration: none; font: 700 1rem/1 "Manrope", sans-serif; transition: transform .2s, background .2s, box-shadow .2s; box-shadow: 0 8px 30px -8px rgba(123, 92, 255, .8); }
.btn:hover { background: #8d72ff; transform: translateY(-2px); }
.btn.sec { background: transparent; border: 1.5px solid rgba(185, 168, 255, .55); box-shadow: none; }
.btn.sec:hover { background: rgba(123, 92, 255, .22); }
.botones { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 26px; }
.botones .btn { margin-top: 0; }

/* aparición */
.anim .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.anim .txt.izq .rv { transform: translateX(-34px); }
.anim .txt.der .rv { transform: translateX(34px); }
.anim .rv.on, .anim .txt.izq .rv.on, .anim .txt.der .rv.on { opacity: 1; transform: none; }
.anim .txt .rv:nth-child(2) { transition-delay: .12s; }
.anim .txt .rv:nth-child(3) { transition-delay: .24s; }
.anim .txt .rv:nth-child(4) { transition-delay: .36s; }

/* carrusel */
.car { max-width: 880px; margin: 40px auto 0; }
.car-pista { display: grid; gap: 18px; }
.paso { display: flex; align-items: center; gap: 28px; padding: 28px 30px; border-radius: 28px; background: rgba(14, 11, 40, .72); border: 1px solid rgba(185, 168, 255, .22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.paso .num { font: 300 clamp(5.5rem, 14vw, 10rem)/.85 "Archivo", sans-serif; color: transparent; -webkit-text-stroke: 1.5px var(--lav); min-width: .7em; text-align: center; }
.paso p { color: var(--suave); }
.car.c-js .car-vp { overflow: hidden; border-radius: 28px; }
.car.c-js .car-pista { display: flex; gap: 0; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.car.c-js .paso { flex: 0 0 100%; min-height: 280px; border-radius: 28px; }
.car.c-js .paso h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.car.c-js .paso p { font-size: 1.1rem; }
.car-ctl { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.car-ctl[hidden] { display: none; }
.flecha { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--violeta); cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.flecha:hover { background: #8d72ff; transform: scale(1.06); }
.flecha svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.puntos { display: flex; gap: 6px; }
.puntos button { width: 28px; height: 44px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; padding: 0; }
.puntos button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--lav); transition: background .2s, width .2s; }
.puntos button[aria-current="true"]::before { background: var(--lav); width: 20px; border-radius: 6px; }

/* valores */
.val { display: grid; grid-template-columns: repeat(12, 1fr); gap: 42px 24px; margin-top: 48px; }
.val li { max-width: 340px; }
.val li:nth-child(1) { grid-column: 1 / 6; }
.val li:nth-child(2) { grid-column: 7 / 12; margin-top: 7vh; }
.val li:nth-child(3) { grid-column: 3 / 8; }
.val li:nth-child(4) { grid-column: 8 / 13; margin-top: 6vh; }
.val li:nth-child(5) { grid-column: 1 / 6; }
.val p { color: var(--suave); }
.ico { width: 44px; height: 44px; display: block; margin-bottom: 14px; overflow: visible; }
.ico path { fill: none; stroke: var(--c); stroke-width: 2.2; stroke-linejoin: round; filter: drop-shadow(0 0 6px var(--c)); }

.s-cierre { min-height: 100svh; }
.s-cierre h2 { margin-bottom: 14px; }
.s-cierre h2, .s-cierre .grande { text-shadow: 0 0 24px #05040f, 0 0 48px #05040f, 0 2px 30px rgba(5, 4, 15, .95); }

.pie { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; max-width: 1240px; margin: 0 auto; padding: 28px 24px 36px; border-top: 1px solid rgba(185, 168, 255, .15); color: var(--suave); font-size: .92rem; }
.pie nav { display: flex; gap: 6px; }
.pie a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; }
.pie a:hover { color: #fff; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .burger { display: none; }
  .pill .x { display: inline; }
}
@media (max-width: 767px) {
  :root { --nav: 60px; }
  .nav-in { padding: 0 16px; }
  .wrap { padding: 0 20px; }
  .logo svg { height: 30px; }
  /* la figura queda arriba, el texto abajo */
  .s-hero, .s-foco, .s-cel, .s-crece { align-items: flex-end; padding-top: 52svh; padding-bottom: 40px; }
  .s-hero { padding-top: 46svh; }
  .txt, .txt.der { max-width: none; margin-left: 0; }
  .s-hero .txt, .s-foco .txt, .s-cel .txt, .s-crece .txt { padding: 22px 18px; margin: 0 -18px; border-radius: 24px; background: linear-gradient(180deg, rgba(5, 4, 15, 0), rgba(5, 4, 15, .72) 26%); }
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.4rem; }
  .anim .txt.izq .rv, .anim .txt.der .rv { transform: translateY(24px); }
  .grande { font-size: 1.55rem; }
  .s-caos .wrap { gap: 38vh; }
  .paso { flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; }
  .paso .num { font-size: 5.5rem; }
  .car.c-js .paso { min-height: 300px; justify-content: center; }
  .val { grid-template-columns: 1fr; gap: 34px; }
  .val li, .val li:nth-child(n) { grid-column: 1; margin-top: 0; max-width: none; }
  .val li:nth-child(even) { padding-left: 10vw; }
  .btn { width: 100%; }
  .botones { flex-direction: column; }
  .pie { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim .rv { transition: none; }
  .car.c-js .car-pista { transition: none; }
}

/* ===== Vidrio líquido (isla del menú y paneles de texto) ===== */
:root {
  --v-fondo: linear-gradient(135deg, rgba(255, 255, 255, .11) 0%, rgba(255, 255, 255, .035) 42%, rgba(123, 92, 255, .07) 100%);
  --v-borde: rgba(255, 255, 255, .16);
  --v-sombra: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(255, 255, 255, .06), inset 0 0 28px rgba(185, 168, 255, .07), 0 24px 60px -24px rgba(0, 0, 0, .75);
  --v-blur: blur(20px) saturate(170%);
}
.vidrio, .nav-in, .paso, .val li {
  position: relative;
  background: var(--v-fondo);
  border: 1px solid var(--v-borde);
  box-shadow: var(--v-sombra);
  -webkit-backdrop-filter: var(--v-blur);
  backdrop-filter: var(--v-blur);
  isolation: isolate;
}
/* brillo especular arriba a la izquierda + borde con reflejo */
.vidrio::before, .nav-in::before, .paso::before, .val li::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(120% 80% at 12% 0%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 55%);
}
.vidrio::after, .nav-in::after, .paso::after, .val li::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(140deg, rgba(255, 255, 255, .55), rgba(185, 168, 255, .12) 30%, rgba(255, 255, 255, 0) 55%, rgba(143, 179, 255, .28) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .vidrio, .nav-in, .paso, .val li { background: rgba(14, 11, 40, .88); }
}

/* isla del menú */
.nav { top: 14px; left: 14px; right: 14px; height: auto; pointer-events: none; }
.nav.fondo { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav-in { pointer-events: auto; max-width: 1120px; height: 62px; padding: 0 10px 0 22px; border-radius: 999px; }
.nav-links.abierto { top: 72px; left: 0; right: 0; background: rgba(12, 10, 34, .82); -webkit-backdrop-filter: var(--v-blur); backdrop-filter: var(--v-blur); border-color: var(--v-borde); box-shadow: var(--v-sombra); }

/* paneles de texto */
.txt.vidrio { padding: 40px 42px 38px; border-radius: 32px; max-width: 580px; }
.txt.vidrio h1, .txt.vidrio h2 { margin-bottom: 20px; }
.burbuja { display: inline-block; padding: 26px 34px; border-radius: 30px; text-shadow: none; }
.s-caos .wrap { align-items: center; }
.cierre-panel { padding: 46px 48px 44px; border-radius: 36px; max-width: 820px; margin: 0 auto; }
.s-cierre h2, .s-cierre .grande { text-shadow: none; }
.paso { background: var(--v-fondo); }
.val li { padding: 24px 24px 22px; border-radius: 24px; }

/* el panel aparece junto con su texto */
.anim .vidrio { opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.anim .vidrio:has(.rv.on), .anim .vidrio.rv.on { opacity: 1; transform: none; }

@media (max-width: 767px) {
  .nav { top: 10px; left: 10px; right: 10px; }
  .nav-in { height: 56px; padding: 0 6px 0 16px; }
  .s-hero .txt, .s-foco .txt, .s-cel .txt, .s-crece .txt { margin: 0; padding: 26px 22px 24px; border-radius: 26px; background: var(--v-fondo); }
  .txt.vidrio { padding: 26px 22px 24px; }
  .burbuja { padding: 20px 22px; border-radius: 24px; }
  .cierre-panel { padding: 30px 22px; border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .anim .vidrio { opacity: 1; transform: none; transition: none; }
}

/* ===== Tipografía, jerarquía e íconos ===== */
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.s-hero { --acc: var(--lav); }
.s-foco, .s-como, .s-valores, .s-cierre { --acc: var(--ambar); }
.s-cel { --acc: var(--azulc); }
.s-crece { --acc: var(--lav); }

h1, h2 { font-family: "Archivo", system-ui, sans-serif; font-weight: 600; font-stretch: 112%; letter-spacing: -.025em; line-height: 1.02; }
h1 { font-size: clamp(3.4rem, 7.5vw, 6.4rem); }
h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h3 { font-family: "Archivo", system-ui, sans-serif; font-weight: 600; font-stretch: 108%; font-size: 1.2rem; }
h1 em, h2 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-stretch: 100%; font-size: 1.08em; letter-spacing: -.01em; }
em.lav { color: #b9a8ff; } em.amb { color: #ffc46b; } em.azu { color: #8fb3ff; }
.grande { font-weight: 500; font-stretch: 108%; }

.txt p, .lead { color: #c9c6e6; font-size: 1.05rem; line-height: 1.7; }
.txt p.lead, .lead { font-size: clamp(1.05rem, 1.4vw, 1.1rem); color: #c9c6e6; }
.txt strong, .grande strong, .paso strong { color: #fff; font-weight: 700; }
.grande .dato { color: #ffc46b; font-weight: 600; }
.grande strong { font-weight: 600; }

.kicker { display: flex; align-items: center; gap: 10px; color: var(--acc, var(--lav)); font: 700 .78rem/1.3 "Manrope", sans-serif; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 18px; }
.kicker.centrado { justify-content: center; }
.txt p.kicker { color: var(--acc); font-size: .78rem; line-height: 1.3; }
.s-como .kicker, .s-valores .kicker { margin-bottom: 14px; }

.checks { display: grid; gap: 12px; margin-top: 16px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: #c9c6e6; font-size: 1.05rem; line-height: 1.55; }
.checks .i { width: 22px; height: 22px; margin-top: 2px; color: var(--acc); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(185, 168, 255, .3); color: #fff; font: 600 .82rem/1.4 "Manrope", sans-serif; }

.btn .i { width: 20px; height: 20px; margin-left: 10px; stroke-width: 2.2; transition: transform .2s; }
.btn:hover .i, .pill:hover .i { transform: translateX(3px); }
.pill .i { width: 16px; height: 16px; margin-left: 8px; stroke-width: 2.2; transition: transform .2s; }
.nav-links a[aria-current] { font-weight: 600; color: #fff; }
.confianza { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.txt p.confianza { font-size: .85rem; color: #a9a6d0; }
.confianza span { display: inline-flex; align-items: center; gap: 6px; }
.confianza .i { width: 16px; height: 16px; color: var(--lav); }

.paso .num { font-weight: 800; font-stretch: 112%; }
.paso .pre { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.paso .bub { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 196, 107, .1); border: 1px solid rgba(255, 196, 107, .4); color: var(--ambar); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.paso .bub .i { width: 22px; height: 22px; }
.paso .sub { color: var(--ambar); font: 700 .78rem/1.3 "Manrope", sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.paso h3 { font-weight: 600; color: #fff; }
.paso p:not(.pre) { color: #c9c6e6; font-size: 1.05rem; line-height: 1.7; }

.ico { width: 60px; height: 60px; margin-bottom: 14px; }
.ico .tri { filter: drop-shadow(0 0 6px var(--c)); stroke-width: 1.6; }
.ico .ig { fill: none; stroke: #fff; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.ico .ig * { fill: none; stroke: #fff; stroke-width: 2.3; filter: none; }
.val h3 { font-size: 1.15rem; color: #fff; margin-bottom: 6px; }
.val p { color: #c9c6e6; font-size: 1.02rem; line-height: 1.6; }

@media (max-width: 767px) {
  h1 { font-size: 3.1rem; }
  h2 { font-size: 2.3rem; }
  .grande { font-size: 1.45rem; }
  .paso .num { font-size: 4.5rem; }
  .s-hero { padding-bottom: 15svh; padding-top: 30svh; }
}
