/* Things360 — web corporativa */
@font-face { font-family: "Geist"; src: url(/assets/fonts/geist-300.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Geist"; src: url(/assets/fonts/geist-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url(/assets/fonts/geist-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url(/assets/fonts/geist-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/assets/fonts/geist-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/assets/fonts/geist-mono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #010004;
  --bg-2: #08080b;
  --card: #111114;
  --card-2: #1a1a1d;
  --line: #26252a;
  --line-2: #323135;
  --text: #ffffff;
  --muted: #a8a8a8;
  --dim: #6f6f74;
  --teal: #2fb3b5;
  --teal-2: #6be3e4;
  --petrol: #13536f;
  --radius: 20px;
  --maxw: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mono { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--dim); }
.grad { background: linear-gradient(90deg, var(--teal-2), var(--teal) 50%, #3d8fb8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-family: "Geist Mono", monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--teal); }
.lead { color: var(--muted); font-size: 18px; max-width: 620px; margin-top: 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 500; font-size: 15px; transition: transform .3s var(--ease), background .3s, border-color .3s, color .3s; white-space: nowrap; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--light { background: var(--text); color: var(--bg); }
.btn--light:hover { background: var(--teal-2); transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255,255,255,.02); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-2); }

/* Nav */
.nav { position: fixed; inset: 16px 0 auto; z-index: 50; padding: 0 16px; }
.nav__inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 10px 10px 10px 18px; border: 1px solid transparent; border-radius: 999px; transition: background .4s, border-color .4s, backdrop-filter .4s; }
.nav.is-scrolled .nav__inner { background: rgba(10,10,14,.72); border-color: var(--line); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.brand img { border-radius: 50%; }
.brand b { color: var(--teal); font-weight: 600; }
.nav__links { display: flex; gap: 28px; margin: 0 auto; font-size: 14px; color: var(--muted); }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; gap: 8px; }
.nav__burger { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(10,10,14,.7); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav__burger span { width: 16px; height: 1.5px; background: var(--text); transition: transform .3s; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu { max-width: var(--maxw); margin: 8px auto 0; padding: 16px; border-radius: 20px; background: rgba(10,10,14,.94); border: 1px solid var(--line); backdrop-filter: blur(16px); display: flex; flex-direction: column; gap: 4px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 8px; color: var(--muted); }
.mobile-menu .btn { justify-content: center; color: var(--bg); margin-top: 8px; }

/* Hero */
.hero { position: relative; min-height: clamp(640px, 100svh, 1000px); display: flex; align-items: center; overflow: hidden; padding: 140px 0 100px; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(1,0,4,.95) 0%, rgba(1,0,4,.8) 38%, rgba(1,0,4,.25) 65%, rgba(1,0,4,0) 85%),
  linear-gradient(180deg, rgba(1,0,4,.5) 0%, rgba(1,0,4,0) 25%, rgba(1,0,4,0) 70%, var(--bg) 100%); }
.hero__content { position: relative; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tags li { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--muted); backdrop-filter: blur(6px); }
.hero h1 { font-size: clamp(52px, 9vw, 112px); line-height: .95; letter-spacing: -.05em; font-weight: 500; }
.hero__lead { color: #c9c9cc; font-size: clamp(17px, 1.6vw, 20px); max-width: 560px; margin-top: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__note { margin-top: 48px; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2fdc8a; box-shadow: 0 0 0 4px rgba(47,220,138,.15); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(47,220,138,0); } }

/* Strip */
.strip { padding: 40px 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip__label { text-align: center; color: var(--dim); margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; padding-bottom: 20px; }
.marquee__track span { font-size: 22px; font-weight: 500; color: #5c5c62; letter-spacing: -.02em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 130px 0; position: relative; }
.head { margin-bottom: 64px; }
.head h2, .security h2, .cta h2 { font-size: clamp(36px, 5vw, 60px); max-width: 820px; }
.head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.head--row .lead { margin-top: 0; max-width: 420px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .4s, transform .4s var(--ease); }
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card h3 { font-size: 20px; margin: 22px 0 10px; letter-spacing: -.02em; }
.card p { color: var(--muted); font-size: 15px; }
.card__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(180deg, #1d1d22, #121215); border: 1px solid var(--line-2); color: var(--teal); font-size: 18px; }
.pain { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.pain .card { grid-column: span 2; }
.pain .card:nth-child(4), .pain .card:nth-child(5) { grid-column: span 3; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px 0; overflow: hidden; display: flex; flex-direction: column; }
.step__n { color: var(--teal); }
.step h3 { font-size: 28px; margin: 18px 0 12px; }
.step p { color: var(--muted); font-size: 15px; }
.step__viz { margin: 32px -28px 0; height: 150px; border-top: 1px solid var(--line); background: radial-gradient(60% 120% at 50% 100%, rgba(47,179,181,.18), transparent 70%); display: flex; align-items: center; justify-content: center; gap: 22px; position: relative; }
.step__viz i { width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 18px var(--teal); animation: blink 2.4s infinite; }
.step__viz i:nth-child(2) { animation-delay: .3s; } .step__viz i:nth-child(3) { animation-delay: .6s; } .step__viz i:nth-child(4) { animation-delay: .9s; } .step__viz i:nth-child(5) { animation-delay: 1.2s; }
@keyframes blink { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }
.step__viz--hub i { width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(135deg, #1f6f86, var(--teal)); box-shadow: 0 0 40px rgba(47,179,181,.5); animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.step__viz--bars { align-items: flex-end; padding-bottom: 28px; gap: 10px; }
.step__viz--bars i { width: 22px; border-radius: 6px 6px 2px 2px; height: 30px; box-shadow: none; background: linear-gradient(180deg, var(--teal-2), rgba(47,179,181,.2)); animation: grow 3s var(--ease) infinite; }
.step__viz--bars i:nth-child(2) { height: 60px; } .step__viz--bars i:nth-child(3) { height: 44px; } .step__viz--bars i:nth-child(4) { height: 82px; } .step__viz--bars i:nth-child(5) { height: 66px; }
@keyframes grow { 0%, 100% { transform: scaleY(.6); transform-origin: bottom; opacity: .6; } 50% { transform: scaleY(1); opacity: 1; } }

.arch { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--card), var(--bg-2)); padding: 12px; display: grid; gap: 8px; }
.arch__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.015); border: 1px solid #1c1b20; }
.arch__label { color: var(--dim); width: 110px; flex-shrink: 0; }
.chip { font-size: 13px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: #d4d4d8; background: var(--card-2); }
.chip--hi { border-color: rgba(47,179,181,.6); color: var(--teal-2); background: rgba(47,179,181,.08); }

/* Cases */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .4s; }
.case:hover { border-color: var(--line-2); }
.case figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.case img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case:hover img { transform: scale(1.05); }
.case__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case__tag { color: var(--teal); }
.case h3 { font-size: 22px; letter-spacing: -.02em; }
.case p { color: var(--muted); font-size: 15px; }
.case__kpis { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 14px; }
.case__kpis li { font-size: 10px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.module { padding: 30px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s; position: relative; }
.module:nth-child(4n) { border-right: 0; }
.module:nth-last-child(-n+4) { border-bottom: 0; }
.module:hover { background: radial-gradient(120% 100% at 0% 0%, rgba(47,179,181,.1), transparent 60%); }
.module span { color: var(--dim); }
.module h3 { font-size: 19px; margin: 34px 0 8px; letter-spacing: -.02em; }
.module p { color: var(--muted); font-size: 14px; }

/* Security */
.section--glow::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 75% 50%, rgba(47,179,181,.12), transparent 70%); pointer-events: none; }
.security { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; position: relative; }
.checks { margin-top: 32px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: #d4d4d8; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: var(--bg); background: var(--teal); }
.security__visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.sphere { width: 82%; border-radius: 50%; animation: float 8s ease-in-out infinite; mask-image: radial-gradient(circle, #000 60%, transparent 72%); -webkit-mask-image: radial-gradient(circle, #000 60%, transparent 72%); }
@keyframes float { 50% { transform: translateY(-12px) rotate(3deg); } }
.norms { position: absolute; inset: auto 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.norms li { font-size: 11px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(10,10,14,.8); backdrop-filter: blur(6px); color: #cfcfd3; }

/* Compare */
.compare { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.compare__row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; border-bottom: 1px solid var(--line); }
.compare__row:last-child { border-bottom: 0; }
.compare__row > span { padding: 18px 22px; font-size: 15px; }
.compare__row > span:first-child { color: #d4d4d8; }
.compare__row--head > span { font-family: "Geist Mono", monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.compare__row > span:nth-child(2) { background: rgba(47,179,181,.06); border-left: 1px solid rgba(47,179,181,.25); border-right: 1px solid rgba(47,179,181,.25); }
.compare__us { color: var(--teal-2) !important; }
.yes { color: var(--text); } .yes::before { content: "● "; color: var(--teal); }
.mid { color: var(--muted); } .mid::before { content: "◐ "; color: #8c8c92; }
.no { color: var(--dim); } .no::before { content: "○ "; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.stat__n { display: block; font-size: clamp(40px, 5vw, 58px); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.stat__l { display: block; color: var(--muted); font-size: 14px; margin-top: 12px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.faq__list { display: grid; gap: 10px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: border-color .3s; }
details[open] { border-color: var(--line-2); }
summary { cursor: pointer; list-style: none; padding: 22px 0; font-size: 17px; font-weight: 500; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--teal); font-size: 22px; line-height: 1; transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: 22px; font-size: 15px; }

/* CTA */
.cta { padding: 40px 0 130px; }
.cta__card { position: relative; text-align: center; border: 1px solid var(--line); border-radius: 28px; padding: 40px 32px 72px; overflow: hidden; background: radial-gradient(70% 60% at 50% 0%, rgba(47,179,181,.14), transparent 70%), var(--bg-2); }
.cta__logo { width: min(760px, 100%); margin: 0 auto 8px; mask-image: radial-gradient(75% 80% at 50% 50%, #000 60%, transparent 100%); -webkit-mask-image: radial-gradient(75% 80% at 50% 50%, #000 60%, transparent 100%); }
.cta h2 { margin: 0 auto; }
.cta .lead { margin: 20px auto 0; }
.cta .hero__actions { justify-content: center; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--bg-2); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer__grid nav { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); }
.footer__grid nav .mono { color: var(--dim); margin-bottom: 6px; }
.footer__grid nav a:hover { color: var(--text); }
.footer__claim { color: var(--muted); margin-top: 14px; font-size: 14px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 11px; flex-wrap: wrap; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* Legal page */
.legal { max-width: 760px; margin: 0 auto; padding: 160px 24px 100px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 32px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal a { color: var(--teal-2); }

/* Responsive */
@media (max-width: 1024px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { background: rgba(10,10,14,.72); border-color: var(--line); backdrop-filter: blur(16px); }
  .steps, .cases { grid-template-columns: 1fr; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .module:nth-child(4n) { border-right: 1px solid var(--line); }
  .module:nth-child(2n) { border-right: 0; }
  .module:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .module:nth-last-child(-n+2) { border-bottom: 0; }
  .security, .faq { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .section { padding: 90px 0; }
  .pain { grid-template-columns: 1fr; }
  .pain .card, .pain .card:nth-child(4), .pain .card:nth-child(5) { grid-column: auto; }
  .modules { grid-template-columns: 1fr; }
  .module { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .module:last-child { border-bottom: 0 !important; }
  .compare { overflow-x: auto; }
  .compare__row { min-width: 640px; }
  .arch__label { width: 100%; }
  .hero__shade { background: linear-gradient(180deg, rgba(1,0,4,.6) 0%, rgba(1,0,4,.75) 50%, var(--bg) 100%); }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}
@media (max-width: 720px) { .module h3 { margin-top: 18px; } .module { padding: 24px 22px; } }
.legal__back { margin-left: auto; }
.footer__bottom--solo { margin-top: 0; border: 0; padding-top: 0; }

/* ═══════════ v1.1 — capa dinámica ═══════════ */

/* Barra de progreso de scroll */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--petrol), var(--teal), var(--teal-2)); box-shadow: 0 0 12px var(--teal); }

/* Intro: logo 3D con barrido de luz */
.intro { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: grid; place-items: center; align-content: center; gap: 28px; padding: 24px; transition: opacity .8s var(--ease), visibility .8s; }
.intro.is-done { opacity: 0; visibility: hidden; }
.intro .logo-fx { width: min(880px, 92vw); animation: introIn 1.6s var(--ease) both; }
.intro__bar { width: min(220px, 50vw); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.intro__bar i { display: block; height: 100%; background: var(--teal); box-shadow: 0 0 10px var(--teal); animation: bar 2s var(--ease) both; }
@keyframes introIn { from { opacity: 0; transform: scale(.92); filter: blur(14px) brightness(.3); } to { opacity: 1; transform: none; filter: none; } }
@keyframes bar { from { width: 0; } to { width: 100%; } }
.no-intro .intro { display: none; }

/* Logo con luces (imagen realista + barrido + destello) */
.logo-fx { position: relative; isolation: isolate; overflow: hidden; border-radius: 12px; }
.logo-fx img { width: 100%; animation: logoGlow 4.5s ease-in-out infinite; }
.logo-fx__sweep { position: absolute; inset: -20% -60%; background: linear-gradient(105deg, transparent 40%, rgba(107,227,228,0) 44%, rgba(160,250,250,.55) 50%, rgba(107,227,228,0) 56%, transparent 60%); mix-blend-mode: screen; animation: sweep 3.6s cubic-bezier(.6,.1,.3,1) infinite; pointer-events: none; }
.logo-fx__flare { position: absolute; width: 38%; aspect-ratio: 1; right: 4%; top: 50%; translate: 0 -50%; border-radius: 50%; background: radial-gradient(circle, rgba(107,227,228,.55) 0%, rgba(47,179,181,.18) 30%, transparent 62%); mix-blend-mode: screen; animation: flare 2.4s ease-in-out infinite; pointer-events: none; }
@keyframes sweep { 0% { transform: translateX(-60%); } 55%, 100% { transform: translateX(60%); } }
@keyframes flare { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes logoGlow { 0%, 100% { filter: brightness(1) saturate(1); } 50% { filter: brightness(1.25) saturate(1.25) drop-shadow(0 0 24px rgba(47,179,181,.35)); } }
.cta__logo { width: min(760px, 100%); margin: 0 auto 8px; -webkit-mask-image: radial-gradient(80% 85% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(80% 85% at 50% 50%, #000 62%, transparent 100%); }

/* Icono de marca girando */
.brand__icon { animation: spin 14s linear infinite; filter: drop-shadow(0 0 6px rgba(47,179,181,.6)); }

/* Hero vivo */
.hero { isolation: isolate; }
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; }
.hero__glow { position: absolute; z-index: -2; width: 900px; height: 900px; left: var(--gx, 70%); top: var(--gy, 50%); translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(47,179,181,.22), rgba(19,83,111,.12) 35%, transparent 65%); transition: left 1.2s var(--ease), top 1.2s var(--ease); pointer-events: none; }
.hero__sphere-wrap { position: absolute; z-index: -1; right: max(-6vw, -80px); top: 50%; translate: 0 -50%; width: min(62vw, 820px); aspect-ratio: 1; }
.hero__sphere { width: 100%; height: 100%; display: block; }
.hero__ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px solid rgba(47,179,181,.18); animation: ring 6s ease-in-out infinite; pointer-events: none; }
.hero__ring--2 { inset: -4%; border-color: rgba(47,179,181,.09); animation-delay: -3s; }
@keyframes ring { 0%, 100% { transform: scale(.97); opacity: .4; } 50% { transform: scale(1.03); opacity: 1; } }
.hero__shade { z-index: -1; background: linear-gradient(90deg, rgba(1,0,4,.9) 0%, rgba(1,0,4,.6) 34%, rgba(1,0,4,0) 62%), linear-gradient(180deg, rgba(1,0,4,0) 70%, var(--bg) 100%); }
.hero__title { font-size: clamp(48px, 9vw, 112px); line-height: .95; letter-spacing: -.05em; font-weight: 500; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
.has-intro .hero__title .line > span { animation-delay: 2.1s; }
.has-intro .hero__title .line:nth-child(2) > span { animation-delay: 2.22s; }
.has-intro .hero__title .line:nth-child(3) > span { animation-delay: 2.34s; }
@keyframes lineUp { to { transform: none; } }
.grad--anim { background-size: 200% 100%; animation: lineUp 1.1s var(--ease) forwards, gradShift 5s linear infinite; background-image: linear-gradient(90deg, var(--teal-2), var(--teal), #3d8fb8, var(--teal), var(--teal-2)); }
.hero__title .line:nth-child(3) > .grad--anim { animation-delay: .24s, 0s; }
.has-intro .hero__title .line:nth-child(3) > .grad--anim { animation-delay: 2.34s, 0s; }
@keyframes gradShift { to { background-position: 200% 0; } }

/* Foco de luz que sigue al cursor */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(47,179,181,.16), transparent 45%); }
.spot::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(107,227,228,.75), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.spot:hover::after, .spot:hover::before { opacity: 1; }
.tilt { transition: transform .5s var(--ease), border-color .4s; will-change: transform; }

/* Consola en vivo */
.live { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #0c0c10, var(--bg-2)); overflow: hidden; }
.live__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--dim); flex-wrap: wrap; }
.live__dots { display: flex; gap: 6px; }
.live__dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a2a30; }
.live__badge { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.live__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; }
.live__panel { padding: 18px; border-right: 1px solid var(--line); min-width: 0; }
.live__panel:last-child { border-right: 0; }
.live__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; color: var(--dim); margin-bottom: 12px; }
.live__head b { color: var(--text); font-size: 22px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
#live-chart { width: 100%; height: 150px; display: block; }
.live__kpis { display: grid; gap: 14px; }
.live__kpis div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.live__kpis div:last-child { border-bottom: 0; }
.live__kpis span { color: var(--dim); font-size: 11px; }
.live__kpis b { font-weight: 500; font-variant-numeric: tabular-nums; }
.live__log { display: grid; gap: 8px; font-size: 11px; text-transform: none; letter-spacing: .02em; height: 190px; overflow: hidden; align-content: start; }
.live__log li { display: flex; gap: 10px; color: var(--muted); animation: logIn .5s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live__log li time { color: var(--dim); flex-shrink: 0; }
.live__log li.warn { color: #f0b04a; }
.live__log li.ok { color: #4fd18f; }
.live__log li.cmd { color: var(--teal-2); }
@keyframes logIn { from { opacity: 0; transform: translateY(-6px); } }

/* Responsivo de la capa dinámica */
@media (max-width: 1024px) {
  .hero__sphere-wrap { width: min(90vw, 680px); right: -18vw; opacity: .75; }
  .live__grid { grid-template-columns: 1fr 1fr; }
  .live__panel--chart { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .hero { padding: 110px 0 72px; align-items: flex-end; min-height: max(680px, 100svh); }
  .hero__sphere-wrap { width: 118vw; right: -34vw; top: 30%; opacity: .6; }
  .hero__shade { background: linear-gradient(180deg, rgba(1,0,4,.1) 0%, rgba(1,0,4,.5) 38%, rgba(1,0,4,.9) 66%, var(--bg) 100%); }
  .hero__glow { width: 520px; height: 520px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .live__grid { grid-template-columns: 1fr; }
  .live__panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .live__panel:last-child { border-bottom: 0; }
  .spot::after, .spot::before { display: none; }
  .intro .logo-fx { width: 96vw; }
}
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .hero__title .line > span { transform: none; }
}
.security__visual .sphere { aspect-ratio: 1; object-fit: cover; object-position: 66% 50%; }
.hero h1.hero__title { font-size: clamp(46px, 9vw, 112px); }
@media (max-width: 1024px) and (min-width: 721px) {
  .hero__sphere-wrap { opacity: .45; right: -24vw; }
  .hero__shade { background: linear-gradient(90deg, rgba(1,0,4,.85) 0%, rgba(1,0,4,.55) 60%, rgba(1,0,4,.2) 100%), linear-gradient(180deg, rgba(1,0,4,0) 70%, var(--bg) 100%); }
}
@media (max-width: 720px) { .hero__sphere-wrap { opacity: .5; } }
.intro .logo-fx { width: min(880px, 100%); }
.intro { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.intro .logo-fx, .cta__logo { border-radius: 0; -webkit-mask-image: radial-gradient(72% 78% at 50% 50%, #000 58%, transparent 100%); mask-image: radial-gradient(72% 78% at 50% 50%, #000 58%, transparent 100%); }
@media (max-width: 720px) { .intro .logo-fx { width: 100%; } }

/* ═══════════ v1.2 — idiomas ═══════════ */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 12px "Geist Mono", monospace; letter-spacing: .08em; color: var(--muted); background: rgba(255,255,255,.02); transition: color .3s, border-color .3s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--text); border-color: var(--teal); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px; border-radius: 14px; background: rgba(12,12,16,.96); border: 1px solid var(--line); backdrop-filter: blur(16px); display: grid; z-index: 70; box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.lang__menu a { padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--muted); }
.lang__menu a:hover { background: var(--card-2); color: var(--text); }
.lang__menu a[aria-current="page"], .mobile-menu__langs a[aria-current="page"], .footer__langs a[aria-current="page"] { color: var(--teal-2); }
.mobile-menu__langs { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0 4px; }
.mobile-menu__langs a { padding: 7px 12px !important; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; }
.footer__langs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 18px; font-size: 11px; color: var(--dim); }
.footer__langs a:hover { color: var(--text); }

/* Chino: fuentes del sistema con glifos CJK y sin tracking negativo */
:lang(zh) body { font-family: "Geist", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) .stat__n { letter-spacing: 0; }
:lang(zh) .hero__title { line-height: 1.12; }
:lang(zh) .eyebrow, :lang(zh) .mono { letter-spacing: .04em; }

/* Alemán: palabras largas en el titular */
:lang(de) .hero h1.hero__title { font-size: clamp(38px, 7.6vw, 100px); }
:lang(fr) .hero h1.hero__title { font-size: clamp(44px, 8.6vw, 108px); }
.hero__title .line > span { max-width: 100%; }
h2, h3 { overflow-wrap: break-word; hyphens: auto; }
details.lang, details.lang[open] { background: none; border: 0; padding: 0; border-radius: 0; }
.lang summary::after { content: none; }
.lang summary { justify-content: center; }

/* ═══════════ v1.3 — estilo cine (cabecera de vídeo, máquina de escribir, esfera fija) ═══════════ */

/* Cabecera de cine: vídeo de la esfera a sangre con acercamiento al hacer scroll */
.cine { position: relative; height: 100svh; min-height: 640px; max-height: 1100px; overflow: hidden; isolation: isolate; }
.cine__media { position: absolute; inset: 0; z-index: -2; transform-origin: 66% 50%; will-change: transform; }
.cine__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.cine__media .hero__field { z-index: 1; opacity: .7; }
.cine__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(90deg, rgba(1,0,4,.82) 0%, rgba(1,0,4,.45) 38%, rgba(1,0,4,0) 62%),
  linear-gradient(180deg, rgba(1,0,4,.55) 0%, rgba(1,0,4,0) 22%, rgba(1,0,4,0) 55%, rgba(1,0,4,.85) 88%, var(--bg) 100%); }
.cine__inner { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: 112px; padding-bottom: 56px; }
.slash { display: grid; gap: 6px; color: #e9e9ec; font-size: 12px; }
.slash li::before { content: "/ "; color: var(--teal); }
.cine__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.cine__copy { max-width: 760px; min-width: 0; }
.cine__title { font-size: clamp(46px, 8.4vw, 120px); line-height: .94; letter-spacing: -.055em; font-weight: 500; position: relative; }
.tw { display: block; }
.tw__line { display: block; min-height: .94em; white-space: nowrap; }
.tw__caret { display: inline-block; width: .06em; height: .8em; background: var(--teal-2); box-shadow: 0 0 14px var(--teal); vertical-align: -.06em; margin-left: .06em; animation: caret 1s steps(1) infinite; position: absolute; }
@keyframes caret { 50% { opacity: 0; } }
.cine .hero__lead { margin-top: 24px; max-width: 540px; }
.cine .hero__actions { margin-top: 28px; }

/* Tarjeta flotante «Habla con nuestro equipo» */
.talk { display: flex; gap: 14px; align-items: stretch; padding: 8px; border-radius: 18px; background: rgba(14,14,18,.72); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 30px 60px rgba(0,0,0,.45); flex-shrink: 0; width: 330px; }
.talk__media { width: 104px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: radial-gradient(circle at 50% 50%, #0b2a30, #050608 70%); border: 1px solid rgba(255,255,255,.06); }
.talk__media canvas { width: 100%; height: 100%; display: block; }
.talk__body { display: flex; flex-direction: column; gap: 6px; padding: 6px 6px 4px 0; min-width: 0; }
.talk__title { font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.talk__role { font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 8px; line-height: 1.4; }
.talk .btn { margin-top: auto; align-self: flex-start; }

/* Indicador de scroll */
.cine__scroll { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; display: grid; justify-items: center; gap: 8px; font-size: 10px; color: var(--dim); }
.cine__scroll i { width: 1px; height: 34px; background: linear-gradient(var(--teal), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Sección fija: la esfera gira con el scroll y pasan los tres pasos */
.orbit { position: relative; height: 320vh; }
.orbit__sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.orbit__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.orbit__stage { position: relative; aspect-ratio: 1; max-height: 78svh; width: 100%; justify-self: center; }
.orbit__stage .hero__sphere { position: absolute; inset: 0; }
.orbit__count { position: absolute; left: 0; bottom: 4%; color: var(--dim); font-size: 12px; }
.orbit__count b { color: var(--teal-2); font-weight: 500; }
.orbit__text h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 36px; }
.orbit__steps { display: grid; gap: 10px; }
.orbit__step { display: flex; gap: 18px; padding: 18px 20px; border-radius: 16px; border: 1px solid transparent; opacity: .28; filter: blur(1.5px); transition: opacity .6s var(--ease), filter .6s var(--ease), background .6s, border-color .6s, transform .6s var(--ease); }
.orbit__step > .mono { color: var(--teal); padding-top: 6px; }
.orbit__step h3 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 6px; }
.orbit__step p { color: var(--muted); font-size: 15px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .6s; }
.orbit__step.is-active { opacity: 1; filter: none; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); border-color: var(--line); transform: translateX(6px); }
.orbit__step.is-active p { max-height: 160px; opacity: 1; }
.orbit__bar { margin-top: 26px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.orbit__bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--petrol), var(--teal-2)); }
.section--tight { padding-top: 40px; }
.section--tight .arch { margin-top: 0; }

/* Aparición palabra a palabra con desenfoque (como el original) */
.w { display: inline-block; opacity: 0; filter: blur(6px); transform: translateY(.25em); transition: opacity .7s var(--ease), filter .7s var(--ease), transform .7s var(--ease); }
.is-words .w { opacity: 1; filter: none; transform: none; }

/* Responsivo */
@media (max-width: 1024px) {
  .cine__bottom { flex-direction: column; align-items: flex-start; }
  .talk { width: min(360px, 100%); }
  .orbit { height: 300vh; }
  .orbit__grid { grid-template-columns: 1fr; gap: 8px; }
  .orbit__stage { max-height: 42svh; width: auto; height: 42svh; }
  .orbit__text h2 { margin-bottom: 16px; }
}
@media (max-width: 720px) {
  .cine { min-height: 640px; height: 100svh; }
  .cine__inner { padding-top: 96px; padding-bottom: 72px; }
  .cine__video { object-position: 72% 50%; }
  .cine__shade { background: linear-gradient(180deg, rgba(1,0,4,.35) 0%, rgba(1,0,4,.2) 30%, rgba(1,0,4,.8) 62%, var(--bg) 100%); }
  .talk { display: none; }
  .cine .hero__lead { font-size: 16px; }
  .orbit__stage { height: 36svh; }
  .orbit__text h2 { font-size: 28px; }
  .orbit__step { padding: 12px 14px; }
  .orbit__step h3 { font-size: 20px; }
  .orbit__step p { font-size: 14px; }
  .orbit__step:not(.is-active) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit { height: auto; }
  .orbit__sticky { position: static; height: auto; padding: 100px 0; }
  .orbit__step { opacity: 1; filter: none; }
  .orbit__step p { max-height: none; opacity: 1; }
  .orbit__step:not(.is-active) { display: flex; }
  .w { opacity: 1; filter: none; transform: none; }
  .tw__caret { display: none; }
}
:lang(zh) .cine__title { letter-spacing: 0; line-height: 1.1; }
:lang(de) .cine__title { font-size: clamp(36px, 7.4vw, 104px); }
:lang(fr) .cine__title { font-size: clamp(42px, 8vw, 112px); }
@media (max-width: 720px) { .cine__shade { background: linear-gradient(180deg, rgba(1,0,4,.55) 0%, rgba(1,0,4,.5) 30%, rgba(1,0,4,.88) 60%, var(--bg) 100%); } }
