/* =====================================================================
   MU ONLINE DEVELOPMENT STUDIO — Hoja de estilos
   Los colores base se sobrescriben desde assets/js/config.js
   ===================================================================== */

/* ---------- Fuentes autoalojadas (licencia OFL, ver assets/fonts) ---------- */
@font-face { font-family: "Cinzel"; font-weight: 600; font-display: swap; src: url("../fonts/cinzel-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 700; font-display: swap; src: url("../fonts/cinzel-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 900; font-display: swap; src: url("../fonts/cinzel-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Exo 2"; font-weight: 400; font-display: swap; src: url("../fonts/exo-2-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Exo 2"; font-weight: 500; font-display: swap; src: url("../fonts/exo-2-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Exo 2"; font-weight: 600; font-display: swap; src: url("../fonts/exo-2-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Exo 2"; font-weight: 700; font-display: swap; src: url("../fonts/exo-2-latin-700-normal.woff2") format("woff2"); }

:root {
  --c-black: #070A12;
  --c-navy: #0B1428;
  --c-electric: #1769FF;
  --c-cyan: #00D9FF;
  --c-white: #F4F7FF;
  --c-metal: #8A96AA;

  --c-text: var(--c-white);
  --c-muted: #A9B4C6;
  --c-panel: rgba(13, 24, 48, .72);
  --c-line: rgba(138, 150, 170, .18);
  --c-line-strong: rgba(0, 217, 255, .35);
  --c-error: #FF6B81;
  --c-ok: #3BE6A1;

  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "Exo 2", "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 72px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --glow: 0 0 0 1px rgba(0, 217, 255, .25), 0 10px 40px -10px rgba(23, 105, 255, .55);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-black);
  color: var(--c-text);
  font: 400 1rem/1.65 var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--c-cyan); text-decoration: none; }
a:hover { color: var(--c-white); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--c-electric); color: var(--c-white); }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container-narrow { --container: 860px; }
.center { text-align: center; margin-top: 2.5rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 200; background: var(--c-cyan); color: var(--c-black); padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 1rem; color: var(--c-black); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.text-glow { color: var(--c-cyan); text-shadow: 0 0 18px rgba(0, 217, 255, .55); }
.fine-print { color: var(--c-metal); font-size: .85rem; }
.notice { padding: 1rem; border: 1px solid var(--c-line-strong); border-radius: var(--radius); }

/* ---------- Botones ---------- */
.btn {
  --bg: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.5rem;
  border: 1px solid transparent; border-radius: 10px;
  background: var(--bg); color: var(--c-white);
  font: 700 .9rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s, background-color .25s, color .25s;
}
.btn::after { /* destello que recorre el botón */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); color: var(--c-white); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, var(--c-electric), #0b4fd1 55%, var(--c-cyan) 140%); box-shadow: var(--glow); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(0,217,255,.6), 0 14px 50px -10px rgba(0,217,255,.6); }
.btn-outline { border-color: var(--c-line-strong); background: rgba(11, 20, 40, .55); backdrop-filter: blur(6px); }
.btn-outline:hover { border-color: var(--c-cyan); box-shadow: 0 0 24px -6px rgba(0,217,255,.6); }
.btn-ghost { color: var(--c-muted); padding-inline: 1rem; }
.btn-ghost:hover { color: var(--c-cyan); }
.btn-sm { min-height: 40px; padding: .55rem 1rem; font-size: .78rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Encabezado ---------- */
.site-header {
  --topbar-h: 0px;
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled {
  background: rgba(7, 10, 18, .82); backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 1px 0 var(--c-line), 0 10px 30px -15px rgba(0,0,0,.8);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--c-white); min-width: 0; }
.brand:hover { color: var(--c-white); }
.brand-mark { width: 44px; height: 44px; filter: drop-shadow(0 0 10px rgba(0,217,255,.45)); transition: transform .4s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-line1 { font: 700 .66rem var(--font-body); letter-spacing: .32em; color: var(--c-cyan); }
.brand-line2 { font: 900 1rem var(--font-display); letter-spacing: .05em; white-space: nowrap; }

.nav-list { display: flex; align-items: center; gap: .2rem; }
.nav-link {
  position: relative; display: block; padding: .55rem .7rem; border-radius: 8px;
  color: var(--c-muted); font-weight: 600; font-size: .88rem; letter-spacing: .02em;
  transition: color .2s;
}
.nav-link::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .2rem; height: 2px;
  background: linear-gradient(90deg, var(--c-electric), var(--c-cyan));
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  box-shadow: 0 0 8px var(--c-cyan);
}
.nav-link:hover, .nav-link.is-active { color: var(--c-white); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-cta {
  margin-left: .5rem; padding-inline: 1.1rem; color: var(--c-white);
  border: 1px solid var(--c-line-strong); background: rgba(23,105,255,.18);
}
.nav-cta::after { display: none; }
.nav-cta:hover, .nav-cta.is-active { background: var(--c-electric); border-color: var(--c-cyan); box-shadow: 0 0 20px -4px rgba(0,217,255,.7); }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--c-line-strong); border-radius: 10px;
  background: rgba(11,20,40,.7); position: relative; z-index: 2;
}
.nav-toggle-bar { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--c-white); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle-bar:nth-child(1) { top: 15px; }
.nav-toggle-bar:nth-child(2) { top: 22px; }
.nav-toggle-bar:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: calc(var(--header-h) + var(--topbar-h)) 0 auto 0; height: calc(100dvh - var(--header-h) - var(--topbar-h));
    background: rgba(7,10,18,.97); backdrop-filter: blur(14px);
    border-top: 1px solid var(--c-line);
    padding: 1.5rem 1.25rem 2rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .35rem; }
  .nav-link { font-size: 1.1rem; padding: .9rem 1rem; border: 1px solid transparent; }
  .nav-link::after { left: 1rem; right: auto; width: 40px; }
  .nav-link.is-active { border-color: var(--c-line); background: rgba(23,105,255,.08); }
  .nav-cta { margin: .8rem 0 0; text-align: center; }
  body.nav-open { overflow: hidden; }
  .site-header:has(.site-nav.is-open) { background: rgba(7,10,18,.97); }
}
@media (max-width: 420px) {
  .brand-line2 { font-size: .86rem; }
  .brand-mark { width: 38px; height: 38px; }
}

/* ---------- Portada ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-start; padding: calc(var(--header-h) + var(--topbar-space, 0px) + clamp(2rem, 7vh, 4.5rem)) 0 6rem;
  overflow: hidden; isolation: isolate;
}
.hero-scene { position: absolute; inset: 0; z-index: -1; }
.hero-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 72% 25%, rgba(23,105,255,.28), transparent 70%),
    linear-gradient(180deg, #050810 0%, #0B1428 55%, #0a1226 100%);
}
.hero-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-svg .layer { transition: transform .6s var(--ease); will-change: transform; }
.portal-ring { transform-origin: 1130px 250px; animation: spin 60s linear infinite; }
.float-a { animation: floaty 9s ease-in-out infinite; }
.float-b { animation: floaty 11s ease-in-out infinite reverse; }
.windows rect { animation: flicker 4s ease-in-out infinite; }
.windows rect:nth-child(2n) { animation-delay: 1.3s; }
.windows rect:nth-child(3n) { animation-delay: 2.1s; }
.energy-line { stroke-dasharray: 14 22; opacity: .75; animation: flow 6s linear infinite; filter: drop-shadow(0 0 4px #00D9FF); }
.energy-line.l2 { animation-duration: 8s; animation-direction: reverse; }
.energy-line.l3 { animation-duration: 10s; opacity: .45; }
.energy-glow { animation: pulse 3s ease-in-out infinite; }
.fog {
  position: absolute; left: -10%; width: 120%; height: 40%; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(138,150,170,.16), transparent 65%);
  filter: blur(20px);
}
.fog-1 { bottom: 4%; animation: drift 38s linear infinite; }
.fog-2 { bottom: 18%; opacity: .6; animation: drift 52s linear infinite reverse; }
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.lightning {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse 60% 50% at 72% 22%, rgba(0,217,255,.35), transparent 70%);
  mix-blend-mode: screen;
}
.lightning.is-flash { animation: flash .9s ease-out; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,10,18,.92) 0%, rgba(7,10,18,.7) 35%, rgba(7,10,18,.05) 70%),
    linear-gradient(0deg, var(--c-black) 0%, transparent 25%);
}
.hero-content { position: relative; max-width: var(--container); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--c-cyan); font: 700 .78rem var(--font-body); letter-spacing: .28em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, transparent, var(--c-cyan)); box-shadow: 0 0 8px var(--c-cyan); }
.hero-title { margin: 1rem 0 1.25rem; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; }
.hero-title-sm { display: block; font-size: clamp(1.15rem, 2.6vw, 1.8rem); letter-spacing: .14em; color: var(--c-metal); font-weight: 700; }
.hero-title-lg { display: block; font-size: clamp(2.1rem, 5.4vw, 4.3rem); line-height: 1.02; letter-spacing: .01em; margin-top: .3rem; }
.hero-sub { max-width: 54ch; font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: var(--c-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.hero-tags li {
  padding: .35rem .8rem; border: 1px solid var(--c-line); border-radius: 999px;
  font-size: .8rem; color: var(--c-muted); background: rgba(11,20,40,.5); backdrop-filter: blur(4px);
}
.scroll-cue { position: absolute; left: 50%; bottom: 1.6rem; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--c-line-strong); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--c-cyan); animation: cue 1.8s ease-in-out infinite; }

/* Animación de entrada de la portada */
.hero .reveal { transition-duration: .9s; }
.hero .reveal:nth-child(2) { transition-delay: .12s; }
.hero .reveal:nth-child(3) { transition-delay: .24s; }
.hero .reveal:nth-child(4) { transition-delay: .36s; }
.hero .reveal:nth-child(5) { transition-delay: .48s; }

@media (max-width: 760px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
}

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-title { font: 900 clamp(1.9rem, 4.2vw, 3rem)/1.1 var(--font-display); text-transform: uppercase; margin: .7rem 0 1rem; letter-spacing: .01em; }
.section-lead { color: var(--c-muted); font-size: 1.06rem; max-width: 64ch; }
.section-lead strong { color: var(--c-white); }
.section-custom, .section-process {
  background:
    radial-gradient(ellipse 60% 50% at 85% 0%, rgba(23,105,255,.16), transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(0,217,255,.08), transparent 70%),
    var(--c-navy);
  border-block: 1px solid var(--c-line);
}
.section-plans { background: linear-gradient(180deg, var(--c-black), #091022 50%, var(--c-black)); }
.section::before { /* línea de energía divisoria */
  content: ""; position: absolute; top: 0; left: 50%; width: min(60%, 600px); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--c-cyan), transparent); opacity: .35;
}
.hero + .section::before { display: none; }

/* ---------- Tarjetas base ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 1.6rem; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(19,36,71,.55), rgba(11,20,40,.75));
  border: 1px solid var(--c-line);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  overflow: hidden;
}
.card::before { /* brillo que sigue al cursor */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(0,217,255,.13), transparent 60%);
}
.card:hover { transform: translateY(-4px); border-color: var(--c-line-strong); box-shadow: 0 20px 50px -25px rgba(0,217,255,.45); }
.card:hover::before { opacity: 1; }
.card-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; margin-bottom: 1.1rem;
  color: var(--c-cyan); background: rgba(23,105,255,.14); border: 1px solid rgba(0,217,255,.25);
  box-shadow: inset 0 0 18px rgba(0,217,255,.12);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.card-icon svg { width: 28px; height: 28px; }
.card:hover .card-icon { transform: rotate(-6deg) scale(1.06); box-shadow: inset 0 0 18px rgba(0,217,255,.25), 0 0 22px -4px rgba(0,217,255,.6); }
.card h3 { font: 700 1.2rem/1.25 var(--font-display); margin-bottom: .6rem; }
.card p { color: var(--c-muted); }

/* ---------- Servicios ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1.25rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.1rem 0 1.4rem; }
.chips li { font-size: .76rem; padding: .25rem .6rem; border-radius: 6px; color: #c9d4e6; background: rgba(138,150,170,.1); border: 1px solid rgba(138,150,170,.15); }
.card-actions { display: flex; gap: .6rem; margin-top: auto; flex-wrap: wrap; }
.card-actions .btn { flex: 1 1 auto; }

/* ---------- Desarrollo custom ---------- */
.custom-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1.25rem; }
.custom-card { padding: 0; }
.custom-visual {
  position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(circle at 50% 60%, rgba(0,217,255,.22), transparent 55%),
    linear-gradient(160deg, #13244a, #070A12);
  border-bottom: 1px solid var(--c-line);
}
.custom-visual img { width: 100%; height: 100%; object-fit: cover; }
.custom-visual .rune {
  position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  border: 1px dashed rgba(0,217,255,.35); animation: spin 40s linear infinite;
}
.custom-visual .rune::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px solid rgba(23,105,255,.35); }
.custom-visual svg.art { position: relative; width: 42%; height: auto; color: var(--c-cyan); filter: drop-shadow(0 0 14px rgba(0,217,255,.7)); transition: transform .5s var(--ease); }
.custom-card:hover svg.art { transform: scale(1.12) translateY(-4px); }
.custom-label { position: absolute; left: .7rem; top: .7rem; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-metal); background: rgba(7,10,18,.7); padding: .2rem .5rem; border-radius: 4px; }
.custom-body { padding: 1.3rem 1.4rem 1.5rem; }
.custom-body h3 { font-size: 1.08rem; }
.custom-body p { font-size: .94rem; }
.section-custom .fine-print { margin-top: 1.5rem; text-align: center; }

/* ---------- Balance ---------- */
.balance-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.tabs { display: inline-flex; margin: 2rem 0 1.4rem; padding: 4px; border-radius: 12px; background: rgba(11,20,40,.8); border: 1px solid var(--c-line); }
.tab { min-width: 96px; padding: .6rem 1.2rem; border: 0; border-radius: 9px; background: transparent; color: var(--c-muted); font-weight: 700; letter-spacing: .08em; transition: background .25s, color .25s, box-shadow .25s; }
.tab[aria-selected="true"] { background: var(--c-electric); color: var(--c-white); box-shadow: 0 0 20px -4px rgba(0,217,255,.7); }
.tab-panel { animation: fadeUp .45s var(--ease); }
.check-list { display: grid; gap: .7rem; margin-bottom: 1.8rem; }
.check-list li { position: relative; padding-left: 1.9rem; color: #d3dcec; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.1rem; height: 1.1rem; border-radius: 4px;
  background: rgba(0,217,255,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300D9FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/70% no-repeat;
  border: 1px solid rgba(0,217,255,.35);
}
.method { display: grid; gap: 1rem; counter-reset: m; }
.method li {
  display: flex; gap: 1.1rem; padding: 1.3rem 1.4rem; border-radius: var(--radius);
  background: var(--c-panel); border: 1px solid var(--c-line); position: relative;
  transition: border-color .3s, transform .3s var(--ease);
}
.method li:hover { border-color: var(--c-line-strong); transform: translateX(4px); }
.method li:not(:last-child)::after { content: ""; position: absolute; left: 2.55rem; bottom: -1rem; width: 1px; height: 1rem; background: var(--c-line-strong); }
.method-n { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font: 900 .95rem var(--font-display); color: var(--c-cyan); border: 1px solid var(--c-line-strong); background: rgba(0,217,255,.07); }
.method h3 { font: 700 1.05rem var(--font-display); margin-bottom: .3rem; }
.method p { color: var(--c-muted); font-size: .95rem; }
@media (max-width: 900px) { .balance-wrap { grid-template-columns: 1fr; } }

/* ---------- Planes ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.plan { padding: 2rem 1.7rem; }
.plan.is-featured { border-color: var(--c-line-strong); background: linear-gradient(180deg, rgba(23,105,255,.22), rgba(11,20,40,.85)); box-shadow: 0 0 0 1px rgba(0,217,255,.2), 0 30px 70px -35px rgba(0,217,255,.6); }
.plan-badge { position: absolute; top: 1rem; right: 1rem; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; color: var(--c-black); background: var(--c-cyan); }
.plan h3 { font-size: 1.35rem; letter-spacing: .04em; margin-bottom: .3rem; padding-right: 5rem; }
.plan-tag { color: var(--c-cyan) !important; font-size: .92rem; margin-bottom: 1rem; }
.plan-desc { margin-bottom: 1.2rem; }
.plan .check-list { margin-bottom: 1.2rem; font-size: .95rem; }
.plan-meta { display: grid; gap: .7rem; margin-bottom: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--c-line); font-size: .9rem; }
.plan-meta dt { font-weight: 700; color: var(--c-white); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.plan-meta dd { margin: .15rem 0 0; color: var(--c-muted); }
.plan .btn { margin-top: auto; }
@media (max-width: 960px) { .plans-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- Portafolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter {
  padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--c-line); background: rgba(11,20,40,.6);
  color: var(--c-muted); font-weight: 600; font-size: .86rem; transition: all .25s;
}
.filter:hover { color: var(--c-white); border-color: var(--c-line-strong); }
.filter[aria-pressed="true"] { color: var(--c-white); background: var(--c-electric); border-color: var(--c-cyan); box-shadow: 0 0 18px -4px rgba(0,217,255,.7); }
.filter .count { opacity: .7; font-size: .75em; margin-left: .3rem; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.project { padding: 0; animation: fadeUp .45s var(--ease) both; }
.project[hidden] { display: none; }
.project-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(150deg, #13244a, #070A12); border-bottom: 1px solid var(--c-line); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project:hover .project-media img { transform: scale(1.06); }
.placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: .6rem; text-align: center;
  color: var(--c-metal); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  background:
    repeating-linear-gradient(45deg, rgba(138,150,170,.05) 0 12px, transparent 12px 24px),
    radial-gradient(circle at 50% 45%, rgba(23,105,255,.25), transparent 60%);
}
.placeholder svg { width: 52px; height: 52px; color: var(--c-cyan); opacity: .85; }
.tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .22rem .55rem; border-radius: 5px; vertical-align: middle; }
.tag-cat { background: rgba(23,105,255,.2); color: #9cc0ff; border: 1px solid rgba(23,105,255,.4); }
.tag-sample { background: rgba(255,196,0,.14); color: #ffd659; border: 1px solid rgba(255,196,0,.35); }
.project-tags { position: absolute; left: .8rem; top: .8rem; display: flex; gap: .4rem; }
.project-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { font-size: 1.05rem; }
.project-body p { font-size: .94rem; margin-bottom: 1rem; }
.project-body .btn { margin-top: auto; align-self: flex-start; }
.empty-state { text-align: center; color: var(--c-metal); padding: 2rem; border: 1px dashed var(--c-line); border-radius: var(--radius); }

/* ---------- Proceso ---------- */
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; counter-reset: p; position: relative; }
.process::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--c-electric), var(--c-cyan), var(--c-electric)); opacity: .4; }
.process li { position: relative; text-align: center; padding: 0 .3rem; }
.process-n {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%;
  font: 900 1rem var(--font-display); color: var(--c-white);
  background: radial-gradient(circle, #1a3a7a, var(--c-navy)); border: 1px solid var(--c-cyan);
  box-shadow: 0 0 22px -4px rgba(0,217,255,.6);
}
.process h3 { font: 700 1rem var(--font-display); margin-bottom: .4rem; }
.process p { color: var(--c-muted); font-size: .9rem; }
@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; gap: 1.2rem; }
  .process::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--c-electric), var(--c-cyan)); }
  .process li { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.1rem; text-align: left; padding: 0; }
  .process-n { grid-row: span 2; margin: 0; }
  .process h3 { align-self: end; }
}

/* ---------- FAQ ---------- */
.accordion { display: grid; gap: .7rem; }
.acc-item { border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-panel); transition: border-color .3s; }
.acc-item.is-open { border-color: var(--c-line-strong); }
.acc-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left;
  padding: 1.15rem 1.3rem; border: 0; background: none; font-weight: 600; font-size: 1.02rem; color: var(--c-white);
}
.acc-trigger:hover { color: var(--c-cyan); }
.acc-icon { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--c-line-strong); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; background: var(--c-cyan); transition: transform .3s var(--ease); }
.acc-icon::after { transform: rotate(90deg); }
.acc-item.is-open .acc-icon::after { transform: rotate(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 1.3rem 1.25rem; color: var(--c-muted); }

/* ---------- Contacto y formulario ---------- */
.section-contact { background: radial-gradient(ellipse 60% 60% at 100% 100%, rgba(23,105,255,.16), transparent 70%), var(--c-black); }
.contact-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-channels { display: grid; gap: .7rem; margin: 2rem 0; }
.channel {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: 12px;
  background: var(--c-panel); border: 1px solid var(--c-line); color: var(--c-white); transition: border-color .25s, transform .25s var(--ease);
}
.channel:hover { border-color: var(--c-line-strong); transform: translateX(4px); color: var(--c-white); }
.channel .ico { width: 28px; height: 28px; color: var(--c-cyan); }
.channel span { display: flex; flex-direction: column; line-height: 1.3; }
.channel small { color: var(--c-muted); font-size: .85rem; word-break: break-all; }
.channel.is-pending { opacity: .65; cursor: default; }
.channel.is-pending:hover { transform: none; border-color: var(--c-line); }
.safety-note { padding: 1rem 1.2rem; border-radius: 12px; border: 1px solid rgba(255,196,0,.3); background: rgba(255,196,0,.06); color: #e9dcae; font-size: .92rem; margin-bottom: 1rem; }
.safety-note strong { color: #ffd659; }

.quote-form { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 18px; background: linear-gradient(180deg, rgba(19,36,71,.7), rgba(11,20,40,.9)); border: 1px solid var(--c-line-strong); box-shadow: 0 30px 80px -40px rgba(0,217,255,.45); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; border: 0; padding: 0; margin: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .9rem; color: #dbe3f1; padding: 0; }
.req { color: var(--c-cyan); }
.opt { color: var(--c-metal); font-weight: 400; font-size: .82rem; }
.field input:not([type="radio"]), .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; border-radius: 10px; border: 1px solid rgba(138,150,170,.3);
  background: rgba(7,10,18,.7); color: var(--c-white); transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300D9FF' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px; padding-right: 2.5rem; }
.field select option { background: var(--c-navy); }
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #66728a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-cyan); box-shadow: 0 0 0 3px rgba(0,217,255,.18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--c-error); }
.error { color: var(--c-error); font-size: .84rem; min-height: 0; }
.error:empty { display: none; }
.hint { color: var(--c-metal); font-size: .8rem; }
.radios { display: flex; flex-wrap: wrap; gap: .5rem; }
.field .radio { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border-radius: 10px; border: 1px solid rgba(138,150,170,.3); background: rgba(7,10,18,.7); cursor: pointer; font-weight: 500 !important; }
.radio:has(input:checked) { border-color: var(--c-cyan); background: rgba(23,105,255,.2); }
.radio input { accent-color: var(--c-cyan); width: 16px; height: 16px; margin: 0; }
.hp { position: absolute; left: -9999px; }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.form-actions .btn { flex: 1 1 220px; }
.form-help { margin-top: 1rem; font-size: .88rem; color: var(--c-muted); }
.form-status { margin-top: 1rem; }
.form-status:empty { display: none; }
.form-status .msg { padding: .9rem 1.1rem; border-radius: 10px; font-size: .92rem; }
.msg-ok { border: 1px solid rgba(59,230,161,.4); background: rgba(59,230,161,.08); color: #b8f7dc; }
.msg-err { border: 1px solid rgba(255,107,129,.45); background: rgba(255,107,129,.08); color: #ffc4cd; }
.msg-info { border: 1px solid var(--c-line-strong); background: rgba(0,217,255,.07); color: #c8f4ff; }
@media (max-width: 960px) { .contact-wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--c-line); background: #05070d; padding: 3.5rem 0 6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-brand img { width: 56px; height: 56px; margin-bottom: 1rem; filter: drop-shadow(0 0 10px rgba(0,217,255,.4)); }
.footer-brand p { color: var(--c-muted); font-size: .92rem; max-width: 40ch; }
.footer-brand strong { color: var(--c-white); font-family: var(--font-display); letter-spacing: .04em; }
.footer-title { font: 700 .8rem var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--c-cyan); margin-bottom: 1rem; }
.footer-links { display: grid; gap: .5rem; }
.footer-links a { color: var(--c-muted); }
.footer-links a:hover { color: var(--c-white); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--c-line); display: grid; gap: .4rem; color: var(--c-metal); font-size: .86rem; }
.team-badge { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.2rem; padding: .45rem .8rem .45rem .45rem; border: 1px solid var(--c-line); border-radius: 999px; font: 700 .78rem var(--font-body); letter-spacing: .14em; color: var(--c-white); }
.team-badge img { width: auto; height: 46px; max-width: 220px; object-fit: contain; margin: 0; filter: drop-shadow(0 0 10px rgba(23,105,255,.45)); }
.team-badge span:empty { display: none; }
.team-badge { padding: .35rem .6rem; border-radius: 12px; background: rgba(7,10,18,.6); }
.team-badge[hidden] { display: none; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Botones sociales ---------- */
.social-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.social-btn {
  display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1rem; border-radius: 12px; min-height: 48px;
  border: 1px solid var(--c-line); background: rgba(11,20,40,.7); color: var(--c-white); font-weight: 600; font-size: .9rem;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s, background .25s;
}
.social-btn svg { width: 22px; height: 22px; flex: none; }
.social-btn:hover { transform: translateY(-2px); border-color: var(--brand, var(--c-cyan)); box-shadow: 0 0 22px -6px var(--brand, var(--c-cyan)); color: var(--c-white); }
.social-btn small { display: block; font-size: .7rem; font-weight: 500; color: var(--c-metal); letter-spacing: .04em; }
.social-btn.is-pending { opacity: .55; cursor: default; }
.social-btn.is-pending:hover { transform: none; box-shadow: none; border-color: var(--c-line); }
.sb-whatsapp { --brand: #25D366; } .sb-whatsapp svg { color: #25D366; }
.sb-discord { --brand: #5865F2; } .sb-discord svg { color: #8c95ff; }
.sb-facebook { --brand: #1877F2; } .sb-facebook svg { color: #4f9bff; }
.sb-tiktok { --brand: #FE2C55; } .sb-tiktok svg { color: #f4f7ff; filter: drop-shadow(1.5px 1px 0 #FE2C55) drop-shadow(-1.5px -1px 0 #25F4EE); }
.sb-youtube { --brand: #FF0000; } .sb-youtube svg { color: #ff4040; }
.sb-forum { --brand: var(--c-cyan); } .sb-forum svg { color: var(--c-cyan); }

/* ---------- Botones flotantes ---------- */
.floating { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90; display: flex; flex-direction: column; gap: .7rem; align-items: center; }
.fab {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  color: #fff; box-shadow: 0 10px 25px -8px rgba(0,0,0,.8); transition: transform .25s var(--ease), box-shadow .25s, opacity .3s;
}
.fab svg { width: 28px; height: 28px; }
.fab:hover { transform: scale(1.08); color: #fff; }
.fab-wa { background: #1fae54; box-shadow: 0 0 0 0 rgba(37,211,102,.5), 0 10px 25px -8px rgba(0,0,0,.8); animation: ring 2.8s ease-out infinite; }
.fab-discord { background: #5865F2; width: 48px; height: 48px; }
.fab-discord svg { width: 24px; height: 24px; }
.fab-top { width: 42px; height: 42px; background: rgba(11,20,40,.9); border: 1px solid var(--c-line-strong); opacity: 0; pointer-events: none; }
.fab-top svg { width: 20px; height: 20px; }
.fab-top.is-visible { opacity: 1; pointer-events: auto; }
.fab.is-pending { filter: grayscale(.8); opacity: .65; animation: none; }

/* ---------- Ventanas modales ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3,5,10,.72); backdrop-filter: blur(6px); animation: fadeIn .3s ease; }
.modal-card {
  position: relative; width: min(100%, 520px); max-height: calc(100dvh - 2rem); overflow-y: auto;
  padding: 2.2rem 1.8rem 1.8rem; border-radius: 18px;
  background: linear-gradient(180deg, rgba(19,36,71,.92), rgba(7,10,18,.95));
  border: 1px solid rgba(0,217,255,.45);
  box-shadow: 0 0 0 1px rgba(23,105,255,.25), 0 0 60px -10px rgba(0,217,255,.45), 0 40px 100px -30px #000;
  animation: popIn .45s var(--ease);
}
.modal-card::before { content: ""; position: absolute; inset: 0 20% auto; height: 2px; background: linear-gradient(90deg, transparent, var(--c-cyan), transparent); }
.modal-close { position: absolute; top: .8rem; right: .8rem; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--c-line); background: rgba(7,10,18,.6); color: var(--c-white); transition: border-color .2s, transform .2s; }
.modal-close:hover { border-color: var(--c-cyan); transform: rotate(90deg); }
.modal-close svg { width: 20px; height: 20px; }
.modal-social { text-align: center; }
.modal-emblem { width: 72px; height: 72px; margin: 0 auto 1rem; filter: drop-shadow(0 0 16px rgba(0,217,255,.6)); animation: floaty 5s ease-in-out infinite; }
.team-badge-modal { margin: 0 auto 1rem; }
.modal-social h2 { font: 900 clamp(1.3rem, 4vw, 1.65rem)/1.2 var(--font-display); text-transform: uppercase; margin-bottom: .7rem; }
.modal-social > p { color: var(--c-muted); margin-bottom: 1.5rem; }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; text-align: left; }
.social-grid .social-btn:last-child:nth-child(odd) { grid-column: 1 / -1; justify-content: center; }
@media (max-width: 400px) { .social-grid { grid-template-columns: 1fr; } }
.modal-detail { width: min(100%, 680px); }
.detail-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.2rem; padding-right: 3rem; }
.detail-head .card-icon { margin: 0; }
.detail-head h2 { font: 900 1.4rem/1.2 var(--font-display); }
.detail-summary { color: var(--c-muted); margin-bottom: 1.4rem; }
.detail-block { margin-bottom: 1.3rem; }
.detail-block h3 { font: 700 .78rem var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--c-cyan); margin-bottom: .6rem; }
.detail-block p { color: #d3dcec; }
.detail-block .check-list { margin: 0; }
.detail-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
body.modal-open { overflow: hidden; }

/* ---------- Aparición al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes flicker { 0%, 100% { opacity: .9; } 45% { opacity: .35; } 55% { opacity: 1; } }
@keyframes flow { to { stroke-dashoffset: -360; } }
@keyframes pulse { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
@keyframes drift { from { transform: translateX(-8%); } to { transform: translateX(8%); } }
@keyframes flash { 0% { opacity: 0; } 8% { opacity: 1; } 16% { opacity: .2; } 24% { opacity: .8; } 100% { opacity: 0; } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5), 0 10px 25px -8px rgba(0,0,0,.8); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37,211,102,0), 0 10px 25px -8px rgba(0,0,0,.8); } }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-particles, .lightning { display: none; }
}

/* =====================================================================
   BARRA SUPERIOR (equipo)
   ===================================================================== */
.site-header.has-topbar { --topbar-h: 34px; }
.site-header.has-topbar.is-scrolled { --topbar-h: 0px; }
body:has(.site-header.has-topbar) { --topbar-space: 34px; }
.topbar {
  height: var(--topbar-h); overflow: hidden; transition: height .3s var(--ease), opacity .3s;
  background: linear-gradient(90deg, rgba(23,105,255,.22), rgba(0,217,255,.08) 50%, rgba(23,105,255,.22));
  border-bottom: 1px solid rgba(0,217,255,.18);
  font-size: .8rem; color: var(--c-muted);
}
.site-header.is-scrolled .topbar { opacity: 0; }
.topbar-inner { height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar p { display: flex; align-items: center; gap: .45rem; white-space: nowrap; min-width: 0; }
.topbar .ico { width: 15px; height: 15px; color: var(--c-cyan); }
.topbar strong { color: var(--c-white); font-weight: 700; letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; }
.topbar-right { gap: 1rem !important; }
.topbar-right > span { font: 700 .72rem var(--font-display); letter-spacing: .16em; color: #e9c46a; text-shadow: 0 0 10px rgba(233,196,106,.35); }
.topbar-right a { display: inline-flex; align-items: center; gap: .35rem; color: var(--c-muted); }
.topbar-right a:hover { color: var(--c-white); }
@media (max-width: 760px) {
  .topbar-right, .topbar-label { display: none !important; }
  .topbar-inner { justify-content: center; }
}

/* =====================================================================
   PORTADA: PERSONAJES DE MU ONLINE
   ===================================================================== */
.hero-heroes {
  position: absolute; z-index: 1; right: -1vw; bottom: 3vh;
  width: min(92vw, calc(56vh * 3.24), 1500px); aspect-ratio: 1984 / 612;
  pointer-events: none; transition: translate .6s var(--ease);
}
.heroes-frame {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
          mask-composite: intersect;
}
.heroes-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.12) contrast(1.06) drop-shadow(0 0 30px rgba(0,217,255,.25));
  transform-origin: 50% 85%;
  animation: heroesBreath 18s ease-in-out infinite alternate;
  transition: filter .25s;
}
.hero.is-struck .heroes-img { animation: heroesBreath 18s ease-in-out infinite alternate, struck .9s ease-out; }
/* Destello de luz que recorre a los personajes */
.heroes-sweep {
  position: absolute; inset: -10% -30%; mix-blend-mode: screen; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(0,217,255,.0) 44%, rgba(160,230,255,.28) 50%, rgba(0,217,255,.0) 56%, transparent 60%);
  transform: translateX(-60%); animation: sweep 7.5s cubic-bezier(.6,.05,.3,1) infinite 1.5s;
}
/* Rayos de luz desde arriba */
.heroes-rays {
  position: absolute; left: 10%; right: 10%; top: -55%; bottom: 25%; pointer-events: none; mix-blend-mode: screen; opacity: .55;
  background:
    conic-gradient(from 180deg at 50% 0%, transparent 0deg 150deg, rgba(0,217,255,.18) 160deg, transparent 166deg, rgba(23,105,255,.22) 174deg, transparent 182deg, rgba(0,217,255,.16) 192deg, transparent 200deg 360deg);
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 40%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0, #000 40%, transparent 100%);
  filter: blur(6px); animation: rays 9s ease-in-out infinite alternate;
}
/* Resplandor del suelo bajo los personajes */
.heroes-ground {
  position: absolute; left: 6%; right: 6%; bottom: 2%; height: 26%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0,217,255,.35), rgba(23,105,255,.15) 45%, transparent 70%);
  filter: blur(8px); animation: pulse 4s ease-in-out infinite;
}
/* Reflejo en el suelo */
.heroes-reflection {
  position: absolute; left: 0; top: 96%; width: 100%; height: 55%; object-fit: cover; object-position: bottom;
  transform: scaleY(-1); opacity: .22; filter: blur(2px) saturate(1.3);
  -webkit-mask-image: linear-gradient(0deg, transparent 0, rgba(0,0,0,.9) 0%, transparent 70%), linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(180deg, transparent 30%, #000 100%), linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
          mask-composite: intersect;
  pointer-events: none;
}
/* Logo THE KING TEAM */
.hero-team-logo {
  position: absolute; z-index: 2; right: clamp(1rem, 6vw, 7rem); top: calc(var(--header-h) + var(--topbar-space, 0px) + 1.2rem);
  width: clamp(220px, 26vw, 400px);
  animation: floaty 7s ease-in-out infinite; transition: translate .6s var(--ease);
}
.hero-team-logo img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 0 18px rgba(23,105,255,.55)) drop-shadow(0 8px 20px rgba(0,0,0,.7)); }
.hero-team-logo[hidden] { display: none; }
.team-halo { position: absolute; left: 20%; top: 50%; width: 46%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(0,217,255,.35), rgba(23,105,255,.12) 45%, transparent 70%); }
.team-halo::before, .team-halo::after { content: ""; position: absolute; inset: -18%; border-radius: 50%; border: 1.5px dashed rgba(0,217,255,.45); animation: spin 40s linear infinite; }
.team-halo::after { inset: -2%; border: 1px solid rgba(23,105,255,.4); border-style: solid; animation: none; }
.hero-heroes { width: min(96vw, 1500px); right: 2vw; bottom: 1.5vh; }
.hero .btn-ghost { background: rgba(7,10,18,.55); backdrop-filter: blur(4px); border-color: var(--c-line); }
@media (min-width: 1081px) { .hero { min-height: max(100svh, 900px); } }
.hero-scrim {
  background:
    linear-gradient(90deg, rgba(7,10,18,.94) 0%, rgba(7,10,18,.78) 30%, rgba(7,10,18,.15) 58%, transparent 75%),
    linear-gradient(0deg, var(--c-black) 0%, transparent 18%);
}
.hero-content { z-index: 3; }
.fog-1 { z-index: 2; }

@keyframes heroesBreath { from { transform: scale(1); } to { transform: scale(1.045); } }
@keyframes sweep { 0% { transform: translateX(-60%); } 55%, 100% { transform: translateX(60%); } }
@keyframes rays { from { opacity: .35; transform: rotate(-2deg); } to { opacity: .65; transform: rotate(2deg); } }
@keyframes struck { 0% { filter: saturate(1.12) contrast(1.06) brightness(1); } 10% { filter: saturate(1.4) contrast(1.15) brightness(1.7); } 25% { filter: saturate(1.2) brightness(1.1); } 35% { filter: saturate(1.35) brightness(1.45); } 100% { filter: saturate(1.12) contrast(1.06) brightness(1); } }

@media (max-width: 1080px) {
  .hero { --hh: min(46vw, 340px); --lw: clamp(200px, 50vw, 300px); align-items: flex-start; padding-top: calc(var(--header-h) + var(--topbar-space, 0px) + var(--hh) + var(--lw) * .247 + 1.5rem); padding-bottom: 4rem; }
  .hero-heroes { right: auto; left: 50%; margin-left: calc(min(150vw, 1100px) / -2); width: min(150vw, 1100px); bottom: auto; top: calc(var(--header-h) + var(--topbar-space, 0px) + .5rem); }
  .hero-team-logo { right: auto; left: 50%; margin-left: calc(var(--lw) / -2); width: var(--lw); top: calc(var(--header-h) + var(--topbar-space, 0px) + var(--hh) - .5rem); animation: none; }
  .hero-scrim { background: linear-gradient(0deg, rgba(7,10,18,.97) 0%, rgba(7,10,18,.88) 42%, rgba(7,10,18,.1) 65%, transparent 80%); }
}
@media (max-width: 1080px) { .hero { min-height: 0; } .scroll-cue { display: none; } }
@media (max-width: 760px) {
  .hero { --hh: 54vw; --lw: 64vw; }
  .hero-heroes { width: 175vw; margin-left: -87.5vw; }
}
@media (prefers-reduced-motion: reduce) {
  .heroes-sweep, .heroes-rays { display: none; }
}

/* ---------- Ajustes: etiquetas de portada legibles + acciones de proyecto ---------- */
.hero-tags li {
  color: #e6edfa; font-weight: 600;
  background: linear-gradient(180deg, rgba(19,36,71,.92), rgba(7,10,18,.92));
  border: 1px solid rgba(0,217,255,.38);
  box-shadow: 0 0 0 1px rgba(7,10,18,.6), 0 6px 18px -6px rgba(0,0,0,.9), inset 0 0 12px rgba(0,217,255,.08);
  backdrop-filter: blur(8px);
  text-shadow: 0 1px 2px #000;
}
.project-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.project-actions .btn { align-self: auto; margin: 0; }
.project-media img { object-position: top center; }

/* =====================================================================
   PORTADA: NUEVO FONDO A PANTALLA COMPLETA
   ===================================================================== */
.hero-heroes { display: none; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; transition: translate .6s var(--ease); }
.hero-bg picture, .hero-bg-img { position: absolute; inset: -2%; width: 104%; height: 104%; }
.hero-bg-img {
  object-fit: cover; object-position: 62% 38%;
  filter: saturate(1.08) contrast(1.04) brightness(.92);
  animation: heroesBreath 26s ease-in-out infinite alternate;
  transform-origin: 60% 60%;
}
.hero.is-struck .hero-bg-img { animation: heroesBreath 26s ease-in-out infinite alternate, struckBg .9s ease-out; }
.hero-bg .heroes-sweep { inset: 0 -30%; opacity: .7; }
.hero-sky { display: none; }
.hero-svg { opacity: 0; }
.hero-scrim {
  background:
    linear-gradient(90deg, rgba(5,8,16,.93) 0%, rgba(5,8,16,.82) 30%, rgba(5,8,16,.35) 55%, rgba(5,8,16,0) 75%),
    linear-gradient(180deg, rgba(5,8,16,.65) 0%, rgba(5,8,16,0) 22%),
    linear-gradient(0deg, var(--c-black) 0%, rgba(7,10,18,.55) 14%, transparent 34%);
}
.fog { opacity: .55; }
@keyframes struckBg { 0% { filter: saturate(1.08) contrast(1.04) brightness(.92); } 12% { filter: saturate(1.3) contrast(1.1) brightness(1.35); } 30% { filter: saturate(1.1) brightness(1); } 40% { filter: saturate(1.25) brightness(1.2); } 100% { filter: saturate(1.08) contrast(1.04) brightness(.92); } }
@media (max-width: 1080px) {
  .hero { padding-top: calc(var(--header-h) + var(--topbar-space, 0px) + var(--hh) + var(--lw) * .247 + 1.5rem); }
  .hero-bg { bottom: auto; height: calc(var(--header-h) + var(--topbar-space, 0px) + var(--hh) + var(--lw) * .247 + 4rem); }
  .hero-bg-img { object-position: 55% 45%; }
  .hero-scrim { background: linear-gradient(180deg, rgba(5,8,16,.55) 0%, rgba(5,8,16,0) 18%, rgba(5,8,16,0) 40%, rgba(7,10,18,.92) 62%, var(--c-black) 75%); }
}

/* Aviso de producto en la portada */
.hero-promo {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem;
  padding: .35rem .9rem .35rem .35rem; border-radius: 999px;
  background: rgba(7,10,18,.72); border: 1px solid rgba(0,217,255,.4); backdrop-filter: blur(8px);
  color: #dfe8f7; font-size: .85rem; font-weight: 600;
  box-shadow: 0 0 24px -8px rgba(0,217,255,.6);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.hero-promo span { padding: .2rem .55rem; border-radius: 999px; background: linear-gradient(135deg, var(--c-electric), var(--c-cyan)); color: #fff; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.hero-promo .ico { width: 15px; height: 15px; color: var(--c-cyan); }
.hero-promo:hover { color: #fff; border-color: var(--c-cyan); box-shadow: 0 0 30px -6px rgba(0,217,255,.85); transform: translateY(-1px); }
.hero-content .hero-promo { display: inline-flex; }

/* Enlace destacado en el menú */
.nav-app { color: #e6f7ff; }
.nav-new { margin-left: .35rem; padding: .08rem .38rem; border-radius: 5px; font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #04121c; background: var(--c-cyan); vertical-align: 2px; box-shadow: 0 0 10px rgba(0,217,255,.6); }

/* =====================================================================
   MU ADMIN STUDIO
   ===================================================================== */
.section-app { overflow: hidden; background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(23,105,255,.22), transparent 70%), linear-gradient(180deg, #050812 0%, #07102a 45%, #050812 100%); border-block: 1px solid rgba(0,217,255,.2); }
.app-backdrop { position: absolute; inset: 0; pointer-events: none; }
.app-grid { position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(0,217,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0,217,255,.08) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%); }
.app-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.app-orb-1 { width: 520px; height: 520px; right: -140px; top: 60px; background: rgba(23,105,255,.45); animation: floaty 12s ease-in-out infinite; }
.app-orb-2 { width: 420px; height: 420px; left: -160px; top: 46%; background: rgba(0,217,255,.25); animation: floaty 14s ease-in-out infinite reverse; }
.section-app .container { position: relative; }

.app-hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.app-badge { display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .85rem; border-radius: 999px; border: 1px solid rgba(0,217,255,.4); background: rgba(0,217,255,.08); color: var(--c-cyan); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.app-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-cyan); box-shadow: 0 0 10px var(--c-cyan); animation: pulse 2s ease-in-out infinite; }
.app-title { margin: 1rem 0 .6rem; font: 900 clamp(2.4rem, 5.6vw, 4.4rem)/1 var(--font-display); letter-spacing: .02em; }
.app-title span { display: inline-block; }
.app-title-accent { background: linear-gradient(100deg, var(--c-cyan), #7fb2ff 45%, var(--c-electric)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(0,217,255,.45)); }
.app-sub { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: #e8eefb; font-weight: 600; margin-bottom: .9rem; max-width: 34ch; }
.app-desc { color: var(--c-muted); max-width: 52ch; }
.app-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.btn-lg { min-height: 54px; padding: .95rem 1.6rem; font-size: .92rem; }
.app-note { margin-top: .8rem; font-size: .84rem; color: var(--c-metal); }
.app-specs { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.5rem; }
.app-specs li { padding: .3rem .7rem; border-radius: 6px; font-size: .78rem; color: #c9d4e6; border: 1px solid var(--c-line); background: rgba(11,20,40,.6); }
.app-sign { display: flex; align-items: center; gap: .8rem; margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid var(--c-line); font-size: .8rem; letter-spacing: .06em; color: var(--c-metal); }
.app-sign img { width: 120px; height: auto; filter: drop-shadow(0 0 8px rgba(23,105,255,.5)); }
.app-sign strong { color: #e9c46a; letter-spacing: .12em; }

/* Ventana del programa */
.app-shot { position: relative; margin: 0; perspective: 1600px; }
.app-window {
  display: block; position: relative; width: 100%; padding: 0; border-radius: 12px; overflow: hidden; text-align: left;
  background: #0a1120; border: 1px solid rgba(0,217,255,.35);
  box-shadow: 0 0 0 1px rgba(23,105,255,.25), 0 0 60px -10px rgba(0,217,255,.5), 0 40px 80px -30px #000;
}
.app-shot .app-window { transform: rotateY(-9deg) rotateX(4deg); transform-origin: 30% 50%; transition: transform .8s var(--ease), box-shadow .5s; }
.app-shot:hover .app-window { transform: rotateY(0) rotateX(0); box-shadow: 0 0 0 1px rgba(0,217,255,.5), 0 0 90px -10px rgba(0,217,255,.7), 0 40px 80px -30px #000; }
.app-window::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(150,220,255,.12) 50%, transparent 65%); transform: translateX(-100%); animation: sweep 9s cubic-bezier(.6,.05,.3,1) infinite 2s; }
.app-window-bar { display: flex; align-items: center; gap: .4rem; height: 32px; padding: 0 .8rem; background: linear-gradient(180deg, #121c33, #0b1326); border-bottom: 1px solid rgba(0,217,255,.18); font-size: .72rem; color: var(--c-metal); letter-spacing: .04em; }
.app-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3550; }
.app-window-bar i:nth-child(1) { background: #ff5f57; } .app-window-bar i:nth-child(2) { background: #febc2e; } .app-window-bar i:nth-child(3) { background: #28c840; }
.app-window-bar span { margin-left: .6rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-window img { display: block; width: 100%; height: auto; transition: opacity .16s; }
.app-float {
  position: absolute; display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .85rem; border-radius: 10px;
  font-size: .8rem; font-weight: 600; color: #e6f2ff; white-space: nowrap;
  background: rgba(7,12,26,.88); border: 1px solid rgba(0,217,255,.45); backdrop-filter: blur(8px);
  box-shadow: 0 0 24px -6px rgba(0,217,255,.6), 0 12px 30px -12px #000;
  animation: floaty 6s ease-in-out infinite;
}
.app-float .ico { width: 18px; height: 18px; color: var(--c-cyan); }
.app-float-1 { left: -4%; bottom: 14%; }
.app-float-2 { right: -2%; top: -6%; animation-delay: -2s; }
.app-float-3 { right: 6%; bottom: -6%; animation-delay: -4s; }

.app-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: clamp(3rem, 6vw, 5rem) 0; }
.app-stats li { padding: 1.3rem 1.4rem; border-radius: var(--radius); background: linear-gradient(180deg, rgba(19,36,71,.55), rgba(11,20,40,.7)); border: 1px solid var(--c-line); }
.app-stats strong { display: block; font: 900 clamp(1.5rem, 2.6vw, 2.1rem)/1.1 var(--font-display); background: linear-gradient(100deg, #fff, var(--c-cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.app-stats span { color: var(--c-muted); font-size: .9rem; }

.app-head { margin-top: 1rem; }
.app-head .section-title { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
.app-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.app-feat { padding: 1.4rem; }
.app-feat h4 { font: 700 1.08rem/1.25 var(--font-display); margin-bottom: .5rem; }
.app-feat p { font-size: .92rem; }
.app-feat .card-icon { width: 46px; height: 46px; margin-bottom: .9rem; }
.app-feat .card-icon svg { width: 24px; height: 24px; }
.feat-tag { display: inline-block; margin-top: .9rem; align-self: flex-start; padding: .22rem .55rem; border-radius: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: #9fd8ff; background: rgba(23,105,255,.16); border: 1px solid rgba(23,105,255,.4); }

.app-gallery { margin: clamp(3rem, 6vw, 5rem) 0; }
.app-tabs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.4rem; }
.app-tab { padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--c-line); background: rgba(11,20,40,.7); color: var(--c-muted); font-weight: 600; font-size: .88rem; transition: all .25s; }
.app-tab:hover { color: #fff; border-color: var(--c-line-strong); }
.app-tab[aria-selected="true"] { color: #fff; background: var(--c-electric); border-color: var(--c-cyan); box-shadow: 0 0 18px -4px rgba(0,217,255,.7); }
.app-stage { margin: 0 auto; max-width: 1080px; }
.app-window-zoom { cursor: zoom-in; }
.app-window-zoom:hover { box-shadow: 0 0 0 1px rgba(0,217,255,.6), 0 0 90px -10px rgba(0,217,255,.7), 0 40px 80px -30px #000; }
.app-stage figcaption { margin-top: 1rem; text-align: center; color: #d3dcec; }
.center-text { text-align: center; margin-top: .4rem; }

.app-pricing { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.4rem; max-width: 1000px; margin: 0 auto; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 2rem 1.8rem; border-radius: 18px; background: linear-gradient(180deg, rgba(19,36,71,.55), rgba(9,15,30,.9)); border: 1px solid var(--c-line); }
.price-card h4 { font: 900 1.5rem var(--font-display); margin: .3rem 0 1rem; }
.price-kicker { color: var(--c-cyan); font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.price-amount { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
.price-amount strong { font: 900 clamp(2.2rem, 4vw, 3rem)/1 var(--font-display); }
.price-amount span { color: var(--c-muted); font-size: .9rem; }
.price-sub { color: #e6edfa; font-weight: 600; margin-bottom: .7rem; }
.price-card .check-list { margin-bottom: 1.4rem; font-size: .95rem; }
.price-card .btn { margin-top: auto; }
.price-card.is-pro { border: 1px solid transparent; background:
  linear-gradient(180deg, rgba(23,60,140,.55), rgba(8,14,32,.96)) padding-box,
  linear-gradient(140deg, var(--c-cyan), var(--c-electric) 45%, rgba(0,217,255,.2)) border-box;
  box-shadow: 0 0 70px -20px rgba(0,217,255,.7), 0 30px 70px -30px #000; }
.price-card.is-pro .price-amount strong { background: linear-gradient(100deg, #fff, var(--c-cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 16px rgba(0,217,255,.5)); }
.price-ribbon { position: absolute; top: -12px; right: 1.4rem; padding: .3rem .8rem; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #04121c; background: linear-gradient(135deg, var(--c-cyan), #7fd9ff); box-shadow: 0 0 20px rgba(0,217,255,.7); }
.price-includes { margin: 0 0 1.4rem; padding: 1rem 1.1rem; border-radius: 12px; background: rgba(0,217,255,.06); border: 1px solid rgba(0,217,255,.22); }
.price-includes p { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--c-cyan); margin-bottom: .5rem; }
.price-includes ul { display: grid; gap: .3rem; font-size: .88rem; color: #cfdaeb; }
.price-includes li::before { content: "•"; color: var(--c-cyan); margin-right: .5rem; }
.price-fine { margin-top: .9rem; font-size: .8rem; color: var(--c-metal); text-align: center; }

.app-compare { max-width: 1000px; margin: 2.5rem auto 0; overflow-x: auto; }
.app-compare table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--c-line); border-radius: 14px; overflow: hidden; background: rgba(9,15,30,.75); font-size: .93rem; }
.app-compare caption { text-align: left; font: 700 1.05rem var(--font-display); padding: 0 0 .8rem; }
.app-compare th, .app-compare td { padding: .8rem 1rem; border-bottom: 1px solid var(--c-line); text-align: center; }
.app-compare tbody tr:last-child > * { border-bottom: 0; }
.app-compare thead th { background: rgba(19,36,71,.8); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.app-compare th[scope="row"] { text-align: left; font-weight: 500; color: #dbe3f1; }
.app-compare .col-pro { background: rgba(23,105,255,.1); color: #fff; font-weight: 600; }
.app-compare thead .col-pro { color: var(--c-cyan); background: rgba(23,105,255,.25); }
.app-compare tbody tr:hover > * { background-color: rgba(0,217,255,.05); }
.yes, .no { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; }
.yes { background: rgba(0,217,255,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300D9FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/62% no-repeat; border: 1px solid rgba(0,217,255,.45); }
.no { background: rgba(138,150,170,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A96AA' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E") center/60% no-repeat; border: 1px solid rgba(138,150,170,.25); }
.app-compare .soon { color: #ffd659; font-weight: 600; font-size: .85rem; letter-spacing: .06em; }
.app-compare .fine-print { margin-top: .9rem; }

.app-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: clamp(3rem, 6vw, 4.5rem); counter-reset: s; }
.app-steps li { position: relative; padding: 1.4rem; border-radius: var(--radius); border: 1px solid var(--c-line); background: rgba(11,20,40,.65); }
.app-steps li > span { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: .8rem; border-radius: 50%; font: 900 1rem var(--font-display); color: #fff; background: radial-gradient(circle, #1a3a7a, var(--c-navy)); border: 1px solid var(--c-cyan); box-shadow: 0 0 18px -4px rgba(0,217,255,.7); }
.app-steps h4 { font: 700 1.02rem var(--font-display); margin-bottom: .35rem; }
.app-steps p { color: var(--c-muted); font-size: .9rem; }

.modal.is-wide .modal-detail { width: min(100%, 1200px); }
.lightbox-img { width: 100%; height: auto; border-radius: 10px; border: 1px solid rgba(0,217,255,.3); }

@media (max-width: 1080px) {
  .app-hero { grid-template-columns: 1fr; }
  .app-shot { max-width: 760px; margin: 1rem auto 2rem; }
  .app-stats { grid-template-columns: repeat(2, 1fr); }
  .app-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .app-pricing { grid-template-columns: 1fr; }
  .app-float { font-size: .7rem; padding: .4rem .6rem; }
  .app-float-1 { left: 2%; bottom: -10%; } .app-float-2 { right: 0; top: -10%; } .app-float-3 { display: none; }
  .app-shot .app-window { transform: none; }
  .app-actions .btn { flex: 1 1 100%; }
  .app-compare { font-size: .85rem; }
  .app-compare th, .app-compare td { padding: .65rem .55rem; }
}
@media (max-width: 480px) {
  .app-stats, .app-steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .app-window::after { display: none; } .app-shot .app-window { transform: none; } }

/* Ajustes portada v2 */
.hero-content .hero-promo { display: flex; width: fit-content; }
.nav-link { white-space: nowrap; }
@media (min-width: 1081px) and (max-width: 1360px) {
  .nav-list { gap: 0; }
  .nav-link { padding: .55rem .5rem; font-size: .84rem; }
  .nav-link::after { left: .5rem; right: .5rem; }
  .nav-cta { margin-left: .3rem; padding-inline: .9rem; }
  .brand-line2 { font-size: .92rem; }
}
@media (min-width: 1081px) {
  .hero-bg { top: auto; height: min(100%, calc(100vw * 866 / 1817 * 1.12)); }
  .hero-bg picture, .hero-bg-img { inset: 0; width: 100%; height: 100%; }
  .hero-bg-img { object-position: 50% 100%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%); mask-image: linear-gradient(180deg, transparent 0, #000 18%); }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse 60% 50% at 70% 10%, rgba(80,60,220,.35), transparent 70%), linear-gradient(180deg, #050814, #0a1230); }
}
.app-compare thead th:first-child { text-align: left; }
