/* OmniSoft · versión dinámica
   Concepto: profundidad. Capas de vidrio sobre la noche azul de la marca, luz turquesa
   que sigue al cursor y capturas reales flotando en 3D. Secciones claras para respirar. */
:root {
  --bg: #060f1d;
  --bg-2: #0b1a2e;
  --bg-3: #112640;
  --glass: rgba(17, 38, 64, .55);
  --glass-hi: rgba(255, 255, 255, .07);
  --line: rgba(220, 236, 248, .12);
  --text: #e8f1f8;
  --muted: #9cb1c6;
  --teal: #36b6ba;
  --teal-hi: #7ae0e2;
  --azure: #4c9dff;
  --navy: #183657;
  --paper: #f2f6f9;
  --paper-2: #e4ecf2;
  --ink: #0a1a2c;
  --ink-2: #46596d;
  --amber: #f2b64c;
  --green: #4fd391;
  --grad: linear-gradient(120deg, #36b6ba 0%, #4c9dff 100%);

  --f-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; padding: 8px 14px; background: var(--teal); color: var(--ink); }
.skip:focus { left: 8px; }
.shell { width: min(1260px, 100% - 32px); margin-inline: auto; }

/* barra de progreso */
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--grad); box-shadow: 0 0 12px var(--teal); }

/* botones */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border-radius: 14px; border: 1px solid transparent; font-family: var(--f-body); font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .25s ease, background .2s ease, border-color .2s ease; overflow: hidden; isolation: isolate; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn span { transition: transform .2s ease; }
.btn:hover span { transform: translateX(4px); }
.btn-lg { padding: 16px 26px; font-size: 1.04rem; }
.btn-sm { padding: 9px 14px; font-size: .9rem; border-radius: 11px; }
.btn-grad { background: var(--grad); color: #04121f; box-shadow: 0 10px 30px -10px rgba(54, 182, 186, .8); }
.btn-grad::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(76, 157, 255, .8); }
.btn-grad:hover::after { transform: translateX(120%); }
.btn-glass { background: var(--glass-hi); border-color: var(--line); color: var(--text); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { border-color: var(--teal); color: var(--teal-hi); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; margin-top: 26px; }
.btn-dark:hover { background: var(--navy); transform: translateY(-2px); }

/* ===== encabezado y menús desplegables ===== */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; transition: background .3s ease, border-color .3s ease, backdrop-filter .3s; border-bottom: 1px solid transparent; background: rgba(6, 15, 29, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hdr.scrolled { background: rgba(6, 15, 29, .82); border-bottom-color: var(--line); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.hdr-row { display: flex; align-items: center; gap: 22px; height: 96px; }
.brand img { height: 62px; width: auto; transition: height .3s ease; }
.hdr.scrolled .brand img { height: 52px; }
.menu { margin-left: auto; }
.menu-list { display: flex; align-items: center; gap: 2px; }
.menu-list > li { position: relative; }
.menu-btn-top, .menu-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 0; border-radius: 12px; background: none; color: var(--muted); font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer; transition: color .15s, background .15s; }
.menu-btn-top svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .25s var(--ease); }
.menu-btn-top:hover, .menu-link:hover, .menu-btn-top[aria-expanded="true"] { color: var(--text); background: var(--glass-hi); }
.menu-btn-top[aria-expanded="true"] svg { transform: rotate(180deg); }

.mega { position: absolute; top: calc(100% + 14px); left: 50%; width: 640px; padding: 16px; border-radius: 22px; background: rgba(11, 26, 46, .985); border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(54, 182, 186, .06); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.98); transform-origin: top center; transition: opacity .22s ease, transform .3s var(--ease), visibility 0s .3s; }
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-mega.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition: opacity .22s ease, transform .3s var(--ease), visibility 0s; }
.mega-wide { width: 860px; }
.mega-narrow { width: 340px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: flex; gap: 14px; padding: 14px; border-radius: 14px; text-decoration: none; transition: background .15s; }
.mega-item:hover { background: var(--glass-hi); }
.mega-item b { display: block; font-size: .98rem; }
.mega-item small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.45; margin-top: 2px; }
.mi-ico { flex-shrink: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(140deg, rgba(54, 182, 186, .25), rgba(76, 157, 255, .18)); border: 1px solid rgba(54, 182, 186, .3); }
.mi-ico svg { width: 21px; height: 21px; fill: none; stroke: var(--teal-hi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mega-item:hover .mi-ico { box-shadow: 0 0 20px rgba(54, 182, 186, .45); }
.mega-foot { display: block; margin-top: 10px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(120deg, rgba(54, 182, 186, .16), rgba(76, 157, 255, .12)); text-decoration: none; color: var(--muted); font-size: .94rem; }
.mega-foot b { color: var(--teal-hi); }
.mega-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mega-card { display: block; padding: 8px; border-radius: 16px; text-decoration: none; transition: background .15s, transform .25s var(--ease); }
.mega-card img { border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; margin-bottom: 10px; border: 1px solid var(--line); transition: transform .4s var(--ease); }
.mega-card:hover { background: var(--glass-hi); }
.mega-card:hover img { transform: scale(1.04); }
.mega-card b { display: block; font-size: .95rem; }
.mega-card small { color: var(--muted); font-size: .82rem; }
.mega-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; text-decoration: none; }
.mega-row:hover { background: var(--glass-hi); }
.mega-row b { display: block; }
.mega-row small { color: var(--muted); font-size: .85rem; }
.dots { display: flex; gap: 4px; }
.dots i { width: 10px; height: 10px; border-radius: 3px; background: var(--bg-3); }
.dots i.on { background: var(--teal); box-shadow: 0 0 8px var(--teal); }

.hdr-cta { flex-shrink: 0; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass-hi); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .25s var(--ease), opacity .2s; }
.drawer-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.drawer-open .burger span:nth-child(2) { opacity: 0; }
.drawer-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(3, 9, 18, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.drawer[hidden] { display: none; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); padding: calc(96px + env(safe-area-inset-top, 0px)) 20px 28px; overflow-y: auto; background: var(--bg-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; animation: slideIn .35s var(--ease) both; }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; padding: 16px 4px; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; color: var(--teal-hi); transition: rotate .2s; }
.drawer details[open] summary::after { rotate: 45deg; }
.drawer details a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--muted); }
.drawer details a:hover { background: var(--glass-hi); color: var(--text); }
.drawer details[open] a { animation: fadeDown .3s var(--ease) both; }
@keyframes fadeDown { from { transform: translateY(-6px); } }
.drawer-link { padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; }
.drawer .btn { margin-top: 18px; }

/* ===== hero ===== */
.hero { position: relative; overflow: hidden; padding: 56px 0 96px; margin-top: -96px; padding-top: 152px; }
#heroField { position: absolute; inset: 0; width: 100%; height: 100%; }
.aurora { position: absolute; inset: 0; pointer-events: none; filter: blur(70px); opacity: .75; }
.aurora i { position: absolute; border-radius: 50%; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; right: -8vw; top: -10vw; background: radial-gradient(circle, rgba(54, 182, 186, .55), transparent 65%); animation: drift1 16s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; right: 18vw; bottom: -18vw; background: radial-gradient(circle, rgba(76, 157, 255, .45), transparent 65%); animation: drift2 19s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; left: -10vw; top: 20%; background: radial-gradient(circle, rgba(24, 54, 87, .9), transparent 65%); animation: drift1 22s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-6vw, 5vw) scale(1.12); } }
@keyframes drift2 { to { transform: translate(7vw, -4vw) scale(.92); } }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: var(--glass-hi); border: 1px solid var(--line); font-family: var(--f-mono); font-size: .8rem; color: var(--muted); backdrop-filter: blur(8px); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(79, 211, 145, .6); } 70% { box-shadow: 0 0 0 9px rgba(79, 211, 145, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 211, 145, 0); } }
.hero h1 { margin-top: 24px; font-size: clamp(2.4rem, 5.2vw, 4.4rem); font-weight: 800; line-height: 1.04; }
.rotator { display: inline-block; position: relative; }
.rot-word { display: inline-block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 26px rgba(54, 182, 186, .35)); }
.rot-word.out { animation: wordOut .35s ease forwards; }
.rot-word.in { animation: wordIn .5s var(--ease) both; }
@keyframes wordOut { to { transform: translateY(-40%); opacity: 0; filter: blur(6px); } }
@keyframes wordIn { from { transform: translateY(40%); opacity: 0; filter: blur(6px); } }
.lead { margin-top: 22px; max-width: 32em; font-size: 1.15rem; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.cta-row.center { justify-content: center; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 44px; }
.hero-facts li { display: flex; align-items: center; gap: 12px; }
.hero-facts b { font-family: var(--f-display); font-size: 1.9rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-facts span { font-size: .86rem; line-height: 1.35; color: var(--muted); }

.stage { position: relative; height: 560px; perspective: 1600px; --mx: 0; --my: 0; --sy: 0; }
.layer { position: absolute; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .8); transition: transform .5s var(--ease); will-change: transform; }
.layer img { width: 100%; }
.l-back { width: 74%; right: -6%; top: 0; opacity: .7; transform: rotateY(calc(-18deg + var(--mx) * 6deg)) rotateX(calc(8deg - var(--my) * 5deg)) translate3d(calc(var(--mx) * -14px), calc(var(--my) * -10px + var(--sy) * -40px), -120px); }
.l-mid { width: 82%; left: 0; top: 18%; transform: rotateY(calc(-14deg + var(--mx) * 8deg)) rotateX(calc(6deg - var(--my) * 6deg)) translate3d(calc(var(--mx) * 18px), calc(var(--my) * 12px + var(--sy) * -80px), 0); }
.l-front { width: 26%; right: 4%; bottom: 0; border: 6px solid #000; border-radius: 30px; transform: rotateY(calc(-10deg + var(--mx) * 10deg)) rotateX(calc(4deg - var(--my) * 6deg)) translate3d(calc(var(--mx) * 34px), calc(var(--my) * 22px + var(--sy) * -140px), 80px); }
.badge { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(11, 26, 46, .78); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); font-size: .86rem; transform: translate3d(calc(var(--mx) * 26px), calc(var(--my) * 18px), 0); transition: transform .5s var(--ease); }
.badge b { display: block; font-size: .9rem; }
.badge small { color: var(--muted); font-size: .78rem; }
.bi { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-weight: 800; font-size: .9rem; }
.bi-ok { background: rgba(79, 211, 145, .18); color: var(--green); }
.bi-warn { background: rgba(242, 182, 76, .18); color: var(--amber); }
.bi-gps { background: rgba(76, 157, 255, .2); color: var(--azure); animation: live 2s infinite; }
.b1 { left: -4%; top: 6%; animation: bob 6s ease-in-out infinite; }
.b2 { left: 6%; bottom: 6%; animation: bob 7s ease-in-out -2s infinite; }
.b3 { right: -3%; top: 30%; animation: bob 5.5s ease-in-out -1s infinite; }
@keyframes bob { 50% { translate: 0 -10px; } }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--line); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; translate: -50% 0; border-radius: 2px; background: var(--teal-hi); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 60% { transform: translateY(14px); opacity: 0; } 61% { transform: none; opacity: 0; } 100% { opacity: 1; } }

/* marquesina */
.marquee { overflow: hidden; padding: 22px 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.mq-track { display: flex; width: max-content; animation: mq 40s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-track span { padding: 0 34px; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.6rem); white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(220, 236, 248, .45); transition: color .2s; }
.mq-track span:nth-child(odd) { color: var(--text); -webkit-text-stroke: 0; }
.mq-track span::after { content: "◆"; margin-left: 68px; font-size: .6em; vertical-align: middle; color: var(--teal); -webkit-text-stroke: 0; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ===== secciones ===== */
.sec { position: relative; padding: 120px 0; }
.sec-light { background: var(--paper); color: var(--ink); color-scheme: light; }
.sec-dark { background: var(--bg); }
.sec-dark2 { background: radial-gradient(70% 60% at 50% 0%, rgba(54, 182, 186, .1), transparent 70%), var(--bg-2); }
.kicker { display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .02em; background: rgba(54, 182, 186, .14); color: var(--teal-hi); }
.sec-light .kicker { background: rgba(54, 182, 186, .14); color: #19787c; }
.sec h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; }
.sec-light h2 { color: var(--navy); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 52px; }
.head-row > div { max-width: 720px; }
.head-note { max-width: 380px; color: var(--muted); }
.sec-light .head-note { color: var(--ink-2); }
.rise { transition: transform .9s var(--ease); }
.rise.pre { transform: translateY(36px); }

/* antes / después */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }
.split-copy > p { margin-top: 18px; font-size: 1.08rem; color: var(--ink-2); }
.ticks { display: grid; gap: 10px; margin-top: 24px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 600; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--grad); color: #04121f; font-size: .75rem; font-weight: 800; }
.compare { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(10, 26, 44, .45); border: 1px solid var(--paper-2); user-select: none; }
.cmp-after img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.cmp-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); background: #fff; }
.xls { height: 100%; display: flex; flex-direction: column; font-family: Calibri, "Segoe UI", Arial, sans-serif; font-size: clamp(.55rem, 1.05vw, .82rem); color: #222; }
.xls-bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #1e6e43; color: #fff; font-size: 1.05em; white-space: nowrap; overflow: hidden; }
.xls-ico { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 4px; background: #fff; color: #1e6e43; font-weight: 800; }
.xls-grid { flex: 1; display: grid; grid-template-columns: 34px repeat(5, 1fr); grid-auto-rows: 1fr; }
.xls-grid > * { display: flex; align-items: center; padding: 0 6px; border-right: 1px solid #dadada; border-bottom: 1px solid #dadada; white-space: nowrap; overflow: hidden; font-style: normal; }
.xls-grid b { justify-content: center; background: #f0f0f0; color: #666; font-weight: 400; }
.xls-grid i.h { font-weight: 700; background: #fff2cc; }
.xls-grid i.y { background: #ffeb7a; }
.xls-grid i.r { background: #ffc7ce; color: #9c0006; font-weight: 700; }
.xls-tabs { display: flex; gap: 2px; padding: 4px 6px; background: #f0f0f0; border-top: 1px solid #ccc; }
.xls-tabs span { padding: 2px 10px; background: #e3e3e3; }
.xls-tabs span.on { background: #fff; color: #1e6e43; font-weight: 700; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; translate: -50% 0; background: #fff; box-shadow: 0 0 18px rgba(54, 182, 186, .9); pointer-events: none; }
.cmp-handle span { position: absolute; top: 50%; left: 50%; translate: -50% -50%; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--grad); color: #04121f; font-weight: 800; font-size: 1.2rem; box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .5); }
.cmp-tag { position: absolute; bottom: 44px; padding: 5px 12px; border-radius: 999px; font-family: var(--f-mono); font-size: .74rem; background: rgba(6, 15, 29, .78); color: #fff; pointer-events: none; }
.t-before { left: 14px; }
.t-after { right: 14px; background: var(--teal); color: #04121f; }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp-range:focus-visible + * { outline: none; }
.compare:focus-within .cmp-handle span { box-shadow: 0 0 0 4px rgba(122, 224, 226, .6); }

/* galería desplegable */
.accordion { display: flex; gap: 12px; height: 560px; }
.acc { position: relative; flex: 1; min-width: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); transition: flex .7s var(--ease), border-color .3s; cursor: pointer; }
.acc.is-open { flex: 4.2; border-color: rgba(54, 182, 186, .5); cursor: default; }
.acc-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transform: scale(1.12); filter: saturate(.6) brightness(.55); transition: transform 1s var(--ease), filter .6s ease; }
.acc.is-open .acc-bg { transform: scale(1); filter: none; }
.acc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(6, 15, 29, .92) 100%); pointer-events: none; }
.acc-tab { position: absolute; z-index: 2; inset: 0 auto 0 0; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 10px; padding: 24px; border: 0; background: none; text-align: left; cursor: pointer; }
.acc.is-open .acc-tab { pointer-events: none; opacity: 0; }
.acc-n { font-family: var(--f-mono); font-size: .8rem; color: var(--teal-hi); }
.acc-title { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.acc-body { position: absolute; z-index: 2; left: 18px; bottom: 18px; padding: 24px 26px; max-width: 560px; border-radius: 18px; background: rgba(6, 15, 29, .86); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); opacity: 0; transform: translateY(20px); transition: opacity .4s ease .1s, transform .6s var(--ease) .1s; pointer-events: none; }
.acc.is-open .acc-body { opacity: 1; transform: none; pointer-events: auto; transition-delay: .3s; }
.acc-body h3 { margin: 8px 0 10px; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.acc-body p:not(.state) { color: #c8d7e4; margin-bottom: 18px; }
.state { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-family: var(--f-mono); font-size: .74rem; background: rgba(6, 15, 29, .7); border: 1px solid var(--line); }
.state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.state.live::before { background: var(--green); box-shadow: 0 0 10px var(--green); }
.state.prod::before { background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.state.dev::before { background: var(--amber); box-shadow: 0 0 10px var(--amber); }

/* tarjetas con brillo */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; padding: 30px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), border-color .3s; transform-style: preserve-3d; --x: 50%; --y: 50%; }
.glow-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--x) var(--y), rgba(54, 182, 186, .22), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.glow-card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(54, 182, 186, .55); }
.c-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 22px; background: linear-gradient(140deg, rgba(54, 182, 186, .3), rgba(76, 157, 255, .2)); border: 1px solid rgba(54, 182, 186, .35); transition: transform .4s var(--ease), box-shadow .3s; }
.c-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--teal-hi); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .c-ico { transform: translateZ(30px) rotate(-6deg) scale(1.08); box-shadow: 0 0 28px rgba(54, 182, 186, .5); }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .97rem; }
.c-more { display: inline-block; margin-top: 18px; font-family: var(--f-mono); font-size: .76rem; color: var(--teal-hi); }
.card.flash { animation: flash 1.4s ease; }
@keyframes flash { 30% { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(54, 182, 186, .35); } }

/* segmentado */
.seg { position: relative; display: inline-flex; padding: 6px; border-radius: 18px; background: #fff; border: 1px solid var(--paper-2); margin-bottom: 30px; max-width: 100%; }
.seg-ind { position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 13px; background: var(--ink); transition: transform .45s var(--ease), width .45s var(--ease); }
.seg button { position: relative; z-index: 1; padding: 12px 22px; border: 0; background: none; font-weight: 700; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: color .3s; }
.seg button[aria-selected="true"] { color: #fff; }
.sz-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 48px; align-items: center; padding: 40px; border-radius: 28px; background: #fff; border: 1px solid var(--paper-2); box-shadow: 0 30px 60px -40px rgba(10, 26, 44, .35); animation: pop .55s var(--ease) both; }
.sz-panel[hidden] { display: none; }
@keyframes pop { from { transform: translateY(14px) scale(.985); } }
.sz-panel h3 { font-size: 1.6rem; color: var(--navy); }
.sz-panel > div > p { margin-top: 8px; color: var(--ink-2); }
.sz-img { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--paper-2); }
.sz-img img { transition: transform 1.2s var(--ease); }
.sz-img:hover img { transform: scale(1.05); }
.sz-img figcaption { padding: 10px 14px; font-family: var(--f-mono); font-size: .76rem; color: var(--ink-2); background: var(--paper); }

/* proceso */
.process { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.process-side { position: sticky; top: 140px; }
.process-side > p:not(.kicker) { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }
.process-meter { margin-top: 34px; height: 6px; border-radius: 6px; background: var(--bg-3); overflow: hidden; }
.process-meter span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(.08); background: var(--grad); transition: transform .3s linear; }
.process-steps { display: grid; gap: 18px; }
.pstep { display: flex; gap: 22px; padding: 28px; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); transition: border-color .4s, background .4s, transform .5s var(--ease); }
.pstep.active { border-color: rgba(54, 182, 186, .6); background: linear-gradient(130deg, rgba(54, 182, 186, .14), rgba(76, 157, 255, .06)), var(--bg-2); transform: translateX(-8px); }
.pnum { flex-shrink: 0; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--bg-3); font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; color: var(--teal-hi); transition: background .4s, color .4s, box-shadow .4s; }
.pstep.active .pnum { background: var(--grad); color: #04121f; box-shadow: 0 0 26px rgba(54, 182, 186, .5); }
.pstep h3 { font-size: 1.2rem; margin-bottom: 6px; }
.pstep p { color: var(--muted); }

/* preguntas */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: #fff; border: 1px solid var(--paper-2); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { border-color: var(--teal); box-shadow: 0 20px 40px -26px rgba(10, 26, 44, .4); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319787c' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: rgba(54, 182, 186, .18); }
.faq-a { padding: 0 24px 22px; color: var(--ink-2); }
.faq details[open] .faq-a { animation: fadeDown .4s var(--ease) both; }

/* cierre */
.final { position: relative; overflow: hidden; padding: 140px 0; text-align: center; background: var(--bg); }
.final-glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; translate: -50% -50%; border-radius: 50%; background: conic-gradient(from 0deg, rgba(54, 182, 186, .35), rgba(76, 157, 255, .25), rgba(24, 54, 87, .2), rgba(54, 182, 186, .35)); filter: blur(90px); animation: spin 18s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.final-inner { position: relative; }
.final h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.final p { max-width: 36em; margin: 20px auto 0; font-size: 1.12rem; color: var(--muted); }
.contact-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 44px 0 0; }
.contact-line div { padding: 12px 18px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px); text-align: left; }
.contact-line dt { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); }
.contact-line dd { margin: 0; font-weight: 700; user-select: all; }

/* pie */
.foot { padding: 80px 0 30px; background: var(--bg-2); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot-logo { width: min(400px, 90%); height: auto; margin-bottom: 16px; }
.foot p { color: var(--muted); }
.foot h4 { font-size: 1rem; margin-bottom: 14px; }
.foot nav, .foot-grid > div:last-child { display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--teal-hi); }
.foot-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

/* WhatsApp flotante */
.wa { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 80; display: flex; align-items: flex-end; gap: 10px; }
.wa-bubble { position: relative; max-width: 220px; padding: 12px 34px 12px 14px; border-radius: 16px 16px 4px 16px; background: #fff; color: var(--ink); font-size: .88rem; font-weight: 600; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(10px) scale(.9); transform-origin: bottom right; transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.wa-bubble.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-bubble button { position: absolute; top: 4px; right: 6px; width: 24px; height: 24px; border: 0; background: none; font-size: 1.1rem; color: var(--ink-2); cursor: pointer; }
.wa-btn { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25a465; box-shadow: 0 12px 30px rgba(37, 164, 101, .5); transition: transform .25s var(--ease); }
.wa-btn:hover { transform: scale(1.08) rotate(-6deg); }
.wa-btn svg { width: 30px; height: 30px; fill: #fff; }

/* ventanas emergentes */
dialog { padding: 0; border: 0; color: var(--text); }
dialog::backdrop { background: rgba(3, 9, 18, .78); backdrop-filter: blur(6px); }
dialog[open] { animation: dlgIn .45s var(--ease) both; }
@keyframes dlgIn { from { transform: translateY(24px) scale(.97); opacity: 0; } }
.x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(6, 15, 29, .7); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: transform .2s, border-color .2s; }
.x:hover { transform: rotate(90deg); border-color: var(--teal); }
.modal { width: min(980px, 94vw); max-height: 94vh; overflow: auto; border-radius: 28px; background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9); }
.modal-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); }
.modal-side { position: relative; overflow: hidden; padding: 40px 34px; background: linear-gradient(160deg, rgba(54, 182, 186, .28), rgba(76, 157, 255, .12) 60%, transparent), var(--bg-3); }
.modal-side img { width: 72px; margin-bottom: 26px; filter: drop-shadow(0 0 20px rgba(54, 182, 186, .5)); }
.modal-side h2 { font-size: 1.7rem; }
.modal-side p { margin-top: 14px; color: var(--muted); }
.form { display: grid; gap: 16px; padding: 40px 34px; }
.hp { position: absolute; left: -9999px; }
.need { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.need legend { padding: 0; margin-bottom: 10px; font-family: var(--f-mono); font-size: .76rem; color: var(--muted); }
.need input { position: absolute; opacity: 0; pointer-events: none; }
.need span { display: inline-block; padding: 9px 14px; border-radius: 11px; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; cursor: pointer; user-select: none; transition: all .2s; }
.need span:hover { border-color: var(--teal); }
.need input:checked + span { background: var(--grad); border-color: transparent; color: #04121f; }
.need input:focus-visible + span { outline: 2px solid var(--teal-hi); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .86rem; font-weight: 600; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(54, 182, 186, .2); }
.form .btn { justify-self: start; }
.form-status { margin: 0; font-size: .9rem; color: var(--teal-hi); }

.gallery { width: min(1300px, 96vw); max-height: 96vh; overflow: hidden; border-radius: 24px; background: var(--bg-2); border: 1px solid var(--line); }
.g-fig { margin: 0; }
.g-fig img { width: 100%; max-height: calc(96vh - 150px); object-fit: contain; background: var(--bg); }
.g-fig img.swap { animation: swap .45s var(--ease) both; }
@keyframes swap { from { opacity: 0; transform: scale(1.02); } }
.g-fig figcaption { padding: 12px 18px; font-family: var(--f-mono); font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); }
.g-nav { position: absolute; top: 42%; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(6, 15, 29, .75); color: var(--text); font-size: 1.8rem; line-height: 1; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s, transform .2s; }
.g-nav:hover { background: var(--teal); color: #04121f; transform: scale(1.06); }
.g-prev { left: 14px; }
.g-next { right: 14px; }
.g-thumbs { display: flex; gap: 8px; padding: 0 18px 16px; overflow-x: auto; }
.g-thumbs button { flex-shrink: 0; width: 120px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: none; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.g-thumbs button img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.g-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--teal); }

/* ===== responsive ===== */
@media (max-width: 1180px) {
  .menu, .hdr-cta { display: none; }
  .burger { display: flex; }
  .hdr-row { height: 82px; }
  .brand img { height: 52px; }
  .hero { margin-top: -82px; padding-top: 130px; }
}
@media (max-width: 980px) {
  .hero-grid, .split, .process, .faq-wrap, .sz-panel, .modal-grid { grid-template-columns: 1fr; }
  .stage { height: 440px; max-width: 640px; width: 100%; margin-inline: auto; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-side { position: static; }
  .accordion { flex-direction: column; height: auto; }
  .acc { flex: none; height: 96px; transition: height .7s var(--ease), border-color .3s; }
  .acc.is-open { flex: none; height: 460px; }
  .acc-title { writing-mode: horizontal-tb; transform: none; }
  .acc-tab { flex-direction: row; align-items: center; justify-content: flex-start; padding: 0 22px; }
  .sz-panel { padding: 26px; gap: 28px; }
  .sec { padding: 88px 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hdr-row { height: 74px; }
  .brand img, .hdr.scrolled .brand img { height: 44px; }
  .hero { margin-top: -74px; padding-top: 112px; padding-bottom: 80px; }
  .hero h1 { font-size: clamp(2.1rem, 9.6vw, 2.8rem); }
  .cta-row .btn { flex: 1 1 100%; }
  .hero-facts { gap: 18px; }
  .stage { height: 330px; }
  .badge { padding: 9px 12px; }
  .badge small { display: none; }
  .b1 { left: 0; }
  .cards { grid-template-columns: 1fr; }
  .seg { display: flex; width: 100%; }
  .seg button { flex: 1; padding: 11px 6px; font-size: .86rem; white-space: normal; line-height: 1.2; }
  .acc.is-open { height: 520px; }
  .acc-body { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
  .pstep { padding: 22px; gap: 16px; }
  .pstep.active { transform: none; }
  .row2 { grid-template-columns: 1fr; }
  .form, .modal-side { padding: 28px 22px; }
  .form .btn { justify-self: stretch; }
  .final { padding: 100px 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .wa-bubble { display: none; }
  .g-nav { top: 30%; width: 44px; height: 44px; }
  .mq-track span { padding: 0 22px; }
  .mq-track span::after { margin-left: 44px; }
}
/* movimiento reducido: solo si el visitante lo pide con el botón del pie */
html.calm *, html.calm *::before, html.calm *::after { animation: none !important; transition-duration: .01ms !important; }
html.calm { scroll-behavior: auto; }
html.calm .rise.pre { transform: none; }

.motion-toggle { padding: 7px 12px; border-radius: 10px; border: 1px solid rgba(220, 236, 248, .2); background: transparent; color: inherit; font: inherit; font-size: .85rem; cursor: pointer; }
.motion-toggle:hover { border-color: #36b6ba; color: #7ae0e2; }
.foot-tools { display: flex; align-items: center; gap: 16px; }
