/* Escena 3D: páginas reales de negocios que se inclinan, con botones y redes que flotan alrededor. */
.stage{ position:relative; width:min(520px,100%); margin-inline:auto; padding-bottom:84px; perspective:1500px; --px:0; --py:0; }
.st-halo{ position:absolute; left:50%; top:44%; width:118%; aspect-ratio:1; transform:translate(-50%,-50%); background:radial-gradient(closest-side, rgba(235,179,94,.30), rgba(235,179,94,.08) 55%, transparent 72%); pointer-events:none; }
.st-cards{ position:relative; margin:0; padding:0; list-style:none; aspect-ratio:1/.98; transform-style:preserve-3d; }
.st-card{
  position:absolute; left:27%; top:3%; width:46%; aspect-ratio:520/885;
  transform-style:preserve-3d; opacity:0; pointer-events:none;
  transition:transform .85s cubic-bezier(.22,1,.36,1), opacity .55s ease, filter .6s ease;
  transform:translate3d(0,8%,-320px) scale(.6);
}
.st-tilt{ position:relative; width:100%; height:100%; transform-style:preserve-3d; transition:transform .35s cubic-bezier(.23,1,.32,1); }
.st-phone{ position:absolute; inset:0; border-radius:9.5% / 5.6%; overflow:hidden; background:#101010; box-shadow:0 0 0 1px rgba(235,179,94,.45), 0 40px 70px -24px rgba(0,0,0,.9), 0 0 60px -18px rgba(235,179,94,.35); }
.st-phone img{ width:100%; height:100%; object-fit:cover; display:block; }
.st-card[data-pos="cur"]{ opacity:1; z-index:3; pointer-events:auto; transform:translate3d(0,0,0) rotateY(-17deg) rotateX(6deg) rotateZ(3deg); }
.st-card[data-pos="cur"] .st-tilt{ transform:rotateY(calc(var(--px) * 9deg)) rotateX(calc(var(--py) * -7deg)); }
.st-card[data-pos="next"]{ opacity:.55; z-index:2; filter:brightness(.62) saturate(.9); cursor:pointer; pointer-events:auto; transform:translate3d(-70%,14%,-170px) rotateY(18deg) rotateX(4deg) rotateZ(-7deg) scale(.8); }
.st-card[data-pos="prev"]{ opacity:0; z-index:4; transform:translate3d(64%,-10%,90px) rotateY(-34deg) rotateZ(13deg) scale(1.04); }
/* piezas flotantes (delante de la página, con profundidad real) */
.st-chip, .st-ico{ position:absolute; display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .4s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.st-chip{
  gap:8px; padding:9px 15px 9px 11px; border-radius:999px; font:500 .8125rem/1 var(--sans, "IBM Plex Sans", system-ui, sans-serif); color:#fff; white-space:nowrap;
  box-shadow:0 14px 28px -10px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.28);
}
.st-chip svg{ width:15px; height:15px; flex:none; }
.st-c1{ left:-46%; bottom:20%; background:#1c1c1c; border:1px solid rgba(244,239,212,.18); transform:translateZ(40px) translateY(16px) scale(.8); }
.st-c1 i{ width:9px; height:9px; border-radius:50%; background:#34d27b; box-shadow:0 0 0 4px rgba(52,210,123,.22); }
.st-c2{ left:-38%; top:14%; background:linear-gradient(180deg,#5b94f7,#2f63d8); transform:translateZ(80px) translateY(16px) scale(.8); }
.st-ico{ right:-26%; width:21%; aspect-ratio:1; border-radius:50%; color:#fff; box-shadow:0 16px 30px -10px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.35); }
.st-ico svg{ width:46%; height:46%; }
.st-i1{ top:20%; background:linear-gradient(45deg,#f9ce34,#ee2a7b 55%,#6228d7); transform:translateZ(70px) translateX(-12px) scale(.6); }
.st-i2{ top:44%; right:-30%; background:linear-gradient(180deg,#3fdc7f,#17a850); transform:translateZ(110px) translateX(-12px) scale(.6); }
.st-i3{ top:68%; right:-22%; background:linear-gradient(180deg,#3a8bff,#1560d8); transform:translateZ(50px) translateX(-12px) scale(.6); }
.st-card[data-pos="cur"] .st-c1{ opacity:1; transform:translateZ(40px); transition-delay:.25s; }
.st-card[data-pos="cur"] .st-c2{ opacity:1; transform:translateZ(80px); transition-delay:.34s; }
.st-card[data-pos="cur"] .st-i1{ opacity:1; transform:translateZ(70px); transition-delay:.3s; }
.st-card[data-pos="cur"] .st-i2{ opacity:1; transform:translateZ(110px); transition-delay:.4s; }
.st-card[data-pos="cur"] .st-i3{ opacity:1; transform:translateZ(50px); transition-delay:.5s; }
@keyframes st-flota{ 0%,100%{ translate:0 0; } 50%{ translate:0 -9px; } }
.st-card[data-pos="cur"] .st-chip, .st-card[data-pos="cur"] .st-ico{ animation:st-flota 5s ease-in-out infinite; }
.st-c2{ animation-delay:-1.2s !important; animation-duration:5.6s !important; } .st-i1{ animation-delay:-2.4s !important; } .st-i2{ animation-delay:-.6s !important; animation-duration:6.2s !important; } .st-i3{ animation-delay:-3.1s !important; animation-duration:4.6s !important; }
/* pie: nombre, enlace y puntos */
.st-bar{ position:absolute; left:0; right:0; bottom:0; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:12px 18px; }
.st-cap{ margin:0; display:flex; flex-direction:column; align-items:center; gap:2px; min-width:0; text-align:center; }
.st-name{ font:300 1.375rem/1.2 var(--serif, "IBM Plex Serif", Georgia, serif); color:#f4efd4; font-weight:300; }
.st-place{ font-size:.8125rem; color:#bcb7a1; letter-spacing:.04em; }
.st-dots{ display:flex; gap:2px; flex:1 0 100%; justify-content:center; }
.st-dot{ position:relative; width:28px; height:28px; padding:0; border:0; background:none; cursor:pointer; }
.st-dot::after{ content:""; position:absolute; left:50%; top:50%; width:8px; height:8px; margin:-4px 0 0 -4px; border-radius:50%; background:#626055; transition:background-color .2s ease, width .3s cubic-bezier(.22,1,.36,1), margin .3s cubic-bezier(.22,1,.36,1); }
.st-dot[aria-current="true"]::after{ background:#ebb35e; width:22px; margin-left:-11px; border-radius:999px; }
.st-dot:focus-visible{ outline:2px solid #ebb35e; outline-offset:-2px; border-radius:8px; }
.st-live{ margin-top:2px; }
@media (max-width:560px){ .stage{ padding-bottom:92px; } .st-cards{ aspect-ratio:1/1.12; } .st-card{ left:22%; width:56%; } .st-c1{ left:-30%; } .st-c2{ left:-26%; } .st-i2{ right:-24%; } .st-i3{ right:-16%; } .st-ico{ right:-20%; } .st-chip{ font-size:.75rem; padding:8px 12px 8px 9px; } .st-halo{ width:130%; } }
@media (prefers-reduced-motion:reduce){
  .st-card, .st-tilt, .st-chip, .st-ico, .st-dot::after{ transition-duration:.01s !important; transition-delay:0s !important; }
  .st-card[data-pos="cur"] .st-chip, .st-card[data-pos="cur"] .st-ico{ animation:none !important; }
}
