/* ==========================================================================
   sotowismify · 70-paths (17-oct-2026) — dos caminos: Wismify y Mentoría 1:1
   Dos cajas grandes enlazadas (tema claro, cristal blanco + esquinas diagonales). Arriba una escena con puntitos;
   abajo pill, título, texto, 3 checks y el CTA con un círculo de flecha (lima al pasar el ratón).
   Hover: la caja sube, el borde se marca, la escena se mueve con el ratón (paths.js) y la flecha avanza.
   ========================================================================== */
.s-paths { position: relative; padding: clamp(64px, 8vw, 110px) 0 clamp(40px, 5vw, 70px); }
.s-paths .pt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }

.s-paths .pt-card {
  position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 24px; padding: 10px;
  background: linear-gradient(165deg, #ffffff 0%, #ffffff 45%, #faf8f4 100%);
  border: 1px solid rgba(15, 20, 30, 0.10);
  box-shadow: 0 18px 48px rgba(60, 50, 35, 0.08), inset 0 1px 0 #fff;
  color: var(--fg);
  transition: translate 0.55s var(--ease), border-color 0.4s ease, box-shadow 0.5s ease;
}
@media (hover: hover) {
  .s-paths .pt-card:hover {
    translate: 0 -6px !important;
    border-color: rgba(15, 20, 30, 0.22);
    box-shadow: 0 34px 80px rgba(60, 50, 35, 0.15), inset 0 1px 0 #fff;
  }
}
.s-paths .pt-card:focus-visible { outline-offset: 4px; border-radius: 24px; }

/* ---------- Escena (arriba) ---------- */
.s-paths .pt-scene {
  position: relative; height: clamp(230px, 22vw, 290px); border-radius: 16px; overflow: hidden;
  background:
    radial-gradient(rgba(40, 34, 24, 0.12) 0.9px, transparent 1.25px) 0 0 / 12px 12px,
    radial-gradient(90% 80% at 50% 0%, #fbfaf7 0%, transparent 70%),
    linear-gradient(180deg, #f6f4f0 0%, #efece6 100%);
  border: 1px solid rgba(15, 20, 30, 0.06);
}
.s-paths .pt-layer { position: absolute; will-change: transform; }

/* Wismify: mini bandeja + respuesta de la IA */
.s-paths .pt-inbox {
  left: 8%; right: 8%; top: 12%;
  padding: 12px; border-radius: 14px; background: #fff;
  border: 1px solid rgba(15, 20, 30, 0.09); box-shadow: 0 18px 40px rgba(60, 50, 35, 0.10);
}
.s-paths .pt-inbox-top { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 10px; }
.s-paths .pt-inbox-top img { height: 14px; width: auto; }
.s-paths .pt-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.s-paths .pt-live i { width: 6px; height: 6px; border-radius: 50%; background: #c2fc03; box-shadow: 0 0 0 3px rgba(194, 252, 3, 0.25); }
.s-paths .pt-row { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; }
.s-paths .pt-row + .pt-row { margin-top: 2px; }
.s-paths .pt-row.is-on { background: #f4f2ee; }
.s-paths .pt-av { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 9.5px; font-weight: 700; background: #ecebe7; color: var(--fg-2); }
.s-paths .pt-row.is-on .pt-av { background: #14181f; color: #f7f6f3; }
.s-paths .pt-l { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.s-paths .pt-l b { font-size: 12px; font-weight: 600; }
.s-paths .pt-l em { font-style: normal; font-size: 11.5px; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-paths .pt-chip, .s-paths .pt-tag { flex: none; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; }
.s-paths .pt-chip { background: #14181f; color: #f7f6f3; }
.s-paths .pt-tag { border: 1px solid rgba(15, 20, 30, 0.12); color: var(--fg-3); }
.s-paths .pt-reply {
  right: 6%; bottom: 9%; width: min(68%, 330px);
  padding: 12px 14px; border-radius: 14px; background: #fbfaf7;
  border: 1px solid rgba(15, 20, 30, 0.12); box-shadow: 0 22px 46px rgba(60, 50, 35, 0.16);
}
.s-paths .pt-reply-k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.s-paths .pt-reply p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--fg-1); }
.s-paths .pt-caret { display: inline-block; width: 6px; height: 13px; margin-left: 2px; vertical-align: -2px; background: #14181f; animation: pt-blink 1s steps(1) infinite; }
@keyframes pt-blink { 50% { opacity: 0; } }

/* Mentoría: Iván + conversación 1:1 */
.s-paths .pt-me { right: 4%; bottom: -2%; width: min(50%, 280px); } /* GSAP mueve x/y: sin translate en CSS */
.s-paths .pt-me-img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 24px rgba(60, 50, 35, 0.14)); }
.s-paths .pt-me-badge {
  position: absolute; right: -4%; top: 10%; padding: 6px 10px; border-radius: 999px;
  background: #c2fc03; color: #14181f; font-size: 13px; font-weight: 800; letter-spacing: -0.01em;
  box-shadow: 0 10px 22px rgba(120, 160, 0, 0.28); rotate: 8deg;
}
.s-paths .pt-chat { left: 6%; width: 52%; top: 0; bottom: 0; display: grid; align-content: center; gap: 10px; pointer-events: none; } /* centrado sin translate: GSAP mueve x/y */
.s-paths .pt-msg {
  margin: 0; max-width: 100%; padding: 9px 12px; border-radius: 14px; font-size: 12px; line-height: 1.4;
  box-shadow: 0 12px 28px rgba(60, 50, 35, 0.12);
}
.s-paths .pt-msg--in { justify-self: start; background: #fff; border: 1px solid rgba(15, 20, 30, 0.10); border-bottom-left-radius: 4px; color: var(--fg-1); }
.s-paths .pt-msg--out { justify-self: end; background: #14181f; color: #f7f6f3; border-bottom-right-radius: 4px; }

/* ---------- Texto (abajo) ---------- */
.s-paths .pt-body { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; padding: clamp(20px, 2.4vw, 30px) clamp(18px, 2.2vw, 28px) clamp(16px, 2vw, 22px); }
.s-paths .pt-pill {
  align-self: flex-start; margin: 0; padding: 5px 10px; border-radius: 7px;
  background: rgba(15, 20, 30, 0.05); border: 1px solid rgba(15, 20, 30, 0.06);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-1);
}
.s-paths .pt-title { margin: 14px 0 0; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.12; font-weight: 650; letter-spacing: -0.028em; text-wrap: balance; }
.s-paths .pt-desc { margin: 10px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--fg-2); max-width: 36em; }
.s-paths .pt-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.s-paths .pt-list li { position: relative; padding-left: 26px; font-size: 13.5px; color: var(--fg-1); }
/* check en CSS */
.s-paths .pt-list li::before { content: ''; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: #14181f; }
.s-paths .pt-list li::after { content: ''; position: absolute; left: 6px; top: 6px; width: 5px; height: 8px; border: solid #f7f6f3; border-width: 0 1.6px 1.6px 0; rotate: 40deg; }
.s-paths .pt-foot { margin-top: auto; padding-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.s-paths .pt-cta { font-size: 15px; font-weight: 650; letter-spacing: -0.01em; }
/* círculo con flecha: tinta → lima al pasar el ratón por la caja */
.s-paths .pt-go {
  position: relative; flex: none; width: 50px; height: 50px; border-radius: 50%;
  background: #14181f; color: #f7f6f3; display: grid; place-items: center;
  transition: background 0.4s ease, color 0.4s ease, scale 0.5s var(--ease);
}
.s-paths .pt-go i { position: relative; width: 16px; height: 1.6px; background: currentColor; border-radius: 2px; transition: translate 0.45s var(--ease); }
.s-paths .pt-go i::after { content: ''; position: absolute; right: -1px; top: 50%; width: 8px; height: 8px; border: solid currentColor; border-width: 1.6px 1.6px 0 0; translate: 0 -50%; rotate: 45deg; }
.s-paths .pt-go--ext i { rotate: -45deg; }
@media (hover: hover) {
  .s-paths .pt-card:hover .pt-go { background: #c2fc03; color: #14181f; scale: 1.08; }
  .s-paths .pt-card:hover .pt-go i { translate: 3px 0; }
  .s-paths .pt-card:hover .pt-go--ext i { translate: 2px -2px; }
}

@media (max-width: 860px) {
  .s-paths .pt-grid { grid-template-columns: 1fr; }
  .s-paths .pt-scene { height: 240px; }
  .s-paths .pt-msg { font-size: 11.5px; padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) { .s-paths .pt-caret { animation: none; } }
