/* HapWork · Sección v3 (tono claro + imagen del Happy) · prefijo .vsa */
.vsa { --o: #FF5100; --o2: #FF8A3D; --ink: #0A0D0E; --mut: #6b645e; --ot: #D94400; --os: #B3410A; --ink2: #2b2724; --cream: #f1ebe3; --ease: cubic-bezier(.22,.8,.24,1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI Variable Display", "Segoe UI", Inter, Roboto, Arial, sans-serif;
  position: relative; isolation: isolate; overflow: hidden; padding-top: 110px; padding-bottom: 110px; color: var(--ink); font-family: var(--font);
  background: radial-gradient(90% 70% at 85% 10%, #f7f2ec 0%, transparent 60%), linear-gradient(180deg, #f3ede6 0%, #ece4da 100%); }
.vsa *, .vsa *::before, .vsa *::after { box-sizing: border-box; }
.vsa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Orbes de luz */
.vsa-orb { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; filter: blur(60px); }
.vsa-orb-a { width: 560px; height: 560px; right: -120px; top: 34%; background: radial-gradient(circle at 40% 40%, rgba(255,120,40,.85), rgba(255,81,0,.45) 45%, rgba(255,81,0,0) 70%); animation: vsa-drift 14s ease-in-out infinite alternate; }
.vsa-orb-b { width: 420px; height: 420px; left: -160px; top: 62%; background: radial-gradient(circle, rgba(255,160,90,.55), rgba(255,140,60,0) 70%); animation: vsa-drift 18s ease-in-out infinite alternate-reverse; }

/* Vidrio y tarjeta oscura */
.vsa-glass { background: linear-gradient(160deg, rgba(255,255,255,.72), rgba(255,255,255,.42)); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255,255,255,.75); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 24px 60px rgba(80,50,20,.10); border-radius: 30px; }

/* Encabezado */
.vsa-head { max-width: 900px; }
.vsa-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 32px; padding: 10px 18px 10px 14px; border-radius: 99px; color: var(--ink); font-size: 14px; font-weight: 500; letter-spacing: .005em;
  background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 6px 20px rgba(80,50,20,.08); }
.vsa-eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--o); box-shadow: 0 0 0 4px rgba(255,81,0,.16), 0 0 14px rgba(255,81,0,.6); }
.vsa h2 { margin: 0 0 24px; font-size: clamp(38px, 5vw, 68px); font-weight: 300; line-height: 1.04; letter-spacing: -.035em; }
.vsa h2 em { display: block; color: var(--o); font-style: normal; font-weight: 400; }
.vsa-lead { max-width: 640px; margin: 0; color: var(--mut); font-size: 17px; font-weight: 400; line-height: 1.6; }

/* Escenario */
.vsa-stage { position: relative; margin-top: 54px; padding: 14px; border-radius: 40px; background: rgba(255,255,255,.28); border: 1px solid rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 40px 90px rgba(80,50,20,.12); }
.vsa-bar { display: flex; align-items: center; gap: 10px; }
.vsa-tabs { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 99px; background: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.7); }
.vsa-tab { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 22px; border: 0; border-radius: 99px; background: transparent; color: var(--mut); font: 500 15px/1.2 var(--font); text-align: left; cursor: pointer; transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease); }
.vsa-tab:focus-visible, .vsa-pause:focus-visible, .vsa-cta:focus-visible { outline: 2px solid var(--o); outline-offset: 3px; }
.vsa-tab-n { font-size: 12px; font-weight: 500; opacity: .6; font-variant-numeric: tabular-nums; }
.vsa-tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 8px 22px rgba(80,50,20,.10); }
.vsa-tab[data-go="2"].is-active { background: var(--ink); color: #fff; }
.vsa-tab[data-go="2"].is-active .vsa-tab-n { color: var(--o2); opacity: 1; }
.vsa-prog { position: absolute; left: 22px; right: 22px; bottom: 7px; height: 2px; border-radius: 2px; background: rgba(10,13,14,.07); overflow: hidden; }
.vsa-tab[data-go="2"].is-active .vsa-prog { background: rgba(255,255,255,.14); }
.vsa-prog::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.vsa-tab[data-go="2"] .vsa-prog::after { background: var(--o); }
.vsa-pause { flex: none; width: 60px; height: 60px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; box-shadow: 0 10px 24px rgba(10,13,14,.2); }
.vsa-pause svg { width: 16px; height: 16px; }
.vsa-i-play { display: none; }
.vsa-stage.is-paused .vsa-i-play { display: block; }
.vsa-stage.is-paused .vsa-i-pause { display: none; }

.vsa-scenes { position: relative; height: 520px; margin-top: 12px; border-radius: 30px; overflow: hidden;
  background: radial-gradient(60% 80% at 78% 70%, rgba(255,120,50,.30), transparent 70%), radial-gradient(50% 60% at 15% 20%, rgba(255,255,255,.7), transparent 70%), #efe8df; }
.vsa-act { position: absolute; inset: 0; padding: 26px; transition: opacity .8s var(--ease), transform 1s var(--ease), filter .8s var(--ease), visibility 0s linear 1s; }
.vsa-act2 { opacity: 0; visibility: hidden; transform: translateY(24px) scale(.98); }
.vsa-stage.is-act2 .vsa-act1 { opacity: 0; visibility: hidden; transform: scale(.94); filter: blur(8px); }
.vsa-stage.is-act2 .vsa-act2 { opacity: 1; visibility: visible; transform: none; transition-delay: .2s, .2s, .2s, 0s; }
.vsa-stage:not(.is-act2) .vsa-act1 { visibility: visible; transition-delay: 0s; }
.vsa [data-at] { transition: opacity .6s var(--ease), transform .7s var(--ease), background .5s, color .5s, border-color .5s, box-shadow .5s; }
.vsa-kicker { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; color: var(--mut); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Acto 1 ---------- */
.vsa-a1 { height: 100%; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.85fr); gap: 18px; }
.vsa-chatwrap { position: relative; min-height: 0; padding-top: 34px; }
.vsa-xls { position: absolute; z-index: 2; left: 26px; top: 0; padding: 12px 16px; border-radius: 20px; min-width: 240px; }
.vsa-xls small { display: block; margin-bottom: 6px; color: var(--mut); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.vsa-row { position: relative; display: flex; gap: 14px; padding: 6px 10px; border-radius: 10px; font-size: 14px; font-variant-numeric: tabular-nums; }
.vsa-row span:first-child { font-weight: 600; }
.vsa-row-sel.is-on { background: rgba(10,13,14,.06); box-shadow: inset 0 0 0 1px rgba(10,13,14,.3); }
.vsa-tag { position: absolute; right: -8px; top: -18px; padding: 3px 9px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 11px; font-style: normal; opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s; }
.vsa-row-sel.is-on .vsa-tag { opacity: 1; transform: none; }
.vsa-chat { height: 100%; display: flex; flex-direction: column; overflow: hidden; padding-top: 44px; }
.vsa-chat header { display: flex; align-items: center; gap: 12px; padding: 12px 22px 14px; border-bottom: 1px solid rgba(10,13,14,.06); }
.vsa-chat header b { display: block; font-size: 15px; font-weight: 600; }
.vsa-chat header small { display: block; margin-top: 2px; color: var(--mut); font-size: 12px; }
.vsa-chat-av { flex: none; width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(from 200deg, #ddd6ce, #bfb8b0, #ebe6e0, #ddd6ce); }
.vsa-wait { margin-left: auto; padding: 6px 11px; border-radius: 99px; background: rgba(10,13,14,.06); color: var(--mut); font-size: 12px; white-space: nowrap; opacity: 0; }
.vsa-wait::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #b9b2aa; vertical-align: 1px; animation: vsa-blink 1.2s steps(1) infinite; }
.vsa-wait.is-on { opacity: 1; }
.vsa-msgs { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 14px 22px; overflow: hidden; }
.vsa-msg { position: relative; display: none; max-width: 82%; margin: 0; padding: 11px 15px; border-radius: 20px; font-size: 14px; line-height: 1.4; }
.vsa-msg.is-on { display: block; animation: vsa-in .45s var(--ease) both; }
.vsa-u { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.vsa-a { align-self: flex-start; background: rgba(255,255,255,.85); border-bottom-left-radius: 6px; box-shadow: 0 4px 12px rgba(80,50,20,.05); }
.vsa-a mark { background: none; color: inherit; text-decoration: underline wavy rgba(255,81,0,.9); text-underline-offset: 3px; }
.vsa-typing.is-on { display: flex; gap: 4px; padding: 14px 16px; }
.vsa-typing i { width: 6px; height: 6px; border-radius: 50%; background: #aaa39b; animation: vsa-dot 1s infinite; }
.vsa-typing i:nth-child(2) { animation-delay: .15s; } .vsa-typing i:nth-child(3) { animation-delay: .3s; }
.vsa-warn { position: absolute; right: -10px; top: -11px; padding: 3px 9px; border-radius: 99px; background: #fff; font-size: 11px; font-weight: 600; font-style: normal; box-shadow: 0 0 0 1px rgba(255,81,0,.65), 0 6px 14px rgba(80,50,20,.12); }
.vsa-input { margin: 0 16px 16px; padding: 13px 18px; border-radius: 99px; background: rgba(255,255,255,.7); color: #9b948c; font-size: 13px; }
.vsa-input span::after { content: ""; display: inline-block; width: 1px; height: 13px; margin-left: 3px; vertical-align: -2px; background: #9b948c; animation: vsa-blink 1s steps(1) infinite; }
.vsa-side1 { min-height: 0; display: flex; flex-direction: column; gap: 14px; }
.vsa-clock { padding: 24px 26px; }
.vsa-clock small { display: block; color: rgba(255,255,255,.6); font-size: 13px; }
.vsa-clock strong { display: block; margin: 6px 0 2px; font-size: 64px; font-weight: 200; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.vsa-unit { font-size: 26px; font-weight: 300; letter-spacing: -.01em; color: rgba(255,255,255,.55); }
.vsa-sub { color: rgba(255,255,255,.5); font-size: 13px; }
.vsa-pains { flex: 1; min-height: 0; padding: 18px 18px 16px; border-radius: 26px; }
.vsa-count { min-width: 26px; height: 26px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; letter-spacing: 0; }
.vsa-pains ul { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.vsa-pains li { padding: 8px 13px; border-radius: 99px; background: rgba(255,255,255,.75); border: 1px solid rgba(10,13,14,.06); font-size: 13px; opacity: .25; transform: translateY(6px); }
.vsa-pains li.is-on { opacity: 1; transform: none; box-shadow: 0 6px 14px rgba(80,50,20,.07); }

/* ---------- Acto 2 ---------- */
.vsa-a2 { height: 100%; display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 18px; }
.vsa-goal { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 0; padding: 26px; border-radius: 30px; color: #fff;
  background: radial-gradient(120% 70% at 50% 108%, #FF5100 0%, rgba(255,110,40,.85) 30%, rgba(60,40,30,0) 70%), linear-gradient(180deg, #1c1d1e 0%, #2a2522 100%);
  box-shadow: 0 30px 70px rgba(255,81,0,.22), 0 10px 30px rgba(10,13,14,.2); opacity: 0; transform: translateY(18px); }
.vsa-goal.is-on { opacity: 1; transform: none; }
.vsa-goal-top { display: flex; align-items: center; gap: 12px; }
.vsa-goal-top b { display: block; font-size: 15px; font-weight: 600; }
.vsa-goal-top small { display: block; margin-top: 2px; color: rgba(255,255,255,.55); font-size: 12px; }
.vsa-h { position: relative; flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--o); color: #fff; font-weight: 700; font-size: 18px; box-shadow: 0 0 0 6px rgba(255,81,0,.18), 0 0 24px rgba(255,81,0,.6); }
.vsa-h::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(255,140,80,.6); animation: vsa-ping 2.4s var(--ease) infinite; }
.vsa-goal-k { margin-top: 28px; color: rgba(255,255,255,.55); }
.vsa-goal-t { margin: 8px 0 0; font-size: 26px; font-weight: 300; line-height: 1.15; letter-spacing: -.02em; }
.vsa-goal-t span { color: rgba(255,255,255,.55); }
.vsa-goal-n { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; }
.vsa-goal-n strong { font-size: 76px; font-weight: 200; line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.vsa-goal-s { padding: 7px 12px; border-radius: 99px; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 12px; font-weight: 500; white-space: nowrap; }
.vsa-s2 { display: none; }
.vsa-s2.is-on { display: inline; }
.vsa-goal:has(.vsa-s2.is-on) .vsa-s1 { display: none; }
.vsa-goal:has(.vsa-s2.is-on) .vsa-goal-s { background: #fff; color: var(--ink); }
.vsa-goal-bar { display: block; height: 3px; margin-top: 14px; border-radius: 3px; background: rgba(255,255,255,.18); overflow: hidden; }
.vsa-goal-bar b { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--g, 0)); transition: transform .8s var(--ease); }
.vsa-verbs { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.vsa-verbs li { padding: 7px 12px; border-radius: 99px; border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.45); font-size: 12px; font-weight: 500; }
.vsa-verbs li.is-on { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 6px 16px rgba(10,13,14,.2); }

.vsa-work { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 12px; }
.vsa-install { padding: 14px 16px; border-radius: 24px; opacity: 0; transform: translateY(10px); }
.vsa-install.is-on { opacity: 1; transform: none; }
.vsa-install-b { display: none; color: #b3410a; }
.vsa-install-b.is-on { display: inline; }
.vsa-install:has(.vsa-install-b.is-on) .vsa-install-a { display: none; }
.vsa-chips { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.vsa-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 99px; background: rgba(255,255,255,.6); border: 1px solid rgba(10,13,14,.06); font-size: 13px; font-weight: 500; opacity: .3; }
.vsa-chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #c9c1b8; transition: background .4s, box-shadow .4s; }
.vsa-chips li.is-on { opacity: 1; background: #fff; }
.vsa-chips li.is-on::before { background: var(--o); box-shadow: 0 0 0 3px rgba(255,81,0,.15), 0 0 10px rgba(255,81,0,.7); }
.vsa-chips li.is-hot { color: #fff; background: var(--o); border-color: var(--o); box-shadow: 0 8px 22px rgba(255,81,0,.4); }
.vsa-chips li.is-hot::before { background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.9); }

.vsa-feed { flex: 1; min-height: 0; margin: 0; padding: 0 4px 2px; list-style: none; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22px); mask-image: linear-gradient(180deg, transparent 0, #000 22px); }
.vsa-card { flex: none; display: none; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(255,255,255,.82), rgba(255,255,255,.55)); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,.85); box-shadow: inset 0 1px 0 #fff, 0 12px 30px rgba(80,50,20,.09); }
.vsa-card.is-on { display: flex; animation: vsa-pop .6s var(--ease) both; }
.vsa-when { flex: none; width: 118px; color: var(--mut); font-size: 12px; font-variant-numeric: tabular-nums; }
.vsa-card p { flex: 1; min-width: 0; margin: 0; font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: -.005em; }
.vsa-card-ask { background: #121415; border-color: #121415; color: #fff; box-shadow: 0 16px 36px rgba(10,13,14,.25); }
.vsa-card-ask .vsa-when { color: var(--o2); }
.vsa-card-done { background: linear-gradient(120deg, #fff 0%, #fff3ea 60%, #ffd9c2 100%); box-shadow: 0 16px 40px rgba(255,81,0,.22); }
.vsa-card-done p { color: var(--ink); }
.vsa-card-done .vsa-when { color: #b3410a; }
.vsa-pill { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 4px 4px 4px 14px; border-radius: 99px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; }
.vsa-pill i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; }
.vsa-pill svg { width: 14px; height: 14px; }
.vsa-chk, .vsa-pill-d { display: none; }
.vsa-pill.is-on .vsa-pill-t, .vsa-pill.is-on .vsa-arr { display: none; }
.vsa-pill.is-on .vsa-pill-d, .vsa-pill.is-on .vsa-chk { display: inline; }
.vsa-pill.is-on i { background: var(--o); }
.vsa-final { position: absolute; left: 50%; bottom: 22px; z-index: 6; width: max-content; max-width: calc(100% - 40px); margin: 0; padding: 14px 24px; border-radius: 99px; text-align: center;
  background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); border: 1px solid #fff; box-shadow: 0 20px 50px rgba(80,50,20,.18);
  color: var(--ink); font-size: 16px; font-weight: 500; opacity: 0; transform: translate(-50%, 16px); }
.vsa-final span { color: var(--o); }
.vsa-final.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Cursor */
.vsa-cursor { position: absolute; left: 0; top: 0; z-index: 7; width: 22px; height: 22px; pointer-events: none; filter: drop-shadow(0 3px 5px rgba(10,13,14,.25)); opacity: 0; transition: transform .7s var(--ease), opacity .4s; }
.vsa-stage.has-cursor .vsa-cursor { opacity: 1; }

/* Comparativo y cierre */
.vsa-compare { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; margin-top: 18px; }
.vsa-compare > div { padding: 30px 32px; }
.vsa-compare h3 { margin: 0 0 14px; font-size: 22px; font-weight: 400; letter-spacing: -.02em; }
.vsa-cmp-a h3 { color: var(--mut); }
.vsa-cmp-h { position: relative; overflow: hidden; background: radial-gradient(80% 120% at 100% 100%, rgba(255,81,0,.55), rgba(255,81,0,0) 60%), #121415; }
.vsa-cmp-h h3 { color: #fff; }
.vsa-compare ul { margin: 0; padding: 0; list-style: none; }
.vsa-compare li { padding: 13px 0; border-top: 1px solid rgba(10,13,14,.08); color: var(--mut); font-size: 16px; line-height: 1.45; }
.vsa-cmp-h li { border-color: rgba(255,255,255,.12); color: #fff; }
.vsa-cmp-h li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 12px; border-radius: 50%; background: var(--o); box-shadow: 0 0 10px rgba(255,81,0,.8); vertical-align: 2px; }
.vsa-end { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-top: 44px; }
.vsa-close { max-width: 760px; margin: 0; color: var(--mut); font-size: clamp(24px, 2.6vw, 34px); font-weight: 300; line-height: 1.2; letter-spacing: -.025em; }
.vsa-close strong { display: block; color: var(--ink); font-weight: 400; }
.vsa-cta { display: inline-flex; align-items: center; gap: 14px; padding: 6px 6px 6px 24px; border-radius: 99px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; box-shadow: 0 12px 30px rgba(80,50,20,.12); transition: transform .3s var(--ease); }
.vsa-cta:hover { transform: translateY(-2px); }
.vsa-cta i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; transition: background .3s; }
.vsa-cta:hover i { background: var(--o); }
.vsa-cta svg { width: 16px; height: 16px; }

@keyframes vsa-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes vsa-pop { from { opacity: 0; transform: translateY(18px) scale(.96); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes vsa-dot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes vsa-blink { 50% { opacity: 0; } }
@keyframes vsa-ping { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes vsa-drift { from { transform: translate(0,0) scale(1); } to { transform: translate(-60px,-40px) scale(1.1); } }

/* Sin backdrop-filter: vidrio más opaco */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .vsa-glass, .vsa-card, .vsa-final { background: rgba(255,255,255,.92); }
}

/* Tablet */
@media (max-width: 980px) {
  .vsa-a1 { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); }
  .vsa-clock strong { font-size: 52px; }
  .vsa-when { width: 92px; }
}
/* Móvil */
@media (max-width: 760px) {
  .vsa { padding-top: 76px; padding-bottom: 76px; }
  .vsa-orb-a { width: 380px; height: 380px; right: -170px; top: 30%; }
  .vsa-orb-b { width: 300px; height: 300px; left: -150px; top: 70%; }
  .vsa-eyebrow { margin-bottom: 26px; padding: 9px 15px 9px 12px; font-size: 13px; }
  .vsa h2 { font-size: 38px; line-height: 1.05; }
  .vsa-lead { font-size: 15.5px; }
  .vsa-stage { margin: 36px -3vw 0; padding: 8px; border-radius: 30px; }
  .vsa-tabs { padding: 4px; }
  .vsa-tab { min-height: 46px; padding: 8px 14px; gap: 7px; font-size: 13px; }
  .vsa-tab-n { font-size: 11px; }
  .vsa-prog { left: 14px; right: 14px; bottom: 5px; }
  .vsa-pause { width: 50px; height: 50px; }
  .vsa-scenes { height: 650px; margin-top: 8px; border-radius: 24px; }
  .vsa-act { padding: 12px; }
  .vsa-a1 { grid-template-columns: 1fr; grid-template-rows: minmax(0,1fr) auto; gap: 10px; }
  .vsa-chatwrap { padding-top: 30px; }
  .vsa-xls { left: 14px; min-width: 0; padding: 10px 12px; border-radius: 18px; }
  .vsa-row { font-size: 13px; }
  .vsa-chat { padding-top: 44px; border-radius: 24px; }
  .vsa-chat header { padding: 10px 14px 12px; gap: 10px; }
  .vsa-chat header b { font-size: 14px; }
  .vsa-chat-av { width: 30px; height: 30px; }
  .vsa-wait { position: absolute; right: 12px; top: 12px; font-size: 11px; padding: 5px 9px; }
  .vsa-msgs { padding: 10px 12px; gap: 7px; }
  .vsa-msg { font-size: 13px; max-width: 88%; padding: 9px 12px; border-radius: 18px; }
  .vsa-input { margin: 0 10px 10px; padding: 11px 15px; }
  .vsa-side1 { flex-direction: row; gap: 8px; }
  .vsa-clock { flex: none; width: 40%; padding: 14px; border-radius: 22px; }
  .vsa-clock small { font-size: 11px; line-height: 1.3; }
  .vsa-clock strong { font-size: 40px; margin-top: 4px; }
  .vsa-unit { font-size: 17px; }
  .vsa-sub { display: block; font-size: 11px; line-height: 1.3; }
  .vsa-pains { padding: 12px; border-radius: 22px; }
  .vsa-pains .vsa-kicker { font-size: 10.5px; }
  .vsa-count { min-width: 22px; height: 22px; font-size: 11px; }
  .vsa-pains ul { margin-top: 8px; gap: 4px; }
  .vsa-pains li { padding: 5px 9px; font-size: 11.5px; }
  .vsa-a2 { grid-template-columns: 1fr; grid-template-rows: auto minmax(0,1fr); gap: 10px; }
  .vsa-goal { padding: 16px 18px; border-radius: 24px; }
  .vsa-h { width: 36px; height: 36px; font-size: 16px; }
  .vsa-goal-top b { font-size: 14px; }
  .vsa-goal-k { margin-top: 12px; }
  .vsa-goal-t { margin-top: 4px; font-size: 20px; }
  .vsa-goal-n { padding-top: 8px; }
  .vsa-goal-n strong { font-size: 48px; }
  .vsa-goal-bar { margin-top: 10px; }
  .vsa-verbs { margin-top: 10px; gap: 4px; }
  .vsa-verbs li { padding: 5px 9px; font-size: 11px; }
  .vsa-work { gap: 8px; }
  .vsa-install { padding: 10px 12px; border-radius: 20px; }
  .vsa-install .vsa-kicker { font-size: 10.5px; }
  .vsa-chips { margin-top: 7px; gap: 4px; }
  .vsa-chips li { padding: 5px 9px; font-size: 11.5px; gap: 5px; }
  .vsa-chips li::before { width: 6px; height: 6px; }
  .vsa-feed { gap: 6px; padding: 0; }
  .vsa-card { flex-direction: column; align-items: flex-start; gap: 3px; padding: 9px 13px; border-radius: 17px; }
  .vsa-card-ask { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 10px; }
  .vsa-card-ask .vsa-when { flex-basis: 100%; }
  .vsa-when { width: auto; font-size: 11px; }
  .vsa-card p { font-size: 13.5px; }
  .vsa-pill { font-size: 12px; padding: 3px 3px 3px 11px; }
  .vsa-pill i { width: 24px; height: 24px; }
  .vsa-final { bottom: 12px; width: calc(100% - 24px); max-width: none; padding: 12px 16px; border-radius: 22px; font-size: 14px; line-height: 1.35; }
  .vsa-final span { display: block; }
  .vsa-compare { grid-template-columns: 1fr; gap: 10px; }
  .vsa-compare > div { padding: 24px; border-radius: 26px; }
  .vsa-compare h3 { font-size: 20px; }
  .vsa-compare li { font-size: 15px; padding: 11px 0; }
  .vsa-end { margin-top: 34px; }
  .vsa-close { font-size: 25px; }
  .vsa-cta { font-size: 14px; padding-left: 20px; }
}

/* Movimiento reducido: estado final estático */
@media (prefers-reduced-motion: reduce) {
  .vsa *, .vsa *::before, .vsa *::after { animation: none !important; transition: none !important; }
  .vsa-pause, .vsa-cursor { display: none !important; }
}

/* Reserva espacio para la frase final */
.vsa-a2 { transition: height .8s var(--ease); }
.vsa-stage.is-final .vsa-a2 { height: calc(100% - 74px); }
@media (max-width: 760px) { .vsa-stage.is-final .vsa-a2 { height: calc(100% - 82px); } }

/* Ajustes de pulido */
.vsa-when { width: 138px; white-space: nowrap; }
.vsa-chips { gap: 5px; }
.vsa-chips li { padding: 6px 11px; font-size: 12.5px; }
.vsa-feed { padding-bottom: 10px; }
.vsa-clock { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 980px) { .vsa-when { width: 104px; white-space: normal; } }
@media (max-width: 760px) {
  .vsa-tab { white-space: nowrap; font-size: 13px; padding: 8px 14px; }
  .vsa-tab-n { display: none; }
  .vsa-pause { width: 46px; height: 46px; }
  .vsa-chat header { flex-wrap: wrap; row-gap: 8px; }
  .vsa-wait { position: static; order: 3; margin-left: 42px; }
  .vsa-when { width: auto; white-space: nowrap; }
  .vsa-goal-top small { display: none; }
  .vsa-goal-k { margin-top: 10px; }
  .vsa-goal-t { font-size: 19px; }
  .vsa-goal-n strong { font-size: 44px; }
  .vsa-chips li { padding: 5px 9px; font-size: 11.5px; }
}
@media (max-width: 380px) { .vsa-tab { font-size: 12px; padding: 8px 11px; } }
.vsa-head { max-width: 1080px; }
@media (max-width: 760px) {
  .vsa-eyebrow { font-size: 12.5px; white-space: nowrap; }
  .vsa-final { font-size: 13.5px; padding: 11px 14px; }
  .vsa-stage.is-final .vsa-a2 { height: calc(100% - 96px); }
}
.vsa h2 { text-wrap: balance; }


/* ===== v3: sin paneles oscuros; tono crema, vidrio y naranja suave ===== */
.vsa h2 em { color: var(--ot); }
.vsa-tab[data-go="2"].is-active { background: #fff; color: var(--ink2); }
.vsa-tab[data-go="2"].is-active .vsa-tab-n { color: var(--os); }
.vsa-tab[data-go="2"].is-active .vsa-prog { background: rgba(10,13,14,.07); }
.vsa-prog::after { background: var(--ink2); }
.vsa-pause { background: rgba(255,255,255,.85); color: var(--ink2); border: 1px solid #fff; box-shadow: 0 10px 24px rgba(80,50,20,.12); }
.vsa-tag { background: var(--os); }
.vsa-row-sel.is-on { background: rgba(255,81,0,.07); box-shadow: inset 0 0 0 1px rgba(217,68,0,.45); }
.vsa-u { background: linear-gradient(160deg, #ffe7d8, #ffd9c3); color: var(--ink2); box-shadow: 0 6px 16px rgba(255,81,0,.10); }
.vsa-count { background: linear-gradient(160deg, #ff7a33, #ff5100); color: #fff; }

/* Contador del acto 1 en vidrio cálido */
.vsa-clock { color: var(--ink2); background: linear-gradient(160deg, rgba(255,255,255,.78), rgba(255,236,224,.55)); }
.vsa-clock small, .vsa-sub { color: var(--mut); }
.vsa-clock strong { color: var(--ink2); }
.vsa-unit { color: var(--mut); }

/* Tarjeta del Happy con su imagen */
.vsa-goal { color: var(--ink2); border: 1px solid rgba(255,255,255,.85);
  background: radial-gradient(70% 55% at 78% 62%, rgba(255,110,40,.42) 0%, rgba(255,150,90,.18) 45%, rgba(255,255,255,0) 72%), linear-gradient(165deg, rgba(255,255,255,.86) 0%, rgba(255,244,236,.66) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  box-shadow: inset 0 1px 0 #fff, 0 30px 70px rgba(255,81,0,.16), 0 10px 30px rgba(80,50,20,.08); }
.vsa-figure { position: absolute; z-index: 0; right: -38px; bottom: -6px; height: 96%; width: auto; max-width: none; pointer-events: none; user-select: none;
  filter: drop-shadow(0 0 22px rgba(255,90,20,.35)); opacity: 0; transform: translateY(14px) scale(.97); transition: opacity 1s var(--ease) .15s, transform 1.2s var(--ease) .15s; }
.vsa-goal.is-on .vsa-figure { opacity: 1; transform: none; animation: vsa-breathe 5s ease-in-out 1.2s infinite; }
.vsa-goal > *:not(.vsa-figure) { position: relative; z-index: 1; }
.vsa-goal-top, .vsa-goal-k, .vsa-goal-t, .vsa-goal-n, .vsa-goal-bar { max-width: 58%; }
.vsa-goal-top small { color: var(--mut); }
.vsa-live { position: relative; flex: none; width: 10px; height: 10px; margin: 0 2px; border-radius: 50%; background: var(--o); box-shadow: 0 0 0 4px rgba(255,81,0,.16), 0 0 14px rgba(255,81,0,.7); }
.vsa-live::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(255,81,0,.5); animation: vsa-ping 2.4s var(--ease) infinite; }
.vsa-goal-k { color: var(--mut); }
.vsa-goal-t span { color: var(--mut); }
.vsa-goal-n { flex-direction: column; align-items: flex-start; gap: 10px; }
.vsa-goal-n strong { color: var(--ink2); }
.vsa-goal-s { background: rgba(255,255,255,.8); color: var(--ink2); border: 1px solid rgba(10,13,14,.06); }
.vsa-goal:has(.vsa-s2.is-on) .vsa-goal-s { background: linear-gradient(160deg, #ff7a33, #ff5100); color: #fff; border-color: transparent; font-weight: 600; }
.vsa-goal-bar { background: rgba(10,13,14,.08); }
.vsa-goal-bar b { background: linear-gradient(90deg, #ff8a3d, #ff5100); }
.vsa-verbs li { border-color: rgba(10,13,14,.10); color: rgba(43,39,36,.42); background: rgba(255,255,255,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vsa-verbs li.is-on { background: rgba(255,255,255,.92); color: var(--ink2); border-color: rgba(255,81,0,.35); box-shadow: 0 6px 16px rgba(255,81,0,.14); }
.vsa-verbs li.is-on::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--o); vertical-align: 1px; }

.vsa-install-b { color: var(--os); }
.vsa-chips li.is-hot { color: var(--os); background: #fff1e8; border-color: rgba(255,81,0,.55); box-shadow: 0 0 0 3px rgba(255,81,0,.12), 0 8px 22px rgba(255,81,0,.25); }
.vsa-chips li.is-hot::before { background: var(--o); box-shadow: 0 0 10px rgba(255,81,0,.9); }

/* Aviso de aprobación en claro */
.vsa-card-ask { color: var(--ink2); border-color: rgba(255,81,0,.35); background: linear-gradient(120deg, rgba(255,255,255,.92) 0%, rgba(255,236,224,.85) 100%); box-shadow: 0 0 0 4px rgba(255,81,0,.08), 0 16px 36px rgba(255,81,0,.18); }
.vsa-card-ask .vsa-when { color: var(--os); }
.vsa-pill { border: 1px solid rgba(10,13,14,.08); box-shadow: 0 4px 12px rgba(80,50,20,.08); color: var(--ink2); }
.vsa-pill i, .vsa-pill.is-on i { background: linear-gradient(160deg, #ff7a33, #ff5100); }
.vsa-card-done .vsa-when { color: var(--os); }
.vsa-final span { color: var(--ot); }

/* Comparativo en claro */
.vsa-cmp-h { background: radial-gradient(80% 120% at 100% 100%, rgba(255,110,40,.30), rgba(255,81,0,0) 60%), linear-gradient(160deg, rgba(255,255,255,.88), rgba(255,244,236,.66)); }
.vsa-cmp-h h3 { color: var(--ot); font-weight: 500; }
.vsa-cmp-h li { color: var(--ink2); border-color: rgba(10,13,14,.08); }
.vsa-close strong { color: var(--ink2); }
.vsa-cta i { background: linear-gradient(160deg, #ff7a33, #ff5100); }
.vsa-cta:hover i { background: var(--ot); }

@keyframes vsa-breathe { 0%, 100% { filter: drop-shadow(0 0 22px rgba(255,90,20,.35)); } 50% { filter: drop-shadow(0 0 34px rgba(255,90,20,.6)); } }

@media (max-width: 760px) {
  .vsa-figure { right: -64px; bottom: -4px; height: 100%; }
  .vsa-goal-top, .vsa-goal-k, .vsa-goal-t, .vsa-goal-n, .vsa-goal-bar { max-width: 64%; }
  .vsa-goal-n { flex-direction: row; align-items: flex-end; gap: 8px; }
  .vsa-goal-s { padding: 6px 10px; font-size: 11px; }
}
/* Posición de la figura: a la derecha, sin tocar el texto */
.vsa-figure { right: -118px; }
.vsa-goal-top, .vsa-goal-k, .vsa-goal-t, .vsa-goal-bar { max-width: 56%; }
@media (max-width: 980px) { .vsa-figure { right: -140px; } }
@media (max-width: 760px) {
  .vsa-figure { right: -112px; height: 104%; bottom: -10px; }
  .vsa-goal-top, .vsa-goal-k, .vsa-goal-t, .vsa-goal-bar { max-width: 62%; }
}
/* Estado de cierre: conservar todos los elementos sin recortar la tarjeta */
@media (min-width: 761px) {
  .vsa-stage.is-final .vsa-goal { padding: 18px 22px; }
  .vsa-stage.is-final .vsa-goal-top { max-width: 65%; }
  .vsa-stage.is-final .vsa-goal-k { margin-top: 14px; }
  .vsa-stage.is-final .vsa-goal-t { font-size: 22px; max-width: 61%; }
  .vsa-stage.is-final .vsa-goal-n { padding-top: 10px; flex-direction: row; align-items: flex-end; max-width: 100%; gap: 8px; }
  .vsa-stage.is-final .vsa-goal-n strong { font-size: 58px; }
  .vsa-stage.is-final .vsa-goal-s { padding: 6px 10px; font-size: 11px; }
  .vsa-stage.is-final .vsa-goal-bar { margin-top: 10px; }
  .vsa-stage.is-final .vsa-verbs { margin-top: 12px; gap: 5px; }
  .vsa-stage.is-final .vsa-verbs li { padding: 6px 10px; font-size: 11px; }
}
