/* Presentación de producto NADKOR (25/09/2026). Hoja propia, como la
   carátula: no extiende base.html ni carga app.css.
   - Todo lo que se anima arranca oculto SOLO con `html.js` (lo pone
     presentacion.js desde el <head>): sin JS, la página se ve completa.
   - `prefers-reduced-motion` deja todo en su estado final, sin movimiento.
   - La paleta es la de la guía del kit (marca/kit_20260923); el ocre es
     acento de marca, nunca un color de estado: lo «automático» va en
     turquesa, no en ocre. */
:root {
  --profundo: #0C2F3D;
  --navy: #123F50;
  --teal: #278F91;
  --teal-claro: #35A3A1;
  --teal-oscuro: #1E7C7E;
  --teal-suave: #E3F2F2;
  --ocre: #D6A445;
  --fondo: #F4F8F9;
  --suave: #EAF2F4;
  --superficie: #FFFFFF;
  --texto: #1B3440;
  --texto-2: #52666F;
  --borde: #D6E2E5;
  --verde: #2FAE70;
  --ambar: #E3A33B;
  --rojo: #D2564E;
  --radio: 16px;
  --sombra: 0 1px 2px rgba(18, 56, 69, 0.06), 0 12px 32px -14px rgba(18, 56, 69, 0.22);
  --sombra-alta: 0 30px 70px -28px rgba(12, 40, 50, 0.45);
  --curva: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (min-width: 900px) and (min-height: 640px) {
  html { scroll-snap-type: y proximity; }
}
html, body { margin: 0; }
body { font-family: "Inter", system-ui, -apple-system, sans-serif; color: var(--texto); background: var(--fondo);
  -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.55; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 1em; height: 1em; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* --- Botones --------------------------------------------------------------- */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; text-decoration: none;
  font: inherit; font-weight: 600; font-size: 0.92rem; padding: 0.68rem 1.2rem; border-radius: 11px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s; }
.boton svg { width: 1.05rem; height: 1.05rem; }
.boton-primario { background: var(--teal-oscuro); color: #FFFFFF; box-shadow: 0 10px 24px -12px rgba(39, 143, 145, 0.95); }
.boton-primario:hover { background: #176466; transform: translateY(-1px); }
.boton-fantasma { background: rgba(255, 255, 255, 0.06); color: #FFFFFF; border-color: rgba(255, 255, 255, 0.35); }
.boton-fantasma:hover { background: rgba(255, 255, 255, 0.14); border-color: #FFFFFF; }
.boton-grande { padding: 0.9rem 1.55rem; font-size: 1rem; }
.boton-chico { padding: 0.5rem 0.95rem; font-size: 0.84rem; }
.boton-icono { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 10px;
  border: 1px solid var(--borde); background: var(--superficie); color: var(--texto-2); cursor: pointer; }
.boton-icono:hover { color: var(--teal-oscuro); border-color: var(--teal); }
.boton-icono svg { width: 1.1rem; height: 1.1rem; }
.boton-icono[hidden] { display: none; }

/* --- Barra, progreso y puntos ----------------------------------------------- */
.progreso { position: fixed; inset: 0 0 auto; height: 3px; z-index: 40; pointer-events: none; }
.progreso span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-claro) 70%, var(--ocre));
  transform-origin: 0 50%; transform: scaleX(0); }
.barra { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; gap: 1.25rem;
  height: 64px; padding: 0 1.5rem; background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(214, 226, 229, 0.8); }
.barra-logo img { display: block; height: 2.3rem; width: auto; }
.barra-contador { font-size: 0.82rem; color: var(--texto-2); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.barra-contador strong { color: var(--navy); }
.barra-acciones { display: flex; align-items: center; gap: 0.6rem; margin-left: auto; }

.puntos { position: fixed; right: 1.1rem; top: 50%; transform: translateY(-50%); z-index: 25;
  display: flex; flex-direction: column; gap: 0.6rem; }
.puntos button { position: relative; width: 11px; height: 11px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 2px solid rgba(90, 110, 119, 0.55); background: transparent; transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.puntos button:hover { transform: scale(1.25); border-color: var(--teal); }
.puntos button[aria-current="true"] { background: var(--teal); border-color: var(--teal); transform: scale(1.2); }
.puntos button span { position: absolute; right: 1.35rem; top: 50%; transform: translate(6px, -50%); white-space: nowrap;
  font-size: 0.75rem; font-weight: 600; color: #FFFFFF; background: var(--navy); padding: 0.25rem 0.55rem; border-radius: 6px;
  opacity: 0; pointer-events: none; transition: opacity 0.18s, transform 0.18s; }
.puntos button:hover span, .puntos button:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.oscuro-activo .puntos button { border-color: rgba(255, 255, 255, 0.55); }
.oscuro-activo .puntos button[aria-current="true"] { background: #FFFFFF; border-color: #FFFFFF; }

/* --- Láminas ---------------------------------------------------------------- */
.lamina { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: 6.5rem 1.5rem 4.5rem; scroll-snap-align: start; }
.lamina-suave { background: var(--suave); }
.lamina-oscura { color: #E4EEF1; background:
  radial-gradient(900px 520px at 88% 0%, rgba(53, 163, 161, 0.28), transparent 62%),
  radial-gradient(700px 480px at 0% 100%, rgba(214, 164, 69, 0.12), transparent 60%), var(--profundo); }
.lamina-contenido { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto; }

.titulo { max-width: 48rem; margin: 0 auto 2.6rem; text-align: center; }
.titulo.alineado-izquierda { margin: 0; text-align: left; }
.titulo h2 { font-size: clamp(1.75rem, 3.3vw, 2.6rem); line-height: 1.12; font-weight: 800; color: var(--navy); }
.lamina-oscura .titulo h2, .lamina-oscura h1, .lamina-oscura h2 { color: #FFFFFF; }
.titulo p:not(.eyebrow) { margin: 1rem 0 0; font-size: 1.06rem; color: var(--texto-2); }
.lamina-oscura .titulo p:not(.eyebrow) { color: #B9CDD3; }
.eyebrow { margin: 0 0 0.8rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-oscuro); }
.eyebrow-claro { color: #7FD0CE; }
.leyenda { margin: 1.4rem 0 0; text-align: center; font-size: 0.8rem; color: var(--texto-2); }
.leyenda-clara { color: #8FA9B1; text-align: left; margin-top: 1rem; }
.chip { display: inline-block; font-size: 0.74rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 999px; letter-spacing: 0.01em; }
.chip-azul { background: #E3F1F5; color: #1B6A7D; }
.chip-verde-oscuro { background: rgba(47, 174, 112, 0.18); color: #8EE0B5; }

.fondo-rejilla { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); }
.orbe { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.orbe-1 { width: 420px; height: 420px; right: -80px; top: 12%; background: rgba(53, 163, 161, 0.35); animation: flotar 14s ease-in-out infinite; }
.orbe-2 { width: 300px; height: 300px; left: -60px; bottom: 6%; background: rgba(214, 164, 69, 0.22); animation: flotar 18s ease-in-out infinite reverse; }
@keyframes flotar { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, 30px); } }

/* --- Iconos 3D (los de la carátula) -------------------------------------------- */
.icono-3d { position: relative; flex: none; width: 3.1rem; height: 3.1rem; border-radius: 50%; display: grid; place-items: center;
  color: #FFFFFF; background: radial-gradient(circle at 32% 26%, var(--c1) 0%, var(--c2) 55%, var(--c3) 100%);
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.26), inset 0 2px 3px rgba(255, 255, 255, 0.4), 0 8px 16px -6px var(--c3); }
.icono-3d::before { content: ""; position: absolute; top: 7%; left: 20%; width: 60%; height: 40%; border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0)); }
.icono-3d svg { position: relative; width: 1.45rem; height: 1.45rem; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3)); }
.c-inicio       { --c1: #86E3D6; --c2: #22A89A; --c3: #0D6A61; }
.c-cfdi         { --c1: #95C8FF; --c2: #2F7FE0; --c3: #1A4C96; }
.c-crm          { --c1: #C7B6FF; --c2: #7F5DEB; --c3: #4A2EA6; }
.c-operacion    { --c1: #FFCB8E; --c2: #EE8A2F; --c3: #A55213; }
.c-bancos       { --c1: #93E4B9; --c2: #2FAE70; --c3: #156E48; }
.c-contabilidad { --c1: #AEBAFF; --c2: #5566E0; --c3: #2D399C; }
.c-fiscal       { --c1: #FFB0A8; --c2: #E0625A; --c3: #9E322C; }
.c-nomina       { --c1: #FFB4D8; --c2: #DA5B9D; --c3: #95275E; }

/* --- 1 Portada ---------------------------------------------------------------- */
.portada-contenido { max-width: 900px; text-align: center; }
.portada-logo { display: block; width: min(360px, 70vw); height: auto; margin: 0 auto 2.2rem; }
.portada h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1.06; font-weight: 800; letter-spacing: -0.03em; }
.resalte { background: linear-gradient(90deg, #5FC4C1, var(--teal-claro) 55%, var(--ocre));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.bajada { max-width: 46rem; margin: 1.4rem auto 0; font-size: 1.15rem; color: #B9CDD3; }
.acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 2.2rem; }
.sellos { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem 1.6rem; margin: 2.4rem 0 0; padding: 0; }
.sellos li { display: flex; align-items: center; gap: 0.45rem; font-size: 0.88rem; color: #B9CDD3; }
.sellos svg { width: 1.05rem; height: 1.05rem; color: #7FD0CE; }
.siguiente { position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 1; display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); color: #FFFFFF;
  animation: rebote 2.2s ease-in-out infinite; }
.siguiente svg { width: 1.2rem; height: 1.2rem; }
@keyframes rebote { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }

/* --- 2 Reto: seis islas desconectadas ------------------------------------------- */
.islas { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.3rem; }
.isla { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; text-align: center;
  padding: 1.3rem 0.7rem; background: var(--superficie); border: 1px dashed #B8CCD2; border-radius: var(--radio); box-shadow: var(--sombra); }
.isla .icono-3d { margin-bottom: 0.35rem; width: 2.7rem; height: 2.7rem; }
.isla .icono-3d svg { width: 1.25rem; height: 1.25rem; }
.isla strong { color: var(--navy); font-size: 0.95rem; line-height: 1.25; }
.isla span { font-size: 0.8rem; color: var(--texto-2); }
.isla + .isla::before { content: ""; position: absolute; left: -1.3rem; top: 50%; width: 1.3rem; border-top: 2px dashed #C5D4D8; }
.isla + .isla::after { content: "×"; position: absolute; left: -0.9rem; top: calc(50% - 0.75rem); width: 0.5rem; text-align: center;
  font-weight: 800; color: var(--rojo); background: var(--fondo); line-height: 1.4; }
.visible .isla:nth-child(odd) { animation: deriva 7s ease-in-out 1s infinite; }
.visible .isla:nth-child(even) { animation: deriva 8s ease-in-out 1.6s infinite reverse; }
@keyframes deriva { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -6px; rotate: -0.8deg; } }
.consecuencias { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem;
  margin: 2.4rem 0 0; padding: 0; }
.consecuencias li { display: flex; gap: 0.8rem; align-items: flex-start; padding: 1.1rem 1.2rem; background: #FFF6F5;
  border: 1px solid #F3D3D0; border-radius: 12px; }
.consecuencias svg { flex: none; width: 1.3rem; height: 1.3rem; padding: 0.2rem; border-radius: 50%; color: #FFFFFF; background: var(--rojo); }
.consecuencias strong { display: block; color: #7A2A25; }
.consecuencias span { font-size: 0.88rem; color: #6B4D4A; }

/* --- 3 Una captura: una venta que actualiza a toda la empresa ------------------- */
.captura { display: grid; grid-template-columns: minmax(0, 0.8fr) 5rem minmax(0, 1.6fr); align-items: center; }
.captura-centro { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem;
  padding: 1.6rem 1.6rem 1.5rem; background: var(--superficie); border: 1px solid var(--borde); border-radius: 20px; box-shadow: var(--sombra-alta); }
.captura-cliente { margin-top: 0.5rem; font-size: 1.3rem; color: var(--navy); }
.captura-detalle { color: var(--texto-2); font-size: 0.92rem; }
.captura-total { margin-top: 0.6rem; font-size: 2rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.captura-pulso { position: absolute; inset: -1px; border-radius: 20px; border: 2px solid var(--teal); opacity: 0; pointer-events: none; }
.visible .captura-pulso { animation: pulso 2.4s ease-out 0.8s 3; }
@keyframes pulso { 0% { opacity: 0.7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.08); } }
.captura::before { content: ""; grid-column: 2; grid-row: 1; height: 3px; margin: 0 0.6rem; border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 14px); background-size: 28px 3px;
  animation: corriente 0.9s linear infinite; }
.captura-centro { grid-column: 1; grid-row: 1; }
.captura-efectos { grid-column: 3; grid-row: 1; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.efecto { position: relative; display: flex; align-items: center; gap: 0.8rem; padding: 0.95rem 1rem; background: var(--superficie);
  border: 1px solid var(--borde); border-radius: 14px; box-shadow: var(--sombra); transition: opacity 0.5s, filter 0.5s, border-color 0.5s, transform 0.5s var(--curva); }
.efecto .icono-3d { width: 2.5rem; height: 2.5rem; }
.efecto .icono-3d svg { width: 1.15rem; height: 1.15rem; }
.efecto strong { display: block; color: var(--navy); font-size: 0.95rem; }
.efecto span { display: block; font-size: 0.84rem; color: var(--texto-2); line-height: 1.35; }
.efecto-ok { flex: none; margin-left: auto; width: 1.35rem; height: 1.35rem; padding: 0.22rem; border-radius: 50%;
  color: #FFFFFF; background: var(--verde); transition: transform 0.4s var(--curva), opacity 0.4s; }
@keyframes corriente { to { background-position: 28px 0; } }

/* --- 4 Ciclos: tres procesos de principio a fin ------------------------------------ */
.ciclos { display: grid; gap: 1.1rem; }
.ciclo { display: grid; grid-template-columns: 13rem minmax(0, 1fr); align-items: center; gap: 1.2rem;
  padding: 1.1rem 1.3rem; background: var(--superficie); border: 1px solid var(--borde); border-radius: var(--radio); box-shadow: var(--sombra); }
.ciclo-nombre { display: flex; align-items: center; gap: 0.6rem; margin: 0; font-weight: 700; color: var(--navy); line-height: 1.3; }
.ciclo-nombre svg { flex: none; width: 1.5rem; height: 1.5rem; padding: 0.3rem; border-radius: 9px; color: var(--teal-oscuro); background: var(--teal-suave); }
.ciclo ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.4rem; }
.ciclo li { position: relative; display: grid; place-items: center; min-height: 3.4rem; padding: 0.45rem 0.5rem; text-align: center;
  font-size: 0.84rem; font-weight: 600; line-height: 1.25; color: var(--texto); background: var(--fondo);
  border: 1px solid var(--borde); border-radius: 11px; transition: opacity 0.45s var(--curva), transform 0.45s var(--curva); }
.ciclo li + li::before { content: ""; position: absolute; left: -1.4rem; top: 50%; width: 1.4rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal) 0 6px, transparent 6px 10px); background-size: 20px 2px;
  animation: corriente-corta 0.8s linear infinite; }
.ciclo li + li::after { content: ""; position: absolute; left: -0.45rem; top: calc(50% - 4px); border: 5px solid transparent;
  border-left: 6px solid var(--teal); border-right: 0; }
.ciclo li.auto { color: #FFFFFF; background: linear-gradient(135deg, var(--teal), var(--teal-oscuro)); border-color: var(--teal-oscuro);
  box-shadow: 0 10px 22px -12px rgba(30, 124, 126, 0.9); }
@keyframes corriente-corta { to { background-position: 20px 0; } }
.nota-centro { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin: 2rem auto 0; max-width: 40rem;
  text-align: center; font-weight: 600; color: var(--navy); padding: 0.8rem 1.2rem; border-radius: 999px;
  background: var(--superficie); border: 1px solid var(--borde); }
.punto-auto { flex: none; width: 0.9rem; height: 0.9rem; border-radius: 4px; background: linear-gradient(135deg, var(--teal), var(--teal-oscuro)); }

/* --- 5 Áreas ---------------------------------------------------------------------- */
.deptos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.depto { position: relative; padding: 1.2rem 1.2rem 1.1rem; background: var(--superficie); border: 1px solid var(--borde); border-radius: 14px;
  box-shadow: var(--sombra); transition: transform 0.25s var(--curva), box-shadow 0.25s, border-color 0.25s; }
.depto:hover { transform: translateY(-4px); border-color: #B7D6DA; box-shadow: var(--sombra-alta); }
.depto .icono-3d { width: 2.5rem; height: 2.5rem; }
.depto .icono-3d svg { width: 1.15rem; height: 1.15rem; }
.depto h3 { margin-top: 0.8rem; font-size: 1rem; color: var(--navy); line-height: 1.3; }
.depto p { margin: 0.35rem 0 0; font-size: 0.86rem; color: var(--texto-2); line-height: 1.45; }
.depto-auto { background: linear-gradient(160deg, #F1FAFA, #E3F2F2); border: 1.5px dashed var(--teal); }
.badge-auto { position: absolute; top: 0.9rem; right: 0.9rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 0.22rem 0.55rem; border-radius: 999px; color: #FFFFFF; background: var(--teal-oscuro); }

/* --- 6 Tablero de dirección ------------------------------------------------------------ */
.tablero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.1rem; }
.kpis { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.kpi { padding: 1.05rem 1.2rem; background: var(--superficie); border: 1px solid var(--borde); border-radius: 14px; box-shadow: var(--sombra); }
.kpi small { display: block; font-size: 0.78rem; font-weight: 600; color: var(--texto-2); }
.kpi strong { display: block; margin-top: 0.3rem; font-size: 1.55rem; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.kpi em { display: block; margin-top: 0.15rem; font-style: normal; font-size: 0.8rem; color: var(--texto-2); }
.kpi em.sube { color: #1B7348; font-weight: 600; }
.kpi em.baja { color: #A8433C; font-weight: 600; }
.grafica { margin: 0; padding: 1.15rem 1.25rem; background: var(--superficie); border: 1px solid var(--borde); border-radius: 14px; box-shadow: var(--sombra); }
.grafica figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.4rem 1rem; margin-bottom: 0.6rem; }
.grafica figcaption strong { color: var(--navy); font-size: 0.95rem; }
.grafica figcaption span { font-size: 0.78rem; color: var(--texto-2); }
.leyenda-series i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 0.3rem 0 0.5rem; vertical-align: -1px; }
.serie-a { background: var(--teal); }
.serie-b { background: #9DB7C1; }
.grafica-barras svg { display: block; width: 100%; height: auto; }
.guia { stroke: #E6EEF0; stroke-width: 1; }
.base { stroke: #B8C9CF; stroke-width: 1; }
.eje { font-size: 11px; fill: var(--texto-2); font-family: inherit; }
.barra-a { fill: var(--teal); }
.barra-b { fill: #9DB7C1; }
.barra-svg { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 0.9s var(--curva), opacity 0.2s; }
.barra-svg:hover { opacity: 0.8; }
.embudo { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.embudo li { display: grid; grid-template-columns: 6.7rem minmax(0, 1fr); align-items: center; gap: 0.7rem; font-size: 0.84rem; color: var(--texto-2); }
.embudo li b { grid-column: 2; grid-row: 1; position: relative; z-index: 1; padding-left: 0.7rem; color: #FFFFFF; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.embudo-barra { grid-column: 2; grid-row: 1; height: 2.1rem; border-radius: 8px; transform-origin: 0 50%;
  transition: transform 1s var(--curva); }
.n1 .embudo-barra { width: 100%; background: #9FD1CF; }
.n2 .embudo-barra { width: 70%; background: #5FB3B3; transition-delay: 0.2s; }
.n3 .embudo-barra { width: 48%; background: var(--teal); transition-delay: 0.4s; }
.n4 .embudo-barra { width: 30%; background: var(--navy); transition-delay: 0.6s; }
.n1 b { color: var(--navy); }
.embudo-nota { margin: 1.2rem 0 0; padding-top: 0.9rem; border-top: 1px solid #EDF3F5; font-size: 0.86rem; color: var(--texto-2); }
.embudo-nota strong { color: var(--navy); }
.franja-reportes { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 1.6rem auto 0; max-width: 60rem;
  padding: 0.9rem 1.4rem; border-radius: 14px; background: var(--superficie); border: 1px solid var(--borde); color: var(--texto-2); font-size: 0.92rem; }
.franja-reportes strong { flex: none; font-size: 2.2rem; line-height: 1; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }

/* --- 7 Contabilidad e impuestos ----------------------------------------------------------- */
.dos-columnas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.lista-check { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.lista-check li { display: flex; gap: 0.6rem; align-items: flex-start; color: #D6E4E8; font-size: 0.97rem; }
.lista-check svg { flex: none; width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; color: #7FD0CE; }
.semaforo { padding: 1.4rem 1.5rem; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); }
.semaforo-encabezado { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.1rem; color: #FFFFFF; }
.fuentes { display: grid; gap: 0.75rem; }
.fuente { display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 1rem; align-items: baseline; }
.fuente small { color: #A9C1C8; font-size: 0.84rem; }
.fuente strong { color: #FFFFFF; font-variant-numeric: tabular-nums; }
.barrita { grid-column: 1 / -1; height: 7px; border-radius: 7px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.barrita i { display: block; height: 100%; border-radius: 7px; background: linear-gradient(90deg, var(--teal), #5FC4C1);
  transform-origin: 0 50%; transition: transform 1s var(--curva); }
.f2 .barrita i { transition-delay: 0.35s; } .f3 .barrita i { transition-delay: 0.7s; }
.coincide { display: flex; align-items: center; gap: 0.5rem; margin: 1.1rem 0; padding: 0.6rem 0.8rem; border-radius: 10px;
  background: rgba(47, 174, 112, 0.14); color: #A6EBC6; font-weight: 600; font-size: 0.9rem; transition: opacity 0.5s 1.4s, transform 0.5s 1.4s; }
.coincide svg { width: 1.1rem; height: 1.1rem; }
.pendientes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; }
.pendientes li { display: flex; align-items: center; gap: 0.65rem; padding: 0.55rem 0; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.9rem; color: #E4EEF1; }
.pendientes em { margin-left: auto; font-style: normal; font-size: 0.8rem; color: #A9C1C8; }
.luz { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.luz-verde { background: var(--verde); box-shadow: 0 0 0 4px rgba(47, 174, 112, 0.2); }
.luz-ambar { background: var(--ambar); box-shadow: 0 0 0 4px rgba(227, 163, 59, 0.2); }
.visible .luz-ambar { animation: latido 2s ease-in-out 2s infinite; }
@keyframes latido { 50% { box-shadow: 0 0 0 7px rgba(227, 163, 59, 0.05); } }

/* --- 8 Control y seguridad ------------------------------------------------------------------ */
.garantias { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.garantia { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; background: var(--superficie);
  border: 1px solid var(--borde); border-radius: var(--radio); box-shadow: var(--sombra); }
.garantia h3 { font-size: 1.02rem; color: var(--navy); }
.garantia p { margin: 0.35rem 0 0; font-size: 0.88rem; color: var(--texto-2); }

/* --- 9 Implementación ------------------------------------------------------------------------ */
.linea-tiempo { position: relative; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; margin: 0; padding: 0; }
.linea-tiempo::before { content: ""; position: absolute; left: 8%; right: 8%; top: 1.5rem; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-claro) 80%, var(--ocre)); transform-origin: 0 50%;
  transition: transform 1.6s var(--curva) 0.2s; }
.hito { position: relative; text-align: center; }
.hito-num { position: relative; display: grid; place-items: center; width: 3rem; height: 3rem; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--superficie); border: 3px solid var(--teal); color: var(--navy); font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 0 0 6px var(--suave); }
.hito h3 { font-size: 1.02rem; color: var(--navy); }
.hito p { margin: 0.4rem 0 0; font-size: 0.86rem; color: var(--texto-2); }

/* --- 10 Cierre --------------------------------------------------------------------------------- */
.cierre { flex-direction: column; justify-content: center; padding-bottom: 0; }
.cierre-contenido { max-width: 820px; text-align: center; margin-top: auto; }
.cierre-icono { display: block; width: 88px; height: 88px; margin: 0 auto 1.6rem; border-radius: 22px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6); }
.cierre h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; font-weight: 800; }
.cierre-sitio { margin: 1.6rem 0 0; }
.cierre-sitio a { color: #7FD0CE; font-weight: 600; text-decoration: none; }
.pie-presentacion { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: auto auto 0; padding: 2.4rem 0 1.4rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1.5rem; font-size: 0.76rem; color: #8FA9B1; }
.pie-presentacion nav { display: flex; gap: 1.2rem; }
.pie-presentacion a { color: #B9CDD3; }

/* --- Animación de entrada (solo con JS) ------------------------------------------------------------ */
html.js .aparece { opacity: 0; transform: translateY(26px);
  transition: opacity 0.75s var(--curva), transform 0.75s var(--curva); transition-delay: calc(var(--i, 0) * 80ms); }
html.js .visible .aparece { opacity: 1; transform: none; }
html.js .portada .aparece { transform: translateY(18px) scale(0.985); }
html.js .portada.visible .aparece { transform: none; }

/* Una venta: primero la tarjeta, luego cada área se «enciende» con su palomita. */
html.js .efecto { opacity: 0.35; filter: grayscale(1); transform: translateY(8px); }
html.js .efecto-ok { transform: scale(0); opacity: 0; }
html.js .visible .efecto { opacity: 1; filter: none; transform: none; border-color: #BFE0DF; }
html.js .visible .efecto-ok { transform: none; opacity: 1; }
.e1, .e1 .efecto-ok { transition-delay: 1.0s; } .e2, .e2 .efecto-ok { transition-delay: 1.35s; }
.e3, .e3 .efecto-ok { transition-delay: 1.7s; } .e4, .e4 .efecto-ok { transition-delay: 2.05s; }
.e5, .e5 .efecto-ok { transition-delay: 2.4s; } .e6, .e6 .efecto-ok { transition-delay: 2.75s; }

/* Procesos: los pasos de cada fila entran uno tras otro. */
html.js .ciclo li { opacity: 0; transform: translateX(-10px); }
html.js .visible .ciclo li { opacity: 1; transform: none; }
.ciclo li:nth-child(1) { transition-delay: 0.3s; } .ciclo li:nth-child(2) { transition-delay: 0.5s; }
.ciclo li:nth-child(3) { transition-delay: 0.7s; } .ciclo li:nth-child(4) { transition-delay: 0.9s; }
.ciclo li:nth-child(5) { transition-delay: 1.1s; } .ciclo li:nth-child(6) { transition-delay: 1.4s; }

html.js .barra-svg { transform: scaleY(0); transition-delay: calc(0.3s + var(--i, 0) * 90ms); }
html.js .visible .barra-svg { transform: scaleY(1); }
html.js .embudo-barra { transform: scaleX(0); }
html.js .visible .embudo-barra { transform: scaleX(1); }
html.js .barrita i { transform: scaleX(0); }
html.js .visible .barrita i { transform: scaleX(1); }
html.js .coincide { opacity: 0; transform: translateY(8px); }
html.js .visible .coincide { opacity: 1; transform: none; }
html.js .linea-tiempo::before { transform: scaleX(0); }
html.js .visible .linea-tiempo::before { transform: scaleX(1); }

/* --- Responsivo -------------------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .deptos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .islas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .isla:nth-child(4)::before, .isla:nth-child(4)::after { display: none; }
  .ciclo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .puntos { display: none; }
  .lamina { padding: 5.5rem 1rem 3.5rem; min-height: auto; }
  .portada, .cierre { min-height: 100svh; }
  .titulo { margin-bottom: 1.8rem; }
  .consecuencias, .garantias { grid-template-columns: minmax(0, 1fr); }
  .captura { grid-template-columns: minmax(0, 1fr); }
  .captura::before { grid-column: 1; grid-row: 2; justify-self: center; width: 3px; height: 2.4rem; margin: 0;
    background: repeating-linear-gradient(180deg, var(--teal) 0 8px, transparent 8px 14px); background-size: 3px 28px; animation-name: corriente-v; }
  .captura-centro { grid-column: 1; grid-row: 1; }
  .captura-efectos { grid-column: 1; grid-row: 3; }
  .ciclo ol { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 0.8rem; }
  .ciclo li:nth-child(4)::before, .ciclo li:nth-child(4)::after { display: none; }
  .tablero { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .franja-reportes { flex-direction: column; text-align: center; }
  .dos-columnas { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .linea-tiempo { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .linea-tiempo::before { left: 1.45rem; right: auto; top: 1rem; bottom: 1rem; width: 3px; height: auto;
    background: linear-gradient(180deg, var(--teal), var(--teal-claro) 80%, var(--ocre)); transform-origin: 50% 0; }
  html.js .linea-tiempo::before { transform: scaleY(0); }
  html.js .visible .linea-tiempo::before { transform: scaleY(1); }
  .hito { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1rem; text-align: left; }
  .hito-num { grid-row: span 2; margin: 0; }
}
@keyframes corriente-v { to { background-position: 0 28px; } }
@media (max-width: 760px) {
  .barra { gap: 0.7rem; padding: 0 1rem; }
  .barra-contador, .boton-icono { display: none; }
  .deptos, .islas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .isla::before, .isla::after { display: none; }
  .captura-efectos { grid-template-columns: minmax(0, 1fr); }
  .ciclo ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ciclo li::before, .ciclo li::after { display: none; }
}
@media (max-width: 480px) {
  .barra-logo img { height: 1.9rem; }
  .barra .boton-chico { padding: 0.45rem 0.7rem; font-size: 0.78rem; }
  .deptos { grid-template-columns: minmax(0, 1fr); }
  .kpis { gap: 0.7rem; }
  .kpi { padding: 0.85rem 0.9rem; }
  .kpi strong { font-size: 1.2rem; }
  .acciones .boton { width: 100%; }
  .embudo li { grid-template-columns: 5.6rem minmax(0, 1fr); font-size: 0.8rem; }
}

/* Sin movimiento para quien lo pidió: todo en su estado final. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .aparece, html.js .coincide, html.js .ciclo li, html.js .efecto { opacity: 1; transform: none; filter: none; }
  html.js .efecto-ok { opacity: 1; transform: none; }
  html.js .barra-svg, html.js .embudo-barra, html.js .barrita i, html.js .linea-tiempo::before { transform: none; }
}

/* Impresión / PDF desde el navegador: una lámina por hoja, sin animación. */
@media print {
  @page { size: landscape; margin: 0; }
  html { scroll-snap-type: none; }
  body { background: #FFFFFF; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .barra, .puntos, .progreso, .siguiente, .orbe { display: none !important; }
  .lamina { min-height: 100vh; break-after: page; page-break-after: always; padding: 2.5rem 2rem; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .aparece, html.js .coincide, html.js .ciclo li, html.js .efecto { opacity: 1 !important; transform: none !important; filter: none !important; }
  html.js .efecto-ok { opacity: 1 !important; transform: none !important; }
  html.js .barra-svg, html.js .embudo-barra, html.js .barrita i, html.js .linea-tiempo::before { transform: none !important; }
}
