/* ==============================================================
 * NEXIM CORP — "DARK TECH, RAFFINATO" (lug 2026)
 * Dark tech sobrio e dinamico: aurore di sezione, shimmer sui
 * gradienti, scroll-driven reveals. Niente gadget (HUD/ON AIR,
 * scanline, ping) — la qualità sta nel ritmo e nella tipografia.
 * ============================================================== */

/* === Hide tech-style status bar sul corp === */
body.nexim-skin-corp .nx-statusbar,
body.nexim-skin-corp .nxc-statusbar { display: none !important; }

/* === Hide green/colored "live" dots sul corp === */
body.nexim-skin-corp .nx-dot,
body.nexim-skin-corp .nxc-hero__eyebrow .nx-dot,
body.nexim-skin-corp [class*="--live"]::before,
body.nexim-skin-corp [class*="__dot"] { display: none !important; }

:root {
  --nxc-r-lg: 18px;
  --nxc-r: 14px;
  --nxc-pad: clamp(90px, 10vw, 150px);
  --nxc-hud: rgba(255, 255, 255, .6);
  --nxc-rec: #ff3b30;
  --nxc-violet: #7c5cff;
  --nxc-glow: rgba(67, 224, 255, .45);
  --nxc-ease: cubic-bezier(.22, 1, .36, 1);
}

@keyframes nxcShimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes nxcFloat { from { transform: translate3d(-4%, -2%, 0) scale(1); } to { transform: translate3d(5%, 4%, 0) scale(1.15); } }

/* ============== HERO — REGIA ============== */
.nxc-hero {
  position: relative;
  min-height: max(720px, 100svh);
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--nx-bg);
}
.nxc-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center 30%;
  filter: contrast(1.1) brightness(.74) saturate(1.22);
  transform: scale(1.06);
  animation: nxcKen 26s ease-in-out infinite alternate;
}
@keyframes nxcKen {
  from { transform: scale(1.06) translate3d(0,0,0); }
  to   { transform: scale(1.16) translate3d(-1.2%, -1.5%, 0); }
}
.nxc-hero__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.08) brightness(.72) saturate(1.18);
}
@media (max-width: 900px) { .nxc-hero__video { display: none; } }
/* col video attivo il girato DEVE vedersi: scrim alleggerito e niente doppio movimento */
.nxc-hero--video .nxc-hero__video { filter: contrast(1.06) brightness(.88) saturate(1.15); }
@media (min-width: 901px) {
  .nxc-hero--video .nxc-hero__bg { animation: none; }
  .nxc-hero--video .nxc-hero__scrim {
    background:
      linear-gradient(98deg, rgba(6,8,15,.86) 0%, rgba(6,8,15,.44) 40%, rgba(6,8,15,.05) 66%, transparent 80%),
      linear-gradient(180deg, rgba(6,8,15,.28) 0%, transparent 32%, rgba(10,11,15,.92) 95%);
  }
  .nxc-hero--video .nxc-hero__scrim::after { opacity: .28; }
}
.nxc-hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(70% 90% at 78% 28%, rgba(62,139,255,.16), transparent 62%),
    linear-gradient(98deg, rgba(6,8,15,.94) 0%, rgba(6,8,15,.6) 44%, rgba(6,8,15,.12) 78%),
    linear-gradient(180deg, rgba(6,8,15,.42) 0%, rgba(6,8,15,.18) 45%, rgba(10,11,15,.97) 96%);
}
.nxc-hero__scrim::after {
  content: ""; position: absolute; inset: 0;
  background: var(--nx-brand); mix-blend-mode: soft-light; opacity: .55;
}


.nxc-hero__inner { position: relative; z-index: 2; max-width: 1180px; padding-top: 110px; }
.nxc-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--nx-font-mono);
  font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.78); margin-bottom: 30px;
}
.nxc-hero__eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--nx-accent); }
.nxc-hero__eyebrow strong { color: var(--nx-accent); font-weight: 600; }
.nxc-hero h1 {
  color: #fff;
  font-family: var(--nx-font-display);
  font-size: clamp(58px, 9.6vw, 150px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .95;
  margin: 0 0 30px;
  text-wrap: balance;
}
.nxc-hero h1 em {
  font-style: normal;
  background: linear-gradient(110deg, #fff 0%, var(--nx-accent) 40%, var(--nx-brand) 80%, #fff 115%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: nxcShimmer 7s ease-in-out 1.4s infinite;
}
.nxc-hero__sub {
  color: var(--nx-ink-2);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.55;
  max-width: 640px;
  margin-bottom: 40px;
}
.nxc-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.nxc-hero__ctas .nx-btn--lg { padding: 18px 34px; font-size: 16px; font-weight: 600; border-radius: 10px; }
.nxc-hero__ctas .nx-btn--primary { box-shadow: 0 8px 36px rgba(62,139,255,.5); }
.nxc-hero__ctas .nx-btn--primary:hover { box-shadow: 0 14px 48px rgba(67,224,255,.6); }

/* console numeri in coda al hero */
.nxc-hero__numbers {
  position: relative; z-index: 2;
  margin-top: clamp(44px, 6vh, 84px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(8,10,18,.25), rgba(8,10,18,.66));
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.nxc-hero__numbers-item {
  padding: clamp(18px, 2.4vw, 30px) clamp(18px, 2.6vw, 40px);
  border-inline-end: 1px solid rgba(255,255,255,.1);
}
.nxc-hero__numbers-item:last-child { border-inline-end: none; }
.nxc-hero__numbers-n {
  font-family: var(--nx-font-display);
  font-size: clamp(30px, 3.4vw, 52px); font-weight: 700; letter-spacing: -.03em;
  color: #fff; line-height: 1;
}
.nxc-hero__numbers-l {
  margin-top: 8px;
  font-family: var(--nx-font-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--nx-ink-soft);
}

/* ============== TICKER TRACK RECORD ============== */
.nxc-ticker {
  position: relative;
  border-top: 1px solid var(--nx-line);
  border-bottom: 1px solid var(--nx-line);
  background: var(--nx-bg-2);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.nxc-ticker__track { display: flex; width: max-content; animation: nxcTicker 42s linear infinite; }
.nxc-ticker:hover .nxc-ticker__track { animation-play-state: paused; }
@keyframes nxcTicker { to { transform: translateX(-50%); } }
.nxc-ticker__list { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.nxc-ticker__list li {
  font-family: var(--nx-font-mono); font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--nx-ink-2); padding: 17px 0; white-space: nowrap;
  transition: color .25s, text-shadow .25s;
}
.nxc-ticker__list li:hover { color: var(--nx-ink); }
.nxc-ticker__list li::after { content: "\00B7"; color: var(--nx-brand); opacity: .6; margin: 0 30px; letter-spacing: 0; }

/* ============== SEZIONI — con aurora animata ============== */
.nxc-bigsection { padding: var(--nxc-pad) 0; background: var(--nx-bg); position: relative; overflow: hidden; }
.nxc-bigsection--tint {
  background:
    radial-gradient(55% 40% at 50% 0%, rgba(62,139,255,.08), transparent 70%),
    var(--nx-bg-2);
  border-top: 1px solid var(--nx-line);
  border-bottom: 1px solid var(--nx-line);
}
/* blob aurora che deriva lentamente dietro il contenuto */
.nxc-bigsection::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 52vw; height: 52vw; right: -18%; top: -22%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--nx-brand), transparent 70%);
  opacity: .07; filter: blur(80px); mix-blend-mode: screen;
  animation: nxcFloat 26s ease-in-out infinite alternate;
}
.nxc-bigsection:nth-of-type(even)::before { right: auto; left: -18%; background: radial-gradient(circle, var(--nx-accent), transparent 70%); animation-duration: 32s; }
.nxc-bigsection > .nx-container { position: relative; z-index: 1; }
/* legacy */
.nxc-bigsection--white { background: #f7f8fb; color: var(--nx-bg); }
.nxc-bigsection--white h2, .nxc-bigsection--white h3 { color: var(--nx-bg); }
.nxc-bigsection--white p { color: #4a5b78; }

.nxc-bighead { max-width: 1000px; margin-bottom: clamp(48px, 6vw, 84px); }
.nxc-bighead__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--nx-font-mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--nx-accent); margin-bottom: 26px;
}
.nxc-bighead__eyebrow::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, var(--nx-accent), transparent); box-shadow: 0 0 8px var(--nxc-glow); }
.nxc-bighead h2 {
  font-family: var(--nx-font-display);
  font-size: clamp(42px, 5.6vw, 84px);
  font-weight: 700; letter-spacing: -.04em; line-height: 1.0;
  color: var(--nx-ink); margin: 0 0 22px;
  text-wrap: balance;
}
.nxc-bighead h2 em {
  font-style: normal;
  background: linear-gradient(110deg, var(--nx-accent) 0%, var(--nx-brand) 55%, var(--nxc-violet) 110%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: nxcShimmer 8s ease-in-out infinite;
}
.nxc-bighead__sub { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--nx-ink-soft); max-width: 720px; margin: 0; }

/* ============== BENTO — LE 4 ANIME (bordo conico rotante) ============== */
.nxc-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 16px;
}
.nxc-bento__tile {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--nxc-r-lg);
  border: 1px solid var(--nx-line-2);
  min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none;
  transition: transform .35s var(--nxc-ease), border-color .3s, box-shadow .35s;
}
.nxc-bento__tile--broadcast { grid-column: 1 / 8;  grid-row: 1 / 3; min-height: 620px; }
.nxc-bento__tile--events    { grid-column: 8 / 13; grid-row: 1; }
.nxc-bento__tile--cyber     { grid-column: 8 / 13; grid-row: 2; }
.nxc-bento__tile--network   { grid-column: 1 / 13; grid-row: 3; min-height: 320px; }
.nxc-bento__tile:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--tile-accent, var(--nx-accent)) 55%, transparent);
  box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--tile-accent, var(--nx-accent)) 40%, transparent);
}
.nxc-bento__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  filter: saturate(1.12) contrast(1.06) brightness(.85);
  animation: nxcDrift 26s ease-in-out infinite alternate;
  transition: filter .4s;
}
@keyframes nxcDrift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to   { transform: scale(1.17) translate3d(-2%, -1.6%, 0); }
}
.nxc-bento__tile:nth-child(2) .nxc-bento__bg { animation-delay: -9s; animation-duration: 30s; }
.nxc-bento__tile:nth-child(3) .nxc-bento__bg { animation-delay: -17s; animation-duration: 34s; }
.nxc-bento__tile:nth-child(4) .nxc-bento__bg { animation-delay: -5s; animation-duration: 28s; }
.nxc-bento__tile:hover .nxc-bento__bg { animation-play-state: paused; filter: saturate(1.25) contrast(1.08) brightness(.95); }
.nxc-bento__grade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,9,16,.18) 0%, rgba(7,9,16,.5) 48%, rgba(7,9,16,.93) 88%);
}
.nxc-bento__grade::after {
  content: ""; position: absolute; inset: 0;
  background: var(--tile-accent, var(--nx-brand)); mix-blend-mode: soft-light; opacity: .45;
}
.nxc-bento__code {
  position: absolute; top: 20px; right: 22px; z-index: 3;
  font-family: var(--nx-font-mono); font-size: 10.5px; letter-spacing: .22em;
  color: rgba(255,255,255,.75);
}
.nxc-bento__tile::before {
  content: ""; position: absolute; top: 18px; left: 18px; width: 22px; height: 22px; z-index: 3;
  border-top: 2px solid var(--tile-accent, var(--nx-accent));
  border-left: 2px solid var(--tile-accent, var(--nx-accent));
  opacity: .8;
}
.nxc-bento__body { position: relative; padding: clamp(22px, 2.6vw, 34px); }
.nxc-bento__body h3 {
  font-family: var(--nx-font-display);
  font-size: clamp(26px, 2.8vw, 42px); font-weight: 700; letter-spacing: -.03em;
  color: #fff; margin: 0 0 12px;
}
.nxc-bento__body p { color: rgba(230,236,246,.84); font-size: 14.5px; line-height: 1.6; max-width: 56ch; margin: 0 0 18px; }
.nxc-bento__links { display: flex; flex-wrap: wrap; gap: 8px; }
.nxc-bento__links span {
  font-family: var(--nx-font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.88);
  padding: 6px 11px; border: 1px solid rgba(255,255,255,.22); border-radius: 7px;
  background: rgba(8,10,18,.4); backdrop-filter: blur(4px);
  transition: border-color .25s;
}
.nxc-bento__tile:hover .nxc-bento__links span {
  border-color: color-mix(in srgb, var(--tile-accent, var(--nx-accent)) 60%, transparent);
}

/* ============== BIG NUMBERS — neon ============== */
.nxc-bignum { padding: var(--nxc-pad) 0; background: var(--nx-bg); }
.nxc-bignum__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); }
.nxc-bignum__item { border-top: 1px solid var(--nx-line-2); padding-top: 24px; transition: border-color .3s; position: relative; }
.nxc-bignum__item::after {
  content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px;
  background: linear-gradient(90deg, var(--nx-accent), var(--nx-brand));
  transition: width .6s var(--nxc-ease);
}
.nxc-bignum__item:hover::after { width: 100%; }
.nxc-bignum__item-n {
  font-family: var(--nx-font-display);
  font-size: clamp(56px, 6.6vw, 108px);
  font-weight: 700; letter-spacing: -.045em; line-height: .95;
  background: linear-gradient(120deg, var(--nx-accent), var(--nx-brand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 18px color-mix(in srgb, var(--nx-brand) 25%, transparent));
}
.nxc-bignum__item-l {
  margin-top: 14px;
  font-family: var(--nx-font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--nx-accent);
}
.nxc-bignum__item-d { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--nx-ink-soft); }

/* ============== DIVISIONI — DIRECTORY ============== */
.nxc-divisions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.nxc-divisions__group {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 16px;
  margin: 26px 0 4px;
  font-family: var(--nx-font-mono); font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--nx-ink-dim);
}
.nxc-divisions__group:first-child { margin-top: 0; }
.nxc-divisions__group::after { content: ""; flex: 1; height: 1px; background: var(--nx-line); }
.nxc-div {
  position: relative; display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 18px 18px 22px;
  background: var(--nx-surf);
  border: 1px solid var(--nx-line);
  border-radius: var(--nxc-r);
  text-decoration: none; overflow: hidden;
  transition: transform .3s var(--nxc-ease), border-color .3s, box-shadow .3s, background .25s;
}
.nxc-div:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent, var(--nx-brand)) 55%, transparent);
  box-shadow: 0 22px 60px -28px color-mix(in srgb, var(--accent, var(--nx-brand)) 50%, transparent);
  background: var(--nx-surf-2);
}
.nxc-div__rail {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent, var(--nx-brand));
  box-shadow: 0 0 12px 0 var(--accent, var(--nx-brand));
  transform: scaleY(.35); transform-origin: 0 0; opacity: .7;
  transition: transform .35s var(--nxc-ease), opacity .3s;
}
.nxc-div:hover .nxc-div__rail { transform: scaleY(1); opacity: 1; }
.nxc-div__photo {
  flex: 0 0 76px; height: 76px; border-radius: 10px;
  background-size: cover; background-position: center;
  filter: saturate(1.05) contrast(1.02);
  border: 1px solid var(--nx-line-2);
  overflow: hidden;
  transition: filter .3s, background-size .5s var(--nxc-ease), transform .4s var(--nxc-ease);
}
.nxc-div:hover .nxc-div__photo { filter: saturate(1.25) contrast(1.05); transform: scale(1.06); }
.nxc-div__body { min-width: 0; }
.nxc-div__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.nxc-div__num { font-family: var(--nx-font-mono); font-size: 10px; letter-spacing: .18em; color: var(--nx-ink-dim); }
.nxc-div__name {
  font-family: var(--nx-font-display);
  font-size: 17.5px; font-weight: 700; letter-spacing: -.015em;
  color: var(--nx-ink); margin: 0;
}
.nxc-div__desc { font-size: 13px; line-height: 1.55; color: var(--nx-ink-soft); margin: 0 0 10px; }
.nxc-div__cta {
  font-family: var(--nx-font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: color-mix(in srgb, var(--accent, var(--nx-brand)) 85%, #fff);
  opacity: .75; transition: opacity .25s, letter-spacing .3s;
}
.nxc-div:hover .nxc-div__cta { opacity: 1; letter-spacing: .2em; }

/* ============== TIMELINE GRUPPO ============== */
.nxc-timeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px);
  position: relative; padding-top: 26px;
}
.nxc-timeline::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--nx-accent), var(--nx-brand) 55%, transparent);
}
.nxc-timeline .nxc-bignum__item { border-top: none; padding-top: 0; position: relative; }
.nxc-timeline .nxc-bignum__item::after { display: none; }
.nxc-timeline .nxc-bignum__item::before {
  content: ""; position: absolute; top: -30px; left: 2px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--nx-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--nx-accent) 18%, transparent);
}
.nxc-timeline .nxc-bignum__item-n { font-size: clamp(44px, 4.6vw, 72px); }

/* ============== TRACK RECORD — SHOWCASE ============== */
.nxc-show__stage {
  position: relative; overflow: hidden; isolation: isolate;
  height: clamp(440px, 62vh, 620px);
  border-radius: var(--nxc-r-lg);
  border: 1px solid var(--nx-line-2);
  cursor: grab;
}
.nxc-show__stage:active { cursor: grabbing; }
.nxc-show__slide {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  opacity: 0; transform: scale(1.015); pointer-events: none;
  transition: opacity .7s var(--nxc-ease), transform .9s var(--nxc-ease);
}
.nxc-show__slide.is-on { opacity: 1; transform: none; pointer-events: auto; z-index: 1; }
.nxc-show__img {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  filter: saturate(1.12) contrast(1.05) brightness(.85);
  animation: nxcDrift 30s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.nxc-show__slide.is-on .nxc-show__img { animation-play-state: running; }
.nxc-show__grade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(98deg, rgba(7,9,16,.78) 0%, rgba(7,9,16,.3) 45%, transparent 70%),
    linear-gradient(180deg, transparent 40%, rgba(7,9,16,.88) 96%);
}
.nxc-show__grade::after {
  content: ""; position: absolute; inset: 0;
  background: var(--accent, var(--nx-brand)); mix-blend-mode: soft-light; opacity: .3;
}
.nxc-show__idx {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--nx-font-mono); font-size: 11px; letter-spacing: .2em; color: rgba(255,255,255,.6);
}
.nxc-show__content { position: relative; padding: clamp(24px, 3vw, 46px); max-width: 720px; }
.nxc-show__tag {
  display: inline-block; margin-bottom: 14px;
  font-family: var(--nx-font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: #fff;
  padding: 6px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 7px;
  background: rgba(8,10,18,.45);
}
.nxc-show__name {
  font-family: var(--nx-font-display);
  font-size: clamp(36px, 4.6vw, 72px); font-weight: 700; letter-spacing: -.035em; line-height: .98;
  color: #fff; margin: 0 0 12px;
}
.nxc-show__desc { font-size: clamp(14px, 1.2vw, 16.5px); line-height: 1.6; color: rgba(232,238,248,.88); margin: 0; max-width: 58ch; }
/* entrata del contenuto a ogni cambio slide */
.nxc-show__slide .nxc-show__tag,
.nxc-show__slide .nxc-show__name,
.nxc-show__slide .nxc-show__desc { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--nxc-ease), transform .6s var(--nxc-ease); }
.nxc-show__slide.is-on .nxc-show__tag  { opacity: 1; transform: none; transition-delay: .15s; }
.nxc-show__slide.is-on .nxc-show__name { opacity: 1; transform: none; transition-delay: .25s; }
.nxc-show__slide.is-on .nxc-show__desc { opacity: 1; transform: none; transition-delay: .38s; }
/* frecce */
.nxc-show__nav { position: absolute; right: 22px; bottom: 22px; z-index: 2; display: flex; gap: 10px; }
.nxc-show__btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); background: rgba(8,10,18,.5);
  color: #fff; font-size: 18px; cursor: pointer;
  transition: border-color .25s, background .25s, transform .2s var(--nxc-ease);
}
.nxc-show__btn:hover { border-color: var(--nx-accent); background: rgba(8,10,18,.75); transform: translateY(-2px); }
/* tab con barra di avanzamento */
.nxc-show__tabs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0 18px; margin-top: 18px; }
.nxc-show__tab {
  position: relative; background: none; border: none; cursor: pointer;
  padding: 14px 2px 12px; text-align: left;
  border-top: 1px solid var(--nx-line-2);
  font-family: var(--nx-font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--nx-ink-dim);
  transition: color .25s;
}
.nxc-show__tab span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nxc-show__tab:hover { color: var(--nx-ink); }
.nxc-show__tab.is-on { color: var(--nx-ink); }
.nxc-show__tab i {
  position: absolute; top: -1px; left: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--nx-accent), var(--nx-brand));
  transform: scaleX(0); transform-origin: 0 50%;
}
.nxc-show__tab.is-on i { transform: scaleX(1); transition: transform .3s var(--nxc-ease); }
.nxc-show__tab.is-on.is-run i { transform: scaleX(0); animation: nxcProg 6s linear forwards; }
@keyframes nxcProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 1020px) {
  .nxc-show__tabs { grid-template-columns: repeat(4, 1fr); row-gap: 2px; }
}
@media (max-width: 680px) {
  .nxc-show__stage { height: 68vw; min-height: 380px; }
  .nxc-show__tabs { grid-template-columns: repeat(2, 1fr); }
  .nxc-show__nav { right: 14px; bottom: auto; top: 14px; left: auto; }
  .nxc-show__idx { display: none; }
}

/* ============== SEDI — con radar ping ============== */
.nxc-offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nxc-office {
  position: relative; overflow: hidden;
  padding: clamp(24px, 2.6vw, 34px);
  background:
    linear-gradient(var(--nx-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--nx-line) 1px, transparent 1px),
    var(--nx-surf);
  background-size: 44px 44px, 44px 44px, auto;
  border: 1px solid var(--nx-line);
  border-radius: var(--nxc-r-lg);
  transition: transform .3s var(--nxc-ease), border-color .3s, box-shadow .3s;
}
.nxc-office::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 70% at 50% 0%, transparent 30%, var(--nx-surf) 100%);
  pointer-events: none;
}
.nxc-office > * { position: relative; }
.nxc-office:hover { transform: translateY(-4px); border-color: var(--nx-line-3); box-shadow: 0 24px 60px -30px rgba(62,139,255,.45); }
.nxc-office__tz {
  position: absolute; top: 4px; right: 0;
  font-family: var(--nx-font-mono); font-size: 11px; letter-spacing: .18em;
  color: var(--nx-ink-dim);
}
.nxc-office__city {
  font-family: var(--nx-font-display);
  font-size: clamp(34px, 3.2vw, 48px); font-weight: 700; letter-spacing: -.035em;
  color: var(--nx-ink); line-height: 1;
  display: inline-flex; align-items: center; gap: 14px;
}
.nxc-office__city::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--nx-live); flex-shrink: 0;
}
.nxc-office:hover .nxc-office__coords { color: var(--nx-accent); }
.nxc-office__country {
  margin-top: 10px;
  font-family: var(--nx-font-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--nx-ink-soft);
}
.nxc-office__name { margin-top: 20px; font-size: 14.5px; font-weight: 600; color: var(--nx-ink-2); }
.nxc-office__addr { margin-top: 6px; font-style: normal; font-size: 14px; line-height: 1.6; color: var(--nx-ink-soft); }
.nxc-office__coords {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--nx-line);
  font-family: var(--nx-font-mono); font-size: 11px; letter-spacing: .14em;
  color: var(--nx-ink-dim);
  transition: color .3s;
}

/* ============== CTA FINALE ============== */
.nxc-cta-big {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(110px, 14vw, 190px) 0;
  background: var(--nx-bg-2);
  border-top: 1px solid var(--nx-line);
  text-align: center;
}
.nxc-cta-big__eyebrow {
  display: inline-block;
  font-family: var(--nx-font-mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--nx-accent); margin-bottom: 26px;
}
.nxc-cta-big h2 {
  font-family: var(--nx-font-display);
  font-size: clamp(52px, 8.4vw, 130px);
  font-weight: 700; letter-spacing: -.045em; line-height: .96;
  color: var(--nx-ink); margin: 0 0 22px;
}
.nxc-cta-big h2 em {
  font-style: normal;
  background: linear-gradient(110deg, var(--nx-accent) 0%, var(--nx-brand) 55%, var(--nxc-violet) 110%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: nxcShimmer 8s ease-in-out infinite;
}
.nxc-cta-big p { font-size: clamp(16px, 1.4vw, 19px); color: var(--nx-ink-soft); max-width: 560px; margin: 0 auto 40px; }
.nxc-cta-big__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.nxc-cta-big .nx-btn--lg { padding: 18px 36px; font-size: 16px; border-radius: 10px; }

/* ============== SCROLL-DRIVEN (browser che supportano view()) ============== */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .nxc-bento__tile { animation: nxcRise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .nxc-bignum__item-n { animation: nxcPop linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .nxc-office { animation: nxcRise linear both; animation-timeline: view(); animation-range: entry 0% entry 50%; }
  }
}
@keyframes nxcRise { from { opacity: .2; transform: translateY(46px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes nxcPop { from { opacity: 0; transform: translateY(20px) scale(.92); } to { opacity: 1; transform: none; } }

/* ============== RESPONSIVE ============== */
@media (max-width: 1020px) {
  .nxc-bento__tile--broadcast { grid-column: 1 / 13; grid-row: auto; min-height: 460px; }
  .nxc-bento__tile--events,
  .nxc-bento__tile--cyber,
  .nxc-bento__tile--network { grid-column: 1 / 13; grid-row: auto; min-height: 320px; }
  .nxc-divisions { grid-template-columns: repeat(2, 1fr); }
  .nxc-bignum__grid, .nxc-timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .nxc-offices { grid-template-columns: 1fr; }
  .nxc-event { grid-template-columns: 64px 1fr; row-gap: 8px; }
  .nxc-event__name { grid-column: 1 / -1; }
  .nxc-event__desc { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .nxc-hero__numbers { grid-template-columns: repeat(2, 1fr); }
  .nxc-hero__numbers-item:nth-child(2) { border-inline-end: none; }
  .nxc-hero__numbers-item:nth-child(1),
  .nxc-hero__numbers-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .nxc-divisions { grid-template-columns: 1fr; }
  .nxc-bignum__grid, .nxc-timeline { grid-template-columns: 1fr; }
  .nxc-hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .nxc-bigsection::before { filter: blur(50px); }
}

/* ============== MOTION SAFETY ============== */
@media (prefers-reduced-motion: reduce) {
  .nxc-hero__bg, .nxc-bento__bg, .nxc-show__img { animation: none; transform: none; }
  .nxc-show__slide, .nxc-show__slide .nxc-show__tag, .nxc-show__slide .nxc-show__name, .nxc-show__slide .nxc-show__desc { transition: none; }
  .nxc-hero__video { display: none; }
  .nxc-ticker__track { animation: none; flex-wrap: wrap; width: auto; }
  .nxc-bigsection::before,
  .nxc-hero h1 em, .nxc-bighead h2 em, .nxc-cta-big h2 em { animation: none; }
  .nxc-bento__tile, .nxc-div, .nxc-office, .nxc-event::before, .nxc-div__rail { transition: none; }
}

/* ==============================================================
 * S-06 · RETE GLOBALE — mappa interattiva (nxm-*)
 * SVG equirettangolare inline, tooltip vanilla, niente librerie.
 * ============================================================== */
.nxm-world {
  position: relative; margin: 0;
  padding: clamp(10px, 1.6vw, 22px);
  border: 1px solid var(--nx-line);
  border-radius: var(--nxc-r-lg);
  overflow: hidden;
  background:
    radial-gradient(90% 130% at 50% -10%, rgba(62, 139, 255, .09), transparent 62%),
    radial-gradient(60% 90% at 80% 115%, rgba(67, 224, 255, .05), transparent 60%),
    var(--nx-bg);
}
.nxm-world__scroll { overflow-x: auto; scrollbar-width: thin; }
.nxm-world__scroll svg { display: block; width: 100%; min-width: 640px; height: auto; }

/* punti-terra e graticolo */
.nxm-dots { fill: none; stroke: rgba(155, 184, 255, .28); stroke-width: 2.55; stroke-linecap: round; pointer-events: none; }
.nxm-dots--eu { stroke-width: 3.1; stroke: rgba(155, 184, 255, .32); }
.nxm-grat line { stroke: rgba(255, 255, 255, .045); stroke-width: .6; }

/* rotte intercontinentali tra le sedi */
.nxm-arc {
  fill: none; stroke: url(#nxm-garc); stroke-width: 1.5; stroke-linecap: round;
  stroke-dasharray: 2.5 6.5; opacity: .9;
  animation: nxmFlow 1.6s linear infinite;
}
.nxm-arc--glow { stroke: var(--nx-brand); stroke-width: 5; opacity: .13; filter: blur(3px); stroke-dasharray: none; animation: none; }
@keyframes nxmFlow { to { stroke-dashoffset: -9; } }
.nxm-pkt { fill: var(--nx-accent); filter: drop-shadow(0 0 4px var(--nxc-glow)); }

/* nodi: PoP / hub / teleporti / landing point */
.nxm-pop { cursor: pointer; }
.nxm-pop__hit, .nxm-hub__hit, .nxm-tp__hit, .nxm-node__hit { fill: transparent; }
.nxm-pop__pt {
  fill: var(--nx-accent); opacity: .75;
  transform-box: fill-box; transform-origin: center;
  transition: opacity .2s, transform .25s var(--nxc-ease);
}
.nxm-pop:hover .nxm-pop__pt { opacity: 1; transform: scale(1.75); }
.nxm-hub, .nxm-tp, .nxm-node { cursor: pointer; outline: none; }
.nxm-hub__ring {
  fill: none; stroke: var(--nx-accent); stroke-width: 1.2; opacity: .9;
  transform-box: fill-box; transform-origin: center;
  transition: transform .25s var(--nxc-ease), stroke .2s;
}
.nxm-hub:hover .nxm-hub__ring, .nxm-hub:focus-visible .nxm-hub__ring { transform: scale(1.25); stroke: #fff; }
.nxm-hub__core { fill: #fff; }
.nxm-tp__mark {
  fill: rgba(10, 11, 15, .9); stroke: var(--nxc-violet); stroke-width: 1.4;
  transform-box: fill-box; transform-origin: center;
  transition: transform .25s var(--nxc-ease);
}
.nxm-tp:hover .nxm-tp__mark, .nxm-tp:focus-visible .nxm-tp__mark { transform: scale(1.25); }
.nxm-link { fill: none; stroke: var(--nxc-violet); stroke-width: 1; stroke-dasharray: 2 5; opacity: .55; animation: nxmFlow 2.4s linear infinite; }
.nxm-node__pt { transform-box: fill-box; transform-origin: center; transition: transform .25s var(--nxc-ease); }
.nxm-node:hover .nxm-node__pt, .nxm-node:focus-visible .nxm-node__pt { transform: scale(1.3); }
.nxm-node__pt--red { fill: var(--nxc-rec); }
.nxm-node__pt--blue { fill: var(--nx-brand); }

/* backbone dual-path (inset) */
.nxm-bb { fill: none; stroke-width: 1.6; stroke-linecap: round; opacity: .4; }
.nxm-bb--red { stroke: var(--nxc-rec); }
.nxm-bb--blue { stroke: var(--nx-brand); }
.nxm-bb--flow { opacity: 1; stroke-width: 2; stroke-dasharray: 4 9; animation: nxmFlow 1.3s linear infinite; }
.nxm-bb--flow-rev { animation-direction: reverse; }
.nxm-hit { fill: none; stroke: transparent; stroke-width: 14; pointer-events: stroke; }

/* etichette dentro l'SVG */
.nxm-lab {
  font-family: var(--nx-font-mono); font-size: 9.5px; font-weight: 600; letter-spacing: .16em;
  fill: rgba(255, 255, 255, .82);
  paint-order: stroke; stroke: rgba(8, 10, 16, .85); stroke-width: 3px;
  pointer-events: none;
}
.nxm-lab--hub { fill: #fff; font-size: 10px; }
.nxm-lab--tp { fill: color-mix(in srgb, var(--nxc-violet) 70%, #fff); }

/* tooltip */
.nxm-tip {
  position: absolute; top: 0; left: 0; z-index: 5;
  min-width: 150px; max-width: 260px;
  padding: 12px 14px;
  background: rgba(9, 11, 18, .94);
  border: 1px solid var(--nx-line-3);
  border-radius: 10px;
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .75);
  backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity .18s;
  will-change: transform;
}
.nxm-tip.is-on { opacity: 1; }
.nxm-tip strong { display: block; font-family: var(--nx-font-display); font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.nxm-tip span { display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.45; color: var(--nx-ink-soft); }
.nxm-tip em {
  display: block; margin-top: 8px; padding-top: 7px;
  border-top: 1px solid var(--nx-line);
  font-style: normal; font-family: var(--nx-font-mono); font-size: 9.5px; letter-spacing: .14em;
  color: var(--nx-accent);
}
.nxm-tip span:empty, .nxm-tip em:empty { display: none; }

/* riga sotto la mappa: inset backbone + legenda/numeri */
.nxm-below { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; margin-top: 16px; }
.nxm-inset {
  margin: 0; padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--nx-line); border-radius: var(--nxc-r-lg);
  background: var(--nx-surf);
}
.nxm-inset__code {
  font-family: var(--nx-font-mono); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--nx-ink-dim);
}
.nxm-inset__head h3 {
  font-family: var(--nx-font-display);
  font-size: clamp(22px, 2vw, 30px); font-weight: 700; letter-spacing: -.02em;
  color: var(--nx-ink); margin: 8px 0 18px;
}
.nxm-red, .nxm-blue { font-family: var(--nx-font-mono); font-size: .78em; letter-spacing: .1em; text-transform: uppercase; }
.nxm-red { color: #ff6b61; }
.nxm-blue { color: #6ea6ff; }
.nxm-inset__map {
  position: relative; overflow: hidden;
  border: 1px solid var(--nx-line); border-radius: 12px;
  background:
    radial-gradient(100% 120% at 45% 40%, rgba(62, 139, 255, .08), transparent 65%),
    var(--nx-bg);
}
.nxm-inset__map svg { display: block; width: 100%; height: auto; }

.nxm-side {
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--nx-line); border-radius: var(--nxc-r-lg);
  background: var(--nx-surf);
}
.nxm-side__copy { font-size: 14.5px; line-height: 1.65; color: var(--nx-ink-soft); margin: 0; }
.nxm-legend {
  list-style: none; margin: 0; padding: 18px 0;
  border-top: 1px solid var(--nx-line); border-bottom: 1px solid var(--nx-line);
  display: grid; gap: 11px;
}
.nxm-legend li {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--nx-font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--nx-ink-2);
}
.nxm-legend i { flex: 0 0 26px; height: 14px; font-style: normal; }
.nxm-legend i svg { display: block; width: 26px; height: 14px; }
.nxm-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 18px; }
.nxm-stat__n {
  font-family: var(--nx-font-display);
  font-size: clamp(30px, 2.6vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(120deg, var(--nx-accent), var(--nx-brand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nxm-stat__l {
  margin-top: 6px;
  font-family: var(--nx-font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--nx-ink-soft);
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .nxm-world, .nxm-inset, .nxm-side { animation: nxcRise linear both; animation-timeline: view(); animation-range: entry 0% entry 50%; }
  }
}
@media (max-width: 1020px) {
  .nxm-below { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .nxm-arc, .nxm-bb--flow, .nxm-link { animation: none; }
  .nxm-pkt { display: none; }
  .nxm-pop__pt, .nxm-hub__ring, .nxm-tp__mark, .nxm-node__pt { transition: none; }
}

/* === B-01 v2 — mappa interconnessioni broadcast (lug 2026) === */
.nxm-board-cap {
  fill: rgba(255, 255, 255, .34);
  font-family: var(--nx-font-mono); font-size: 9px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
}
.nxm-divider { stroke: rgba(255, 255, 255, .09); stroke-width: 1; }
.nxm-ln { fill: none; stroke-width: 1.4; stroke-linecap: round; opacity: .8; }
.nxm-ln--nx { stroke: #9bb8ff; stroke-width: 1.6; opacity: .68; }
.nxm-ln--bt { stroke: #cdd6e4; }
.nxm-ln--or { stroke: #ff9e2c; }
.nxm-ln--rw { stroke: #10b981; }
.nxm-ln--in { stroke: #ffd166; }
.nxm-ln--us { stroke: #ec4899; }
.nxm-node__pt--nx { fill: #9bb8ff; }
.nxm-node__pt--bt { fill: #cdd6e4; }
.nxm-node__pt--us { fill: #ec4899; }
.nxm-lab--dir { fill: rgba(255, 255, 255, .48); }
.nxm-net { transition: opacity .3s ease; }
svg[data-focus] .nxm-net { opacity: .1; }
svg[data-focus="nx"] .nxm-net--nx,
svg[data-focus="ev"] .nxm-net--ev,
svg[data-focus="px"] .nxm-net--bt,
svg[data-focus="px"] .nxm-net--or,
svg[data-focus="px"] .nxm-net--rw,
svg[data-focus="px"] .nxm-net--in,
svg[data-focus="px"] .nxm-net--us { opacity: 1; }
.nxm-legend--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.nxm-legend--2col li[data-net] { cursor: default; transition: color .2s; }
.nxm-legend--2col li[data-net]:hover { color: var(--nx-ink); }
.nxm-legend--2col li[data-net]:focus-visible { color: var(--nx-ink); outline: 1px solid var(--nx-accent); outline-offset: 3px; }
@media (max-width: 560px) { .nxm-legend--2col { grid-template-columns: 1fr; } }


/* === Ticker partner — logo wall (lug 2026) === */
.nxc-ticker--logos .nxc-ticker__track { animation-duration: 85s; }
.nxc-ticker--logos .nxc-ticker__list li { display: flex; align-items: center; padding: 21px 0; }
.nxc-ticker--logos .nxc-ticker__list img {
  display: block; height: 28px; width: auto; max-width: 150px;
  opacity: .58; transition: opacity .25s;
}
.nxc-ticker--logos .nxc-ticker__list li:hover img { opacity: 1; }
.nxc-ticker--logos .nxc-ticker__list li::after { opacity: .35; }
@media (max-width: 640px) { .nxc-ticker--logos .nxc-ticker__list img { height: 22px; max-width: 120px; } }
