/* Inicio · hero dividido, tarjetas de estilo, por qué, trabajos */

/* ---------- HERO DIVIDIDO ---------- */
.hero-split {
  --split: 50%;
  position: relative; overflow: hidden; background: #0B0B10;
  height: max(700px, min(100svh, 1000px));
  cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.layer { position: absolute; inset: 0; }
.layer-wb { clip-path: inset(0 0 0 var(--split)); }
.scene { width: 100%; height: 100%; }

.split-copy {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  mix-blend-mode: difference; color: #fff; text-align: center;
  padding-top: clamp(96px, 11.5vh, 130px);
}
.split-copy .h1 { font-size: clamp(2.4rem, 5.5vw, 5.1rem); }
.split-eyebrow { font: 500 12.5px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 20px; opacity: .85; }
.split-sub { max-width: 56ch; margin: 18px auto 0; font-size: clamp(1rem, 1.3vw, 1.15rem); opacity: .9; }
@media (max-height: 760px) and (min-width: 700px) { .split-sub { display: none; } }

.split-handle { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; margin-left: -1px; z-index: 4; background: linear-gradient(#fff0, #fff 18%, #fff 82%, #fff0); }
.split-handle .knob {
  position: absolute; top: 64%; left: 50%; translate: -50% -50%;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: var(--ink);
  box-shadow: 0 0 0 8px rgba(249,129,32,.22), 0 18px 40px -10px rgba(0,0,0,.6);
  transition: scale .3s var(--ease);
}
.hero-split:hover .knob { scale: 1.08; }
.split-hint {
  position: absolute; z-index: 4; left: var(--split); top: calc(64% + 46px); translate: -50% 0; margin: 0;
  font: 700 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 10px; border-radius: 999px; background: var(--ink); color: #fff; white-space: nowrap; pointer-events: none;
}
.split-cta {
  position: absolute; z-index: 5; bottom: 30px; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 15px;
  transition: transform .35s var(--ease);
}
.split-cta:hover { transform: translateY(-3px); }
.split-cta .dot { width: 8px; height: 8px; border-radius: 50%; }
.split-cta.left { left: var(--gutter); background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.split-cta.left .dot { background: var(--grad); }
.split-cta.right { right: var(--gutter); background: #fff; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.split-cta.right .dot { background: var(--orange); }
@media (max-width: 700px) {
  .split-cta { bottom: auto; font-size: 14px; padding: 12px 16px; }
  .split-cta.left { left: 16px; bottom: 82px; }
  .split-cta.right { right: 16px; bottom: 24px; }
  .split-hint { display: none; }
  .split-handle .knob { top: 56%; }
}

/* --- animación provisional de la capa MOTION --- */
.m-lbl { font: 500 13px var(--font-mono); letter-spacing: .14em; fill: #fff; fill-opacity: .45; }
.m-txt { font: 700 22px var(--font-body); fill: #fff; }
.orb { transform-box: fill-box; transform-origin: center; animation: drift 14s ease-in-out infinite alternate; }
.orb.o2 { animation-duration: 18s; animation-direction: alternate-reverse; }
@keyframes drift { to { transform: translate(60px, -40px) scale(1.12); } }
.bar { transform-box: fill-box; transform-origin: 50% 100%; animation: barGrow 4.8s var(--ease) infinite; animation-delay: calc(var(--i) * .12s); }
@keyframes barGrow { 0% { transform: scaleY(.15); } 28%, 82% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
.m-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: lineDraw 4.8s var(--ease) infinite; }
@keyframes lineDraw { 0%, 14% { stroke-dashoffset: 1; } 48%, 84% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
.m-flow { animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.ring { transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
.ring.r2 { animation-delay: 1.2s; }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.m-play, .m-bulb, .m-phone { animation: float 7s ease-in-out infinite; }
.m-bulb { animation-delay: -2s; }
.m-phone { animation-delay: -4s; animation-duration: 8s; }
@keyframes float { 50% { transform: translateY(-12px); } }
.pcard { animation: card 4.8s var(--ease) infinite both; animation-delay: calc(var(--i) * .22s); }
@keyframes card { 0%, 6% { opacity: 0; transform: translateX(24px); } 20%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.spark { transform-box: fill-box; transform-origin: center; animation: spin 7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.m-bubble { transform-box: fill-box; transform-origin: 20% 50%; animation: pop 4.8s var(--ease) infinite; }
@keyframes pop { 0%, 50% { transform: scale(.6); opacity: 0; } 60%, 90% { transform: none; opacity: 1; } 100% { opacity: 0; } }

/* --- animación provisional de la capa WHITEBOARD (trazo que se dibuja) --- */
.wb .d, .draw .d { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 9s var(--ease) infinite both; animation-delay: calc(var(--i) * .35s); }
.wb .o, .draw .o { stroke: var(--orange); }
@keyframes draw { 0% { stroke-dashoffset: 1; opacity: 1; } 20% { stroke-dashoffset: 0; } 86% { stroke-dashoffset: 0; opacity: 1; } 95%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.wb .fill, .wb text, .draw text { animation: inkIn 9s infinite both; animation-delay: calc(var(--i, 0) * .35s + .9s); }
@keyframes inkIn { 0%, 8% { opacity: 0; } 16%, 86% { opacity: 1; } 95%, 100% { opacity: 0; } }
.w-lbl { font: 700 40px var(--font-hand); fill: var(--ink); stroke: none; }
.w-txt { font: 700 38px var(--font-hand); fill: var(--ink); stroke: none; }
/* capa de pizarra limpia: comparte las animaciones de la capa motion (mismo sitio, mismo momento) */
.wbc .twinkle { transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out infinite; }
.wbc .twinkle.t2 { animation-delay: -1.6s; }
@keyframes twinkle { 50% { transform: scale(.7) rotate(20deg); } }
.wbc .cloud { animation: float 9s ease-in-out infinite; }
.wbc .rays { animation: rays 2.4s ease-in-out infinite; }
@keyframes rays { 50% { opacity: .35; } }

/* ---------- TARJETAS DE ESTILO ---------- */
.styles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
@media (max-width: 900px) { .styles { grid-template-columns: 1fr; } }
.style-card {
  display: flex; flex-direction: column; text-decoration: none; border-radius: 34px; overflow: hidden;
  background: var(--card); border: 1px solid var(--card-line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.style-card:hover { transform: translateY(-8px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.45); }
.sc-media { aspect-ratio: 16 / 10; position: relative; overflow: hidden; }
.sc-body { padding: 28px 30px 32px; display: grid; gap: 14px; }
.sc-body p { margin: 0; color: var(--muted); }
.sc-title { display: flex; justify-content: space-between; align-items: center; }
.sc-title .h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.sc-go { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: var(--orange); color: var(--ink); transition: transform .5s var(--ease); }
.style-card:hover .sc-go { transform: rotate(-45deg); }

.sc-motion { --card: #13131B; --card-line: rgba(255,255,255,.08); --fg: #F4F2EE; --muted: #A9A6B2; --line: rgba(255,255,255,.16); color: var(--fg); }
.sc-motion .sc-media { background: #0B0B10; }
.sc-m-orb { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; filter: blur(50px); opacity: .75; animation: drift 10s ease-in-out infinite alternate; }
.sc-m-orb.a { background: #F98120; left: -10%; top: 10%; }
.sc-m-orb.b { background: #7C5CFF; right: -15%; bottom: -25%; animation-direction: alternate-reverse; }
.sc-m-ui { position: absolute; left: 14%; right: 14%; top: 14%; bottom: 14%; border-radius: 20px; padding: 16px; background: linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: grid; grid-template-rows: auto auto 1fr; gap: 14px; }
.sc-m-top { display: flex; gap: 6px; align-items: center; }
.sc-m-top i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.3); }
.sc-m-top b { margin-left: auto; width: 60px; height: 14px; border-radius: 7px; background: var(--grad); }
.sc-m-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sc-m-kpis div { border-radius: 12px; padding: 10px 12px; background: rgba(255,255,255,.07); }
.sc-m-kpis small { display: block; font: 500 10px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.sc-m-kpis strong { font-family: var(--font-display); font-size: 22px; }
.sc-m-bars { display: flex; align-items: flex-end; gap: 8px; }
.sc-m-bars span { flex: 1; height: var(--h); border-radius: 6px; background: rgba(255,255,255,.18); transform-origin: bottom; animation: barGrow 4s var(--ease) infinite; }
.sc-m-bars span:nth-child(5) { background: var(--grad); }
.sc-m-bars span:nth-child(2) { animation-delay: .1s; } .sc-m-bars span:nth-child(3) { animation-delay: .2s; } .sc-m-bars span:nth-child(4) { animation-delay: .3s; } .sc-m-bars span:nth-child(5) { animation-delay: .4s; } .sc-m-bars span:nth-child(6) { animation-delay: .5s; }
.sc-m-cursor { position: absolute; width: 22px; height: 22px; left: 30%; top: 40%; background: #fff; clip-path: polygon(0 0, 100% 62%, 55% 62%, 38% 100%); filter: drop-shadow(0 4px 8px rgba(0,0,0,.4)); animation: cursor 6s var(--ease) infinite; }
@keyframes cursor { 0% { transform: translate(0, 0); } 30% { transform: translate(180px, -60px); } 36% { transform: translate(180px, -60px) scale(.82); } 42% { transform: translate(180px, -60px); } 70% { transform: translate(80px, 70px); } 100% { transform: translate(0, 0); } }

.sc-wb { --card: #FFFFFF; }
.sc-wb .sc-media { background: #fff radial-gradient(rgba(42,42,42,.1) 1.4px, transparent 1.6px) 0 0 / 26px 26px; border-bottom: 1px solid var(--card-line); }
/* tarjeta whiteboard: misma escena que la de motion, en dibujo limpio y a color (provisional hasta el GIF/MP4) */
.sc-w-doodle { position: absolute; animation: drift 9s ease-in-out infinite alternate; }
.sc-w-doodle.d1 { width: 46px; left: 7%; top: 12%; animation-name: twinkleDiv; animation-duration: 3.2s; }
.sc-w-doodle.d2 { width: 96px; right: 5%; top: 6%; }
.sc-w-doodle.d3 { width: 90px; left: 6%; bottom: 10%; animation-direction: alternate-reverse; }
@keyframes twinkleDiv { 50% { transform: scale(.75) rotate(20deg); } }
.sc-w-ui { position: absolute; left: 14%; right: 14%; top: 14%; bottom: 14%; border-radius: 18px; padding: 16px; background: #fff; border: 3px solid var(--ink); box-shadow: 7px 7px 0 var(--ink); display: grid; grid-template-rows: auto auto 1fr; gap: 14px; }
.sc-w-top { display: flex; gap: 6px; align-items: center; }
.sc-w-top i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); background: #FF6B6B; }
.sc-w-top i:nth-child(2) { background: #FFC93C; } .sc-w-top i:nth-child(3) { background: #3DD68C; }
.sc-w-top b { margin-left: auto; width: 60px; height: 16px; border-radius: 8px; background: var(--orange); border: 2px solid var(--ink); }
.sc-w-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sc-w-kpis div { border-radius: 12px; padding: 8px 12px; background: #DCEEFF; border: 2px solid var(--ink); }
.sc-w-kpis div:nth-child(2) { background: #FFF1A8; }
.sc-w-kpis small { display: block; font: 700 15px var(--font-hand); color: var(--ink); }
.sc-w-kpis strong { font-family: var(--font-display); font-size: 20px; }
.sc-w-bars { display: flex; align-items: flex-end; gap: 8px; border-bottom: 2.5px solid var(--ink); padding: 0 4px; }
.sc-w-bars span { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; border: 2.5px solid var(--ink); border-bottom: 0; background: #4FB3FF; transform-origin: bottom; animation: barGrow 4s var(--ease) infinite; }
.sc-w-bars span:nth-child(2) { background: #3DD68C; animation-delay: .1s; } .sc-w-bars span:nth-child(3) { background: #FFC93C; animation-delay: .2s; } .sc-w-bars span:nth-child(4) { background: #FF6B8B; animation-delay: .3s; } .sc-w-bars span:nth-child(5) { background: var(--orange); animation-delay: .4s; } .sc-w-bars span:nth-child(6) { background: #8B7BFF; animation-delay: .5s; }
.sc-w-cursor { position: absolute; width: 26px; left: 30%; top: 40%; animation: cursor 6s var(--ease) infinite; }

/* ---------- POR QUÉ ---------- */
.why { overflow: hidden; }
.why-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px circle at var(--mx, 70%) var(--my, 20%), rgba(249,129,32,.16), transparent 60%); }
.why-card { background: linear-gradient(rgba(255,255,255,.05), rgba(255,255,255,.015)); min-height: 330px; display: flex; flex-direction: column; }
.why-card .h3 { margin-top: auto; padding-top: 40px; }
.why-card p { margin: 12px 0 0; }
.why-n { position: absolute; top: 24px; right: 28px; font: 700 13px var(--font-mono); color: var(--muted); }
.why-ico { width: 52px; height: 52px; }

/* ---------- TRABAJOS ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }
.work { all: unset; cursor: pointer; display: block; }
.work:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; border-radius: 24px; }
.work-poster { aspect-ratio: 16 / 10; border-radius: 22px; position: relative; overflow: hidden; display: grid; place-items: center; transition: transform .6s var(--ease); }
.work:hover .work-poster { transform: scale(.975); }
.wp-play { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 18px; padding-left: 4px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .5s var(--ease), background .3s; position: relative; z-index: 2; }
.work:hover .wp-play { transform: scale(1.15); background: var(--orange); color: var(--ink); }
.work-meta { display: flex; justify-content: space-between; gap: 12px; padding: 16px 4px 0; font-size: 15px; }
.work-meta span { color: var(--muted); font-size: 13.5px; text-align: right; }
.p-m1 { background: radial-gradient(circle at 25% 30%, rgba(249,129,32,.8), transparent 45%), radial-gradient(circle at 80% 80%, rgba(124,92,255,.8), transparent 50%), #121219; }
.p-m2 { background: radial-gradient(circle at 70% 25%, rgba(62,230,208,.65), transparent 45%), radial-gradient(circle at 20% 85%, rgba(124,92,255,.85), transparent 50%), #121219; }
.p-m3 { background: radial-gradient(circle at 30% 70%, rgba(255,77,141,.8), transparent 45%), radial-gradient(circle at 85% 20%, rgba(249,129,32,.75), transparent 45%), #121219; }
.p-m1::before, .p-m2::before, .p-m3::before { content: ""; position: absolute; inset: 18% 16%; border-radius: 14px; border: 1px solid rgba(255,255,255,.22); background: linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.03)); }
.p-w { background: #fff radial-gradient(rgba(42,42,42,.12) 1.4px, transparent 1.6px) 0 0 / 22px 22px; }
.wp-doodle { position: absolute; top: 14%; left: 8%; font-size: 34px; color: var(--ink); rotate: -4deg; }
.wp-doodle::after { content: ""; position: absolute; left: 0; right: -6px; bottom: 2px; height: 10px; background: rgba(249,129,32,.55); border-radius: 6px; z-index: -1; rotate: 1deg; }
.p-w .wp-play { background: var(--ink); border-color: var(--ink); }


.work { position: relative; }
@media (max-width: 700px) {
  .split-cta, .split-cta.left, .split-cta.right { bottom: 22px; padding: 11px 14px; font-size: 13.5px; gap: 8px; }
  .split-cta.left { left: 12px; } .split-cta.right { right: 12px; }
  .split-cta .long { display: none; }
  .split-sub { font-size: .98rem; }
}

/* Portadas reales de los trabajos destacados */
.work-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.work-poster:has(.work-img)::before, .work-poster:has(.work-img) .wp-doodle { display: none; }

/* ===== RONDA 2026-12-04 ===== */

/* ---------- D · compacto ---------- */
.sc-media { aspect-ratio: 16 / 9; }
.sc-body { padding: 20px 24px 24px; gap: 10px; }
.sc-title .h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
.sc-go { width: 42px; height: 42px; }
.work-poster { aspect-ratio: 16 / 9; }
.work-meta { padding-top: 12px; }
.work-grid { gap: clamp(14px, 1.8vw, 22px); }
@media (min-width: 900px) and (max-height: 840px) {
  .sc-media { aspect-ratio: 2.1 / 1; }
  .sc-body { padding: 16px 22px 20px; }
  .styles .chips { display: none; }
}

/* ---------- E2 · Tarjeta de pizarra: el mismo gráfico que en motion, pero se dibuja (nada crece) ---------- */
.sc-w-ui { display: block; padding: 12px 14px 10px; }
.sc-w-chart { display: block; width: 100%; height: 100%; overflow: visible; }
.sc-w-chart .ws { fill: none; stroke: #2A2A2A; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; animation: 9s linear infinite; }
.sc-w-chart .wf { stroke: none; animation: 9s linear infinite; }
.sc-w-chart .wt-hand { font: 700 19px var(--font-hand); fill: #2A2A2A; }
.sc-w-chart .wt-big { font: 700 22px var(--font-display); fill: #2A2A2A; letter-spacing: -.02em; }
.sc-w-pen { animation: wbPen 9s cubic-bezier(.45, 0, .3, 1) infinite; }
@keyframes wbS0 { 0%, 3% { stroke-dashoffset: 1; opacity: 1; } 9% { stroke-dashoffset: 0; opacity: 1; } 88% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes wbF0 { 0%, 7.5% { opacity: 0; } 11%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
.sc-w-chart .ws.w0 { animation-name: wbS0; } .sc-w-chart .wf.w0 { animation-name: wbF0; }
@keyframes wbS1 { 0%, 8.2% { stroke-dashoffset: 1; opacity: 1; } 14.2% { stroke-dashoffset: 0; opacity: 1; } 88% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes wbF1 { 0%, 12.7% { opacity: 0; } 16.2%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
.sc-w-chart .ws.w1 { animation-name: wbS1; } .sc-w-chart .wf.w1 { animation-name: wbF1; }
@keyframes wbS2 { 0%, 13.4% { stroke-dashoffset: 1; opacity: 1; } 19.4% { stroke-dashoffset: 0; opacity: 1; } 88% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes wbF2 { 0%, 17.9% { opacity: 0; } 21.4%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
.sc-w-chart .ws.w2 { animation-name: wbS2; } .sc-w-chart .wf.w2 { animation-name: wbF2; }
@keyframes wbS3 { 0%, 18.6% { stroke-dashoffset: 1; opacity: 1; } 24.6% { stroke-dashoffset: 0; opacity: 1; } 88% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes wbF3 { 0%, 23.1% { opacity: 0; } 26.6%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
.sc-w-chart .ws.w3 { animation-name: wbS3; } .sc-w-chart .wf.w3 { animation-name: wbF3; }
@keyframes wbS4 { 0%, 23.8% { stroke-dashoffset: 1; opacity: 1; } 29.8% { stroke-dashoffset: 0; opacity: 1; } 88% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes wbF4 { 0%, 28.3% { opacity: 0; } 31.8%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
.sc-w-chart .ws.w4 { animation-name: wbS4; } .sc-w-chart .wf.w4 { animation-name: wbF4; }
@keyframes wbS5 { 0%, 29% { stroke-dashoffset: 1; opacity: 1; } 35% { stroke-dashoffset: 0; opacity: 1; } 88% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes wbF5 { 0%, 33.5% { opacity: 0; } 37%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
.sc-w-chart .ws.w5 { animation-name: wbS5; } .sc-w-chart .wf.w5 { animation-name: wbF5; }
@keyframes wbS6 { 0%, 34.2% { stroke-dashoffset: 1; opacity: 1; } 40.2% { stroke-dashoffset: 0; opacity: 1; } 88% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes wbF6 { 0%, 38.7% { opacity: 0; } 42.2%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
.sc-w-chart .ws.w6 { animation-name: wbS6; } .sc-w-chart .wf.w6 { animation-name: wbF6; }
@keyframes wbS7 { 0%, 39.4% { stroke-dashoffset: 1; opacity: 1; } 45.4% { stroke-dashoffset: 0; opacity: 1; } 88% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes wbF7 { 0%, 43.9% { opacity: 0; } 47.4%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
.sc-w-chart .ws.w7 { animation-name: wbS7; } .sc-w-chart .wf.w7 { animation-name: wbF7; }
@keyframes wbS8 { 0%, 44.6% { stroke-dashoffset: 1; opacity: 1; } 50.6% { stroke-dashoffset: 0; opacity: 1; } 88% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes wbF8 { 0%, 49.1% { opacity: 0; } 52.6%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
.sc-w-chart .ws.w8 { animation-name: wbS8; } .sc-w-chart .wf.w8 { animation-name: wbF8; }
@keyframes wbS9 { 0%, 49.8% { stroke-dashoffset: 1; opacity: 1; } 55.8% { stroke-dashoffset: 0; opacity: 1; } 88% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes wbF9 { 0%, 54.3% { opacity: 0; } 57.8%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
.sc-w-chart .ws.w9 { animation-name: wbS9; } .sc-w-chart .wf.w9 { animation-name: wbF9; }
@keyframes wbPen { 0% { transform: translate(350px, 40px); opacity: 0; } 8.5% { transform: translate(406px, 5px); opacity: 1; } 13.7% { transform: translate(204px, 38px); opacity: 1; } 18.9% { transform: translate(412px, 38px); opacity: 1; } 24.1% { transform: translate(412px, 240px); opacity: 1; } 29.3% { transform: translate(66px, 190px); opacity: 1; } 34.5% { transform: translate(132px, 159px); opacity: 1; } 39.7% { transform: translate(198px, 178px); opacity: 1; } 44.9% { transform: translate(264px, 135px); opacity: 1; } 50.1% { transform: translate(330px, 116px); opacity: 1; } 55.3% { transform: translate(396px, 151px); opacity: 1; } 62%, 88% { transform: translate(408px, 104px); opacity: 1; } 94%, 100% { transform: translate(430px, 80px); opacity: 0; } }
@keyframes rnT0 { 0%, 2% { clip-path: inset(0 100% 0 0); } 9.5%, 92% { clip-path: inset(0 0 0 0); } 96%, 100% { clip-path: inset(0 100% 0 0); } }
.why.live .rn-code .c0 { animation: rnT0 9s steps(26) infinite; }
@keyframes rnT1 { 0%, 10.5% { clip-path: inset(0 100% 0 0); } 18%, 92% { clip-path: inset(0 0 0 0); } 96%, 100% { clip-path: inset(0 100% 0 0); } }
.why.live .rn-code .c1 { animation: rnT1 9s steps(26) infinite; }
@keyframes rnT2 { 0%, 19% { clip-path: inset(0 100% 0 0); } 26.5%, 92% { clip-path: inset(0 0 0 0); } 96%, 100% { clip-path: inset(0 100% 0 0); } }
.why.live .rn-code .c2 { animation: rnT2 9s steps(26) infinite; }
@keyframes rnT3 { 0%, 27.5% { clip-path: inset(0 100% 0 0); } 35%, 92% { clip-path: inset(0 0 0 0); } 96%, 100% { clip-path: inset(0 100% 0 0); } }
.why.live .rn-code .c3 { animation: rnT3 9s steps(26) infinite; }
@keyframes rnT4 { 0%, 36% { clip-path: inset(0 100% 0 0); } 43.5%, 92% { clip-path: inset(0 0 0 0); } 96%, 100% { clip-path: inset(0 100% 0 0); } }
.why.live .rn-code .c4 { animation: rnT4 9s steps(26) infinite; }

@media (prefers-reduced-motion: reduce) { .sc-w-chart .ws, .sc-w-chart .wf { animation: none !important; } .sc-w-pen { display: none; } }

/* ---------- E3 · "One minute…": render, hilo 01→03, iconos grandes y bloque compacto ---------- */
.why-top { display: grid; grid-template-columns: 1fr minmax(320px, 430px); gap: clamp(22px, 4vw, 56px); align-items: end; margin-bottom: clamp(18px, 2.4vw, 28px); }
.why-top .sec-head { margin-bottom: 0; }
.render { position: relative; border-radius: 16px; border: 1px solid rgba(255,255,255,.1); background: rgba(14,14,20,.78); overflow: hidden; font: 500 12.5px/1.72 var(--font-mono); box-shadow: 0 30px 60px -32px #000, 0 0 60px -30px rgba(124,92,255,.6); }
.rn-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,.07); color: var(--muted); font-size: 11px; }
.rn-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.2); }
.rn-bar i:nth-child(1) { background: #FF5F57; } .rn-bar i:nth-child(2) { background: #FEBC2E; } .rn-bar i:nth-child(3) { background: #28C840; }
.rn-bar span { margin-left: 8px; }
.rn-status { margin-left: auto; position: relative; height: 16px; width: 86px; font-weight: 700; }
.rn-status em { position: absolute; right: 0; top: 0; font-style: normal; line-height: 16px; white-space: nowrap; }
.rn-status .s1 { color: #FFB370; opacity: 0; } .rn-status .s2 { color: #3EE6D0; }
.rn-body { display: grid; grid-template-columns: 1fr 112px; gap: 14px; padding: 10px 14px 14px; align-items: center; }
.rn-code p { margin: 0; white-space: pre; color: #C9C6D4; }
.rn-code .k { color: #FF4D8D; } .rn-code .f { color: #FFB370; } .rn-code .s { color: #3EE6D0; } .rn-code .c { color: #6f6c7a; }
.rn-out { display: grid; gap: 8px; }
.rn-frame { position: relative; aspect-ratio: 16 / 10; border-radius: 9px; border: 1px solid rgba(255,255,255,.14); background: var(--grad); overflow: hidden; display: grid; place-items: center; }
.rn-frame b { width: 0; height: 0; border-left: 15px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.rn-frame .n { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #fff; opacity: 0; }
.rn-frame .n1 { left: 16%; top: 24%; } .rn-frame .n2 { right: 18%; top: 34%; } .rn-frame .n3 { left: 34%; bottom: 20%; }
.rn-prog { height: 5px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.rn-prog b { display: block; height: 100%; background: var(--grad); transform-origin: left; }
/* en marcha (cuando el bloque aparece) */
.why.live .rn-prog b { animation: rnProg 9s linear infinite; }
.why.live .rn-frame { animation: rnFrame 9s linear infinite; }
.why.live .rn-frame b { animation: rnPlay 9s var(--ease) infinite; }
.why.live .rn-frame .n { animation: rnNode 9s linear infinite; }
.why.live .rn-frame .n2 { animation-delay: .25s; } .why.live .rn-frame .n3 { animation-delay: .5s; }
.why.live .rn-status .s1 { animation: rnS1 9s linear infinite; } .why.live .rn-status .s2 { animation: rnS2 9s linear infinite; }
@keyframes rnProg { 0%, 44% { transform: scaleX(0); } 80%, 92% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }
@keyframes rnFrame { 0%, 46% { background: #17171f; } 80%, 92% { background: linear-gradient(115deg, #F98120, #FF4D8D 52%, #7C5CFF); } 96%, 100% { background: #17171f; } }
@keyframes rnPlay { 0%, 76% { opacity: 0; transform: scale(.3); } 82%, 92% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(.3); } }
@keyframes rnNode { 0%, 44% { opacity: 0; transform: none; } 50%, 66% { opacity: .9; transform: none; } 78%, 100% { opacity: 0; transform: translate(12px, 6px) scale(.2); } }
@keyframes rnS1 { 0%, 78% { opacity: 1; } 80%, 92% { opacity: 0; } 96%, 100% { opacity: 1; } }
@keyframes rnS2 { 0%, 78% { opacity: 0; } 80%, 92% { opacity: 1; } 96%, 100% { opacity: 0; } }

/* hilo conductor 01 → 02 → 03 */
.why-thread { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); height: 20px; margin-bottom: 6px; }
.why-thread::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: rgba(255,255,255,.1); }
.why-thread i { position: relative; }
.why-thread i::before { content: ""; position: absolute; left: 26px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #1c1c26; border: 2px solid var(--orange); z-index: 1; }
.why-thread b { position: absolute; top: 7px; left: 0; width: 120px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, transparent, #F98120 35%, #FF4D8D 70%, #7C5CFF); box-shadow: 0 0 18px 2px rgba(255,77,141,.55); opacity: 0; }
.why.live .why-thread b { animation: whyPulse 7.5s linear infinite; }
@keyframes whyPulse { 0% { left: -8%; opacity: 0; } 4% { opacity: 1; } 94% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
/* tarjetas */
.why-cards { align-items: stretch; }
.why-card { min-height: 0; display: grid; grid-template-columns: 76px 1fr; gap: 6px 18px; align-items: start; padding: 22px 24px 22px 22px; }
.why-card .h3 { margin-top: 0; padding-top: 0; padding-right: 28px; font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
.why-card p { margin: 8px 0 0; font-size: 15.5px; }
.why-n { top: 18px; right: 20px; color: var(--orange); }
.why-ico { width: 76px; height: 76px; }
.why-ico .d { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.why-ico rect.d[fill] { fill: #15151d; }
@media (prefers-reduced-motion: no-preference) {
  .why.live .why-card { animation: whyLit 7.5s linear infinite; animation-delay: calc(var(--k) * 2.5s - .1s); }
  .why.live .why-card * { animation-delay: inherit; }
  .why.live .why-card .why-n { animation: whyNum 7.5s linear infinite; }
  .why.live .why-card .h3 { animation: whyTitle 7.5s linear infinite; }
  .why.live .why-card .why-ico { animation: whyIco 7.5s var(--ease) infinite; }
  .why.live .why-card .why-ico .d { animation: whyDraw 7.5s var(--ease) infinite; }
  .why.live .why-card .why-ico .dot { animation: whyDot 7.5s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
  .why.live .why-thread i::before { animation: whyNode 7.5s linear infinite; animation-delay: calc(var(--k) * 2.5s - .1s); }
}
@keyframes whyLit { 0%, 30% { border-color: rgba(249,129,32,.65); background: linear-gradient(rgba(249,129,32,.1), rgba(124,92,255,.05)); box-shadow: 0 24px 50px -30px rgba(249,129,32,.7); } 38%, 100% { border-color: rgba(255,255,255,.08); background: linear-gradient(rgba(255,255,255,.05), rgba(255,255,255,.015)); box-shadow: none; } }
@keyframes whyNum { 0%, 30% { color: #FFB370; text-shadow: 0 0 14px rgba(249,129,32,.9); } 38%, 100% { color: var(--muted); text-shadow: none; } }
@keyframes whyTitle { 0%, 30% { color: #fff; } 38%, 100% { color: #cfccd8; } }
@keyframes whyIco { 0% { opacity: .55; transform: scale(.94); } 6%, 30% { opacity: 1; transform: scale(1.04); } 38%, 100% { opacity: .55; transform: scale(1); } }
@keyframes whyDraw { 0% { stroke-dashoffset: 1; } 16%, 100% { stroke-dashoffset: 0; } }
@keyframes whyDot { 0%, 10% { transform: scale(0); } 18%, 100% { transform: scale(1); } }
@keyframes whyNode { 0%, 30% { background: var(--orange); box-shadow: 0 0 0 5px rgba(249,129,32,.22); } 38%, 100% { background: #1c1c26; box-shadow: none; } }
@media (max-width: 900px) {
  .why-top { grid-template-columns: 1fr; align-items: start; }
  .why-thread { display: none; }
}
@media (max-width: 420px) { .rn-body { grid-template-columns: 1fr; } .rn-out { grid-template-columns: 96px 1fr; align-items: center; } .render { font-size: 11.5px; } }

/* ---------- Ajustes del 2026-12-04 (2): sin lápiz en la tarjeta de pizarra y sin código en "One minute…" ---------- */
.sc-w-cursor { z-index: 2; }
.render { font-size: 11px; }
.rn-status { width: 104px; }
.rn-tl { position: relative; display: grid; gap: 9px; padding: 4px 0; }
.rn-tl .tr { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 8px; }
.rn-tl .tr > span { font: 700 9.5px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rn-tl .lane { height: 20px; border-radius: 6px; background: rgba(255,255,255,.05); display: flex; align-items: center; gap: 5px; padding: 0 6px; overflow: hidden; }
.rn-tl .txt i { height: 5px; border-radius: 3px; background: rgba(255,255,255,.7); width: 30%; } .rn-tl .txt i:nth-child(2) { width: 22%; opacity: .6; } .rn-tl .txt i:nth-child(3) { width: 27%; }
.rn-tl .wave { gap: 3px; }
.rn-tl .wave i { flex: 1; height: var(--h); border-radius: 2px; background: linear-gradient(#FFB370, #FF4D8D); }
.rn-tl .clips { gap: 4px; padding: 0 4px; }
.rn-tl .clips b { height: 12px; border-radius: 4px; flex: 3; background: #F98120; } .rn-tl .clips b:nth-child(2) { flex: 2; background: #FF4D8D; } .rn-tl .clips b:nth-child(3) { flex: 4; background: #7C5CFF; } .rn-tl .clips b:nth-child(4) { flex: 2; background: #3EE6D0; }
.rn-tl .ph { position: absolute; top: 0; bottom: 0; left: 60px; width: 2px; border-radius: 1px; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.8); opacity: 0; }
.why.live .rn-tl .t0 .lane { animation: rnL0 9s linear infinite; }
.why.live .rn-tl .t1 .lane { animation: rnL1 9s linear infinite; }
.why.live .rn-tl .t2 .lane { animation: rnL2 9s linear infinite; }
.why.live .rn-tl .wave i { animation: rnWave 1.1s ease-in-out infinite alternate; }
.why.live .rn-tl .wave i:nth-child(2n) { animation-delay: .2s; } .why.live .rn-tl .wave i:nth-child(3n) { animation-delay: .45s; }
.why.live .rn-tl .ph { animation: rnPh 9s linear infinite; }
@keyframes rnL0 { 0%, 4% { clip-path: inset(0 100% 0 0); } 16%, 92% { clip-path: inset(0 0 0 0); } 96%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes rnL1 { 0%, 17% { clip-path: inset(0 100% 0 0); } 29%, 92% { clip-path: inset(0 0 0 0); } 96%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes rnL2 { 0%, 30% { clip-path: inset(0 100% 0 0); } 42%, 92% { clip-path: inset(0 0 0 0); } 96%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes rnWave { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
@keyframes rnPh { 0%, 44% { left: 60px; opacity: 0; } 46% { left: 60px; opacity: 1; } 80%, 92% { left: calc(100% - 2px); opacity: 1; } 96%, 100% { left: calc(100% - 2px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rn-tl * { animation: none !important; } }
