/* Portada (dueño, 2026-11-19): estilo app de aprendizaje con juego, con la identidad de Tecleo (menta, azul noche, símbolos de terminal).
   Todo va dentro de body[data-pagina="portada"] para que ninguna regla general la pise. No sustituir sin que lo pida el dueño. */
body[data-pagina="portada"] {
  --lp-menta: #19C39C; --lp-menta-texto: #0B7A61; --lp-menta-viva: #0E9F7E;
  --lp-ambar: #FF9F1A; --lp-ambar-texto: #B35F00; --lp-coral: #FF5D6C; --lp-cielo: #2F9BFF; --lp-cielo-texto: #1565C0; --lp-noche: #0B1626;
  --lp-tinte-menta: #E9FBF5; --lp-tinte-cielo: #EAF4FF; --lp-tinte-ambar: #FFF4E3;
  --lp-violeta: #8B5CF6; --lp-violeta-texto: #6D3FD6; --lp-tinte-violeta: #F2EDFF; --lp-crema: #FFF6E5; --lp-gris: #F3F6FA;
  --lp-hero-a: #D7F7EB; --lp-hero-b: #F1FCF8; --lp-verde-a: #0C8B6F; --lp-verde-b: #0A6F59;
  background: var(--superficie); overflow-x: clip;

  & #vista { width: 100%; max-width: none; padding: 0; }
  & .cabecera-app { border-bottom-color: var(--superficie-2); }
  & .lp-caja { width: min(100% - 2rem, 1080px); margin-inline: auto; }
  & .bloque { margin: 0; padding-block: clamp(56px, 9vw, 104px); }
  & .lp-c-menta { --c: var(--lp-menta); } & .lp-c-ambar { --c: var(--lp-ambar); } & .lp-c-coral { --c: var(--lp-coral); }
  & .lp-t-menta { color: var(--lp-menta-viva); } & .lp-t-ambar { color: var(--lp-ambar-texto); } & .lp-t-cielo { color: var(--lp-cielo-texto); }
  & .lp-centro { text-align: center; }
  & .lp-sub { margin: -22px auto 32px; max-width: 46ch; text-align: center; font-size: 1.1rem; color: var(--texto-suave); }
  & .lp-t-violeta { color: var(--lp-violeta-texto); }
  & .lp-antetitulo { margin: 0 0 10px; font: 700 .8rem/1 var(--fuente-codigo); letter-spacing: .12em; text-transform: uppercase; color: var(--lp-menta-texto); }

  /* Botones gruesos */
  & :is(.lp-cta, .lp-cta-2, .lp-cta-blanco) { min-height: 54px; padding: 0 28px; border-radius: 16px; font: 800 1rem/1 var(--fuente-titulos); letter-spacing: .06em; text-transform: uppercase; }
  & .lp-cta-2 { --b-fondo: var(--superficie); --b-texto: var(--lp-menta-texto); --b-sombra: var(--superficie-2); border: 2px solid var(--superficie-2); }
  & .lp-cta-blanco { --b-fondo: #FFFFFF; --b-texto: #0B6B57; --b-sombra: #0A7A60; }

  /* ── Cabecera centrada ── */
  & .lp-hero { display: block; position: relative; isolation: isolate; overflow: hidden; padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 7vw, 80px); text-align: center;
    background: radial-gradient(ellipse 70% 55% at 50% 28%, rgb(255 255 255 / .7), transparent 70%), linear-gradient(180deg, var(--lp-hero-a), var(--lp-hero-b) 85%); }
  & .lp-hero-centro { display: flex; flex-direction: column; align-items: center; }
  & .lp-hero-arte { position: relative; width: min(100%, 560px); height: clamp(230px, 40vw, 300px); display: grid; place-items: center; margin-bottom: 8px; }
  & .lp-anillo { position: absolute; width: clamp(190px, 34vw, 250px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #DDFBF1, #B5F0DE 65%, #9BE8D3);
    box-shadow: 0 0 0 14px rgb(25 195 156 / .10), 0 0 0 30px rgb(25 195 156 / .05); }
  & .lp-tecli-grande { position: relative; width: clamp(140px, 25vw, 190px); height: auto; filter: drop-shadow(0 16px 20px rgb(14 159 126 / .28)); animation: lp-flota 5s ease-in-out infinite; }
  & .lp-burbuja { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: var(--superficie); text-align: left;
    border: 2px solid var(--superficie-2); box-shadow: 0 4px 0 var(--superficie-2), 0 12px 24px rgb(var(--sombra-color) / .06); color: var(--texto); animation: lp-flota 6s ease-in-out infinite; }
  & .lp-burbuja b { display: block; font: 800 1rem/1.1 var(--fuente-titulos); } & .lp-burbuja small { display: block; font-size: .75rem; color: var(--texto-suave); }
  & .lp-burbuja code { font: 600 .85rem/1 var(--fuente-codigo); color: var(--lp-menta-texto); }
  & .lp-b-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); }
  & .lp-b-ico .i { width: 18px; height: 18px; vertical-align: 0; }
  & .lp-b1 { top: 12%; left: 0; animation-delay: -1s; } & .lp-b2 { top: 4%; right: 0; animation-delay: -3s; }
  & .lp-b3 { bottom: 10%; right: 2%; animation-delay: -2s; } & .lp-b4 { bottom: 4%; left: 8%; animation-delay: -4s; }
  @media (max-width: 559px) { & .lp-b2 { display: none; } & .lp-b1 { top: 6%; } & .lp-burbuja { padding: 8px 10px; } }
  & .lp-etiqueta { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 7px 14px; border-radius: 999px; background: var(--superficie); border: 2px solid var(--superficie-2);
    font: 600 .8rem/1 var(--fuente-codigo); color: var(--texto-suave); }
  & .lp-punto { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-menta); box-shadow: 0 0 0 4px rgb(25 195 156 / .2); }
  & .lp-hero h1 { margin: 0 auto 16px; max-width: 16ch; font: 900 clamp(2.3rem, 6.2vw, 4.1rem)/1.04 var(--fuente-titulos); letter-spacing: -.025em; color: var(--texto); }
  & .lp-hero h1 em { font-style: normal; color: var(--lp-menta-texto); background: linear-gradient(transparent 68%, rgb(25 195 156 / .22) 68%); padding: 0 .08em; white-space: nowrap; }
  & .lp-hero .lema { margin: 0 auto 28px; max-width: 46ch; font-size: clamp(1.05rem, 2.1vw, 1.25rem); color: var(--texto-suave); }
  & .lp-hero .portada-botones { display: grid; gap: 12px; width: min(100%, 340px); margin: 0 auto; }
  @media (min-width: 640px) { & .lp-hero .portada-botones { width: auto; grid-template-columns: auto auto; } }
  & .lp-garantias { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 22px 0 0; padding: 0; color: var(--texto-suave); font-size: .9rem; font-weight: 600; }
  & .lp-garantias li { display: inline-flex; align-items: center; gap: 6px; } & .lp-garantias .i { color: var(--lp-menta-viva); width: 18px; height: 18px; }
  & .lp-hero .portada-enlaces { margin: 14px 0 0; font-size: .9rem; } & .portada-enlaces a { color: var(--texto-suave); }

  /* Símbolos de terminal flotando de fondo */
  & .lp-glifos { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
  & .lp-glifo { position: absolute; font: 700 clamp(1rem, 2vw, 1.5rem)/1 var(--fuente-codigo); color: rgb(14 159 126 / .16); animation: lp-flota 8s ease-in-out infinite; }
  & .lp-g0 { top: 8%; left: 6%; } & .lp-g1 { top: 18%; right: 8%; animation-delay: -2s; } & .lp-g2 { top: 44%; left: 3%; animation-delay: -4s; }
  & .lp-g3 { top: 60%; right: 4%; animation-delay: -1s; } & .lp-g4 { bottom: 10%; left: 12%; animation-delay: -3s; } & .lp-g5 { bottom: 18%; right: 14%; animation-delay: -5s; }
  & .lp-g6 { top: 30%; left: 18%; animation-delay: -6s; } & .lp-g7 { top: 6%; right: 24%; animation-delay: -7s; } & .lp-g8 { bottom: 4%; right: 34%; animation-delay: -2.5s; }
  & .lp-g9 { top: 72%; left: 26%; animation-delay: -1.5s; } & .lp-g10 { top: 52%; right: 22%; animation-delay: -3.5s; } & .lp-g11 { top: 14%; left: 32%; animation-delay: -4.5s; }
  @media (max-width: 719px) { & :is(.lp-g6, .lp-g9, .lp-g10, .lp-g11, .lp-g7) { display: none; } }

  /* Tira de rutas */
  & .lp-tira { border-block: 2px solid var(--superficie-2); background: var(--superficie); }
  & .lp-tira-pista { overflow: hidden; padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  & .lp-tira-carril { display: flex; width: max-content; animation: lp-tira 38s linear infinite; }
  & .lp-tira:hover .lp-tira-carril { animation-play-state: paused; }
  & .lp-tira-item { margin-right: 8px; }
  & .lp-tira-pista::-webkit-scrollbar { display: none; }
  & .lp-tira-item { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px; color: var(--texto-suave);
    font: 800 .9rem/1 var(--fuente-titulos); text-decoration: none; text-transform: uppercase; letter-spacing: .05em; transition: background var(--d-rapida); }
  & .lp-tira-item:hover { background: var(--fondo); color: var(--texto); }
  & .lp-tira-ico { --ac: #19C39C; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: color-mix(in srgb, var(--ac) 16%, var(--superficie)); color: color-mix(in srgb, var(--ac) 80%, #000); }
  & .lp-tira-ico .i { width: 20px; height: 20px; vertical-align: 0; }
  & [data-area="git"] .lp-tira-ico { --ac: #F05A28; } & [data-area="sql"] .lp-tira-ico { --ac: #3B7BF6; } & [data-area="docker"] .lp-tira-ico { --ac: #1D9BF0; }
  & [data-area="python"] .lp-tira-ico { --ac: #E7A700; } & [data-area="redes"] .lp-tira-ico { --ac: #4F46E5; } & [data-area="powershell"] .lp-tira-ico { --ac: #2563EB; } & [data-area="mecanografia"] .lp-tira-ico { --ac: #8B5CF6; }

  /* Títulos de sección */
  & .lp-titulo-centro { margin: 0 auto 36px; max-width: 22ch; text-align: center; font: 900 clamp(1.9rem, 4.6vw, 2.9rem)/1.1 var(--fuente-titulos); letter-spacing: -.015em; color: var(--texto); }
  & .lp-titulo-centro span { color: var(--lp-menta-texto); }

  /* Ventajas: tres tarjetas de color */
  & .ventajas { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  & .ventajas li { --c: var(--lp-menta); --t: var(--lp-tinte-menta); text-align: center; padding: 32px 24px 28px; border-radius: 24px; background: var(--superficie); border: 2px solid color-mix(in srgb, var(--c) 35%, transparent);
    box-shadow: 0 6px 0 color-mix(in srgb, var(--c) 35%, transparent), 0 18px 34px rgb(var(--sombra-color) / .07); }
  & .lp-v-ambar { --c: var(--lp-ambar) !important; --t: var(--lp-tinte-ambar) !important; } & .lp-v-cielo { --c: var(--lp-cielo) !important; --t: var(--lp-tinte-cielo) !important; }
  & .lp-ventaja-ico { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 24px; background: var(--c); color: #fff; box-shadow: 0 5px 0 color-mix(in srgb, var(--c) 70%, #000); }
  & .lp-ventaja-ico .i { width: 38px; height: 38px; vertical-align: 0; }
  & .ventajas h3 { margin: 20px 0 8px; font: 800 1.25rem/1.2 var(--fuente-titulos); color: var(--texto); }
  & .ventajas p { margin: 0; color: var(--texto-suave); }

  /* Bandas a todo lo ancho con texto + ilustración */
  & .lp-banda-cielo { background: var(--lp-tinte-cielo); }
  & .lp-banda-crema { background: var(--lp-crema); }
  & .lp-banda-violeta { background: var(--lp-tinte-violeta); }
  & .lp-banda-violeta .lp-antetitulo { color: var(--lp-violeta-texto); }
  & .lp-banda-gris { background: var(--lp-gris); }
  & .lp-banda-menta { background: radial-gradient(rgb(255 255 255 / .09) 1px, transparent 1px) 0 0 / 22px 22px, radial-gradient(ellipse 60% 50% at 50% 0%, rgb(79 227 193 / .35), transparent 70%), linear-gradient(170deg, var(--lp-verde-a), var(--lp-verde-b)); color: #fff; }
  & .lp-banda-menta .lp-antetitulo { color: #BFF5E6; } & .lp-banda-menta .lp-sub { color: #E3FFF6; }
  & .lp-banda-menta .lp-titulo-centro, & .lp-banda-menta .lp-pasos h3 { color: #fff; } & .lp-banda-menta .lp-titulo-centro span { color: #FFD45C; }
  & .lp-banda-menta .lp-pasos p { margin: 6px auto 0; max-width: 26ch; color: #E3FFF6; }
  & .lp-banda-menta .lp-pasos h3 span { background: #fff; color: var(--lp-verde-b); }
  & .lp-banda-oscura .lp-titulo-centro { color: #fff; } & .lp-banda-oscura .lp-titulo-centro span { color: #4FE3C1; }
  & .lp-banda-oscura { background: var(--lp-noche); color: #F6F4EE; background-image: radial-gradient(circle at 80% 20%, rgb(25 195 156 / .18), transparent 45%), radial-gradient(rgb(255 255 255 / .06) 1px, transparent 1px);
    background-size: auto, 22px 22px; }
  & .lp-banda-oscura .lp-fila-texto h2 { color: #fff; } & .lp-banda-oscura .lp-fila-texto p:not(.lp-antetitulo) { color: #C9D6E6; } & .lp-banda-oscura .lp-antetitulo { color: #4FE3C1; } & .lp-banda-oscura .lp-t-menta { color: #4FE3C1; }
  & .lp-fila { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
  @media (min-width: 860px) { & .lp-fila { grid-template-columns: 1fr 1.1fr; } & .lp-fila-inversa { grid-template-columns: 1.1fr 1fr; } & .lp-fila-inversa .lp-fila-texto { order: 2; } }
  & .lp-fila-texto h2 { margin: 0 0 16px; font: 900 clamp(2rem, 4.8vw, 3.1rem)/1.06 var(--fuente-titulos); letter-spacing: -.015em; color: var(--texto); }
  & .lp-fila-texto p:not(.lp-antetitulo) { margin: 0; max-width: 40ch; font-size: 1.15rem; color: var(--texto-suave); }
  @media (max-width: 859px) { & .lp-fila-texto { text-align: center; } & .lp-fila-texto p:not(.lp-antetitulo) { margin-inline: auto; } }
  & .lp-fila-arte { display: grid; place-items: center; }
  & .lp-terminal { width: min(100%, 500px); border-radius: 22px; border: 2px solid #1B3354; box-shadow: 0 8px 0 #050B14, 0 30px 60px rgb(0 0 0 / .35); }
  & .lp-terminal .terminal-barra { align-items: center; } & .lp-barra-titulo { margin-left: auto; margin-right: auto; color: #7F93B2; font: 500 .8rem/1 var(--fuente-codigo); }
  & .lp-terminal .mt-demo { height: 15rem; padding: 14px 20px 20px; font-size: 1rem; }

  /* Camino de ejemplo */
  & .lp-camino { position: relative; display: grid; gap: 30px; justify-items: center; padding: 8px 0; }
  & .lp-nodo { position: relative; display: grid; place-items: center; width: 80px; height: 74px; border-radius: 50%; background: var(--superficie-2); color: var(--texto-suave); box-shadow: 0 7px 0 var(--borde); }
  & .lp-nodo .i { width: 34px; height: 34px; vertical-align: 0; }
  & .lp-nodo:nth-child(2) { translate: -52px; } & .lp-nodo:nth-child(3) { translate: -22px; } & .lp-nodo:nth-child(4) { translate: 38px; } & .lp-nodo:nth-child(5) { translate: 8px; }
  & .lp-hecho { background: #FFB020; color: #fff; box-shadow: 0 7px 0 #D68A00; }
  & .lp-jefe { background: var(--lp-violeta); box-shadow: 0 7px 0 #6A3FD1; }
  & .lp-nodo .i-juego { width: 38px; height: 38px; }
  & .lp-actual { background: var(--lp-menta); color: #fff; box-shadow: 0 7px 0 #0E8F73; outline: 6px solid rgb(25 195 156 / .25); outline-offset: 6px; }
  & .lp-globo { position: absolute; top: 50%; left: calc(100% + 16px); translate: 0 -50%; padding: 10px 14px; border-radius: 12px; background: var(--superficie); border: 2px solid var(--superficie-2);
    color: var(--lp-menta-texto); font: 900 .85rem/1 var(--fuente-titulos); letter-spacing: .06em; white-space: nowrap; animation: lp-flota 2.4s ease-in-out infinite; }
  & .lp-camino-tecli { position: absolute; left: calc(50% - 170px); bottom: 70px; width: 92px; height: auto; }
  @media (max-width: 420px) { & .lp-camino-tecli { left: 0; width: 72px; } }

  /* Tarjetas de repaso */
  & .lp-tarjetas-repaso { position: relative; width: min(100%, 400px); height: 260px; }
  & .lp-tr { position: absolute; inset-inline: 0; display: grid; gap: 10px; padding: 20px 22px; border-radius: 20px; background: var(--superficie); border: 2px solid var(--superficie-2); box-shadow: 0 5px 0 var(--superficie-2); }
  & .lp-tr small { color: var(--texto-suave); font: 800 .75rem/1 var(--fuente-titulos); letter-spacing: .1em; text-transform: uppercase; }
  & .lp-tr code { font: 600 1.05rem/1.2 var(--fuente-codigo); color: var(--texto); }
  & .lp-tr-1 { top: 100px; border-color: color-mix(in srgb, var(--lp-cielo) 45%, transparent); box-shadow: 0 5px 0 color-mix(in srgb, var(--lp-cielo) 45%, transparent), 0 20px 40px rgb(47 155 255 / .15); }
  & .lp-tr-2 { top: 50px; scale: .94; opacity: .85; } & .lp-tr-3 { top: 0; scale: .88; opacity: .6; }
  & .lp-tr-ok { display: inline-flex; align-items: center; gap: 6px; color: var(--lp-menta-texto); font: 900 1rem/1 var(--fuente-titulos); }

  /* Así es un día: una línea del tiempo con tres móviles; el del centro, más alto */
  & .lp-pasos { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: none; }
  & .lp-pasos li { position: relative; display: grid; justify-items: center; text-align: center; } & .lp-pasos li::before { content: none; }
  @media (min-width: 860px) {
    & .lp-pasos::before { content: ''; position: absolute; left: 12%; right: 12%; top: 17px; border-top: 2px dashed rgb(255 255 255 / .35); }
    & .lp-pasos li:nth-child(2) { translate: 0 -18px; } & .lp-pasos li:nth-child(2) .lp-movil { scale: 1.06; }
  }
  & .lp-hora { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; padding: 8px 14px; border-radius: 999px;
    background: #fff; color: var(--lp-verde-b); font: 700 .8rem/1 var(--fuente-codigo); box-shadow: 0 3px 0 rgb(0 0 0 / .18); }
  & .lp-hora .i { width: 16px; height: 16px; vertical-align: 0; }
  & .lp-pasos h3 { display: inline-flex; align-items: center; gap: 10px; margin: 26px 0 0; font: 800 1.25rem/1.2 var(--fuente-titulos); color: var(--texto); }
  & .lp-pasos h3 span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lp-menta); color: var(--lp-noche); font-size: .95rem; }
  & .lp-movil { position: relative; width: min(100%, 250px); margin-inline: auto; padding: 9px; border-radius: 36px; background: #12223A;
    box-shadow: 0 0 0 1px rgb(255 255 255 / .12), 0 30px 60px rgb(0 0 0 / .32); transition: translate .3s var(--curva); }
  & .lp-movil::before { content: ''; position: absolute; top: 15px; left: 50%; translate: -50% 0; width: 56px; height: 6px; border-radius: 9px; background: #0B1626; z-index: 1; }
  & .lp-pasos li:hover .lp-movil { translate: 0 -6px; }
  & .lp-movil img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 600; object-fit: cover; object-position: top; border-radius: 28px; }
  & .lp-flota { position: absolute; z-index: 2; bottom: 18%; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: #fff; color: #12223A;
    text-align: left; box-shadow: 0 14px 30px rgb(0 0 0 / .25); animation: lp-flota 5s ease-in-out infinite; white-space: nowrap; }
  & .lp-flota .i { width: 30px; height: 30px; vertical-align: 0; } & .lp-flota b { display: block; font: 800 .95rem/1.1 var(--fuente-titulos); } & .lp-flota small { display: block; font-size: .75rem; color: #4A5B73; }
  & .lp-flota-izq { left: -28px; } & .lp-flota-der { right: -28px; animation-delay: -2s; }
  & .lp-flota-ok { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #D6F6EC; color: #0B6B57; } & .lp-flota-ok .i { width: 18px; height: 18px; }
  @media (max-width: 420px) { & .lp-flota-izq { left: -6px; } & .lp-flota-der { right: -6px; } }

  /* Rutas: las de verdad en grande, las que vienen en pequeño */
  & .lp-rutas .cuadricula-areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
  & .lp-area-viva { display: grid; gap: 8px; padding: 22px; border-radius: 22px; border: 2px solid var(--superficie-2); box-shadow: 0 5px 0 var(--superficie-2); color: var(--texto); text-decoration: none; }
  & .lp-area-viva .area-icono { width: 52px; height: 52px; border-radius: 16px; box-shadow: none; background: var(--lp-tinte-menta); color: #0B6B57; }
  & .lp-area-viva .area-icono .i { width: 26px; height: 26px; }
  & .lp-area-viva h3 { margin: 6px 0 0; font: 800 1.15rem/1.2 var(--fuente-titulos); }
  & .lp-pronto-titulo { grid-column: 1 / -1; margin: 18px 0 0; text-align: center; font: 800 .8rem/1 var(--fuente-titulos); letter-spacing: .12em; text-transform: uppercase; color: var(--texto-suave); }
  & .lp-pronto { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  & .lp-pronto .area { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 2px dashed var(--superficie-2); background: transparent; box-shadow: none; }
  & .lp-pronto .area-icono { width: 34px; height: 34px; border-radius: 50%; box-shadow: none; background: var(--fondo); color: var(--texto-suave); }
  & .lp-pronto .area-icono .i { width: 18px; height: 18px; }
  & .lp-pronto .area h3 { margin: 0; font: 800 .95rem/1 var(--fuente-titulos); color: var(--texto-suave); }
  & .lp-pronto .area :is(p, .chip) { display: none; }

  /* Planes */
  & .lp-planes .planes-resumen { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); max-width: 820px; margin-inline: auto; }
  & .lp-plan { display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: 24px; border: 2px solid var(--superficie-2); box-shadow: 0 5px 0 var(--superficie-2); background: var(--superficie); }
  & .lp-plan h3 { display: flex; align-items: center; gap: 8px; margin: 0; font: 900 1.4rem/1 var(--fuente-titulos); }
  & .lp-precio { margin: 0; font: 900 2.2rem/1 var(--fuente-titulos); } & .lp-precio small { font-size: 1rem; color: var(--texto-suave); font-weight: 700; }
  & .lp-plan-pro { position: relative; border-color: var(--lp-menta); box-shadow: 0 6px 0 #0E8F73, 0 0 0 6px rgb(25 195 156 / .25), 0 30px 60px rgb(25 195 156 / .25); background: var(--lp-tinte-menta); }
  & .lp-plan-pro h3 .i { width: 26px; height: 26px; color: var(--lp-menta-texto); }
  & .lp-plan-cinta { position: absolute; top: -14px; right: 22px; padding: 7px 12px; border-radius: 10px; background: #FFC21A; color: #4A3000; box-shadow: 0 3px 0 #D99A00;
    font: 900 .75rem/1 var(--fuente-titulos); letter-spacing: .08em; text-transform: uppercase; }
  & .lp-precio-anual { margin: -6px 0 0; font-weight: 700; color: var(--lp-menta-texto); }
  & .lp-banda-oscura .lp-plan { color: var(--texto); }
  & .lp-plan .lista-ok { margin: 0; } & .lp-plan .lp-cta-2 { justify-self: start; align-self: end; } & .lp-plan:has(.lp-cta-2) { grid-template-rows: auto auto 1fr auto; }

  /* Preguntas */
  & .lp-faq .faq { display: grid; gap: 12px; max-width: 760px; margin-inline: auto; }
  & .lp-faq details { padding: 18px 22px; border-radius: 18px; border: 2px solid var(--superficie-2); background: var(--superficie); box-shadow: 0 3px 0 var(--superficie-2); }
  & .lp-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; font: 800 1.1rem/1.3 var(--fuente-titulos); cursor: pointer; }
  & .lp-faq summary::-webkit-details-marker { display: none; }
  & .lp-faq summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--lp-menta-viva); transition: transform .2s; } & .lp-faq details[open] summary::after { transform: rotate(45deg); }
  & .lp-faq details p { margin: 10px 0 0; color: var(--texto-suave); }

  /* Cierre: franja verde con Tecli */
  & .lp-cierre { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(56px, 9vw, 96px); background: linear-gradient(160deg, #13B38F, #0B7A61); color: #fff; text-align: center; }
  & .lp-cierre .lp-glifo { color: rgb(255 255 255 / .14); }
  & .lp-cierre img { width: 120px; height: auto; margin-bottom: 8px; animation: lp-flota 4s ease-in-out infinite; }
  & .lp-cierre h2 { margin: 0 0 10px; font: 900 clamp(2.2rem, 5.6vw, 3.6rem)/1.05 var(--fuente-titulos); color: #fff; }
  & .lp-cierre-sub { margin: 0 0 26px; font-size: 1.15rem; color: #E3FFF6; }

  /* Sala */
  & .lp-sala { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: clamp(40px, 6vw, 64px) 0; padding: 24px; border-radius: 24px; border: 2px solid var(--superficie-2); }
  & .lp-sala > div { flex: 1 1 280px; } & .lp-sala h2 { margin: 0 0 6px; font: 800 1.3rem/1.2 var(--fuente-titulos); } & .lp-sala p { margin: 0; color: var(--texto-suave); }
  & .lp-sala { background: var(--lp-tinte-violeta); border-color: color-mix(in srgb, var(--lp-violeta) 30%, transparent); }
  & .lp-sala-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: #EFE9FF; color: #6A3FD1; } & .lp-sala-ico .i { width: 28px; height: 28px; }

  /* Botón fijo del móvil, encima del menú inferior y con un halo para no dejar ver texto detrás */
  & .boton-fijo { left: 16px; right: 16px; bottom: calc(78px + env(safe-area-inset-bottom)); transform: none; min-height: 54px; border-radius: 16px;
    font: 800 1rem/1 var(--fuente-titulos); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 4px 0 #0E8F73, 0 0 0 12px var(--superficie); }

  /* Entrada al hacer scroll */
  & .lp-anima .bloque { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--curva), transform .5s var(--curva); }
  & .lp-anima .bloque.lp-visible { opacity: 1; transform: none; }
  & .lp-anima .bloque :is(.ventajas li, .lp-pasos li, .lp-plan) { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--curva), transform .55s var(--curva); }
  & .lp-anima .bloque.lp-visible :is(.ventajas li, .lp-pasos li, .lp-plan) { opacity: 1; transform: none; }
  & .lp-anima .bloque.lp-visible :is(.ventajas li, .lp-pasos li, .lp-plan):nth-child(2) { transition-delay: .12s; }
  & .lp-anima .bloque.lp-visible :is(.ventajas li, .lp-pasos li):nth-child(3) { transition-delay: .24s; }
  & .ventajas li:hover { translate: 0 -4px; } & .ventajas li { transition: translate .2s var(--curva), opacity .55s var(--curva), transform .55s var(--curva); }
  & .ventajas li:hover .lp-ventaja-ico { animation: i-salto .5s var(--curva-rebote); }
  & .lp-area-viva { transition: translate .2s var(--curva); } & .lp-area-viva:hover { translate: 0 -3px; }
}

/* Modo oscuro */
:root[data-tema="oscuro"] body[data-pagina="portada"] {
  --lp-menta-texto: #4FE3C1; --lp-menta-viva: #4FE3C1; --lp-ambar-texto: #FFB547; --lp-cielo-texto: #7CC0FF;
  --lp-tinte-menta: #10302B; --lp-tinte-cielo: #0F2440; --lp-tinte-ambar: #33240E;
  --lp-violeta-texto: #C4A8FF; --lp-tinte-violeta: #1E1838; --lp-crema: #1F1A10; --lp-gris: #0E1B2E;
  --lp-hero-a: #0F3A32; --lp-hero-b: #0B1626; --lp-verde-a: #0A5C4B; --lp-verde-b: #073F34;
  & .lp-anillo { background: radial-gradient(circle at 35% 30%, #1E5A50, #154238 65%, #113530); }
  & .lp-glifo { color: rgb(79 227 193 / .12); }
  & .lp-area-viva .area-icono { color: #4FE3C1; }
  & .lp-sala-ico { background: #2A1F4A; color: #B79BFF; }
  & .lp-hero { background: radial-gradient(ellipse 70% 55% at 50% 28%, rgb(25 195 156 / .14), transparent 70%), linear-gradient(180deg, var(--lp-hero-a), var(--lp-hero-b) 85%); }
  & .lp-plan-cinta { color: #4A3000; }
  & .lp-banda-oscura { background-color: #07101C; }
}

/* Sin animaciones si se ha pedido */
:root[data-movimiento="reducido"] body[data-pagina="portada"] :is(.lp-tecli-grande, .lp-burbuja, .lp-globo, .lp-glifo, .lp-cierre img, .lp-tira-carril, .lp-ventaja-ico, .lp-flota) { animation: none; }
:root[data-movimiento="reducido"] body[data-pagina="portada"] .lp-anima .bloque :is(.ventajas li, .lp-pasos li, .lp-plan) { opacity: 1; transform: none; transition: none; }
:root[data-movimiento="reducido"] body[data-pagina="portada"] .lp-tira-pista { overflow-x: auto; mask-image: none; }
:root[data-movimiento="reducido"] body[data-pagina="portada"] .lp-tira-item[aria-hidden] { display: none; }
:root[data-movimiento="reducido"] body[data-pagina="portada"] .lp-anima .bloque { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  :root:not([data-movimiento="completo"]) body[data-pagina="portada"] :is(.lp-tecli-grande, .lp-burbuja, .lp-globo, .lp-glifo, .lp-cierre img, .lp-tira-carril, .lp-ventaja-ico, .lp-flota) { animation: none; }
  :root:not([data-movimiento="completo"]) body[data-pagina="portada"] .lp-anima .bloque :is(.ventajas li, .lp-pasos li, .lp-plan) { opacity: 1; transform: none; transition: none; }
  :root:not([data-movimiento="completo"]) body[data-pagina="portada"] .lp-anima .bloque { opacity: 1; transform: none; transition: none; }
  :root:not([data-movimiento="completo"]) body[data-pagina="portada"] .lp-tira-item[aria-hidden] { display: none; }
  :root:not([data-movimiento="completo"]) body[data-pagina="portada"] .lp-tira-pista { overflow-x: auto; }
}
@keyframes lp-flota { 50% { transform: translateY(-8px); } }
@keyframes lp-tira { to { transform: translateX(-25%); } }

/* «Cada día, un paso más» (dueño, 2026-11-20): banda violeta noche con brillo, tarjeta de unidad con el camino unido por una línea
   y tarjetas flotantes de racha, XP y misión. Es oscura en los dos temas. */
body[data-pagina="portada"] {
  & .lp-banda-ruta { position: relative; overflow: hidden; isolation: isolate; color: #F4F0FF;
    background: radial-gradient(ellipse 55% 60% at 85% 15%, rgb(167 139 250 / .35), transparent 70%), radial-gradient(ellipse 45% 50% at 5% 95%, rgb(79 227 193 / .16), transparent 70%),
      radial-gradient(rgb(255 255 255 / .07) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(160deg, #1E1046, #2B1566 55%, #1A0F3D); }
  & .lp-banda-ruta::before { content: ""; position: absolute; inset: auto -10% -40% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
    background: conic-gradient(from 200deg, transparent, rgb(139 92 246 / .25), transparent 60%); filter: blur(40px); }
  & .lp-banda-ruta .lp-antetitulo { color: #C4B5FD; }
  & .lp-banda-ruta .lp-fila-texto h2 { color: #fff; } & .lp-banda-ruta .lp-t-violeta { color: #C4B5FD; background: linear-gradient(90deg, #C4B5FD, #F0ABFC); -webkit-background-clip: text; background-clip: text; color: transparent; }
  & .lp-banda-ruta .lp-fila-texto p:not(.lp-antetitulo) { color: #D9D0F5; }
  & .lp-ruta-puntos { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; max-width: 460px; text-align: left; }
  @media (max-width: 859px) { & .lp-ruta-puntos { margin-inline: auto; } }
  & .lp-ruta-puntos li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1);
    backdrop-filter: blur(6px); transition: transform var(--d-media), background var(--d-media); }
  & .lp-ruta-puntos li:hover { transform: translateX(4px); background: rgb(255 255 255 / .1); }
  & .lp-ruta-puntos b { display: block; color: #fff; font: 800 1.02rem/1.3 var(--fuente-titulos); }
  & .lp-ruta-puntos li > span:last-child { color: #CFC5EE; font-size: .95rem; line-height: 1.4; }
  & .lp-rp-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgb(255 255 255 / .1); }
  & .lp-rp-ico .i { width: 28px; height: 28px; vertical-align: 0; }

  & .lp-banda-ruta .lp-fila-arte { position: relative; padding: 20px 0; }
  & .lp-ruta-tarjeta { width: min(100%, 360px); padding: 20px 20px 26px; border-radius: 28px; background: #FFFFFF; color: #0F1B2D;
    box-shadow: 0 10px 0 #120A2C, 0 40px 80px rgb(10 4 30 / .55), 0 0 0 1px rgb(255 255 255 / .4) inset; }
  & .lp-ruta-cab { display: flex; align-items: center; gap: 12px; }
  & .lp-ruta-ico { width: 44px; height: 44px; flex: none; } & .lp-ruta-ico .i-area { width: 44px; height: 44px; }
  & .lp-ruta-tit { display: grid; font: 800 1.05rem/1.2 var(--fuente-titulos); } & .lp-ruta-tit small { font: 700 .72rem/1.3 var(--fuente-codigo); letter-spacing: .08em; text-transform: uppercase; color: #6D3FD6; }
  & .lp-ruta-pct { margin-left: auto; padding: 6px 10px; border-radius: 999px; background: #F2EDFF; color: #5B2FC2; font: 800 .85rem/1 var(--fuente-titulos); }
  & .lp-ruta-barra { height: 10px; margin: 16px 0 6px; border-radius: 99px; background: #EEEAF7; overflow: hidden; }
  & .lp-ruta-barra span { display: block; width: 40%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8B5CF6, #19C39C); }
  & .lp-banda-ruta .lp-camino { gap: 26px; padding: 22px 0 6px; }
  & .lp-camino-linea { position: absolute; inset: 22px 0 6px; width: 100%; height: calc(100% - 28px); z-index: 0; overflow: visible; }
  & .lp-camino-linea path { fill: none; stroke: #E4DDF5; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 2 14; vector-effect: non-scaling-stroke; }
  & .lp-banda-ruta .lp-nodo { z-index: 1; background: #EDEAF3; color: #8C86A0; box-shadow: 0 7px 0 #D5D0E0; }
  & .lp-banda-ruta .lp-hecho { background: #FFB020; color: #fff; box-shadow: 0 7px 0 #D68A00; }
  & .lp-banda-ruta .lp-actual { background: var(--lp-menta); color: #fff; box-shadow: 0 7px 0 #0E8F73; animation: lp-latido 2.2s ease-in-out infinite; }
  & .lp-banda-ruta .lp-jefe { background: linear-gradient(160deg, #A78BFA, #7C3AED); box-shadow: 0 7px 0 #5B21B6; }
  & .lp-banda-ruta .lp-globo { background: #fff; border-color: #E4DDF5; box-shadow: 0 4px 0 #E4DDF5; }
  & .lp-jefe-et { position: absolute; top: 50%; right: calc(100% + 14px); translate: 0 -50%; padding: 6px 10px; border-radius: 10px; background: #F2EDFF; color: #5B2FC2;
    font: 800 .75rem/1 var(--fuente-titulos); letter-spacing: .04em; white-space: nowrap; }
  & .lp-banda-ruta .lp-flota { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px; background: rgb(255 255 255 / .96); color: #0F1B2D;
    box-shadow: 0 5px 0 rgb(18 10 44 / .35), 0 18px 34px rgb(10 4 30 / .35); font: 800 .92rem/1 var(--fuente-titulos); animation: lp-flota 6s ease-in-out infinite;
    inset: auto; width: max-content; height: auto; align-self: start; justify-self: start; }
  & .lp-banda-ruta .lp-flota .i { width: 24px; height: 24px; vertical-align: 0; }
  & .lp-banda-ruta .lp-rf-1 { top: 12%; right: max(0px, calc(50% - 250px)); } & .lp-banda-ruta .lp-rf-2 { top: 46%; left: max(0px, calc(50% - 250px)); animation-delay: -2s; } & .lp-banda-ruta .lp-rf-3 { bottom: 6%; right: max(0px, calc(50% - 240px)); align-self: end; animation-delay: -4s; }
  @media (max-width: 520px) { & .lp-banda-ruta .lp-rf-1 { top: 30%; right: 0; } & .lp-banda-ruta .lp-rf-2 { top: 56%; left: 0; } & .lp-banda-ruta .lp-rf-3 { right: 0; } & .lp-banda-ruta .lp-flota { padding: 8px 11px; font-size: .82rem; } }
}
@keyframes lp-latido { 50% { box-shadow: 0 7px 0 #0E8F73, 0 0 0 12px rgb(25 195 156 / .22); } }
:root[data-movimiento="reducido"] body[data-pagina="portada"] .lp-banda-ruta :is(.lp-actual, .lp-flota) { animation: none; }
@media (prefers-reduced-motion: reduce) { :root:not([data-movimiento="completo"]) body[data-pagina="portada"] .lp-banda-ruta :is(.lp-actual, .lp-flota) { animation: none; } }

/* «Se aprende haciendo» con ejemplo en cada tarjeta, botones a mitad de página y repaso más legible (dueño, 2026-11-20: «más atractiva y que convierta más») */
body[data-pagina="portada"] {
  /* Fondo: cuadrícula fina que se desvanece en los bordes y tres luces suaves (ámbar, menta, azul), una detrás de cada tarjeta */
  & .lp-ventajas-bloque { --lp-v-a: #FFFFFF; --lp-v-b: #F4F7FB; --lp-v-linea: rgb(15 27 45 / .06); position: relative; isolation: isolate; overflow: hidden;
    background: radial-gradient(34% 46% at 18% 62%, rgb(255 176 32 / .2), transparent 70%), radial-gradient(34% 46% at 50% 52%, rgb(25 195 156 / .18), transparent 70%),
      radial-gradient(34% 46% at 82% 62%, rgb(47 155 255 / .18), transparent 70%), linear-gradient(180deg, var(--lp-v-a), var(--lp-v-b)); }
  & .lp-ventajas-bloque::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(var(--lp-v-linea) 1px, transparent 1px) 0 0 / 36px 36px, linear-gradient(90deg, var(--lp-v-linea) 1px, transparent 1px) 0 0 / 36px 36px;
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 30%, transparent 80%); }
  & .lp-ventajas-bloque::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(15 27 45 / .1), transparent); }
  & .lp-ventajas-bloque .ventajas li { background: rgb(255 255 255 / .82); backdrop-filter: blur(8px); }
  & .ventajas li { display: flex; flex-direction: column; gap: 0; text-align: left; padding: 14px 14px 26px; border-radius: 26px; }
  & .lp-v-demo { display: grid; place-items: center; gap: 12px; height: 132px; margin-bottom: 22px; padding: 16px; border-radius: 18px; background: color-mix(in srgb, var(--c) 12%, var(--superficie));
    border: 1px solid color-mix(in srgb, var(--c) 22%, transparent); overflow: hidden; }
  & .lp-v-cab { display: flex; align-items: center; gap: 12px; padding-inline: 10px; }
  & .lp-v-cab .lp-ventaja-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; box-shadow: 0 4px 0 color-mix(in srgb, var(--c) 70%, #000); }
  & .lp-v-cab .lp-ventaja-ico .i { width: 24px; height: 24px; }
  & .ventajas .lp-v-cab h3 { margin: 0; font-size: 1.2rem; }
  & .ventajas li > p { margin: 12px 10px 0; line-height: 1.5; }
  & .lp-v-reloj { position: relative; display: grid; place-items: center; width: 64px; height: 64px; }
  & .lp-v-reloj svg { position: absolute; inset: 0; rotate: -90deg; } & .lp-v-reloj circle { fill: none; stroke: color-mix(in srgb, var(--c) 22%, transparent); stroke-width: 5; }
  & .lp-v-reloj .lp-v-arco { stroke: var(--c); stroke-linecap: round; stroke-dasharray: 113; stroke-dashoffset: 28; }
  & .lp-v-reloj b { font: 900 .95rem/1 var(--fuente-titulos); color: var(--texto); }
  & .lp-v-pasos, & .lp-v-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
  & .lp-v-pasos i, & .lp-v-chips i { font: 800 .75rem/1 var(--fuente-titulos); font-style: normal; padding: 6px 10px; border-radius: 99px; background: var(--superficie); color: var(--texto); box-shadow: 0 2px 0 color-mix(in srgb, var(--c) 30%, transparent); }
  & .lp-v-pasos i:last-child { background: var(--c); color: #fff; } & .lp-v-ambar .lp-v-pasos i:last-child { color: #3D2600; }
  & .lp-v-term { place-items: stretch; align-content: center; background: #0F1B2D; border-color: #1B3354; }
  & .lp-v-term code { font: 600 .9rem/1.3 var(--fuente-codigo); color: #E6EEF8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  & .lp-v-term code span { color: #4FE3C1; }
  & .lp-v-ok { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; background: rgb(79 227 193 / .14); color: #4FE3C1; font: 800 .82rem/1 var(--fuente-titulos); }
  & .lp-v-ok .i { width: 16px; height: 16px; vertical-align: 0; }
  & .lp-v-precio b { font: 900 2.6rem/1 var(--fuente-titulos); color: var(--lp-cielo-texto); letter-spacing: -.02em; }
  & .lp-accion { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 40px; text-align: center; }
  & .lp-accion > span { color: var(--texto-suave); font-weight: 600; font-size: .95rem; }
  & .lp-accion-clara > span { color: #E3FFF6; }
  & .lp-cta-violeta { --b-fondo: #FFFFFF; --b-texto: #5B21B6; --b-sombra: #3B1A80; margin-top: 28px; }
  @media (max-width: 859px) { & .lp-cta-violeta { display: flex; width: fit-content; margin-inline: auto; } }
  & .lp-plan .lp-plan-btn { justify-self: stretch; align-self: end; } & .lp-plan .lista-ok { align-content: start; }
  & .lp-plan:has(.lp-plan-btn) { grid-template-rows: auto auto 1fr auto; }
  & .lp-tarjetas-repaso { height: 300px; } & .lp-tr-2 { top: 64px; } & .lp-tr-1 { top: 128px; }
}
:root[data-tema="oscuro"] body[data-pagina="portada"] .lp-ventajas-bloque { --lp-v-a: #0E1A2B; --lp-v-b: #0B1626; --lp-v-linea: rgb(255 255 255 / .05); }
:root[data-tema="oscuro"] body[data-pagina="portada"] .lp-ventajas-bloque .ventajas li { background: rgb(22 36 56 / .85); }
