/* linkedin-cv only: capa de diseño y motion graphics (prefijo lk-).
   Mismo contrato que el home, coaching y cursos: el CSS base muestra la
   composición TERMINADA; `.hm-discovered` (js/lk-motion.js) sólo dispara la
   entrada, una vez por sección o por ícono, y nunca con movimiento reducido
   ni navegando con Tab. Todo es finito. Principios: respuesta en pointer-down,
   curvas críticamente amortiguadas (sin rebote salvo donde hubo "impulso"),
   tracking por tamaño, materiales translúcidos con respaldo sólido. */

/* ══ Tipografía: tracking y leading por tamaño ═══════════════════════════ */
body[data-lk] .page-hero h1 { letter-spacing: -.025em; line-height: 1.06; }
body[data-lk] .section-title { letter-spacing: -.018em; line-height: 1.12; }
body[data-lk] .section-label { letter-spacing: .16em; }
body[data-lk] .section-sub { max-width: 640px; }

/* ══ Respuesta: el botón reacciona al apretar, no al soltar ══════════════ */
body[data-lk] .btn-primary, body[data-lk] .btn-secondary, body[data-lk] .pack-footer a, body[data-lk] .cr-more a {
  transition: transform 120ms cubic-bezier(.2, .8, .2, 1), box-shadow 200ms ease, border-color 200ms ease, background-color 200ms ease;
}
body[data-lk] .btn-primary:active, body[data-lk] .btn-secondary:active, body[data-lk] .pack-footer a:active, body[data-lk] .cr-more a:active {
  transform: scale(.965);
  transition-duration: 70ms;
}

/* ══ Vocabulario hm-art (copiado del home para no cargar home-impact.css) ══ */
.hp-c-green  { --hp: var(--green); }
.hp-c-cyan   { --hp: var(--cyan); }
.hp-c-purple { --hp: var(--purple); }
.hp-c-gold   { --hp: #ffd700; }
.hp-c-red    { --hp: #f87171; }
.hp-c-li     { --hp: #4aa8e6; }
.hp-c-wa     { --hp: #25d366; }
.hm-art {
  --hm-ease: cubic-bezier(.22, 1, .36, 1);
  --hm-accent: var(--hp, var(--green));
  position: relative;
  isolation: isolate;
  flex: none;
  color: var(--hm-accent);
  pointer-events: none;
  overflow: hidden;
}
.hm-art svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hm-art .hm-panel { fill: #142032; stroke: color-mix(in srgb, var(--hm-accent) 48%, #263449); }
.hm-art .hm-panel-back { fill: #101c2c; stroke: color-mix(in srgb, var(--hm-accent) 24%, #263449); }
.hm-art .hm-tint { fill: currentColor; fill-opacity: .12; stroke-opacity: .55; }
.hm-art .hm-solid { fill: currentColor; stroke: none; }
.hm-art .hm-white { stroke: #dce9f5; }
.hm-art .hm-muted { opacity: .35; }
.hm-art .hm-label { font: 800 8.5px var(--font-body, 'Inter', sans-serif); letter-spacing: .5px; fill: #bacbdd; stroke: none; }
.hm-art .hm-art-main, .hm-art .hm-art-detail, .hm-art .hm-art-orbit, .hm-art .hm-art-glint, .hm-art .hm-art-blip, .hm-art .hm-art-drop { transform-box: fill-box; transform-origin: center; }
.hm-art .hm-art-bar { transform-box: fill-box; transform-origin: center bottom; }
.hm-art .hm-art-ring { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hm-art-icon { width: 56px; height: 56px; overflow: visible; }
.hm-art-pack { width: 64px; height: 64px; overflow: visible; }

/* ══ Hero ═══════════════════════════════════════════════════════════════ */
/* Respaldo debajo de los botones: la promesa, verificable, antes del scroll */
.lk-proof { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin-top: 1.5rem; padding: 0; list-style: none; }
/* Sin flex: el texto suelto entre el ícono y la negrita se volvía ítems
   separados por el gap y se leía con huecos. */
.lk-proof li { display: inline-block; font-size: .8rem; font-weight: 600; line-height: 1.3; color: var(--text2); padding: .42rem .8rem; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.lk-proof li i { color: var(--green); font-size: .78rem; margin-right: .3rem; }
.lk-proof li b { color: var(--text); font-weight: 800; }
.lk-proof li[data-li] i { color: #4aa8e6; }

/* La línea de escaneo del ATS sobre la tarjeta del CV: el "robot" leyendo */
.hv-cv { position: relative; overflow: hidden; }
.lk-scan { position: absolute; left: 0; right: 0; top: 0; height: 26%; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(0,230,118,0) 0%, rgba(0,230,118,.16) 55%, rgba(0,230,118,.55) 100%);
  border-bottom: 1px solid rgba(0,230,118,.9); box-shadow: 0 6px 18px rgba(0,230,118,.25); }
/* El aviso "un recruiter vio tu perfil": el resultado, no la promesa */
.lk-ping { position: absolute; left: -8px; top: 34px; z-index: 4; display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .8rem .55rem .6rem; border-radius: 14px;
  background: rgba(13,21,37,.82); border: 1px solid rgba(74,168,230,.45); box-shadow: 0 14px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.03) inset; backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); }
.lk-ping-ico { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: #0a66c2; color: #fff; font-weight: 900; font-size: .85rem; }
.lk-ping-txt { display: grid; line-height: 1.25; }
.lk-ping-txt b { font-size: .74rem; color: var(--text); }
.lk-ping-txt span { font-size: .64rem; color: var(--muted); }
@media (prefers-reduced-transparency: reduce) { .lk-ping { background: #0d1525; backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (max-width: 992px) { .lk-ping { display: none; } }

/* ══ Cifras ═════════════════════════════════════════════════════════════ */
body[data-lk] .stats-row { gap: 1.1rem; }
body[data-lk] .stat-box { position: relative; display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: 1.7rem 1rem 1.5rem; overflow: hidden; }
body[data-lk] .stat-box .hm-art-icon { width: 52px; height: 52px; margin-bottom: .45rem; }
body[data-lk] .stat-box .stat-num { letter-spacing: -.03em; }
.lk-stat-line { position: absolute; left: 18%; right: 18%; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--green), var(--cyan)); transform-origin: left center; }

/* ══ Errores frecuentes: ícono animado en vez de emoji ═══════════════════ */
body[data-lk] .error-card { position: relative; overflow: hidden; }
body[data-lk] .error-card::before { content: ""; position: absolute; left: 1.4rem; right: 1.4rem; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #f87171, rgba(248,113,113,0)); transform-origin: left center; }
body[data-lk] .error-card .hm-art-icon { margin: 0 auto .8rem; }
body[data-lk] .error-card h3 { letter-spacing: -.01em; }

/* ══ Antes / después ═════════════════════════════════════════════════════ */
.lk-ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: stretch; }
.lk-ba-card { position: relative; border-radius: 18px; padding: 1.35rem 1.45rem; background: var(--bg2); border: 1px solid rgba(239,68,68,.25); }
.lk-ba-card--after { border-color: rgba(0,230,118,.32); background: linear-gradient(160deg, rgba(0,230,118,.06), rgba(0,212,255,.03) 60%, var(--bg2)); }
.lk-ba-tag { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .8rem; color: #f87171; }
.lk-ba-card--after .lk-ba-tag { color: var(--green); }
.lk-ba-card p { font-size: .9rem; color: var(--text2); margin: 0 0 .6rem; line-height: 1.65; }
.lk-ba-card p:last-of-type { margin-bottom: 0; }
.lk-ba-card p strong { color: var(--text); }
.lk-ba-card--before p { color: var(--muted); }
.lk-ba-card--before q, .lk-ba-card--after q { quotes: "«" "»"; }
.lk-kw { --kw: rgba(0,230,118,.22); color: var(--text); font-weight: 700; border-radius: 5px; padding: .04em .28em; margin: 0 -.05em;
  background: linear-gradient(90deg, var(--kw) 0 50%, transparent 50% 100%) left / 200% 100% no-repeat; box-shadow: inset 0 -1px 0 rgba(0,230,118,.5); }
.lk-kw--result { --kw: rgba(0,212,255,.22); box-shadow: inset 0 -1px 0 rgba(0,212,255,.5); }
.lk-route { align-self: center; width: 64px; height: 64px; }
.lk-route svg { overflow: visible; }
.lk-route .lk-route-path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.lk-match { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .5rem .85rem; border-radius: 999px; font-size: .76rem; font-weight: 700; color: var(--green); background: rgba(0,230,118,.09); border: 1px solid rgba(0,230,118,.28); }
.lk-match i { font-size: .72rem; }
@media (max-width: 720px) {
  .lk-ba { grid-template-columns: 1fr; }
  .lk-route { width: 48px; height: 48px; justify-self: center; transform: rotate(90deg); }
}

/* ══ Reseñas (mismo vocabulario cr- que /coaching) ════════════════════════ */
.cr-section { position: relative; padding: 5rem 0; background: radial-gradient(ellipse at 15% 0, rgba(0,230,118,.05), transparent 45%), radial-gradient(ellipse at 90% 100%, rgba(74,168,230,.06), transparent 45%), var(--bg2); }
.cr-head { text-align: center; margin-bottom: 2.4rem; }
.cr-summary { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2.2rem; align-items: center; padding: 1.6rem 2rem; border-radius: 22px; background: var(--bg3); border: 1px solid rgba(0,230,118,.16); margin-bottom: 2rem; }
.cr-ring { width: 128px; height: 128px; overflow: visible; }
.cr-ring .hm-ring-track { stroke: currentColor; opacity: .16; }
.cr-ring .hm-art-ring { stroke: currentColor; }
.cr-ring .hm-ring-num { font: 800 26px var(--font-head, 'Inter', sans-serif); fill: #f1f6fb; stroke: none; letter-spacing: -1px; }
.cr-ring .hm-label { font-size: 8.5px; letter-spacing: 1.2px; }
.cr-summary-copy h3 { font-size: 1.25rem; margin: 0 0 .3rem; letter-spacing: -.01em; }
.cr-summary-copy p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.cr-stars { display: inline-flex; gap: .15rem; color: #fbbf24; font-size: 1.05rem; margin-bottom: .35rem; }
.cr-stars span { display: inline-block; }
.cr-breakdown { display: grid; gap: .5rem; min-width: 230px; margin: 0; }
.cr-breakdown div { display: grid; grid-template-columns: 1fr auto; gap: .2rem .6rem; align-items: center; font-size: .74rem; color: var(--text2); }
.cr-breakdown dt { font-weight: 600; }
.cr-breakdown dd { margin: 0; font-weight: 800; color: var(--green); }
.cr-bar { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.cr-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--cyan)); transform-origin: left center; }
.cr-summary-link { grid-column: 1 / -1; justify-self: center; display: inline-flex; align-items: center; gap: .5rem; font-size: .84rem; font-weight: 700; color: var(--cyan); }
.cr-summary-link i { font-size: .78rem; }
.cr-featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cr-card { position: relative; display: flex; flex-direction: column; gap: .9rem; padding: 1.6rem; border-radius: 18px; background: var(--bg3); border: 1px solid rgba(255,255,255,.07); overflow: hidden; transition: border-color .25s, transform .25s; }
.cr-card::before { content: "\201C"; position: absolute; right: 1rem; top: -.3rem; font: 900 4.5rem var(--font-head, serif); line-height: 1; color: var(--green); opacity: .1; pointer-events: none; }
.cr-card--featured { background: linear-gradient(160deg, rgba(0,230,118,.07), rgba(0,212,255,.03) 60%, var(--bg3)); border-color: rgba(0,230,118,.22); }
.cr-card .cr-stars { font-size: .95rem; margin: 0; }
.cr-quote { flex: 1; margin: 0; color: var(--text2); font-size: .9rem; line-height: 1.7; font-style: italic; }
.cr-foot { display: flex; align-items: center; gap: .85rem; padding-top: .85rem; border-top: 1px solid rgba(255,255,255,.06); }
.cr-avatar { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; font-weight: 800; font-size: 1rem; color: #080e1a; background: linear-gradient(135deg, var(--green), var(--cyan)); }
.cr-card:nth-child(3n+2) .cr-avatar { background: linear-gradient(135deg, var(--cyan), var(--purple)); }
.cr-card:nth-child(3n) .cr-avatar { background: linear-gradient(135deg, #c4b5fd, var(--purple)); }
.cr-who { min-width: 0; }
.cr-name { font-size: .85rem; font-weight: 700; color: var(--text); }
.cr-role { font-size: .72rem; color: var(--muted); margin-top: .1rem; line-height: 1.35; }
.cr-meta { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .4rem; }
.cr-tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .62rem; font-weight: 700; padding: .22rem .55rem; border-radius: 10px; background: rgba(74,168,230,.14); color: #7cc0f0; }
.cr-tag--date { background: rgba(255,255,255,.05); color: var(--muted); }
.cr-tag i { font-size: .6rem; }
.cr-more { text-align: center; margin-top: 1.4rem; }
.cr-more a { display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.4rem; border-radius: 50px; border: 1px solid rgba(0,212,255,.35); color: var(--cyan); font-weight: 700; font-size: .88rem; }
@media (hover: hover) and (pointer: fine) {
  .cr-card:hover { border-color: rgba(0,230,118,.35); transform: translateY(-3px); }
  .cr-more a:hover { border-color: var(--cyan); transform: translateY(-2px); }
}
@media (max-width: 992px) {
  .cr-summary { grid-template-columns: auto 1fr; }
  .cr-breakdown { grid-column: 1 / -1; }
  .cr-featured { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cr-summary { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 1.4rem 1.2rem; }
  .cr-ring { width: 108px; height: 108px; }
}

/* ══ Planes: la tarjeta elegida se destaca, el precio se lee en un golpe ═ */
body[data-lk] .packs-grid { align-items: stretch; }
body[data-lk] .pack-card { position: relative; }
body[data-lk] .pack-card .pack-icon { display: flex; margin-bottom: .9rem; }
body[data-lk] .pack-header h3 { letter-spacing: -.015em; }
.pack-card--featured { border-color: rgba(0,212,255,.35) !important; box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(0,212,255,.12), 0 0 60px rgba(0,212,255,.08); }
.pack-card--featured::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 2; background: linear-gradient(90deg, var(--cyan), var(--green)); }
@media (min-width: 1101px) { .pack-card--featured { transform: translateY(-10px); } .pack-card--featured:hover { transform: translateY(-16px); } }
body[data-lk] .lk-precio-lista { display: inline-block; }
.lk-off { display: inline-block; margin-left: .45rem; vertical-align: middle; padding: .14rem .5rem; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .04em; color: #080e1a; background: var(--green); text-decoration: none; }
.pack-card--featured .lk-off { background: var(--cyan); }
body[data-lk] .pack-features li { transform-origin: left center; }
body[data-lk] .pack-features li i { transform-origin: center; }
/* Brillo único que recorre el botón principal al descubrir la tarjeta */
body[data-lk] .pack-footer .btn-primary { position: relative; overflow: hidden; }
body[data-lk] .pack-footer .btn-primary::after { content: ""; position: absolute; top: -40%; bottom: -40%; width: 38%; left: -50%; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 100%); transform: skewX(-18deg); }

/* Garantías: lo que responde las tres objeciones antes de pagar */
.lk-garantia { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.6rem; padding: 1.1rem 1.2rem; border-radius: 18px;
  background: rgba(13,21,37,.7); border: 1px solid rgba(255,255,255,.07); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.lk-garantia div { display: flex; align-items: center; gap: .8rem; font-size: .82rem; color: var(--text2); line-height: 1.4; }
.lk-garantia .hm-art-icon { width: 44px; height: 44px; }
.lk-garantia b { display: block; color: var(--text); font-size: .84rem; }
@media (prefers-reduced-transparency: reduce) { .lk-garantia { background: #0d1525; backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (max-width: 900px) { .lk-garantia { grid-template-columns: 1fr; gap: .8rem; } }

/* ══ Para quién ═════════════════════════════════════════════════════════ */
body[data-lk] .para-card { position: relative; overflow: hidden; }
body[data-lk] .para-card .hm-art-icon { margin-bottom: .8rem; }

/* ══ Proceso: ruta vertical que se dibuja, números que caen en su lugar ══ */
.lk-proceso { position: relative; }
/* La ruta pasa por el centro de los números: por encima del fondo de las
   tarjetas (que no tienen z-index) y por debajo de los números. */
.lk-proceso::before { content: ""; position: absolute; left: calc(1.5rem + 1.1rem - 1px); top: 2.4rem; bottom: 2.4rem; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--green), var(--cyan)); opacity: .6; transform-origin: top center; z-index: 1; pointer-events: none; }
.lk-proceso .step-row { z-index: auto; }
.lk-proceso .step-num { position: relative; z-index: 2; box-shadow: 0 0 0 4px var(--bg3); }
.lk-proceso .step-content h3 { letter-spacing: -.01em; }

/* ══ CTA final: halos que respiran tres veces y se quedan quietos ════════ */
body[data-lk] .cta-box { position: relative; overflow: hidden; }
.lk-halo { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(40px); opacity: .35; }
.lk-halo--a { width: 320px; height: 320px; left: -80px; top: -120px; background: rgba(0,230,118,.5); }
.lk-halo--b { width: 360px; height: 360px; right: -120px; bottom: -160px; background: rgba(0,212,255,.45); }
body[data-lk] .cta-box > * { position: relative; }


/* ══ Segunda tanda: errores → opción, recomendador, cinta, tiempos, FAQ ═══ */
/* Cada error apunta a la opción que lo resuelve: el diagnóstico vende solo */
.lk-fix { display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem; padding: .4rem .8rem; border-radius: 999px; font-size: .72rem; font-weight: 700; color: var(--green); background: rgba(0,230,118,.08); border: 1px solid rgba(0,230,118,.25); transition: background-color 160ms ease, transform 120ms cubic-bezier(.2,.8,.2,1); }
.lk-fix i { font-size: .7rem; }
.lk-fix:hover { background: rgba(0,230,118,.16); color: var(--green); }
.lk-fix:active { transform: scale(.96); }

/* Recomendador: tres situaciones, una respuesta, la tarjeta se ilumina */
.lk-quiz { max-width: 820px; }
.lk-quiz-h { margin-bottom: 1.1rem !important; }
.lk-quiz-opts { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.lk-quiz-opt { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.05rem; border-radius: 999px; font: 700 .84rem var(--font-body, inherit); color: var(--text2); cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); transition: transform 120ms cubic-bezier(.2,.8,.2,1), border-color 160ms ease, background-color 160ms ease, color 160ms ease; }
.lk-quiz-opt i { color: var(--cyan); font-size: .8rem; }
.lk-quiz-opt:hover { border-color: rgba(0,212,255,.45); color: var(--text); }
.lk-quiz-opt:active { transform: scale(.96); transition-duration: 70ms; }
.lk-quiz-opt.is-on { background: rgba(0,230,118,.12); border-color: var(--green); color: var(--text); }
.lk-quiz-opt.is-on i { color: var(--green); }
.lk-quiz-opt:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.lk-quiz-res { margin-top: 1.2rem; padding: 1.1rem 1.2rem; border-radius: 16px; background: rgba(0,230,118,.06); border: 1px solid rgba(0,230,118,.22); }
.lk-quiz-res[hidden] { display: none; }
.lk-quiz-txt { margin: 0 0 .9rem !important; color: var(--text2); }
.lk-quiz-txt b { color: var(--text); }
.lk-quiz-txt em { color: var(--green); font-style: normal; font-weight: 800; }
.lk-quiz-cta { display: inline-flex; }
.lk-quiz-comp { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .8rem; font-weight: 700; color: var(--cyan); }
.pack-card.lk-picked { border-color: var(--green) !important; box-shadow: 0 0 0 2px rgba(0,230,118,.35), 0 30px 80px rgba(0,0,0,.45), 0 0 70px rgba(0,230,118,.14); }

/* Cinta de la tarjeta elegida, montada sobre el borde superior */
/* Cuelga del borde superior, dentro de la tarjeta: el overflow:hidden de
   .pack-card recortaba una cinta montada a caballo del borde. */
.lk-ribbon { position: absolute; left: 50%; top: 0; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: .4rem; padding: .42rem 1rem .4rem; border-radius: 0 0 12px 12px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #041a22; background: linear-gradient(90deg, var(--cyan), var(--green)); box-shadow: 0 8px 24px rgba(0,212,255,.3); white-space: nowrap; }
.lk-ribbon i { font-size: .62rem; }
.lk-ribbon::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 2px solid rgba(0,212,255,.6); opacity: 0; pointer-events: none; }
body[data-lk] .pack-card--featured .pack-header { padding-top: 3rem; }

/* Cuándo pasa cada paso */
.lk-when { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .35rem; padding: .22rem .6rem; border-radius: 999px; font-size: .66rem; font-weight: 700; letter-spacing: .04em; color: var(--cyan); background: rgba(0,212,255,.1); border: 1px solid rgba(0,212,255,.22); }
.lk-when i { font-size: .62rem; }

/* Bio: los diferenciales entran de a uno */
.lk-diff > div { transform-origin: left center; }

/* FAQ: la duda que no está en la lista tiene salida */
body[data-lk] .nfaq-item { transition: border-color .25s; }
body[data-lk] .nfaq-item.open { border-color: rgba(167,139,250,.45); }
.lk-faq-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.1rem; max-width: 780px; margin: 1.4rem auto 0; padding: 1.1rem 1.3rem; border-radius: 18px; background: var(--bg3); border: 1px solid rgba(37,211,102,.25); }
.lk-faq-cta > div { display: grid; gap: .15rem; }
.lk-faq-cta b { font-size: .95rem; color: var(--text); }
.lk-faq-cta span { font-size: .84rem; color: var(--muted); line-height: 1.5; }
.lk-faq-cta .btn-secondary { border-color: rgba(37,211,102,.5); color: #25d366; white-space: nowrap; }
@media (max-width: 680px) { .lk-faq-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* ══ Motion: sólo al descubrir, sólo una vez, nunca con movimiento reducido ═ */
@media (prefers-reduced-motion: no-preference) {
  /* Vocabulario hm-art */
  .hm-art.hm-discovered .hm-art-main { animation: hmArtAssemble 680ms var(--hm-ease) 60ms both; }
  .hm-art.hm-discovered .hm-art-detail { animation: hmArtAssemble 600ms var(--hm-ease) calc(180ms + var(--hm-order, 0) * 90ms) both; }
  .hm-art.hm-discovered .hm-art-orbit { animation: hmArtOrbit 1100ms var(--hm-ease) both; }
  .hm-art.hm-discovered .hm-art-route { animation: hmArtTrace 950ms var(--hm-ease) 250ms both; }
  .hm-art.hm-discovered .hm-art-bar { animation: hmArtBar 650ms var(--hm-ease) calc(240ms + var(--hm-order, 0) * 90ms) both; }
  .hm-art.hm-discovered .hm-art-glint { animation: hmArtGlint 1600ms ease-in-out 500ms both; }
  .hm-art.hm-discovered .hm-art-blip { animation: hmArtBlip 900ms ease-in-out calc(700ms + var(--hm-order, 0) * 650ms) 2 both; }
  .hm-art.hm-discovered .hm-art-drop { animation: hmArtDrop 700ms var(--hm-ease) 180ms both; }
  .hm-art.hm-discovered .hm-art-ring { animation: hmArtRing 1500ms var(--hm-ease) 200ms both; }
  @keyframes hmArtAssemble { from { opacity: 0; transform: translateY(12px) scale(.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
  @keyframes hmArtOrbit { from { opacity: 0; transform: rotate(-12deg) scale(.88); } to { opacity: 1; transform: rotate(0) scale(1); } }
  @keyframes hmArtTrace { from { clip-path: inset(0 100% 0 0); opacity: 0; } to { clip-path: inset(0); opacity: 1; } }
  @keyframes hmArtBar { from { transform: scaleY(.15); } to { transform: scaleY(1); } }
  @keyframes hmArtGlint { 0%, 100% { opacity: .5; transform: scale(.8); } 40% { opacity: 1; transform: scale(1.15); } }
  @keyframes hmArtBlip { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.25); } }
  @keyframes hmArtDrop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes hmArtRing { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @media (hover: hover) and (pointer: fine) {
    .hm-art svg { transition: transform 260ms var(--hm-ease); }
    .error-card:hover .hm-art svg, .para-card:hover .hm-art svg, .pack-card:hover .hm-art-pack svg { transform: translateY(-3px); }
  }

  /* Hero */
  .page-hero.hm-discovered .lk-proof li { animation: lkPop 520ms cubic-bezier(.22, 1, .36, 1) calc(500ms + var(--i, 0) * 90ms) both; }
  .page-hero.hm-discovered .lk-scan { animation: lkScan 1900ms cubic-bezier(.45, 0, .2, 1) 900ms both; }
  .page-hero.hm-discovered .lk-ping { animation: lkPing 700ms cubic-bezier(.22, 1, .36, 1) 2300ms both; }
  @keyframes lkPop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
  @keyframes lkScan { 0% { opacity: 0; transform: translateY(-100%); } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; transform: translateY(400%); } }
  @keyframes lkPing { from { opacity: 0; transform: translateX(-14px) scale(.94); } to { opacity: 1; transform: none; } }

  /* Cifras */
  section.hm-discovered .lk-stat-line { animation: lkGrowX 800ms var(--hm-ease, cubic-bezier(.22,1,.36,1)) calc(300ms + var(--i, 0) * 110ms) both; }
  @keyframes lkGrowX { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  /* Errores */
  section.hm-discovered .error-card::before { animation: lkGrowX 700ms cubic-bezier(.22,1,.36,1) calc(200ms + var(--i, 0) * 90ms) both; }

  /* Antes / después: la ruta se dibuja, después se encienden las palabras clave */
  section.hm-discovered .lk-route .lk-route-path { animation: hmArtRing 900ms cubic-bezier(.22,1,.36,1) 250ms both; }
  section.hm-discovered .lk-route .lk-route-head { animation: lkPop 420ms cubic-bezier(.22,1,.36,1) 1000ms both; }
  section.hm-discovered .lk-kw { animation: lkKw 520ms cubic-bezier(.22,1,.36,1) calc(1100ms + var(--i, 0) * 140ms) both; }
  section.hm-discovered .lk-match { animation: lkPop 520ms cubic-bezier(.22,1,.36,1) 2000ms both; }
  @keyframes lkKw { from { background-position: right; } to { background-position: left; } }

  /* Reseñas */
  .cr-card.hm-discovered { animation: crRise 640ms cubic-bezier(.22,1,.36,1) calc(var(--i, 0) * 110ms) both; }
  .cr-card.hm-discovered .cr-stars span { animation: crStar 520ms cubic-bezier(.34,1.56,.64,1) calc(220ms + var(--i, 0) * 80ms) both; }
  .cr-summary.hm-discovered .cr-ring .hm-art-ring { animation: hmArtRing 1500ms cubic-bezier(.22,1,.36,1) 200ms both; }
  .cr-summary.hm-discovered .cr-ring .hm-ring-num { animation: hmArtAssemble 600ms cubic-bezier(.22,1,.36,1) 500ms both; }
  .cr-summary.hm-discovered .cr-bar i { animation: lkGrowX 900ms cubic-bezier(.22,1,.36,1) calc(350ms + var(--i, 0) * 120ms) both; }
  .cr-summary.hm-discovered .cr-stars span { animation: crStar 520ms cubic-bezier(.34,1.56,.64,1) calc(320ms + var(--i, 0) * 90ms) both; }
  @keyframes crRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes crStar { from { opacity: 0; transform: scale(.4) rotate(-20deg); } to { opacity: 1; transform: none; } }

  /* Planes */
  section.hm-discovered .lk-off { animation: lkPopBounce 560ms cubic-bezier(.34,1.56,.64,1) calc(400ms + var(--i, 0) * 120ms) both; }
  section.hm-discovered .pack-features li i { animation: lkPopBounce 420ms cubic-bezier(.34,1.56,.64,1) calc(250ms + var(--i, 0) * 70ms) both; }
  section.hm-discovered .pack-card--featured .btn-primary::after { animation: lkShine 1100ms cubic-bezier(.4, 0, .2, 1) 1200ms both; }
  section.hm-discovered .lk-garantia div { animation: lkPop 520ms cubic-bezier(.22,1,.36,1) calc(300ms + var(--i, 0) * 110ms) both; }
  @keyframes lkPopBounce { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
  @keyframes lkShine { from { opacity: 1; left: -50%; } to { opacity: 1; left: 130%; } }

  /* Proceso */
  section.hm-discovered .lk-proceso::before { animation: lkGrowY 1400ms cubic-bezier(.22,1,.36,1) 300ms both; }
  section.hm-discovered .lk-proceso .step-num { animation: lkPopBounce 520ms cubic-bezier(.34,1.56,.64,1) calc(250ms + var(--i, 0) * 220ms) both; }
  @keyframes lkGrowY { from { transform: scaleY(0); } to { transform: scaleY(1); } }


  /* Segunda tanda */
  section.hm-discovered .lk-fix { animation: lkPop 480ms cubic-bezier(.22,1,.36,1) calc(500ms + var(--i, 0) * 90ms) both; }
  section.hm-discovered .lk-ribbon::after { animation: lkRingOut 1400ms cubic-bezier(.22,1,.36,1) 900ms both; }
  section.hm-discovered .lk-when { animation: lkPop 480ms cubic-bezier(.22,1,.36,1) calc(450ms + var(--i, 0) * 220ms) both; }
  section.hm-discovered .lk-diff > div { animation: lkPop 520ms cubic-bezier(.22,1,.36,1) calc(300ms + var(--i, 0) * 120ms) both; }
  section.hm-discovered .nfaq-item { animation: lkPop 520ms cubic-bezier(.22,1,.36,1) calc(150ms + var(--i, 0) * 70ms) both; }
  .lk-quiz-res:not([hidden]) { animation: lkPop 420ms cubic-bezier(.22,1,.36,1) both; }
  .pack-card.lk-picked { animation: lkPicked 900ms cubic-bezier(.22,1,.36,1) both; }
  @keyframes lkRingOut { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.6); } }
  @keyframes lkPicked { 0% { transform: translateY(0); } 30% { transform: translateY(-8px); } 100% { transform: translateY(0); } }

  /* CTA final: tres respiraciones y se queda quieto */
  section.hm-discovered .lk-halo { animation: lkBreathe 2600ms ease-in-out 3 both; }
  section.hm-discovered .lk-halo--b { animation-delay: 600ms; }
  @keyframes lkBreathe { 0%, 100% { transform: scale(1); opacity: .35; } 50% { transform: scale(1.18); opacity: .5; } }
}
