/* WESST Hero · hoja de estilos para WordPress
   Todo va prefijado con #wesst-hero para ganar a los estilos del tema. */

#wesst-hero {
  --bg: #070B14; --bg-2: #0A1020; --surface: #0D1526; --surface-2: #111B31;
  --border: #1B2A47; --border-hi: #274070;
  --brand: #1A7FE8; --neon: #3B9EFF; --cyan: #38E8FF;
  --text: #EAF2FF; --muted: #8FA3C7; --dim: #5C6E90;
  --ok: #34D399; --warn: #FBBF24; --bad: #FB7185;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;

  /* ancho completo aunque el tema use columna estrecha */
  position: relative;
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;

  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-align: left;
}

/* la página entera en oscuro, sin título del tema */
body { background: #070B14 !important; }
.wp-block-post-title { display: none !important; }
.entry-content.has-global-padding { padding-left: 0 !important; padding-right: 0 !important; }
.entry-content > #wesst-hero { margin-block-start: 0 !important; }

#wesst-hero *, #wesst-hero *::before, #wesst-hero *::after { box-sizing: border-box; }
#wesst-hero a { color: inherit; text-decoration: none; }
#wesst-hero button { font: inherit; line-height: inherit; text-transform: none; letter-spacing: inherit; }
#wesst-hero p { margin: 0; font-size: inherit; line-height: inherit; }
#wesst-hero h1 { margin: 0; padding: 0; color: var(--text); text-transform: none; }
#wesst-hero svg { display: block; }
#wesst-hero :focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- video de fondo ---------- */
/* el video se ve solo, a su tamaño real, centrado sobre el fondo oscuro; después el hero entra por encima */
#wesst-hero .vid { position: absolute; inset: 0; z-index: 1; pointer-events: none; will-change: transform, opacity;
  background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(26,127,232,.10), transparent 70%), var(--bg); }
#wesst-hero .vid video { position: absolute; left: 50%; top: clamp(16px, 3vw, 40px); transform: translateX(-50%);
  width: min(1280px, calc(100% - 32px)); aspect-ratio: 16 / 9; height: auto; object-fit: contain; background: #000;
  border-radius: 18px; border: 1px solid var(--border-hi); box-shadow: 0 50px 120px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(59,158,255,.08), 0 30px 90px -50px rgba(26,127,232,.5);
  opacity: 0; background-size: cover; background-position: center; }
#wesst-hero .vid-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 60%, var(--bg) 100%); }
#wesst-hero .skip { position: absolute; right: clamp(20px, 3vw, 44px); top: clamp(28px, 4vw, 56px); z-index: 4; pointer-events: auto; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(7,11,20,.55); color: var(--muted);
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(8px); transition: border-color .2s, color .2s; box-shadow: none; margin: 0; min-height: 0; }
#wesst-hero .skip:hover { border-color: var(--neon); color: var(--text); background: rgba(7,11,20,.7); }
#wesst-hero .skip svg { width: 12px; height: 12px; fill: currentColor; }
/* mientras corre el video, nada compite por la tarjeta grafica: sin auroras, sin grilla, sin cristal */
#wesst-hero.video-on .aurora, #wesst-hero.video-on .grid-bg, #wesst-hero.video-on #fx, #wesst-hero.video-on .grain { display: none; }
#wesst-hero.video-on .browser { pointer-events: none; }
#wesst-hero.video-on .browser::before { backdrop-filter: none; -webkit-backdrop-filter: none; }
#wesst-hero .buf { position: absolute; left: 50%; bottom: clamp(90px, 14vh, 170px); transform: translateX(-50%); z-index: 4; width: min(280px, 40vw); text-align: center; opacity: 0; transition: opacity .4s; }
#wesst-hero .buf.on { opacity: 1; }
#wesst-hero .buf .track { height: 2px; border-radius: 2px; background: rgba(39,64,112,.7); overflow: hidden; }
#wesst-hero .buf .fill { display: block; height: 100%; width: 0%; border-radius: 2px; background: linear-gradient(90deg, var(--neon), var(--cyan)); box-shadow: 0 0 10px rgba(56,232,255,.7); transition: width .25s ease; }
#wesst-hero .buf span.txt { display: block; margin-top: 9px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
#wesst-hero .browser { z-index: 2; }
#wesst-hero:not(.video-on) .skip { display: none; }
@media (max-width: 960px) { #wesst-hero .vid, #wesst-hero .skip { display: none; } }

/* ---------- ambient ---------- */
#wesst-hero .grain { position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .05; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
#wesst-hero #fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#wesst-hero .aurora { position: absolute; inset: -20%; pointer-events: none; filter: blur(70px); opacity: .55; }
#wesst-hero .aurora span { position: absolute; border-radius: 50%; }
#wesst-hero .aurora .a1 { width: 46vw; height: 46vw; left: 8%; top: 0; background: radial-gradient(circle, rgba(26,127,232,.45), transparent 65%); animation: wesst-drift1 22s ease-in-out infinite alternate; }
#wesst-hero .aurora .a2 { width: 38vw; height: 38vw; right: 4%; top: 22%; background: radial-gradient(circle, rgba(56,232,255,.22), transparent 65%); animation: wesst-drift2 26s ease-in-out infinite alternate; }
#wesst-hero .aurora .a3 { width: 30vw; height: 30vw; left: 40%; bottom: 0; background: radial-gradient(circle, rgba(59,158,255,.28), transparent 65%); animation: wesst-drift3 19s ease-in-out infinite alternate; }
@keyframes wesst-drift1 { to { transform: translate(12vw, 8vh) scale(1.15); } }
@keyframes wesst-drift2 { to { transform: translate(-10vw, 12vh) scale(.9); } }
@keyframes wesst-drift3 { to { transform: translate(-8vw, -10vh) scale(1.2); } }
#wesst-hero .grid-bg { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(59,158,255,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(59,158,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 100%); }

/* ---------- nav ---------- */
#wesst-hero .nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px clamp(20px, 4vw, 56px); margin: 0;
  background: linear-gradient(to bottom, rgba(7,11,20,.92), rgba(7,11,20,.55)); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(27,42,71,.6); }
#wesst-hero .logo { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.01em; color: var(--brand); line-height: 1; }
#wesst-hero .nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
#wesst-hero .nav li { margin: 0; padding: 0; }
#wesst-hero .nav ul a { font-size: 14px; color: var(--muted); font-weight: 500; transition: color .2s; white-space: nowrap; }
#wesst-hero .nav ul a:hover { color: var(--text); }
#wesst-hero .btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-weight: 600; font-size: 14.5px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; line-height: 1.2;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, border-color .25s; position: relative; overflow: hidden; }
#wesst-hero .btn-primary { background: var(--brand); color: #fff; box-shadow: 0 0 0 1px rgba(59,158,255,.35) inset, 0 10px 34px -10px rgba(26,127,232,.75); }
#wesst-hero .btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s ease; }
#wesst-hero .btn-primary:hover::after { left: 120%; }
#wesst-hero .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(59,158,255,.5) inset, 0 16px 44px -10px rgba(59,158,255,.85); color: #fff; }
#wesst-hero .btn-ghost { background: rgba(13,21,38,.6); color: var(--text); border-color: var(--border-hi); }
#wesst-hero .btn-ghost:hover { border-color: var(--neon); background: rgba(17,27,49,.9); }
#wesst-hero .btn svg { width: 16px; height: 16px; }
#wesst-hero .nav .btn { padding: 10px 18px; font-size: 13.5px; }
@media (max-width: 900px) { #wesst-hero .nav ul { display: none; } }

/* ---------- hero + browser frame ---------- */
#wesst-hero .hero { position: relative; overflow: hidden; background: var(--bg); padding: clamp(18px, 3vw, 40px) clamp(12px, 2.4vw, 36px) clamp(28px, 4vw, 56px); perspective: 1600px; perspective-origin: 50% 40%; }
#wesst-hero .browser { position: relative; z-index: 2; border-radius: 20px; transform-style: preserve-3d; will-change: transform;
  box-shadow: 0 60px 140px -50px rgba(0,0,0,.95), 0 30px 100px -60px rgba(26,127,232,.55); }
#wesst-hero .browser::before { content: ""; position: absolute; inset: 0; border-radius: 20px; background: rgba(9,14,28,.72); border: 1px solid var(--border-hi); transition: background .8s;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 0 0 1px rgba(59,158,255,.06); }
#wesst-hero .bchrome { position: relative; display: flex; align-items: center; gap: 16px; padding: 11px 16px; border-radius: 20px 20px 0 0; background: rgba(7,11,20,.85); border-bottom: 1px solid var(--border); }
#wesst-hero .bdots { display: flex; gap: 7px; flex: none; }
#wesst-hero .bdots i { width: 11px; height: 11px; border-radius: 50%; display: block; opacity: .85; }
#wesst-hero .bdots i:nth-child(1) { background: var(--bad); } #wesst-hero .bdots i:nth-child(2) { background: var(--warn); } #wesst-hero .bdots i:nth-child(3) { background: var(--ok); }
#wesst-hero .btabs { display: flex; gap: 4px; flex: none; }
#wesst-hero .btab { padding: 7px 13px; border-radius: 9px; font-size: 11.5px; color: var(--dim); white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
#wesst-hero .btab i { width: 6px; height: 6px; border-radius: 50%; background: var(--border-hi); }
#wesst-hero .btab.on { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-hi); }
#wesst-hero .btab.on i { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
#wesst-hero .burl { flex: 1; max-width: 560px; margin: 0 auto; padding: 7px 12px; border-radius: 9px; background: var(--bg); border: 1px solid var(--border); font-family: var(--mono); font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 9px; min-width: 0; }
#wesst-hero .burl svg { width: 12px; height: 12px; stroke: var(--ok); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
#wesst-hero .burl span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#wesst-hero .burl b { color: var(--text); font-weight: 500; }
#wesst-hero .blive { flex: none; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(56,232,255,.25); background: rgba(56,232,255,.06); }
#wesst-hero .blive i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
#wesst-hero .motion { flex: none; display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid var(--border); color: var(--dim); border-radius: 999px; padding: 5px 10px; margin: 0; min-height: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: border-color .2s, color .2s; box-shadow: none; }
#wesst-hero .motion:hover { border-color: var(--neon); color: var(--text); background: transparent; }
#wesst-hero .motion svg { width: 11px; height: 11px; fill: currentColor; }
#wesst-hero.motion-off .aurora span, #wesst-hero.motion-off .eyebrow::before, #wesst-hero.motion-off h1 .hi, #wesst-hero.motion-off .scroll-hint i, #wesst-hero.motion-off .step .t::after { animation-play-state: paused; }
@media (max-width: 900px) { #wesst-hero .btabs, #wesst-hero .blive { display: none; } }
#wesst-hero .bbody { position: relative; transform-style: preserve-3d; }
#wesst-hero .layer { transform-style: preserve-3d; will-change: transform; }
#wesst-hero .hero-top { position: relative; padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 56px) 0; text-align: center; max-width: 1240px; margin: 0 auto; }

#wesst-hero .eyebrow { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 7px 7px 7px 16px; border-radius: 999px; overflow: hidden; isolation: isolate;
  font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: .02em; background: rgba(13,21,38,.9); }
#wesst-hero .eyebrow::before { content: ""; position: absolute; left: -50%; top: 50%; width: 200%; aspect-ratio: 1; transform: translateY(-50%); z-index: -2;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(56,232,255,0) 70%, var(--cyan) 82%, var(--neon) 88%, transparent 96%); animation: wesst-spin 3.2s linear infinite; }
#wesst-hero .eyebrow::after { content: ""; position: absolute; inset: 1px; border-radius: inherit; background: rgba(13,21,38,.96); z-index: -1; }
@keyframes wesst-spin { to { transform: translateY(-50%) rotate(360deg); } }
#wesst-hero .eyebrow b { color: var(--text); font-weight: 500; }
#wesst-hero .eyebrow .typed { white-space: nowrap; }
#wesst-hero .eyebrow .cur { display: inline-block; width: 7px; height: 13px; background: var(--cyan); vertical-align: -2px; margin-left: 2px; box-shadow: 0 0 10px var(--cyan); animation: wesst-blink 1s steps(2) infinite; }
@keyframes wesst-blink { 50% { opacity: 0; } }
#wesst-hero .eyebrow .tag { background: var(--brand); color: #fff; padding: 4px 10px; border-radius: 999px; font-family: var(--body); font-weight: 600; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
#wesst-hero .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

#wesst-hero h1 { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.08; margin: 26px auto 0; max-width: 22ch; text-wrap: balance; perspective: 900px; }
#wesst-hero h1 .w { display: inline-block; will-change: transform, opacity; }
#wesst-hero h1 .hi { background: linear-gradient(100deg, var(--neon) 0%, var(--cyan) 35%, #fff 50%, var(--cyan) 65%, var(--neon) 100%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: wesst-sheen 5s ease-in-out infinite; filter: drop-shadow(0 0 22px rgba(59,158,255,.45)); }
@keyframes wesst-sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
#wesst-hero .cta { display: flex; justify-content: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
#wesst-hero .scroll-hint { margin: 36px auto 0; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--dim); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
#wesst-hero .scroll-hint i { width: 1px; height: 30px; background: linear-gradient(to bottom, var(--cyan), transparent); display: block; animation: wesst-fall 1.6s ease-in-out infinite; }
@keyframes wesst-fall { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- cursor light ---------- */
#wesst-hero .cursor-light { position: fixed; left: 0; top: 0; width: 420px; height: 420px; margin: -210px; border-radius: 50%; pointer-events: none; z-index: 30; mix-blend-mode: screen; opacity: 0;
  background: radial-gradient(circle, rgba(59,158,255,.28) 0%, rgba(56,232,255,.10) 30%, transparent 65%); will-change: transform, opacity; }
#wesst-hero .cursor-dot { position: fixed; left: 0; top: 0; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px 3px rgba(56,232,255,.8); pointer-events: none; z-index: 31; opacity: 0; will-change: transform; }
#wesst-hero .cursor-light, #wesst-hero .cursor-dot { display: none; }
#wesst-hero.has-mouse .cursor-light, #wesst-hero.has-mouse .cursor-dot { display: block; }

/* ---------- autoplay scene ---------- */
#wesst-hero .scene { position: relative; display: grid; align-items: center; padding: 48px clamp(20px, 4vw, 56px) 88px; transform-style: preserve-3d; }
#wesst-hero .ctrl { display: flex; align-items: center; gap: 14px; margin-top: 2px; }
#wesst-hero .dots { display: flex; gap: 8px; }
#wesst-hero .dots button { width: 34px; height: 4px; min-height: 0; border-radius: 999px; border: 0; padding: 0; margin: 0; background: var(--border-hi); cursor: pointer; position: relative; overflow: hidden; transition: background .3s; box-shadow: none; }
#wesst-hero .dots button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--neon), var(--cyan)); transform: scaleX(var(--p, 0)); transform-origin: left; }
#wesst-hero .dots button:hover { background: var(--dim); }
#wesst-hero .replay { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid var(--border-hi); color: var(--muted); border-radius: 999px; padding: 6px 12px; margin: 0; min-height: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; cursor: pointer; transition: border-color .2s, color .2s; box-shadow: none; }
#wesst-hero .replay:hover { border-color: var(--neon); color: var(--text); background: transparent; }
#wesst-hero .replay svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#wesst-hero .scene-note { position: relative; z-index: 2; margin: 18px 6px 0; font-family: var(--mono); font-size: 10.5px; color: var(--dim); letter-spacing: .04em; text-align: right; }
#wesst-hero .scene-inner { position: relative; max-width: 1240px; width: 100%; margin: 0 auto; transform-style: preserve-3d;
  display: grid; grid-template-columns: 1fr minmax(300px, 400px) 1fr; align-items: center; gap: clamp(8px, 2vw, 32px); }
#wesst-hero .layer-front .chip { box-shadow: 0 18px 40px -14px rgba(0,0,0,.95), 0 0 0 1px rgba(59,158,255,.08); background: rgba(15,24,44,.96); }
#wesst-hero .layer-back { opacity: .92; }
#wesst-hero .layer-back .out { box-shadow: 0 10px 30px -18px rgba(0,0,0,.9); }
@media (max-width: 960px) { #wesst-hero .scene { padding-top: 40px; } #wesst-hero .scene-inner { grid-template-columns: 1fr; gap: 36px; } }

#wesst-hero .col-h { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
#wesst-hero .col-h i { width: 22px; height: 1px; background: var(--border-hi); display: block; }
#wesst-hero .col-h.right { justify-content: flex-end; }

#wesst-hero .chaos { position: relative; min-height: 360px; }
#wesst-hero .chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 10px; border: 1px solid var(--border);
  background: rgba(13,21,38,.9); font-size: 12.5px; color: var(--muted); white-space: nowrap; box-shadow: 0 8px 24px -12px rgba(0,0,0,.8);
  will-change: transform, opacity; cursor: default; transition: border-color .25s, color .25s; }
#wesst-hero .chip:hover { border-color: var(--neon); color: var(--text); }
#wesst-hero .chip small { font-family: var(--mono); font-size: 10px; color: var(--dim); letter-spacing: .04em; }
#wesst-hero .chip .st { width: 7px; height: 7px; border-radius: 50%; flex: none; }
#wesst-hero .chip .st.bad { background: var(--bad); box-shadow: 0 0 8px var(--bad); }
#wesst-hero .chip .st.warn { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
#wesst-hero .chip .st.dim { background: var(--dim); }
#wesst-hero .chip.doc { border-style: dashed; }
#wesst-hero .chaos-cap { position: absolute; left: 0; bottom: -8px; font-size: 12.5px; color: var(--dim); max-width: 30ch; line-height: 1.45; }
#wesst-hero .chaos-cap b { color: var(--muted); font-weight: 500; }
@media (max-width: 960px) { #wesst-hero .chaos-cap { display: none; } #wesst-hero .chaos { min-height: 300px; } }

#wesst-hero .wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
#wesst-hero .wires path { fill: none; stroke: rgba(59,158,255,.16); stroke-width: 1.2; }
#wesst-hero .wires .pulse { stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 26 400; stroke-dashoffset: 400; filter: drop-shadow(0 0 6px rgba(56,232,255,.9)); }
@media (max-width: 960px) { #wesst-hero .wires { display: none; } }

#wesst-hero .core-col { display: flex; flex-direction: column; align-items: center; gap: 22px; }
#wesst-hero .core { position: relative; aspect-ratio: 1; width: 100%; max-width: 400px; will-change: transform; }
#wesst-hero .core svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#wesst-hero .ring-track { stroke: rgba(27,42,71,.95); }
#wesst-hero .ring-fill, #wesst-hero .ring-glow { stroke: var(--warn); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
#wesst-hero .ring-glow { filter: url(#wesst-glow); opacity: .9; }
#wesst-hero .ring-bloom { filter: url(#wesst-bloom); opacity: .5; }
#wesst-hero .ring-ticks { stroke: rgba(92,110,144,.55); }
#wesst-hero .ring-ticks .on { stroke: var(--cyan); }
#wesst-hero .core-in { position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle at 50% 38%, rgba(26,127,232,.26), rgba(13,21,38,.94) 70%); border: 1px solid var(--border-hi);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; box-shadow: inset 0 0 70px -20px rgba(59,158,255,.5), 0 30px 80px -30px rgba(0,0,0,.9); }
#wesst-hero .core-in .wm { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.01em; color: var(--brand); line-height: 1; text-shadow: 0 0 30px rgba(26,127,232,.6); }
#wesst-hero .core-in .k { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-top: 10px; }
#wesst-hero .core-in .v { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4vw, 50px); letter-spacing: -.03em; color: var(--warn); font-variant-numeric: tabular-nums; line-height: 1; }
#wesst-hero .core-in .v small { font-size: .48em; font-weight: 600; margin-left: 2px; }
#wesst-hero .core-in .s { font-size: 12px; color: var(--muted); margin-top: 4px; }
#wesst-hero .orbit { position: absolute; inset: -6%; border-radius: 50%; border: 1px dashed rgba(39,64,112,.6); }
#wesst-hero .sat { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
#wesst-hero .step { min-height: 44px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
#wesst-hero .step .n { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
#wesst-hero .step .t { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -.01em; color: var(--text); }
#wesst-hero .step .t::after { content: ""; display: inline-block; width: 8px; height: 14px; margin-left: 4px; vertical-align: -2px; background: var(--cyan); animation: wesst-blink 1s steps(2) infinite; }
#wesst-hero .step.final .t::after { display: none; }
#wesst-hero .lede { max-width: 42ch; margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; text-align: center; text-wrap: pretty; }
#wesst-hero .lede strong { color: var(--text); font-weight: 500; }

#wesst-hero .order { display: flex; flex-direction: column; gap: 10px; }
#wesst-hero .out { position: relative; display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(13,21,38,.9), rgba(10,16,32,.9)); will-change: transform, opacity; transition: transform .25s cubic-bezier(.2,.8,.2,1); cursor: default; }
#wesst-hero .out:hover { transform: translateX(-6px) scale(1.015); }
#wesst-hero .out .ck { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border-hi); display: grid; place-items: center; background: var(--bg); }
#wesst-hero .out .ck svg { width: 13px; height: 13px; stroke: var(--ok); stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
#wesst-hero .out .ck svg path { stroke-dasharray: 20; stroke-dashoffset: 20; }
#wesst-hero .out .t { font-size: 13.5px; color: var(--text); font-weight: 500; }
#wesst-hero .out .d { font-size: 12px; color: var(--dim); margin-top: 1px; }
#wesst-hero .out .m { font-family: var(--mono); font-size: 11.5px; color: var(--dim); letter-spacing: .04em; text-align: right; white-space: nowrap; }
#wesst-hero .out .gain { position: absolute; right: 12px; top: -11px; font-family: var(--mono); font-size: 10.5px; padding: 2px 8px; border-radius: 999px; background: var(--ok); color: #04150c; font-weight: 500;
  opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; pointer-events: none; }
#wesst-hero .out:hover .gain { opacity: 1; transform: translateY(0); }
#wesst-hero .order-cap { font-size: 12.5px; color: var(--dim); margin-top: 8px; text-align: right; max-width: 34ch; margin-left: auto; line-height: 1.45; }
#wesst-hero .order-cap b { color: var(--muted); font-weight: 500; }

/* ---------- móvil y tablet: coreografía apilada ---------- */
@media (max-width: 960px) {
  #wesst-hero .hero { padding: 12px 10px 22px; perspective: none; }
  #wesst-hero .browser { border-radius: 16px; }
  #wesst-hero .browser::before { border-radius: 16px; }
  #wesst-hero .bchrome { border-radius: 16px 16px 0 0; padding: 10px 12px; }
  #wesst-hero .hero-top { padding: 34px 18px 0; }
  #wesst-hero h1 { font-size: clamp(30px, 8.6vw, 44px); max-width: 14ch; }
  #wesst-hero .cta { margin-top: 26px; }
  #wesst-hero .cta .btn { flex: 1 1 auto; justify-content: center; }
  #wesst-hero .scroll-hint { margin-top: 28px; }
  #wesst-hero .scene { padding: 30px 16px 40px; }
  #wesst-hero .scene-inner { grid-template-columns: 1fr; gap: 30px; }
  #wesst-hero .core-col { order: -1; gap: 16px; }
  #wesst-hero .core { max-width: 250px; }
  #wesst-hero .lede { font-size: 14px; max-width: 40ch; }
  #wesst-hero .col-h { margin-bottom: 12px; }
  #wesst-hero .col-h.right { justify-content: flex-start; }
  #wesst-hero .chaos { min-height: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
  #wesst-hero .chip { position: relative !important; left: auto !important; top: auto !important; font-size: 12px; padding: 8px 11px; }
  #wesst-hero .layer-back { opacity: 1; }
  #wesst-hero .out { grid-template-columns: 26px 1fr; gap: 8px 12px; padding: 12px; }
  #wesst-hero .out .m { grid-column: 2; text-align: left; white-space: normal; color: var(--muted); font-size: 11px; }
  #wesst-hero .out .gain { display: none; }
  #wesst-hero .out:hover { transform: none; }
  #wesst-hero .order-cap { text-align: left; margin-left: 0; max-width: none; margin-top: 12px; }
  #wesst-hero .scene-note { text-align: center; margin: 14px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  #wesst-hero .btn, #wesst-hero .btn:hover, #wesst-hero .out, #wesst-hero .out:hover { transition: none; transform: none; }
  #wesst-hero .eyebrow::before, #wesst-hero .aurora span, #wesst-hero h1 .hi, #wesst-hero .scroll-hint i, #wesst-hero .step .t::after, #wesst-hero .eyebrow .cur { animation: none; }
  #wesst-hero .out .ck svg path { stroke-dashoffset: 0; }
}


/* =====================================================================
   SECCIONES DESPUÉS DEL HERO
   ===================================================================== */
#wesst-hero .sec { position: relative; padding: clamp(80px, 11vw, 150px) clamp(20px, 4vw, 56px); }
#wesst-hero .sec-in { max-width: 1240px; margin: 0 auto; }
#wesst-hero .eyebrow-2 { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--neon); margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
#wesst-hero .eyebrow-2::before { content: ""; width: 26px; height: 1px; background: var(--neon); display: block; opacity: .6; }
#wesst-hero .sec h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.032em; font-size: clamp(28px, 3.7vw, 50px); line-height: 1.08; margin: 0; color: var(--text); text-wrap: balance; }
#wesst-hero .sec h2 em { font-style: normal; background: linear-gradient(100deg, var(--neon), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
#wesst-hero .sec h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.018em; margin: 0; color: var(--text); }

/* ---------- 1 · sistema vivo ---------- */
#wesst-hero .sec-vivo { border-top: 1px solid var(--border); background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%); }
#wesst-hero .vivo-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
#wesst-hero .vivo-head h2 { font-size: clamp(28px, 3.9vw, 52px); }
#wesst-hero .vivo-lead { color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); line-height: 1.65; max-width: 46ch; }
#wesst-hero .vivo-lead strong { color: var(--text); font-weight: 500; }
@media (max-width: 900px) { #wesst-hero .vivo-head { grid-template-columns: 1fr; align-items: start; gap: 22px; } }

#wesst-hero .chain { position: relative; margin-top: clamp(52px, 7vw, 84px); display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
#wesst-hero .chain-rail { position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
#wesst-hero .chain-fill { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--brand), var(--neon) 60%, var(--cyan)); box-shadow: 0 0 12px rgba(59,158,255,.8); }
#wesst-hero .link { position: relative; padding-top: 30px; }
#wesst-hero .link .dot { position: absolute; left: 0; top: 1px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--border-hi); transition: border-color .4s, box-shadow .4s, background .4s; }
#wesst-hero .link.lit .dot { border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 14px rgba(56,232,255,.9); }
#wesst-hero .link .n { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--dim); margin-bottom: 5px; }
#wesst-hero .link .t { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(12.5px, 1.05vw, 15px); letter-spacing: -.012em; color: var(--muted); line-height: 1.25; transition: color .4s; }
#wesst-hero .link.lit .t { color: var(--text); }
#wesst-hero .link .d { display: block; margin-top: 6px; font-size: 11.5px; line-height: 1.4; color: var(--dim); }
#wesst-hero .link.is-end .t { color: var(--cyan); }
#wesst-hero .chain-loop { position: relative; margin-top: 4px; height: 74px; }
#wesst-hero .chain-loop svg { width: 100%; height: 74px; display: block; overflow: visible; }
#wesst-hero .loop-label { position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); background: var(--bg); padding: 0 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 900px) {
  #wesst-hero .chain { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  #wesst-hero .chain-rail { left: 6px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  #wesst-hero .chain-fill { width: 100% !important; height: 0%; }
  #wesst-hero .link { padding: 0 0 26px 32px; }
  #wesst-hero .link .dot { top: 2px; }
  #wesst-hero .link .n { margin-bottom: 2px; }
  #wesst-hero .chain-loop { display: none; }
}

/* ---------- 2 · capacidades (bento) ---------- */
#wesst-hero .sec-cap { border-top: 1px solid var(--border); background: var(--bg); }
#wesst-hero .cap-head { max-width: 62ch; }
#wesst-hero .cap-lead { color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); line-height: 1.65; margin-top: 16px; }
#wesst-hero .bento { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
#wesst-hero .cap { grid-column: span 2; position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: 18px;
  border: 1px solid var(--border); background: linear-gradient(165deg, rgba(17,27,49,.78), rgba(10,16,32,.9));
  overflow: hidden; transition: border-color .35s, transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
#wesst-hero .cap::after { content: ""; position: absolute; inset: -1px; border-radius: 18px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(59,158,255,.14), transparent 62%); }
#wesst-hero .cap:hover { border-color: var(--border-hi); transform: translateY(-4px); box-shadow: 0 28px 60px -34px rgba(0,0,0,.95), 0 0 0 1px rgba(59,158,255,.12); }
#wesst-hero .cap:hover::after { opacity: 1; }
#wesst-hero .cap-a { grid-column: span 3; }
#wesst-hero .cap-b { grid-column: span 3; }
#wesst-hero .cap-e { grid-column: span 4; }
#wesst-hero .cap-f { grid-column: span 2; }
#wesst-hero .cap h3 { font-size: clamp(17px, 1.35vw, 21px); }
#wesst-hero .cap p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 9px; }
#wesst-hero .cap-fig { position: relative; margin-top: auto; padding: 15px; border-radius: 12px; border: 1px solid var(--border); background: rgba(7,11,20,.62); }
#wesst-hero .fig-note { position: absolute; right: 10px; top: 9px; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); opacity: .75; }
@media (max-width: 1000px) {
  #wesst-hero .bento { grid-template-columns: repeat(2, 1fr); }
  #wesst-hero .cap, #wesst-hero .cap-a, #wesst-hero .cap-b, #wesst-hero .cap-e, #wesst-hero .cap-f { grid-column: span 1; }
}
@media (max-width: 700px) { #wesst-hero .bento { grid-template-columns: 1fr; } #wesst-hero .cap { padding: 22px; } }

/* diagnóstico */
#wesst-hero .dg { display: grid; grid-template-columns: 78px 1fr 30px; gap: 11px; align-items: center; font-size: 11.5px; margin-bottom: 9px; }
#wesst-hero .dg:last-of-type { margin-bottom: 0; }
#wesst-hero .dg-l { color: var(--muted); }
#wesst-hero .dg-bar { height: 6px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
#wesst-hero .dg-bar i { display: block; height: 100%; width: 0; background: var(--c); border-radius: 4px; transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
#wesst-hero [data-cap].seen .dg-bar i { width: var(--w); }
#wesst-hero .dg b { font-family: var(--mono); font-size: 12px; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }

/* estándares mínimos, interactivo */
#wesst-hero .std-row { margin-bottom: 13px; }
#wesst-hero .std-row label { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--dim); margin-bottom: 7px; }
#wesst-hero .seg { display: flex; gap: 5px; flex-wrap: wrap; }
#wesst-hero .seg button { flex: 1 1 auto; min-width: 0; min-height: 0; margin: 0; padding: 7px 9px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg); color: var(--muted);
  font-family: var(--mono); font-size: 11px; cursor: pointer; transition: all .22s; box-shadow: none; }
#wesst-hero .seg button:hover { border-color: var(--border-hi); color: var(--text); }
#wesst-hero .seg button.on { background: rgba(26,127,232,.16); border-color: var(--neon); color: var(--text); box-shadow: 0 0 14px -4px rgba(59,158,255,.7); }
#wesst-hero .std-out { display: flex; align-items: center; gap: 15px; margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--border); }
#wesst-hero .std-num { font-family: var(--display); font-weight: 700; font-size: 46px; line-height: 1; letter-spacing: -.04em; color: var(--cyan); font-variant-numeric: tabular-nums; text-shadow: 0 0 26px rgba(56,232,255,.45); }
#wesst-hero .std-lbl { font-size: 12.5px; color: var(--text); line-height: 1.4; }
#wesst-hero .std-lbl small { color: var(--dim); font-size: 11px; line-height: 1.45; display: block; margin-top: 4px; }

/* matriz legal */
#wesst-hero .lg { display: grid; grid-template-columns: 1fr auto 8px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(27,42,71,.6); font-size: 11.5px; }
#wesst-hero .lg:last-of-type { border-bottom: 0; }
#wesst-hero .lg-k { color: var(--text); font-weight: 500; }
#wesst-hero .lg-v { color: var(--dim); font-family: var(--mono); font-size: 10px; }
#wesst-hero .lg i { width: 8px; height: 8px; border-radius: 50%; }
#wesst-hero .lg i.ok { background: var(--ok); box-shadow: 0 0 8px rgba(52,211,153,.8); }
#wesst-hero .lg i.warn { background: var(--warn); box-shadow: 0 0 8px rgba(251,191,36,.8); }

/* matriz de riesgos */
#wesst-hero .rk-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
#wesst-hero .rk-grid span { aspect-ratio: 1; border-radius: 3px; background: var(--surface-2); opacity: 0; transform: scale(.5); }
#wesst-hero [data-cap].seen .rk-grid span { opacity: 1; transform: scale(1); transition: opacity .45s, transform .45s; transition-delay: calc(var(--i) * 14ms); }
#wesst-hero .rk-legend { display: flex; gap: 14px; margin-top: 12px; font-size: 10px; color: var(--dim); }
#wesst-hero .rk-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 5px; }

/* plan de trabajo */
#wesst-hero .pl { display: grid; grid-template-columns: 150px 1fr 78px; gap: 11px; align-items: center; margin-bottom: 10px; font-size: 11.5px; }
#wesst-hero .pl:last-of-type { margin-bottom: 0; }
#wesst-hero .pl-t { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#wesst-hero .pl-b { position: relative; height: 15px; border-radius: 4px; background: rgba(27,42,71,.5); }
#wesst-hero .pl-b::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--s); width: 0; border-radius: 4px; transition: width .9s cubic-bezier(.2,.8,.2,1); }
#wesst-hero [data-cap].seen .pl-b::after { width: var(--w); }
#wesst-hero .pl-b.ok::after { background: linear-gradient(90deg, rgba(52,211,153,.95), rgba(52,211,153,.6)); }
#wesst-hero .pl-b.run::after { background: linear-gradient(90deg, var(--brand), var(--neon)); box-shadow: 0 0 14px -4px rgba(59,158,255,.9); }
#wesst-hero .pl-b.warn::after { background: linear-gradient(90deg, rgba(251,191,36,.95), rgba(251,191,36,.6)); }
#wesst-hero .pl-b.plan::after { background: repeating-linear-gradient(135deg, rgba(92,110,144,.4) 0 5px, rgba(92,110,144,.14) 5px 10px); }
#wesst-hero .pl-p { font-family: var(--mono); font-size: 10px; color: var(--dim); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 700px) { #wesst-hero .pl { grid-template-columns: 108px 1fr; } #wesst-hero .pl-p { display: none; } }

/* evidencias */
#wesst-hero .fig-ev { display: flex; align-items: center; gap: 16px; }
#wesst-hero .ev-ring { position: relative; width: 74px; flex: none; }
#wesst-hero .ev-ring svg { width: 74px; height: 74px; }
#wesst-hero .ev-n { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
#wesst-hero .ev-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 11.5px; color: var(--muted); }
#wesst-hero .ev-list li { display: flex; align-items: center; gap: 9px; }
#wesst-hero .ev-list i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
#wesst-hero .ev-list i.ok { background: var(--ok); box-shadow: 0 0 7px rgba(52,211,153,.8); }
#wesst-hero .ev-list i.warn { background: var(--warn); box-shadow: 0 0 7px rgba(251,191,36,.8); }

/* ---------- CTA final ---------- */
#wesst-hero .sec-cta { border-top: 1px solid var(--border); overflow: hidden; text-align: center; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
#wesst-hero .cta-glow { position: absolute; left: 50%; top: 0; transform: translate(-50%, -45%); width: min(1000px, 130vw); aspect-ratio: 2 / 1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(26,127,232,.30), rgba(56,232,255,.08) 42%, transparent 70%); filter: blur(24px); }
#wesst-hero .cta-in { position: relative; max-width: 780px; }
#wesst-hero .cta-in .eyebrow-2 { justify-content: center; }
#wesst-hero .cta-lead { color: var(--muted); font-size: clamp(15px, 1.25vw, 17.5px); line-height: 1.68; margin: 20px auto 0; max-width: 58ch; }
#wesst-hero .cta-btns { display: flex; justify-content: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
#wesst-hero .cta-fine { margin-top: 30px; font-size: 12px; color: var(--dim); line-height: 1.55; max-width: 60ch; margin-left: auto; margin-right: auto; }

/* ---------- pop-up de demostración ---------- */
#wesst-hero .modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: clamp(12px, 3vw, 40px); }
#wesst-hero .modal[hidden] { display: none; }
#wesst-hero .modal-back { position: absolute; inset: 0; background: rgba(4,7,14,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s ease; }
#wesst-hero .modal-box { position: relative; width: min(940px, 100%); max-height: min(880px, 92vh); display: flex; flex-direction: column;
  border-radius: 20px; border: 1px solid var(--border-hi); background: var(--surface); overflow: hidden;
  box-shadow: 0 50px 130px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(59,158,255,.10), 0 0 90px -50px rgba(26,127,232,.8);
  opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .38s ease, transform .38s cubic-bezier(.2,.8,.2,1); }
#wesst-hero .modal.is-open .modal-back { opacity: 1; }
#wesst-hero .modal.is-open .modal-box { opacity: 1; transform: none; }
#wesst-hero .modal-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; border-bottom: 1px solid var(--border); background: rgba(7,11,20,.6); flex: none; }
#wesst-hero .modal-eyebrow { display: block; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: -.01em; color: var(--brand); line-height: 1; }
#wesst-hero .modal-head h3 { font-size: 17px; margin-top: 5px; }
#wesst-hero .modal-x { width: 36px; height: 36px; flex: none; padding: 0; margin: 0; min-height: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border-hi); background: transparent; color: var(--muted); cursor: pointer; transition: all .2s; box-shadow: none; }
#wesst-hero .modal-x:hover { border-color: var(--neon); color: var(--text); background: rgba(17,27,49,.9); }
#wesst-hero .modal-x svg { width: 15px; height: 15px; }
#wesst-hero .modal-body { flex: 1; overflow: auto; background: var(--bg-2); -webkit-overflow-scrolling: touch; }
#wesst-hero .modal-body .sb-widget-iframe { width: 100%; border: 0; display: block; min-height: min(660px, 74vh); }
#wesst-hero .modal-load { display: grid; place-items: center; gap: 14px; padding: 70px 20px; color: var(--dim); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
#wesst-hero .modal-load i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--border-hi); border-top-color: var(--cyan); animation: wesst-spin2 .8s linear infinite; }
@keyframes wesst-spin2 { to { transform: rotate(360deg); } }
body.wesst-lock { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  #wesst-hero .cap, #wesst-hero .cap:hover { transition: none; transform: none; }
  #wesst-hero .modal-load i { animation: none; }
  #wesst-hero .modal-box { transition: none; }
}


/* =====================================================================
   3 · CICLO PHVA
   ===================================================================== */
#wesst-hero .sec-phva { border-top: 1px solid var(--border); overflow: hidden; background: linear-gradient(180deg, var(--bg) 0%, #080D1A 50%, var(--bg) 100%); }
#wesst-hero .phva-aura { position: absolute; left: 22%; top: 42%; transform: translate(-50%, -50%); width: min(760px, 90vw); aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(26,127,232,.20), rgba(56,232,255,.05) 45%, transparent 70%); filter: blur(30px); }
#wesst-hero .phva-head { max-width: 68ch; position: relative; }
#wesst-hero .phva-lead { color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); line-height: 1.68; margin-top: 18px; max-width: 60ch; }

#wesst-hero .phva-grid { position: relative; margin-top: clamp(44px, 6vw, 76px); display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 940px) { #wesst-hero .phva-grid { grid-template-columns: 1fr; gap: 34px; } }

#wesst-hero .wheel-wrap { position: relative; width: 100%; max-width: 430px; margin: 0 auto; aspect-ratio: 1; }
#wesst-hero .wheel { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#wesst-hero .wheel .arc { fill: none; stroke-width: 40; stroke-linecap: butt; opacity: .3; transition: opacity .5s ease, stroke-width .5s ease; cursor: pointer; }
#wesst-hero .wheel .arc.on { opacity: 1; stroke-width: 48; }
#wesst-hero .wheel .arc-glow { fill: none; stroke-width: 40; opacity: 0; filter: url(#wheelGlow); transition: opacity .5s ease; pointer-events: none; }
#wesst-hero .wheel .arc-glow.on { opacity: .85; }
#wesst-hero .wheel .seek { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; opacity: .85; }
#wesst-hero .wheel .wl { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; fill: var(--dim); transition: fill .45s ease; pointer-events: none; }
#wesst-hero .wheel .wl.on { fill: var(--text); }
#wesst-hero .wheel-mid { position: absolute; inset: 30%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; pointer-events: none;
  background: radial-gradient(circle at 50% 36%, rgba(26,127,232,.18), rgba(9,14,28,.94) 70%); border: 1px solid var(--border); }
#wesst-hero .wm-letter { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5.4vw, 62px); line-height: 1; letter-spacing: -.04em; color: var(--cyan); text-shadow: 0 0 34px rgba(56,232,255,.5); }
#wesst-hero .wm-word { font-family: var(--mono); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

#wesst-hero .phva-panel { position: relative; }
#wesst-hero .ph-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
#wesst-hero .ph-tabs button { flex: 1 1 auto; min-height: 0; margin: 0; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border); background: rgba(13,21,38,.7); color: var(--muted);
  font-family: var(--body); font-weight: 500; font-size: 13px; cursor: pointer; transition: all .25s; box-shadow: none; }
#wesst-hero .ph-tabs button:hover { border-color: var(--border-hi); color: var(--text); }
#wesst-hero .ph-tabs button.on { background: rgba(26,127,232,.16); border-color: var(--neon); color: var(--text); box-shadow: 0 0 18px -6px rgba(59,158,255,.8); }
#wesst-hero .ph-body { min-height: 262px; }
#wesst-hero .ph-body h3 { font-size: clamp(21px, 2.1vw, 30px); letter-spacing: -.026em; }
#wesst-hero .ph-body > p { color: var(--muted); font-size: clamp(14.5px, 1.15vw, 16.5px); line-height: 1.65; margin-top: 12px; max-width: 52ch; }
#wesst-hero .ph-body ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 9px; }
#wesst-hero .ph-body li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; font-size: 13.5px; color: var(--text); line-height: 1.45; }
#wesst-hero .ph-body li::before { content: ""; width: 7px; height: 7px; margin-top: 6px; margin-left: 5px; border-radius: 2px; background: var(--phc, var(--neon)); box-shadow: 0 0 10px -1px var(--phc, var(--neon)); }
#wesst-hero .ph-bar { margin-top: 26px; height: 2px; border-radius: 2px; background: var(--border); overflow: hidden; }
#wesst-hero .ph-bar span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--neon), var(--cyan)); }
#wesst-hero .phva-note { position: relative; margin-top: clamp(40px, 5vw, 64px); padding: 22px 26px; border-radius: 14px; border: 1px solid var(--border); background: rgba(13,21,38,.6);
  color: var(--muted); font-size: 14.5px; line-height: 1.65; max-width: 78ch; }
#wesst-hero .phva-note b { color: var(--text); font-weight: 600; }
@media (max-width: 940px) { #wesst-hero .ph-body { min-height: 0; } #wesst-hero .wheel-wrap { max-width: 320px; } }

/* ---------- franja de conversión ---------- */
#wesst-hero .sec-band { padding: 0 clamp(20px, 4vw, 56px); }
#wesst-hero .band-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: clamp(28px, 3.6vw, 44px) clamp(26px, 3.6vw, 48px); border-radius: 20px; border: 1px solid var(--border-hi);
  background: linear-gradient(110deg, rgba(26,127,232,.16), rgba(13,21,38,.9) 55%); position: relative; overflow: hidden; }
#wesst-hero .band-in::after { content: ""; position: absolute; right: -8%; top: -60%; width: 44%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(56,232,255,.20), transparent 68%); filter: blur(20px); }
#wesst-hero .band-t { font-family: var(--display); font-weight: 600; font-size: clamp(19px, 1.85vw, 26px); letter-spacing: -.022em; color: var(--text); margin: 0; text-wrap: balance; }
#wesst-hero .band-d { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-top: 9px; max-width: 52ch; }
#wesst-hero .band-in .btn { position: relative; z-index: 1; flex: none; }
@media (max-width: 700px) { #wesst-hero .band-in { flex-direction: column; align-items: flex-start; } #wesst-hero .band-in .btn { width: 100%; justify-content: center; } }
