/* Coaching only: motion graphics con el mismo contrato que el home (home-impact.css).
   El CSS base muestra la composición TERMINADA; .hm-discovered (js/coaching-motion.js)
   sólo dispara la entrada, una vez, y nunca con reduced motion ni navegando con Tab. */

/* ── Vocabulario hm-art (copiado del home para no cargar home-impact.css acá) ── */
.hp-c-green  { --hp: var(--green); }
.hp-c-cyan   { --hp: var(--cyan); }
.hp-c-purple { --hp: var(--purple); }
.hp-c-orange { --hp: #f97316; }
.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: .1; stroke-opacity: .5; }
.hm-art .hm-solid { fill: currentColor; stroke: none; }
.hm-art .hm-white { stroke: #dce9f5; }
.hm-art .hm-muted { opacity: .35; }
.hm-art .hm-grid { opacity: .1; }
.hm-art .hm-label { font: 800 9px 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-icon { width: 56px; height: 56px; overflow: visible; }

/* Íconos animados en vez de emojis: qué trabajamos + metodología */
.topic-card .hm-art-icon { margin-bottom: .85rem; }
.pillar-card .hm-art-icon { margin: 0 auto .8rem; }
.topic-card, .pillar-card { position: relative; }

/* Antes / después: la flecha se dibuja como ruta */
.ba-route { width: 64px; height: 64px; overflow: visible; }

@media (prefers-reduced-motion: no-preference) {
  .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; }
  @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); }
  }
  @media (hover: hover) and (pointer: fine) {
    .hm-art svg { transition: transform 260ms var(--hm-ease); }
    .topic-card:hover .hm-art svg, .pillar-card:hover .hm-art svg { transform: translateY(-3px); }
  }
}

/* ══ Reseñas de LinkedIn ═══════════════════════════════════════════════ */
.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(0,212,255,.05), transparent 45%), var(--bg2); }
.cr-head { text-align: center; margin-bottom: 2.4rem; }

/* Resumen: anillo 5,0 + desglose de LinkedIn */
.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; stroke-dasharray: 1; stroke-dashoffset: 0; }
.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; }
.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; letter-spacing: 0; 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; }

/* Tarjetas */
.cr-featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 1.25rem; }
.cr-grid { columns: 3; column-gap: 1.25rem; }
.cr-grid .cr-card { break-inside: avoid; margin-bottom: 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--featured .cr-quote { font-size: .93rem; }
.cr-card .cr-stars { font-size: .95rem; margin: 0; }
.cr-quote { flex: 1; margin: 0; color: var(--text2); font-size: .87rem; 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(0,212,255,.12); color: var(--cyan); }
.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: .6rem; }
.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; transition: border-color .2s, transform .2s; }
@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); }
}

/* Entrada: la tarjeta sube, las estrellas se encienden una por una, el anillo se cierra */
@media (prefers-reduced-motion: no-preference) {
  .cr-card, .cr-summary { will-change: auto; }
  .cr-card.hm-discovered { animation: crRise 640ms var(--hm-ease, cubic-bezier(.22,1,.36,1)) 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: crRing 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: crBar 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(.3) rotate(-30deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
  }
  @keyframes crRing {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
  }
  @keyframes crBar {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
}

/* ══ Mensajes de WhatsApp ════════════════════════════════════════════════ */
.cw-block { margin-top: 4rem; }
.cw-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1rem 3rem; align-items: end; margin-bottom: 1.6rem; }
.cw-head .section-label { grid-column: 1 / -1; justify-self: start; margin: 0; }
.cw-head h3 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.15; letter-spacing: -.03em; }
.cw-head h3 span { color: #25d366; }
.cw-head p { margin: 0; color: var(--text2); font-size: .95rem; line-height: 1.65; max-width: 46ch; }
.cw-wall { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid rgba(37,211,102,.22); background:
  radial-gradient(circle at 12% 18%, rgba(37,211,102,.06) 0 2px, transparent 3px),
  radial-gradient(circle at 78% 62%, rgba(37,211,102,.06) 0 2px, transparent 3px),
  radial-gradient(circle at 45% 85%, rgba(37,211,102,.05) 0 2px, transparent 3px),
  radial-gradient(ellipse at 50% 0, rgba(37,211,102,.08), transparent 55%), #0b141a; }
.cw-bar { display: flex; align-items: center; gap: .8rem; padding: .85rem 1.3rem; background: #1f2c34; border-bottom: 1px solid rgba(255,255,255,.06); }
.cw-bar-avatar { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(37,211,102,.6); flex-shrink: 0; }
.cw-bar-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cw-bar-name { font-size: .88rem; font-weight: 700; color: #e9edef; line-height: 1.2; }
.cw-bar-status { font-size: .7rem; color: #8696a0; }
.cw-bar-icons { margin-left: auto; display: flex; gap: 1rem; color: #aebac1; font-size: .95rem; }
.cw-feed { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.6rem; padding: 1.6rem 1.6rem 1.8rem; }
.cw-day { grid-column: 1 / -1; justify-self: center; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8696a0; background: #1f2c34; padding: .3rem .8rem; border-radius: 8px; }
.cw-bubble { display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.cw-bubble figure { margin: 0; position: relative; border-radius: 14px 14px 14px 4px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 12px 34px rgba(0,0,0,.35); background: #202c33; transform-origin: bottom left; }
.cw-bubble img { display: block; width: 100%; height: auto; }
.cw-bubble figcaption { display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start; font-size: .74rem; font-weight: 700; color: #d1f5dd; background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.3); border-radius: 50px; padding: .35rem .8rem; }
.cw-bubble figcaption i { color: #25d366; font-size: .72rem; }
.cw-bubble--wide { grid-column: 1 / -1; max-width: 880px; justify-self: center; width: 100%; }
.cw-bubble--solo { grid-column: 1 / -1; max-width: 560px; justify-self: center; width: 100%; }
.cw-bubble figure a { display: block; border-radius: inherit; }
.cw-bubble figure a:focus-visible { outline: 2px solid #25d366; outline-offset: 3px; }
.cw-typing { position: absolute; left: 1.6rem; top: 3.9rem; display: inline-flex; gap: 4px; padding: .7rem .9rem; border-radius: 14px 14px 14px 4px; background: #202c33; opacity: 0; pointer-events: none; }
.cw-typing i { width: 7px; height: 7px; border-radius: 50%; background: #8696a0; }
.cw-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1.2rem; margin-top: 1rem; color: var(--muted); font-size: .78rem; }
.cw-foot a { color: #25d366; font-weight: 700; }

@media (prefers-reduced-motion: no-preference) {
  .cw-wall.hm-discovered .cw-typing { animation: cwTyping 1300ms ease-in-out both; }
  .cw-wall.hm-discovered .cw-typing i { animation: cwDot 500ms ease-in-out calc(var(--i, 0) * 140ms) 2 alternate both; }
  .cw-wall.hm-discovered .cw-bubble figure { animation: cwBubble 620ms cubic-bezier(.34,1.4,.64,1) calc(1100ms + var(--i, 0) * 260ms) both; }
  .cw-wall.hm-discovered .cw-bubble figcaption { animation: hmArtAssemble 520ms cubic-bezier(.22,1,.36,1) calc(1400ms + var(--i, 0) * 260ms) both; }
  .cw-wall.hm-discovered .cw-day { animation: hmArtAssemble 520ms cubic-bezier(.22,1,.36,1) 100ms both; }
  @keyframes cwTyping {
    0% { opacity: 0; transform: translateY(6px); }
    15%, 80% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(0) scale(.9); }
  }
  @keyframes cwDot {
    from { transform: translateY(0); opacity: .5; }
    to { transform: translateY(-4px); opacity: 1; }
  }
  @keyframes cwBubble {
    from { opacity: 0; transform: translateX(-14px) scale(.9); }
    to { opacity: 1; transform: translateX(0) scale(1); }
  }
}

/* ── Responsive ── */
@media (max-width: 1000px) {
  .cr-featured { grid-template-columns: 1fr 1fr; }
  .cr-featured .cr-card:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - .625rem); justify-self: center; width: 100%; }
  .cr-grid { columns: 2; }
}
@media (max-width: 900px) {
  .cr-summary { grid-template-columns: auto 1fr; }
  .cr-breakdown { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: .5rem 1.2rem; }
}
@media (max-width: 767px) {
  .cw-head { grid-template-columns: 1fr; }
  .cw-feed { grid-template-columns: 1fr; padding: 1.2rem; gap: 1.2rem; }
  .cw-typing { left: 1.2rem; }
  /* En celular la captura entera no se lee: se muestra más grande y se desliza de lado */
  .cw-bubble figure { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: rgba(37,211,102,.5) transparent; }
  .cw-bubble figure a { width: 150%; }
  .cw-bubble--wide figure a { width: 200%; }
  .cw-bubble--solo figure a { width: 160%; }
  .cw-scroll-hint { display: inline-flex; }
}
.cw-scroll-hint { display: none; align-items: center; gap: .35rem; font-size: .72rem; color: #8696a0; }
@media (max-width: 640px) {
  .cr-section { padding: 3.5rem 0; }
  .cr-featured { grid-template-columns: 1fr; }
  .cr-featured .cr-card:last-child:nth-child(odd) { max-width: none; }
  .cr-grid { columns: 1; }
  .cr-summary { grid-template-columns: 1fr; text-align: center; padding: 1.4rem 1.2rem; }
  .cr-ring { margin: 0 auto; }
  .cr-breakdown { grid-template-columns: 1fr; text-align: left; }
  .cr-card { padding: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cr-card, .cr-more a, .topic-card, .pillar-card { transition: none; }
  .cr-card:hover, .cr-more a:hover { transform: none; }
  .cw-typing { display: none; }
}

/* ══ Segunda tanda: proceso, respaldo, contadores, escenas y acentos ══════ */

/* Hero: línea de respaldo con estrellas que se encienden */
.cm-proof { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; margin: 1.4rem 0 0; color: var(--text2); font-size: .84rem; font-weight: 600; }
.cm-proof-stars { display: inline-flex; gap: .1rem; color: #fbbf24; font-size: 1rem; }
.cm-proof-stars span { display: inline-block; }
.cm-proof strong { color: var(--green); font-weight: 800; }
.cm-proof .cm-dot { color: var(--muted); }
@media (max-width: 900px) { .cm-proof { justify-content: center; } }

/* Autoridad: cuatro cifras con barra que se dibuja */
.cm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.cm-stat { position: relative; overflow: hidden; padding: 1.5rem 1.2rem 1.4rem; text-align: center; border-radius: var(--radius-lg, 18px); background: var(--bg3); border: 1px solid rgba(0,230,118,.1); }
.cm-stat-num { font: 900 2.1rem var(--font-head, 'Inter', sans-serif); line-height: 1; background: linear-gradient(135deg, var(--green), var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cm-stat-num .cm-proof-stars { display: inline-flex; margin-left: .35rem; font-size: 1rem; vertical-align: .35rem; -webkit-text-fill-color: #fbbf24; }
.cm-stat-label { margin-top: .35rem; font-size: .8rem; color: var(--muted); }
.cm-stat-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--cyan)); transform-origin: left center; }
.cm-stat:nth-child(2) .cm-stat-bar, .cm-stat:nth-child(2) .cm-stat-num { background-image: linear-gradient(135deg, var(--cyan), var(--purple)); }
.cm-stat:nth-child(4) .cm-stat-bar, .cm-stat:nth-child(4) .cm-stat-num { background-image: linear-gradient(135deg, #fbbf24, #f97316); }
@media (max-width: 900px) { .cm-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cm-stats { grid-template-columns: 1fr; } }

/* Tarjetas con acento: la línea superior se dibuja al entrar */
.topic-card, .pillar-card { --hp: var(--green); }
.topic-card::before, .pillar-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--hp), transparent 85%); transform-origin: left center; border-radius: 18px 18px 0 0; }
.topic-card:hover, .pillar-card:hover { border-color: color-mix(in srgb, var(--hp) 40%, transparent) !important; }

/* Perfil ("¿Es para mí?"): escena por tarjeta, mismo formato que las ofertas del home */
.hm-art-card { height: 92px; border-radius: 12px; margin: -.4rem 0 1rem; background: radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--hm-accent) 9%, transparent), transparent 75%); border-bottom: 1px solid color-mix(in srgb, var(--hm-accent) 12%, transparent); }
.hm-art .hm-art-sweep { transform-box: view-box; transform-origin: 122px 62px; }
.seg-card { position: relative; --hp: var(--green); }
@media (hover: hover) and (pointer: fine) { .seg-card:hover .hm-art svg { transform: translateY(-3px); } }

/* Proceso: cinco pasos unidos por una ruta que se dibuja */
.cm-process { position: relative; padding: 5rem 0; background: radial-gradient(ellipse at 50% 0, rgba(0,230,118,.06), transparent 55%), var(--bg); border-block: 1px solid rgba(0,230,118,.1); }
.cm-head { text-align: center; }
.cm-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 3rem; }
.cm-line { position: absolute; left: 10%; right: 10%; top: 35px; height: 2px; overflow: visible; pointer-events: none; }
.cm-line::before { content: ""; position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(90deg, var(--green), var(--cyan) 50%, var(--purple)); opacity: .6; transform-origin: left center; }
.cm-traveler { position: absolute; top: -4px; left: 100%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(0,212,255,.18), 0 0 18px rgba(0,212,255,.7); opacity: 0; }
.cm-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; padding: 0 .3rem; }
.cm-node { position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--bg3); border: 1px solid color-mix(in srgb, var(--hp, var(--green)) 45%, transparent); box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px color-mix(in srgb, var(--hp, var(--green)) 18%, transparent); }
.cm-node .hm-art-icon { width: 42px; height: 42px; }
.cm-step-num { margin-top: .5rem; font-size: .68rem; font-weight: 800; letter-spacing: .14em; color: var(--hp, var(--green)); }
.cm-step h3 { font-size: 1rem; margin: 0; line-height: 1.25; }
.cm-step p { margin: 0; font-size: .8rem; line-height: 1.55; color: var(--muted); max-width: 22ch; }
.cm-step-tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .62rem; font-weight: 700; color: var(--text2); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: .2rem .55rem; }
.cm-goal { display: flex; justify-content: center; margin-top: 2.2rem; }
.cm-goal-pill { display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.2rem; border-radius: 50px; background: color-mix(in srgb, var(--green) 10%, var(--bg3)); border: 1px solid rgba(0,230,118,.35); color: var(--text); font-weight: 700; font-size: .9rem; }
.cm-goal-pill i { color: var(--green); }
@media (max-width: 900px) {
  .cm-process { padding: 3.5rem 0; }
  .cm-steps { grid-template-columns: 1fr; gap: 1.6rem; margin-top: 2.2rem; padding-left: 0; }
  .cm-line { left: 35px; right: auto; top: 36px; bottom: 36px; width: 2px; height: auto; }
  .cm-traveler { display: none; }
  .cm-step { flex-direction: row; text-align: left; align-items: flex-start; gap: 1.1rem; }
  .cm-node { flex: none; }
  .cm-step-copy { display: grid; gap: .3rem; padding-top: .4rem; }
  .cm-step-num { margin-top: 0; }
  .cm-step p { max-width: none; }
}

/* CTA final: dos halos que se lanzan una vez */
.cta-banner .container { position: relative; }
.cm-halo { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; border: 1px solid rgba(0,230,118,.35); box-shadow: 0 0 40px rgba(0,230,118,.1), inset 0 0 40px rgba(0,212,255,.06); opacity: 0; pointer-events: none; }
.cm-halo + .cm-halo { border-color: rgba(0,212,255,.3); }

/* Muro de WhatsApp: contador de mensajes */
.cw-bar-count { display: inline-flex; align-items: center; gap: .35rem; margin-left: .6rem; font-size: .68rem; font-weight: 800; color: #0b141a; background: #25d366; border-radius: 50px; padding: .15rem .55rem; vertical-align: 1px; }

@media (prefers-reduced-motion: no-preference) {
  .cm-proof.hm-discovered .cm-proof-stars span { animation: crStar 520ms cubic-bezier(.34,1.56,.64,1) calc(150ms + var(--i, 0) * 80ms) both; }
  .cm-stats.hm-discovered .cm-stat { animation: crRise 600ms cubic-bezier(.22,1,.36,1) calc(var(--i, 0) * 90ms) both; }
  .cm-stats.hm-discovered .cm-stat-bar { animation: crBar 900ms cubic-bezier(.22,1,.36,1) calc(300ms + var(--i, 0) * 120ms) both; }
  .cm-stats.hm-discovered .cm-proof-stars span { animation: crStar 520ms cubic-bezier(.34,1.56,.64,1) calc(500ms + var(--i, 0) * 80ms) both; }
  .topic-card.hm-discovered::before, .pillar-card.hm-discovered::before { animation: crBar 800ms cubic-bezier(.22,1,.36,1) 200ms both; }
  .ba-grid.hm-discovered .ba-before li { animation: cmSlide 520ms cubic-bezier(.22,1,.36,1) calc(var(--i, 0) * 70ms) both; }
  .ba-grid.hm-discovered .ba-after li { animation: cmSlide 560ms cubic-bezier(.22,1,.36,1) calc(350ms + var(--i, 0) * 90ms) both; }
  .ba-grid.hm-discovered .ba-after li i { animation: crStar 480ms cubic-bezier(.34,1.56,.64,1) calc(500ms + var(--i, 0) * 90ms) both; }
  .cm-steps.hm-discovered .cm-line::before { animation: crBar 1500ms cubic-bezier(.22,1,.36,1) 200ms both; }
  .cm-steps.hm-discovered .cm-traveler { animation: cmTravel 1500ms cubic-bezier(.22,1,.36,1) 200ms both; }
  .cm-steps.hm-discovered .cm-node { animation: cmPop 600ms cubic-bezier(.34,1.56,.64,1) calc(250ms + var(--i, 0) * 260ms) both; }
  .cm-steps.hm-discovered .cm-step-copy { animation: crRise 600ms cubic-bezier(.22,1,.36,1) calc(400ms + var(--i, 0) * 260ms) both; }
  .cm-steps.hm-discovered .cm-goal-pill { animation: cmPop 700ms cubic-bezier(.34,1.56,.64,1) 1700ms both; }
  .cta-banner.hm-discovered .cm-halo { animation: cmHalo 2s cubic-bezier(.22,1,.36,1) .2s both; }
  .cta-banner.hm-discovered .cm-halo + .cm-halo { animation-delay: .45s; }
  .cw-wall.hm-discovered .cw-bar-count { animation: cmPop 600ms cubic-bezier(.34,1.56,.64,1) 2300ms both; }
  @keyframes cmSlide {
    from { opacity: 0; transform: translateX(-14px); }
    to { opacity: 1; transform: translateX(0); }
  }
  @keyframes cmTravel {
    0% { left: 0%; opacity: 0; }
    8% { opacity: 1; }
    92% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
  }
  @keyframes cmPop {
    from { opacity: 0; transform: scale(.4); }
    to { opacity: 1; transform: scale(1); }
  }
  @keyframes cmHalo {
    0% { opacity: 0; transform: scale(.6) rotate(-10deg); }
    30% { opacity: .9; }
    100% { opacity: 0; transform: scale(1.35) rotate(8deg); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .cm-halo, .cm-traveler { display: none; }
}

/* Proceso en celular: la ruta es vertical y se dibuja de arriba hacia abajo */
@media (max-width: 900px) {
  .cm-line::before { background: linear-gradient(180deg, var(--green), var(--cyan), var(--purple)); transform-origin: top center; }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .cm-steps.hm-discovered .cm-line::before { animation: cmDrawY 1500ms cubic-bezier(.22,1,.36,1) 200ms both; }
  @keyframes cmDrawY {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
  }
}

/* style.css limita .page-hero p a 600px y 1.15rem: la línea de respaldo va aparte */
.page-hero .cm-proof { max-width: none; font-size: .84rem; color: var(--text2); }
