/* Supraide — sitio. Modo oscuro: Carbon / Paper / Volt (la señal "encendido"). Inter + JetBrains Mono + Instrument Serif. */
:root{
  --bg:#101012; --bg2:#151517; --bg3:#0B0B0C; --line:#26262B; --line2:#2E2E34;
  --text:#F4F4EF; --muted:#A8A8B0; --dim:#8A8A93;
  --volt:#CDFA50; --volt2:#DBFF72;
  --icg:#1B1640; --gold:#F4B83E; --vale-bg:#1A1513; --vale:#B23A1E; --vale-txt:#F08A6C;
  --wrap:1240px; --gut:clamp(16px,4vw,32px);
  --sans:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --serif:"Instrument Serif",Georgia,serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--text);font:400 17px/1.6 var(--sans);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{color:var(--volt)}
:focus-visible{outline:2px solid var(--volt);outline-offset:3px;border-radius:6px}
h1,h2,h3{margin:0;font-weight:600;letter-spacing:-.03em;line-height:1.05}
h1{font-size:clamp(42px,6.2vw,88px);letter-spacing:-.045em;line-height:.98}
h2{font-size:clamp(34px,4.4vw,56px);letter-spacing:-.04em;line-height:1}
h3{font-size:21px;letter-spacing:-.02em;line-height:1.25}
.h3-like{font-size:24px;letter-spacing:-.02em;margin-bottom:22px}
p{margin:0 0 1em}
.mono{font-family:var(--mono)}
.muted{color:var(--muted)}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gut)}
.narrow{max-width:760px}
.lead{font-size:clamp(17px,1.6vw,20px);color:#B9B9C1;max-width:600px}
.skip{position:absolute;left:-999px;top:8px;z-index:30;background:var(--volt);color:var(--bg);padding:.6rem 1rem;border-radius:10px}
.skip:focus{left:8px}
.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--volt);box-shadow:0 0 12px var(--volt);animation:pulse 2s ease-in-out infinite;vertical-align:middle}
@keyframes pulse{50%{opacity:.35}}

/* Botones */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 26px;border-radius:999px;font:600 16px/1 var(--sans);text-decoration:none;border:1.5px solid transparent;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.btn-sm{min-height:44px;padding:0 20px;font-size:15px}
.btn-v{background:var(--volt);color:var(--bg)}
.btn-v:hover{background:var(--volt2);color:var(--bg)}
.btn-o{border-color:#3A3A40;color:var(--text)}
.btn-o:hover{border-color:var(--volt);color:var(--text)}
.btn-gold{background:var(--gold);color:var(--icg);font-weight:700}
.btn-gold:hover{background:#FFC95C;color:var(--icg)}
.btn-vale{background:var(--vale);color:#fff}
.btn-vale:hover{background:#962F17;color:#fff}

/* Entrada con el interruptor */
.has-gate{overflow:hidden}
.gate{position:fixed;inset:0;z-index:50;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:36px;padding:24px;background:radial-gradient(60% 50% at 50% 50%,#1A1A1D 0%,var(--bg) 70%);transition:opacity .6s ease,visibility .6s}
.gate.out{opacity:0;visibility:hidden}
.gate-logo{width:200px;opacity:.9}
.sw{position:relative;width:220px;height:112px;border-radius:999px;border:0;padding:0;background:#26262B;cursor:pointer;box-shadow:inset 0 2px 10px rgba(0,0,0,.6);transition:background .55s cubic-bezier(.7,0,.2,1),box-shadow .55s}
.sw .k{position:absolute;top:10px;left:10px;width:92px;height:92px;border-radius:50%;background:#3A3A40;transition:left .55s cubic-bezier(.7,0,.2,1),background .55s}
.sw[aria-checked="true"]{background:var(--volt);box-shadow:0 0 0 10px rgba(205,250,80,.12),0 0 120px rgba(205,250,80,.45)}
.sw[aria-checked="true"] .k{left:118px;background:var(--bg)}
.gate-txt{font:13px/1.9 var(--mono);color:var(--muted);text-align:center}
.gate-st.on{color:var(--volt)}
.blink{animation:blink 1.4s steps(2,end) infinite}
@keyframes blink{50%{opacity:.25}}
.gate-skip{position:absolute;bottom:28px;background:none;border:0;color:var(--dim);font:14px var(--sans);text-decoration:underline;text-underline-offset:4px;cursor:pointer;min-height:44px;padding:0 12px}
.gate-skip:hover{color:var(--text)}

/* Encabezado */
.top{position:sticky;top:0;z-index:20;background:rgba(16,16,18,.82);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid #222226}
.top-in{display:flex;align-items:center;justify-content:space-between;gap:20px;height:76px}
.brand img{height:28px;width:auto}
.nav{display:flex;gap:28px;font-size:15px}
.nav a{text-decoration:none;color:#C9C9CF;padding:8px 0}
.nav a:hover,.nav a[aria-current="page"]{color:var(--text)}
.nav a[aria-current="page"]{box-shadow:inset 0 -2px 0 var(--volt)}
.top-act{display:flex;align-items:center;gap:10px}
.lang{display:flex;gap:2px;padding:3px;border:1px solid var(--line2);border-radius:999px;font:600 12px/1 var(--sans);text-decoration:none}
.lang span{padding:8px 10px;border-radius:999px;color:var(--muted)}
.lang span.on{background:var(--volt);color:var(--bg)}
.lang:hover{border-color:var(--volt);color:inherit}
.menu-btn{display:none;width:44px;height:44px;border-radius:999px;border:1px solid var(--line2);background:transparent;color:var(--text);align-items:center;justify-content:center;cursor:pointer}

/* Portada */
.hero{padding:clamp(64px,10vw,128px) 0 clamp(56px,8vw,96px)}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:64px;align-items:end}
.hero h1{margin-bottom:28px}
.acts{display:flex;flex-wrap:wrap;gap:14px;margin:40px 0 0}
.sys{background:var(--bg2);border:1px solid var(--line);border-radius:20px;padding:26px 28px;font-size:13.5px;line-height:2.1;color:var(--muted)}
.sys-h,.sys-r{display:flex;justify-content:space-between;gap:16px}
.sys-h{color:#6E6E77;padding-bottom:8px;margin-bottom:6px;border-bottom:1px solid #222226}
.sys-r span:last-child{color:var(--text);text-align:right}
.rv{animation:rise .9s cubic-bezier(.2,.7,.1,1) both}
.rv2{animation-delay:.12s}.rv3{animation-delay:.24s}
@keyframes rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
.marq-wrap{border-top:1px solid #222226;border-bottom:1px solid #222226;padding:22px 0;overflow:hidden;font-size:14px;color:var(--dim)}
.marq{display:flex;gap:56px;white-space:nowrap;width:max-content;animation:marq 34s linear infinite}
@keyframes marq{to{transform:translateX(-50%)}}

/* Secciones */
.sec{padding:clamp(72px,9vw,120px) 0}
.sec-tight{padding-top:24px}
.sec-head{display:flex;justify-content:space-between;align-items:end;gap:32px;flex-wrap:wrap;margin-bottom:48px}
.sec-head p{margin:0;max-width:440px;color:var(--muted)}
.sub{max-width:520px;margin:16px 0 56px}
.page-head{padding:clamp(64px,9vw,112px) 0 24px}
.page-head h1{max-width:16ch;margin-bottom:24px}
.two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(40px,6vw,80px);align-items:start}
.two-svc{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)}
.two-studio{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
.two h2{margin-bottom:20px}
.more{font-weight:600}
.kind{font-size:14px;font-weight:600;margin:0}
.kind-icg{color:var(--gold)}.kind-vale{color:var(--vale-txt)}.kind-volt{color:var(--volt);margin-bottom:18px}

/* Productos */
.prod-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:20px}
.prod{position:relative;border-radius:28px;overflow:hidden;min-height:620px;display:flex;flex-direction:column}
.prod h3{font-size:clamp(28px,3vw,40px);line-height:1.05;letter-spacing:-.035em}
.prod-body{position:relative;padding:40px;display:flex;flex-direction:column;gap:14px}
.prod-txt{margin:0}
.prod-icg{background:var(--icg);justify-content:flex-end}
.prod-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.2s cubic-bezier(.2,.7,.1,1)}
.prod-icg:hover .prod-bg{transform:scale(1.04)}
.prod-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(16,12,40,0) 30%,rgba(16,12,40,.94) 78%)}
.prod-logo{position:absolute;top:32px;left:32px;width:220px}
.prod-icg .prod-txt{color:#D8D4F2;max-width:540px}
.prod-acts{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:10px}
.chars{display:flex;gap:6px}
.chars img{width:52px;height:52px;object-fit:contain}
.prod-vale{background:var(--vale-bg);border:1px solid #2C2420;justify-content:space-between}
.prod-vale .prod-body{padding-bottom:0}
.prod-vale .prod-body img{width:96px}
.prod-vale h3{font-size:clamp(26px,2.5vw,34px)}
.prod-vale .prod-txt{color:#CBBFB8}
.chat{margin:28px;background:#0E1512;border-radius:20px;padding:18px;display:flex;flex-direction:column;gap:10px;font-size:14.5px;line-height:1.4}
.b{margin:0;padding:10px 14px;max-width:78%}
.b-c{align-self:flex-start;background:#1F2C33;border-radius:14px 14px 14px 4px}
.b-v{align-self:flex-end;background:#005C4B;border-radius:14px 14px 4px 14px}
.chat figcaption{font-size:12px;color:#7D8B86;text-align:center;margin-top:4px}
.prod-foot{padding:0 40px 40px}

/* Servicios */
.svc{list-style:none;margin:0;padding:0;border-top:1px solid var(--line2)}
.svc li{display:flex;gap:24px;align-items:flex-start;padding:28px 20px;border-bottom:1px solid var(--line2);transition:background .25s}
.svc li:hover{background:#17171A}
.svc h3{margin-bottom:8px}
.svc p{margin:0 0 10px;color:var(--muted)}
.svc .tech{font-size:12.5px;color:var(--dim);margin:0}
.mini{position:relative;width:38px;height:22px;margin-top:4px;border-radius:999px;background:#2E2E34;flex:none;transition:background .3s}
.mini i{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#6B6B73;transition:left .3s,background .3s}
.svc li:hover .mini{background:var(--volt)}
.svc li:hover .mini i{left:19px;background:var(--bg)}

/* Activaciones (Supraide Activaciones: juegos de marca) */
.act{background:radial-gradient(80% 70% at 85% 10%,#3B1C7A 0%,#1B1238 45%,var(--bg) 85%);border-top:1px solid #222226;border-bottom:1px solid #222226}
.p-activations .act{border-top:0}
.act-top{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:48px;align-items:center}
.act-logo{width:152px;margin-bottom:22px;border-radius:8px}
.kind-act{color:#FFC93C;margin-bottom:16px}
.act-title{max-width:16ch;margin-bottom:22px}
.act-hero{width:100%;max-width:480px;justify-self:end;border-radius:20px;filter:drop-shadow(0 30px 60px rgba(120,60,255,.35))}
.btn-act{background:#FFC93C;color:#1B1238;font-weight:700}
.btn-act:hover{background:#FFD866;color:#1B1238}
.act-gl{font-size:12.5px;color:#B9A8E8;margin:56px 0 14px}
.act-games{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.act-games li{padding:9px 16px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);font-size:14.5px;color:#E7E0FA}
.act-grid{list-style:none;margin:40px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.act-grid li{background:rgba(16,12,40,.55);border:1px solid rgba(185,168,232,.22);border-radius:20px;padding:28px}
.act-grid h3{margin-bottom:10px}
.act-grid p{margin:0;color:#C9C1E4}

/* Proceso */
.process{background:var(--bg3);border-top:1px solid #222226;border-bottom:1px solid #222226}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.steps li{border-top:2px solid #3A3A40;padding-top:24px}
.steps li.on{border-top-color:var(--volt)}
.steps .n{display:block;font:400 72px/1 var(--serif);color:var(--volt);margin-bottom:18px}
.steps h3{margin-bottom:8px}
.steps p{margin:0;color:var(--muted);font-size:16px}

/* Estudio */
.quote{margin:0}
.quote p{font:400 clamp(30px,3.6vw,50px)/1.1 var(--serif);letter-spacing:-.01em;margin-bottom:24px}
.quote footer{color:var(--muted)}
.principles{list-style:none;margin:0;padding:0;display:grid;gap:26px}
.principles h3{font-size:19px;margin-bottom:6px}
.principles p{margin:0;color:var(--muted)}

/* Artículos */
.posts{list-style:none;margin:0;padding:0;border-top:1px solid var(--line2)}
.posts li{border-bottom:1px solid var(--line2)}
.posts a{display:grid;grid-template-columns:140px minmax(0,1fr) auto;gap:24px;align-items:baseline;padding:26px 8px;text-decoration:none;transition:background .2s}
.posts a:hover{background:#17171A;color:inherit}
.posts a:hover .pt{color:var(--volt)}
.pc{font-size:12.5px;color:var(--volt);margin:0}
.pt{font-weight:600;font-size:clamp(18px,1.8vw,22px);letter-spacing:-.02em;line-height:1.3}
.pm{color:var(--dim);font-size:14px;white-space:nowrap}
.post{padding:clamp(48px,7vw,96px) 0}
.post h1{font-size:clamp(34px,4.8vw,58px);margin:10px 0 18px}
.back a{font-weight:600;font-size:15px}
.prose{font-size:18px;line-height:1.75;color:#DADAE0;margin-top:40px}
.prose h2{font-size:26px;margin:1.8em 0 .5em;color:var(--text)}
.prose h3{margin:1.6em 0 .4em}
.prose ul,.prose ol{padding-left:1.3rem}
.prose li{margin:.4em 0}
.prose strong{color:var(--text)}
.prose blockquote{margin:1.4em 0;padding-left:1rem;border-left:3px solid var(--volt)}

/* Llamado + formulario */
.cta{background:var(--volt);color:var(--bg);padding:clamp(72px,9vw,112px) 0}
.cta h2{font-size:clamp(42px,5.6vw,76px);font-weight:700;letter-spacing:-.05em;line-height:.95;margin-bottom:20px}
.cta-text{font-size:19px;max-width:460px}
.cta a{color:var(--bg)}
.cta .mono{font-size:14px}
.form{background:var(--bg);color:var(--text);border-radius:24px;padding:32px;display:grid;gap:16px}
.cta .form a{color:var(--muted)}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form label{display:grid;gap:6px;font-size:14px;color:#C9C9CF}
.form input,.form select,.form textarea{width:100%;background:#1A1A1D;border:1px solid var(--line2);border-radius:12px;padding:13px 14px;color:var(--text);font:16px var(--sans);min-height:50px}
.form textarea{resize:vertical;min-height:130px}
.form input:focus,.form select:focus,.form textarea:focus{outline:none;border-color:var(--volt);box-shadow:0 0 0 3px rgba(205,250,80,.25)}
.form .btn{width:100%}
.fine{font-size:13px;margin:0}
.fine a{color:var(--dim)}
.hp{position:absolute;left:-5000px;width:1px;height:1px;overflow:hidden}
.msg{padding:14px 16px;border-radius:12px;font-weight:500}
.msg-ok{background:rgba(205,250,80,.14);color:var(--volt)}
.msg-error{background:rgba(240,138,108,.14);color:#F7A58C}
.ways a{font-weight:600}

/* Pie */
.foot{padding:56px 0 40px;color:var(--dim);font-size:14px}
.foot-in{display:grid;grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr));gap:28px 40px}
.foot-brand img{height:24px;width:auto;margin-bottom:14px}
.foot-links{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.foot-links a{text-decoration:none;color:#B4B4BC}
.legal{grid-column:1/-1;border-top:1px solid #222226;padding-top:20px;margin:0;font-size:12.5px}
.nf{padding-bottom:clamp(64px,10vw,140px)}

/* Celular y tablet */
@media (max-width:1060px){
  .nav{gap:20px}
}
@media (max-width:960px){
  .hero-grid,.prod-grid,.two,.two-svc,.two-studio{grid-template-columns:1fr}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:36px}
  .act-grid{grid-template-columns:1fr}
  .act-top{grid-template-columns:1fr}
  .act-hero{justify-self:start}
  .prod{min-height:560px}
  .menu-btn{display:inline-flex}
  .nav{display:none;position:absolute;left:0;right:0;top:76px;flex-direction:column;gap:0;padding:8px var(--gut) 20px;background:var(--bg);border-bottom:1px solid var(--line)}
  .nav.open{display:flex}
  .nav a{padding:14px 4px;font-size:17px;border-bottom:1px solid #1E1E22}
  .nav a[aria-current="page"]{box-shadow:none;color:var(--volt)}
}
@media (max-width:620px){
  body{font-size:16px}
  .top-in{height:64px}
  .nav{top:64px}
  .brand img{height:22px}
  .hide-sm{display:none}
  .acts .btn{width:100%}
  .sys{padding:18px;font-size:12.5px}
  .prod-body{padding:24px}
  .prod-logo{top:20px;left:20px;width:150px}
  .prod-icg{min-height:0;justify-content:flex-start}
  .prod-icg .prod-bg{position:relative;inset:auto;height:250px}
  .prod-icg .prod-shade{top:auto;height:60px;bottom:auto;inset:190px 0 auto 0;background:linear-gradient(180deg,rgba(27,22,64,0),var(--icg))}
  .prod-vale{min-height:0}
  .chat{margin:20px}
  .prod-foot{padding:0 24px 24px}
  .svc li{padding:22px 4px;gap:16px}
  .steps .n{font-size:52px}
  .posts a{grid-template-columns:1fr;gap:6px;padding:20px 4px}
  .row2{grid-template-columns:1fr}
  .form{padding:22px}
  .foot-in{grid-template-columns:1fr 1fr}
  .foot-brand{grid-column:1/-1}
  .sw{width:170px;height:88px}.sw .k{width:70px;height:70px;top:9px;left:9px}.sw[aria-checked="true"] .k{left:91px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none !important;transition:none !important;scroll-behavior:auto !important}
}
