/* ============================================================
   Avance Design System — Combined (tokens + motion + premium)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400;1,600&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ===== TOKENS ===== */
:root {
  --avance-indigo:  #533AFD;
  --indigo-press:   #2E2B8C;
  --deep-nav:       #1C1E54;
  --process-cyan:   #4CC9F0;
  --human-coral:    #CC785C;

  --canvas:         #FFFFFF;
  --canvas-soft:    #F6F9FC;
  --warm-canvas:    #FAF9F5;
  --hairline:       #E3E8EE;
  --success-pale:   #EDFCE9;

  --ink:            #0D253D;
  --ink-muted:      #64748D;
  --ink-faint:      #98A4B5;

  --dark-canvas:    #08090D;
  --dark-surface:   #11131A;
  --dark-surface-2: #171A24;
  --dark-hairline:        rgba(255,255,255,.08);
  --dark-hairline-strong: rgba(255,255,255,.14);
  --dark-ink:       #F5F6FA;
  --dark-ink-muted: #8A91A8;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-xs:   6px;
  --r-sm:   10px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 999px;

  --sh-1: 0 1px 0 rgba(13,37,61,.04), 0 1px 2px rgba(13,37,61,.04);
  --sh-2: 0 1px 0 rgba(13,37,61,.04), 0 4px 16px rgba(13,37,61,.06);
  --sh-3: 0 8px 32px rgba(13,37,61,.08), 0 2px 4px rgba(13,37,61,.04);
  --sh-glow-indigo: 0 0 0 1px rgba(var(--c1-rgb), .18), 0 8px 24px rgba(var(--c1-rgb), .18);

  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:    cubic-bezier(0.22, 1, 0.36, 1);

  /* Colore principale e accento in forma "r,g,b" per le trasparenze.
     Default = Avance AI. I temi sotto li ridefiniscono per sezione. */
  --c1-rgb:   83,58,253;
  --c2-rgb:   76,201,240;
  --c1-hover: #6852FF;
  --c1-ink:   #fff;        /* testo sopra il colore principale */

  /* Colori di marchio delle tre anime (fissi, usati ovunque) */
  --brand-ai:    #4CC9F0;
  --brand-adv:   #FE5310;
  --brand-adv-2: #FF9A5C;
  --brand-group: #D4A156;
  --brand-group-2: #F2D08A;
}

/* ===== TEMI PER SEZIONE =====
   <html data-theme="group|ai|adv">. AI resta il default (indaco + ciano). */
html[data-theme="group"] {
  --avance-indigo: #C8913F;
  --process-cyan:  #E9BE6A;
  --c1-rgb:   200,145,63;
  --c2-rgb:   233,190,106;
  --c1-hover: #D9A253;
  --c1-ink:   #0B0B0F;
}
html[data-theme="adv"] {
  --avance-indigo: #FE5310;
  --process-cyan:  #FF9A5C;
  --c1-rgb:   254,83,16;
  --c2-rgb:   255,154,92;
  --c1-hover: #FF6A2C;
  --c1-ink:   #fff;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html { background: var(--dark-canvas); }

body {
  font-family: var(--font-sans);
  background: transparent;
  color: var(--dark-ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}
@media (max-width: 768px) { body { cursor: auto; } }

/* ===== TYPOGRAPHY ===== */
.av-h-display { font-size: 64px; line-height: 1.02; letter-spacing: -.035em; font-weight: 600; }
.av-h-1 { font-size: 44px; line-height: 1.06; letter-spacing: -.03em; font-weight: 600; }
.av-h-2 { font-size: 32px; line-height: 1.1; letter-spacing: -.025em; font-weight: 600; }
.av-h-3 { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
.av-h-4 { font-size: 17px; line-height: 1.3; letter-spacing: -.01em; font-weight: 600; }
.av-body    { font-size: 16px; line-height: 1.55; color: var(--ink-muted); }
.av-body--lg{ font-size: 18px; line-height: 1.55; color: var(--ink-muted); }
.av-body--sm{ font-size: 14px; line-height: 1.5;  color: var(--ink-muted); }
.av-mono { font-family: var(--font-mono); letter-spacing: .02em; }
.av-eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted);
}
.av-eyebrow--dark { color: var(--process-cyan); }
.av-headline {
  font-family: var(--font-sans);
  font-size: clamp(48px, 6.4vw, 104px);
  line-height: 1; letter-spacing: -.04em; font-weight: 600;
}

/* ===== BUTTONS ===== */
.av-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  padding: 12px 18px; border-radius: var(--r-full); border: 0;
  cursor: pointer; transition: all .15s ease; line-height: 1; letter-spacing: -.01em;
  white-space: nowrap;
}
.av-btn--primary { background: var(--avance-indigo); color: var(--c1-ink); box-shadow: var(--sh-glow-indigo); }
.av-btn--primary:hover { background: var(--c1-hover); transform: translateY(-1px); }
.av-btn--dark-primary { background: var(--avance-indigo); color: var(--c1-ink); box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 12px 32px rgba(var(--c1-rgb), .32); }
.av-btn--dark-secondary { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.av-btn--dark-secondary:hover { background: rgba(255,255,255,.1); }
.av-btn--lg { padding: 16px 24px; font-size: 15px; }
.av-btn--sm { padding: 9px 14px; font-size: 13px; }

/* Magnetic buttons */
.magnet {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 28px;
  font-family: var(--font-sans); font-weight: 600; font-size: 16px;
  border-radius: 999px; border: 0;
  background: #fff; color: var(--dark-canvas);
  cursor: pointer; position: relative;
  transition: background .2s ease, color .2s ease;
  will-change: transform;
}
.magnet--ghost {
  background: transparent; color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}
.magnet--indigo { background: var(--avance-indigo); color: var(--c1-ink); box-shadow: 0 12px 32px rgba(var(--c1-rgb), .4); }
.magnet:hover { background: var(--process-cyan); color: var(--dark-canvas); }
.magnet--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.magnet--indigo:hover { background: var(--c1-hover); }
.magnet svg { transition: transform .4s var(--ease-soft); }
.magnet:hover svg { transform: translateX(4px); }
.magnet:active { transform: scale(.97) !important; transition: transform .12s ease; }

/* ===== TAGS ===== */
.av-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: var(--r-full);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em;
  text-transform: uppercase;
}
.av-tag--light { background: rgba(var(--c1-rgb), .08); color: var(--avance-indigo); }
.av-tag--dark  { background: rgba(255,255,255,.06); color: var(--process-cyan); box-shadow: inset 0 0 0 1px rgba(var(--c2-rgb), .18); }
.av-tag--coral { background: rgba(204,120,92,.1); color: var(--human-coral); }
.av-tag--green { background: rgba(34,197,94,.1); color: #22C55E; box-shadow: inset 0 0 0 1px rgba(34,197,94,.2); }
.av-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 6px; }

/* ===== LAYOUT HELPERS ===== */
.sec  { padding: 12vw 0; position: relative; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 48px; }
.av-section   { padding: 96px 0; }
.av-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.hr-line { height: 1px; background: rgba(255,255,255,.08); }

/* ===== GRID BG ===== */
.av-grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ===== CUSTOM CURSOR ===== */
.av-cursor {
  position: fixed; top: 0; left: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--process-cyan);
  pointer-events: none; mix-blend-mode: difference; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .25s ease, height .25s ease, opacity .25s ease;
  will-change: transform;
}
.av-cursor--lg { width: 64px; height: 64px; background: var(--avance-indigo); }
.av-cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform .14s linear;
  will-change: transform;
}

/* ===== SCROLL REVEALS ===== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-word {
  display: inline-block; overflow: hidden;
  padding: 0 .04em; margin: 0 -.04em; vertical-align: top;
}
.reveal-word > span {
  display: inline-block; transform: translateY(110%);
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.reveal-word.in > span { transform: none; }
.reveal-chars > span {
  display: inline-block; opacity: 0; transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-chars.in > span { opacity: 1; transform: none; }

/* data-fade system */
[data-fade] {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-fade].in { opacity: 1; transform: none; }
[data-fade="up-lg"]  { transform: translateY(80px); }
[data-fade="left"]   { transform: translateX(-60px); }
[data-fade="right"]  { transform: translateX(60px); }
[data-fade="scale"]  { transform: scale(.92); }
[data-fade="blur"]   { filter: blur(14px); transform: translateY(20px); }
[data-fade="blur"].in { filter: none; }

/* Stagger children */
[data-stagger-parent] > [data-stagger] {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-stagger-parent].in > [data-stagger] { opacity: 1; transform: none; }
[data-stagger-parent].in > [data-stagger]:nth-child(1) { transition-delay: 0ms; }
[data-stagger-parent].in > [data-stagger]:nth-child(2) { transition-delay: 80ms; }
[data-stagger-parent].in > [data-stagger]:nth-child(3) { transition-delay: 160ms; }
[data-stagger-parent].in > [data-stagger]:nth-child(4) { transition-delay: 240ms; }
[data-stagger-parent].in > [data-stagger]:nth-child(5) { transition-delay: 320ms; }
[data-stagger-parent].in > [data-stagger]:nth-child(6) { transition-delay: 400ms; }
[data-stagger-parent].in > [data-stagger]:nth-child(n+7) { transition-delay: 480ms; }

/* ===== 3D TILT ===== */
[data-tilt] {
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
  will-change: transform;
}
[data-tilt-inner] { transform: translateZ(0); transition: transform .6s cubic-bezier(.2,.7,.2,1); }

/* ===== GLOW HOVER ===== */
.glow-hover { position: relative; isolation: isolate; }
.glow-hover::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--c2-rgb), .18), transparent 40%);
  opacity: 0; transition: opacity .35s ease; pointer-events: none; z-index: -1;
}
.glow-hover:hover::before { opacity: 1; }

/* ===== CURSOR SPOTLIGHT ===== */
.spot-layer {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx,50%) var(--my,50%), rgba(var(--c2-rgb), .10), transparent 50%);
  opacity: 0; transition: opacity .8s ease;
  mix-blend-mode: screen; z-index: 1;
}
.has-spot:hover .spot-layer { opacity: 1; }

/* ===== SCROLL LINKS ===== */
[data-parallax] { will-change: transform; }
[data-rise]     { will-change: transform, opacity; }
[data-scale-out]{ will-change: transform, opacity; transform-origin: center top; }

/* ===== SVG PATH DRAW ===== */
.draw-path {
  stroke-dasharray: var(--len, 1000);
  stroke-dashoffset: var(--len, 1000);
  transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1);
}
.draw-path.drawn { stroke-dashoffset: 0; }

/* ===== GLOWING DOT (pulse) ===== */
.av-pulse {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--process-cyan);
  box-shadow: 0 0 0 0 rgba(var(--c2-rgb), .7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(var(--c2-rgb), .7); }
  70%  { box-shadow: 0 0 0 14px rgba(var(--c2-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--c2-rgb), 0); }
}

/* ===== GRADIENT TEXT ===== */
.grad-text {
  background: linear-gradient(120deg, #fff 0%, var(--process-cyan) 40%, var(--avance-indigo) 60%, #fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 8s ease-in-out infinite;
}
@keyframes gradShift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ===== MARQUEE ===== */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.av-marquee {
  display: flex; gap: 64px; width: max-content;
  animation: marquee var(--mq-dur, 40s) linear infinite;
}
.av-marquee--rev  { animation-direction: reverse; }
.mq-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-sans);
  font-size: clamp(40px, 5vw, 84px);
  font-weight: 600; letter-spacing: -.03em; line-height: 1;
  white-space: nowrap; color: #fff;
}
.mq-item--outline { -webkit-text-stroke: 1px rgba(255,255,255,.4); color: transparent; }
.mq-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--process-cyan); flex: 0 0 10px; }

/* ===== PROCESS FLOW ===== */
.flow-line { stroke-dasharray: 4 4; }
.flow-pulse { fill: var(--process-cyan); filter: drop-shadow(0 0 6px var(--process-cyan)); }

/* ===== HUD TAGS ===== */
.hud-tag {
  position: absolute;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.65);
  display: flex; align-items: center; gap: 8px;
  background: rgba(8,9,13,.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 8px 12px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  white-space: nowrap; z-index: 2;
}
/* Posizioni: lato destro, sopra il titolo e accanto ai bottoni (prima mancavano
   e le quattro etichette finivano impilate nello stesso angolo) */
.hud-tag--tl { top: 118px; right: 34%; }
.hud-tag--tr { top: 168px; right: 5%; }
.hud-tag--bl { bottom: 30%; right: 22%; }
.hud-tag--br { bottom: 23%; right: 6%; }
.hud-tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--process-cyan);
  box-shadow: 0 0 0 3px rgba(var(--c2-rgb), .18);
  flex: 0 0 6px;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.5); z-index: 3;
}
.scroll-indicator__line {
  position: relative; width: 1px; height: 48px;
  background: rgba(255,255,255,.15); overflow: hidden;
}
.scroll-indicator__line::after {
  content: ''; position: absolute; left: 0; right: 0;
  top: -20px; height: 20px;
  background: linear-gradient(to bottom, transparent, var(--process-cyan));
  animation: scrollDot 2.2s var(--ease-premium) infinite;
}
@keyframes scrollDot {
  0%   { top: -20px; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 48px; opacity: 0; }
}

/* ===== SECTION BADGE ===== */
.s-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 48px;
}
.s-head__l { display: flex; flex-direction: column; gap: 14px; max-width: 80%; }
.sec-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.sec-badge .bar {
  display: inline-block; width: 0; height: 1px;
  background: var(--process-cyan);
  transition: width 1.1s cubic-bezier(.2,.7,.2,1);
}
[data-fade].in .sec-badge .bar { width: 42px; }

/* ===== BACKGROUND ORBS ===== */
.bg-stage {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.bg-orb {
  position: absolute; border-radius: 50%;
  width: 60vw; height: 60vw;
  filter: blur(120px); opacity: .35;
  will-change: transform; mix-blend-mode: screen;
}
.bg-orb--1 {
  top: -20vw; left: -15vw;
  background: radial-gradient(circle, rgba(var(--c1-rgb), .6), transparent 60%);
  animation: orbDrift1 28s ease-in-out infinite alternate;
}
.bg-orb--2 {
  top: 30vh; right: -20vw;
  background: radial-gradient(circle, rgba(var(--c2-rgb), .45), transparent 60%);
  animation: orbDrift2 36s ease-in-out infinite alternate;
}
.bg-orb--3 {
  bottom: -25vw; left: 30vw;
  background: radial-gradient(circle, rgba(204,120,92,.35), transparent 60%);
  animation: orbDrift3 42s ease-in-out infinite alternate;
  width: 50vw; height: 50vw;
}
@keyframes orbDrift1 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(20vw,30vh) scale(1.2); } }
@keyframes orbDrift2 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-15vw,20vh) scale(.85); } }
@keyframes orbDrift3 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-25vw,-30vh) scale(1.15); } }

/* ===== LENIS ===== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* ============================================================
   NAV
   ============================================================ */
/* ─────────────────────────────────────────
   PILL NAV
───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 9, 13, 0.72);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 10px 12px 10px 20px;
  max-width: 960px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(0,0,0,.5), inset 0 0 0 0.5px rgba(255,255,255,.04);
  transition: border-color .3s ease;
}
.nav-pill:hover { border-color: rgba(255,255,255,.13); }

/* Logo: pictogram always visible, wordmark slides in after hero */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 4px;
}
.nav-logo-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(1.05);
}
/* Wordmark animates in via JS (width + margin-left) */
.nav-logo-wordmark {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  opacity: 0;
  margin-left: 0;
  pointer-events: none;
  transition: width .55s cubic-bezier(0.2, 0.7, 0.2, 1),
              opacity .45s cubic-bezier(0.2, 0.7, 0.2, 1),
              margin-left .45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-logo-wordmark em {
  font-style: normal;
  color: var(--process-cyan);
}
.progress-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100;
  background: var(--process-cyan); transform: scaleX(0); transform-origin: left;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; padding: 140px 48px 80px; overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(var(--c1-rgb), .28), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(var(--c2-rgb), .10), transparent 50%),
    #08090D;
}
.hero::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 200px;
  background: linear-gradient(to bottom, transparent, #08090D);
  pointer-events: none; z-index: 1;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__inner {
  position: relative; z-index: 2; max-width: 1440px; margin: 0 auto;
  min-height: calc(100vh - 220px); display: flex; flex-direction: column; justify-content: center;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(255,255,255,.7); letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 36px;
}
.hero__title {
  font-size: clamp(72px, 11vw, 192px);
  line-height: .88; letter-spacing: -.055em; font-weight: 600;
  margin-bottom: 36px; max-width: 1200px;
}
.hero__title .accent { color: var(--process-cyan); font-style: italic; font-family: 'Inter', serif; font-weight: 400; }
.hero__sub {
  font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5;
  color: rgba(255,255,255,.7); max-width: 560px; margin-bottom: 48px;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__hud { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero__hud .hud-tag { pointer-events: auto; }
.live-bar {
  position: relative; z-index: 2; max-width: 1440px; margin: 80px auto 0;
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; overflow: hidden;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.live-bar__cell { background: rgba(8,9,13,.6); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.live-bar__label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: 8px;
}
.live-bar__value { font-size: 32px; font-weight: 600; letter-spacing: -.025em; display: flex; align-items: baseline; gap: 8px; }
.live-bar__delta { font-family: var(--font-mono); font-size: 12px; color: var(--process-cyan); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-sec {
  padding: 60px 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden; background: #08090D;
}
.marquee-row { padding: 8px 0; }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { padding: 18vw 0 14vw; position: relative; }
.manifesto__title {
  font-size: clamp(48px, 7.5vw, 128px);
  line-height: .95; letter-spacing: -.04em; font-weight: 600; max-width: 1200px;
}
.manifesto__title .muted { color: rgba(255,255,255,.3); }
.manifesto__title .glow  { color: var(--process-cyan); }

/* ============================================================
   APP SPOTLIGHT
   ============================================================ */
.app-spot { padding: 12vw 0; position: relative; border-top: 1px solid rgba(255,255,255,.06); }
.app-spot__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.app-spot__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--avance-indigo); background: rgba(var(--c1-rgb), .1); border: 1px solid rgba(var(--c1-rgb), .2);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 28px;
}
.app-spot__title {
  font-size: clamp(40px, 5vw, 80px);
  line-height: .95; letter-spacing: -.04em; font-weight: 600; margin-bottom: 24px;
}
.app-spot__sub {
  font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.65); max-width: 480px; margin-bottom: 40px;
}
.app-spot__examples { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; }
.app-spot__examples li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255,255,255,.8); }
.app-spot__examples li::before {
  content: '→'; font-family: var(--font-mono); font-size: 12px; color: var(--process-cyan); flex: 0 0 16px;
}
.app-spot__viz {
  border-radius: 22px; background: rgba(255,255,255,.02);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.5); overflow: hidden;
}
.app-spot__viz-chrome {
  display: flex; align-items: center; gap: 8px; padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.5);
}
.app-spot__viz-chrome .dot { width: 8px; height: 8px; border-radius: 50%; background: #3a3d4d; }

/* ============================================================
   SOLUTIONS GRID (homepage)
   ============================================================ */
.solutions { padding: 12vw 0; border-top: 1px solid rgba(255,255,255,.06); }
.solutions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 60px; }
.sol-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px; padding: 28px;
  display: flex; flex-direction: column; gap: 14px; min-height: 280px;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative; overflow: hidden; cursor: default;
}
.sol-card:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.sol-card--featured {
  grid-column: span 2; background: rgba(var(--c1-rgb), .1); border-color: rgba(var(--c1-rgb), .2);
}
.sol-card--featured:hover { background: rgba(var(--c1-rgb), .15); border-color: rgba(var(--c1-rgb), .3); }
.sol-card__head { display: flex; justify-content: space-between; align-items: flex-start; }
.sol-card__id { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.3); letter-spacing: .08em; }
.sol-card__tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.5);
}
.sol-card--featured .sol-card__tag { background: rgba(var(--c1-rgb), .15); color: var(--avance-indigo); }
.sol-card__title { font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.sol-card--featured .sol-card__title { font-size: 26px; }
.sol-card__body { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.55); flex: 1; }
.sol-card__examples { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.sol-card__examples li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.6); }
.sol-card__examples li::before { content: '→'; font-family: var(--font-mono); font-size: 10px; color: var(--process-cyan); flex: 0 0 14px; }
.sol-card__glow {
  position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px;
  border-radius: 50%; pointer-events: none; opacity: .3; filter: blur(2px);
  background: radial-gradient(circle, var(--avance-indigo), transparent 60%);
}
.sol-card--featured .sol-card__glow { opacity: .5; }

/* ============================================================
   PIN SECTION
   ============================================================ */
.pin { position: relative; height: 500vh; }
.pin__track {
  position: sticky; top: 0; height: 100vh; overflow: hidden; background: #08090D;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 0 48px; align-items: center;
}
.pin__intro {
  grid-column: 1 / -1; position: absolute; top: 60px; left: 48px; right: 48px;
  z-index: 3; display: flex; justify-content: space-between; align-items: baseline;
}
.pin__heading { font-size: clamp(32px, 3.5vw, 56px); font-weight: 600; letter-spacing: -.025em; line-height: 1; }
.pin__counter { font-family: var(--font-mono); font-size: 12px; color: var(--process-cyan); letter-spacing: .1em; text-transform: uppercase; }
.pin__steps { max-width: 540px; padding-top: 80px; }
.pin__step { padding: 32px 0; border-top: 1px solid rgba(255,255,255,.08); opacity: .35; transition: opacity .5s ease; position: relative; }
.pin__step.active { opacity: 1; }
.pin__step:last-child { border-bottom: 1px solid rgba(255,255,255,.08); }
.pin__step::before {
  content: ''; position: absolute; left: 0; top: 0; width: 0%; height: 1px;
  background: var(--process-cyan); transition: width .6s cubic-bezier(.2,.7,.2,1);
}
.pin__step.active::before { width: 100%; }
.pin__step__num { font-family: var(--font-mono); font-size: 12px; color: var(--process-cyan); letter-spacing: .1em; margin-bottom: 12px; }
.pin__step__title { font-size: clamp(28px, 3vw, 42px); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; margin-bottom: 12px; }
.pin__step__detail {
  font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.65);
  max-height: 0; overflow: hidden; transition: max-height .55s ease;
}
.pin__step.active .pin__step__detail { max-height: 200px; }
.pin__visuals { position: relative; width: 100%; height: 70vh; }
.pin__visual {
  position: absolute; inset: 0; opacity: 0; transform: scale(.96);
  transition: opacity .5s ease, transform .5s ease;
  display: flex; align-items: center; justify-content: center;
}
.pin__visual.active { opacity: 1; transform: none; }
.viz {
  width: 100%; max-width: 620px; aspect-ratio: 4/3; border-radius: 22px;
  background: rgba(255,255,255,.02);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.5);
  position: relative; overflow: hidden;
}
.viz__chrome {
  display: flex; align-items: center; gap: 8px; padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.5);
}
.viz__chrome .dot { width: 8px; height: 8px; border-radius: 50%; background: #3a3d4d; }

/* ============================================================
   CASES HORIZONTAL SCROLL
   ============================================================ */
.cases-stage { position: relative; height: 400vh; }
.cases-track-wrap { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.cases-header {
  position: absolute; top: 60px; left: 48px; right: 48px;
  display: flex; justify-content: space-between; align-items: baseline; z-index: 2;
}
.cases-track { display: flex; gap: 32px; padding: 0 48px; will-change: transform; }
.case-card {
  flex: 0 0 580px; height: 70vh; min-height: 520px;
  background: rgba(255,255,255,.03); border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); padding: 36px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
}
.case-card:hover { transform: translateY(-6px); }
.case-card__metric { font-size: clamp(80px, 9vw, 140px); font-weight: 600; letter-spacing: -.045em; line-height: .9; }
.case-card__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 8px; }
.case-card__title { font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 12px; max-width: 90%; }
.case-card__sector {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: rgba(var(--c2-rgb), .1); color: var(--process-cyan);
  align-self: flex-start; box-shadow: inset 0 0 0 1px rgba(var(--c2-rgb), .2);
}
.case-card__stack { display: flex; flex-wrap: wrap; gap: 6px; }
.case-card__stack span {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em;
  padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.7);
}
.case-card__visual {
  position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px;
  border-radius: 50%; pointer-events: none; opacity: 0; filter: blur(2px);
  transform: scale(1.2) translate(20px,20px);
  transition: transform 1.4s var(--ease-premium), opacity 1.2s var(--ease-premium);
}
.case-card.in .case-card__visual { transform: scale(1) translate(0,0); opacity: .5; }
.case-card .case-card__sector, .case-card .case-card__metric, .case-card .case-card__label,
.case-card .case-card__title, .case-card .case-card__stack, .case-card > p {
  opacity: 0; transform: translateY(14px);
  transition: opacity .8s var(--ease-premium), transform .8s var(--ease-premium);
}
.case-card.in .case-card__sector { transition-delay: 100ms; opacity: 1; transform: none; }
.case-card.in .case-card__metric { transition-delay: 220ms; opacity: 1; transform: none; }
.case-card.in .case-card__label  { transition-delay: 280ms; opacity: 1; transform: none; }
.case-card.in .case-card__title  { transition-delay: 360ms; opacity: 1; transform: none; }
.case-card.in > p                { transition-delay: 440ms; opacity: 1; transform: none; }
.case-card.in .case-card__stack  { transition-delay: 520ms; opacity: 1; transform: none; }

/* ============================================================
   NUMBERS
   ============================================================ */
.nums { padding: 14vw 0; background: linear-gradient(180deg, #08090D 0%, #0A0B14 100%); position: relative; }
.nums__grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px; overflow: hidden; margin-top: 60px;
}
.nums__cell { background: #08090D; padding: 60px 48px; display: flex; flex-direction: column; }
.nums__cell .num {
  font-size: clamp(80px, 10vw, 160px); font-weight: 600; letter-spacing: -.045em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.nums__cell .label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 14px; }
.nums__cell .sub { font-size: 15px; color: rgba(255,255,255,.65); margin-top: 12px; line-height: 1.5; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { padding: 16vw 0 10vw; position: relative; overflow: hidden; }
.final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(var(--c1-rgb), .3), transparent 60%);
  pointer-events: none;
}
.final__title {
  font-size: clamp(64px, 10vw, 184px); line-height: .9; letter-spacing: -.05em; font-weight: 600;
  text-align: center; max-width: 1300px; margin: 0 auto 60px;
}
.final__title em { color: var(--process-cyan); font-style: italic; font-family: serif; font-weight: 400; }
.final__cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { padding: 80px 48px 40px; border-top: 1px solid rgba(255,255,255,.08); background: #08090D; }
.footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 48px;
  max-width: 1440px; margin: 0 auto;
}
.footer__col h4 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--process-cyan); margin-bottom: 16px; font-weight: 500;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col li a {
  color: rgba(255,255,255,.7); text-decoration: none; font-size: 14px;
  position: relative; transition: color .35s var(--ease-soft);
}
.footer__col li a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1px;
  width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-premium);
}
.footer__col li a:hover { color: #fff; }
.footer__col li a:hover::after { transform: scaleX(1); }
.footer__bottom {
  max-width: 1440px; margin: 60px auto 0; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.4);
}

/* ============================================================
   PAGE HERO (sub-pages)
   ============================================================ */
.page-hero {
  padding: 160px 48px 100px; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 60% 20%, rgba(var(--c1-rgb), .2), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(var(--c2-rgb), .08), transparent 50%),
    #08090D;
}
.page-hero__eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--process-cyan); letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 28px;
}
.page-hero__title {
  font-size: clamp(56px, 8vw, 140px); line-height: .92; letter-spacing: -.05em; font-weight: 600;
  max-width: 1000px; margin-bottom: 28px;
}
.page-hero__sub {
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55;
  color: rgba(255,255,255,.65); max-width: 560px; margin-bottom: 44px;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-section { padding: 10vw 0; border-top: 1px solid rgba(255,255,255,.06); }
.services-category { margin-bottom: 80px; }
.services-category__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--process-cyan); margin-bottom: 32px;
  display: flex; align-items: center; gap: 12px;
}
.services-category__label::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.08); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background .3s ease, border-color .3s ease;
}
.service-card:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.service-card--flagship {
  background: rgba(var(--c1-rgb), .08); border-color: rgba(var(--c1-rgb), .18);
  grid-column: span 3; padding: 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.service-card__num { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.3); letter-spacing: .06em; }
.service-card__title { font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.service-card--flagship .service-card__title { font-size: clamp(24px, 3vw, 36px); letter-spacing: -.025em; }
.service-card__body { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.5); flex: 1; }
.service-card__examples { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.service-card__examples li { font-size: 13px; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 8px; }
.service-card__examples li::before { content: '→'; font-family: var(--font-mono); font-size: 10px; color: var(--process-cyan); flex: 0 0 14px; }
.service-card__tag {
  align-self: flex-start; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.05); color: rgba(255,255,255,.4);
}
.rec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.rec-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.rec-card--featured { background: rgba(var(--c2-rgb), .06); border-color: rgba(var(--c2-rgb), .2); }
.rec-card__tier { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--process-cyan); }
.rec-card__name { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.rec-card__body { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.5); flex: 1; }
.rec-card__includes { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.rec-card__includes li { font-size: 13px; color: rgba(255,255,255,.6); display: flex; align-items: flex-start; gap: 8px; }
.rec-card__includes li::before { content: '✓'; font-size: 11px; color: var(--process-cyan); flex: 0 0 14px; margin-top: 1px; }

/* ============================================================
   CHI SIAMO
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.team-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.team-card__avatar {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 18px; letter-spacing: -.01em;
  background: linear-gradient(135deg, var(--avance-indigo), var(--human-coral));
}
.team-card__name { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.team-card__role { font-family: var(--font-mono); font-size: 11px; color: var(--process-cyan); letter-spacing: .06em; text-transform: uppercase; }
.team-card__bio { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.55); }
.values-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px; overflow: hidden; margin-top: 60px;
}
.value-cell { background: #08090D; padding: 48px; display: flex; flex-direction: column; gap: 16px; }
.value-cell__num { font-size: clamp(48px, 6vw, 96px); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: rgba(255,255,255,.08); }
.value-cell__title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.value-cell__body { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.55); }

/* ============================================================
   CONTATTI
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; padding: 10vw 0; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.form-input, .form-textarea, .form-select {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-sm); padding: 14px 16px;
  font-family: var(--font-sans); font-size: 15px; color: #fff; outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,.3); }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--avance-indigo); background: rgba(var(--c1-rgb), .06); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; cursor: pointer; color: rgba(255,255,255,.8); }
.form-select option { background: #11131A; color: #fff; }
.form-submit {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 28px; border-radius: 999px; border: 0;
  background: var(--avance-indigo); color: var(--c1-ink);
  font-family: var(--font-sans); font-size: 16px; font-weight: 600;
  cursor: pointer; transition: all .2s ease; box-shadow: 0 12px 32px rgba(var(--c1-rgb), .4);
}
.form-submit:hover { background: var(--c1-hover); transform: translateY(-2px); }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-info__item { display: flex; flex-direction: column; gap: 8px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.06); }
.contact-info__item:last-child { border-bottom: none; }
.contact-info__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--process-cyan); }
.contact-info__value { font-size: 16px; color: rgba(255,255,255,.8); line-height: 1.5; }
.form-success { display: none; text-align: center; padding: 48px 24px; }
.form-success.show { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.form-success__icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.2);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}

/* ============================================================
   PRELOADER
   ============================================================ */
.av-preloader {
  position: fixed; inset: 0; z-index: 9999; background: #08090D;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s var(--ease-premium), visibility 0s linear .8s;
}
.av-preloader::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(var(--c1-rgb), .18), transparent 60%);
  opacity: 0; transition: opacity 1s var(--ease-premium);
}
.av-preloader.ready::before { opacity: 1; }
.av-preloader.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.av-preloader__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  opacity: 0; transform: scale(.96);
  transition: opacity .9s var(--ease-premium), transform 1.1s var(--ease-premium);
}
.av-preloader.ready .av-preloader__inner { opacity: 1; transform: scale(1); }
.av-preloader.gone .av-preloader__inner { opacity: 0; transform: scale(1.02); transition: opacity .5s ease, transform .8s var(--ease-premium); }
.av-preloader__logo { display: inline-flex; align-items: center; gap: 14px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.av-preloader__logo .box {
  width: 44px; height: 44px; border-radius: 11px;
  background: linear-gradient(135deg, var(--avance-indigo), #2918a8);
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
}
/* Preloader con il pittogramma della sezione (preso dalla nav) */
.av-preloader__logo .av-preloader__icon { height: 46px; width: auto; display: block; }
.av-preloader__logo em { font-style: normal; color: var(--process-cyan); }
.av-preloader__logo .box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(var(--c2-rgb), .5), transparent 60%);
}
.av-preloader__logo .box svg { width: 24px; height: 24px; position: relative; z-index: 1; }
.av-preloader__bar { width: 180px; height: 1px; background: rgba(255,255,255,.1); position: relative; overflow: hidden; }
.av-preloader__bar::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: linear-gradient(90deg, transparent, var(--process-cyan), transparent);
  transition: width 1.4s var(--ease-premium);
}
.av-preloader.ready .av-preloader__bar::after { width: 100%; }
.av-preloader__meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); }
html.av-loading, html.av-loading body { overflow: hidden; height: 100%; }

/* ============================================================
   HERO CINEMATIC CASCADE
   ============================================================ */
html.av-ready .hero__eyebrow   { animation: heroEnter 1s var(--ease-premium) both;   animation-delay: 200ms; }
html.av-ready .hero__title     { animation: heroEnter 1.2s var(--ease-premium) both; animation-delay: 380ms; }
html.av-ready .hero__sub       { animation: heroEnter 1s var(--ease-premium) both;   animation-delay: 720ms; }
html.av-ready .hero__cta       { animation: heroEnter 1s var(--ease-premium) both;   animation-delay: 880ms; }
html.av-ready .live-bar        { animation: heroEnter 1s var(--ease-premium) both;   animation-delay: 1050ms; }
html.av-ready .scroll-indicator{ animation: heroEnter 1s var(--ease-premium) both;   animation-delay: 1200ms; }
@keyframes heroEnter { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
html.av-ready .live-bar__cell { animation: cellEnter .7s var(--ease-premium) both; }
html.av-ready .live-bar__cell:nth-child(1) { animation-delay: 1150ms; }
html.av-ready .live-bar__cell:nth-child(2) { animation-delay: 1230ms; }
html.av-ready .live-bar__cell:nth-child(3) { animation-delay: 1310ms; }
html.av-ready .live-bar__cell:nth-child(4) { animation-delay: 1390ms; }
@keyframes cellEnter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
html.av-ready .hud-tag { animation: hudEnter 1.1s var(--ease-premium) both; }
html.av-ready .hud-tag:nth-of-type(1) { animation-delay: 950ms; }
html.av-ready .hud-tag:nth-of-type(2) { animation-delay: 1080ms; }
html.av-ready .hud-tag:nth-of-type(3) { animation-delay: 1180ms; }
html.av-ready .hud-tag:nth-of-type(4) { animation-delay: 1280ms; }
@keyframes hudEnter { from { opacity: 0; transform: translate(0,12px) scale(.96); } to { opacity: .85; transform: none; } }
html:not(.av-ready) .hero__eyebrow,
html:not(.av-ready) .hero__title,
html:not(.av-ready) .hero__sub,
html:not(.av-ready) .hero__cta,
html:not(.av-ready) .hero .live-bar,
html:not(.av-ready) .hero .live-bar__cell,
html:not(.av-ready) .hero .hud-tag,
html:not(.av-ready) .hero .scroll-indicator { opacity: 0 !important; transform: translateY(20px); }

/* ============================================================
   CLIP REVEALS & S-TITLES
   ============================================================ */
.clip-reveal { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease-premium); }
.clip-reveal.in { clip-path: inset(0 0 0 0); }
.s-titles > * { opacity: 0; transform: translateY(24px); filter: blur(4px); transition: opacity 1s var(--ease-premium), transform 1s var(--ease-premium), filter 1s var(--ease-premium); }
.s-titles.in > * { opacity: 1; transform: none; filter: none; }
.s-titles.in > *:nth-child(1) { transition-delay: 0ms; }
.s-titles.in > *:nth-child(2) { transition-delay: 140ms; }
.s-titles.in > *:nth-child(3) { transition-delay: 260ms; }

/* ============================================================
   GLITCH
   ============================================================ */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; background: var(--dark-canvas); overflow: hidden; }
.glitch::before { left: 2px; text-shadow: -1px 0 var(--process-cyan); animation: glitch-1 3s infinite linear alternate-reverse; }
.glitch::after  { left: -2px; text-shadow: -1px 0 var(--avance-indigo); animation: glitch-2 2.5s infinite linear alternate-reverse; }
@keyframes glitch-1 { 0%,90%,100% { clip-path: inset(100% 0 0 0); } 10% { clip-path: inset(20% 0 60% 0); } 30% { clip-path: inset(50% 0 30% 0); } }
@keyframes glitch-2 { 0%,90%,100% { clip-path: inset(100% 0 0 0); } 20% { clip-path: inset(70% 0 10% 0); } 40% { clip-path: inset(10% 0 75% 0); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .app-spot__inner { gap: 48px; }
  .solutions__grid { grid-template-columns: repeat(2, 1fr); }
  .sol-card--featured { grid-column: span 2; }
  .rec-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--flagship { grid-column: span 2; grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .app-spot__inner { grid-template-columns: 1fr; }
  .app-spot__viz { display: none; }
  .pin__track { grid-template-columns: 1fr; padding: 0 24px; }
  .pin__visuals { display: none; }
  .nums__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .nav { padding: 18px 20px; }
  .nav__items { display: none; }
  .nav .magnet { display: none; }
  .nav__burger { display: flex; }
  .hero { padding: 100px 20px 60px; }
  .live-bar { grid-template-columns: 1fr 1fr; }
  .case-card { flex: 0 0 85vw; }
  .nums__cell { padding: 40px 24px; }
  footer { padding: 60px 20px 30px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .solutions__grid { grid-template-columns: 1fr; }
  .sol-card--featured { grid-column: span 1; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card--flagship { grid-column: span 1; }
  .rec-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 100px 20px 60px; }
  .av-cursor, .av-cursor-ring { display: none; }
}
@media (max-width: 480px) { .rec-grid { grid-template-columns: 1fr; } }

/* ============================================================
   NEW PAGE LAYOUT — shared utilities
   ============================================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a, .nav-link {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: color .2s ease;
  white-space: nowrap;
  position: relative;
}
.nav-links a:hover, .nav-link:hover { color: #fff; }
.nav-link--active { color: rgba(255,255,255,.9) !important; }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  padding: 0;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s ease;
}
.hamburger:hover { background: rgba(255,255,255,.1); }
.hamburger span { display: block; width: 16px; height: 1px; background: #fff; transition: all .3s ease; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(3px,3px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(3px,-3px); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(8,9,13,.97); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 32px;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease-premium);
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.mobile-nav a {
  color: #fff; text-decoration: none; font-size: clamp(24px, 5vw, 40px);
  font-weight: 600; letter-spacing: -.025em; opacity: .55; transition: opacity .2s ease;
}
.mobile-nav a:hover { opacity: 1; }
.mobile-nav .av-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}
.mobile-nav-close {
  position: absolute; top: 24px; right: 32px;
  background: none; border: none; color: rgba(255,255,255,.5);
  font-size: 22px; cursor: pointer; transition: color .2s ease;
}
.mobile-nav-close:hover { color: #fff; }

/* Cursor */
.cursor-dot {
  position: fixed; top: 0; left: 0; width: 8px; height: 8px;
  border-radius: 50%; background: var(--process-cyan);
  pointer-events: none; z-index: 9999; transform: translate(-50%,-50%);
  mix-blend-mode: difference; transition: width .2s, height .2s;
  will-change: transform;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; width: 32px; height: 32px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  pointer-events: none; z-index: 9998; transform: translate(-50%,-50%);
  will-change: transform;
}
.cursor-dot.hover { width: 14px; height: 14px; }
.cursor-ring.hover { width: 48px; height: 48px; border-color: rgba(var(--c2-rgb), .5); }

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  background: var(--process-cyan); transform-origin: left; transform: scaleX(0);
  pointer-events: none;
}

/* ============================================================
   HERO (new HTML structure)
   ============================================================ */
.hero { position: relative; min-height: 100vh; overflow: hidden;
  background: radial-gradient(ellipse at 70% 25%, rgba(var(--c1-rgb), .28), transparent 50%),
              radial-gradient(ellipse at 20% 80%, rgba(var(--c2-rgb), .1), transparent 50%), var(--dark-canvas);
  display: flex; flex-direction: column; justify-content: space-between; }
.particle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.spot-layer { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-content {
  position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 140px 48px 60px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
}
/* Per-line word-split helper — makes <span> appear as block lines inside headings */
.split-line { display: block; }
.hero-h1-line { display: block; }

.hero-tag { margin-bottom: 22px; }
.hero-h1 {
  font-size: clamp(52px, 7.5vw, 120px); line-height: .92; letter-spacing: -.05em;
  font-weight: 600; color: #fff; margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 20px); line-height: 1.55; color: rgba(255,255,255,.68);
  max-width: 540px; margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
/* av-btn style within dark hero */
.hero-content .av-btn {
  background: #fff; color: var(--dark-canvas); box-shadow: 0 8px 24px rgba(255,255,255,.1);
}
.hero-content .av-btn:hover { background: var(--process-cyan); }
.hero-content .av-btn--ghost {
  background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.hero-content .av-btn--ghost:hover { background: rgba(255,255,255,.06); }

/* Live bar (new naming) */
.live-bar {
  position: relative; z-index: 2; margin: 0; padding: 0 48px 80px;
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0; max-width: 1280px; align-self: center; width: 100%;
}
.live-bar-item {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.08);
  padding: 20px 24px; display: flex; flex-direction: column; gap: 6px;
}
.live-bar-item:first-child { border-radius: 14px 0 0 14px; }
.live-bar-item:last-child { border-radius: 0 14px 14px 0; border-left: 0; }
.live-bar-item:not(:first-child):not(:last-child) { border-left: 0; }
.live-bar-sep { width: 1px; background: rgba(255,255,255,.08); }
.live-bar-value { font-size: 28px; font-weight: 600; letter-spacing: -.025em; color: #fff; }
.live-bar-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 3;
}
.scroll-indicator-line {
  width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-indicator-label {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
}
@keyframes scrollPulse { 0%,100% { opacity: .3; } 50% { opacity: .8; } }

/* ============================================================
   MARQUEE SECTION (new naming)
   ============================================================ */
.marquee-section {
  border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06);
  overflow: hidden; background: var(--dark-canvas); padding: 20px 0;
}
.marquee-track { overflow: hidden; }
.marquee-inner {
  display: flex; gap: 0; white-space: nowrap;
  animation: marqueeSlide 30s linear infinite;
  will-change: transform;
}
@keyframes marqueeSlide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq-item {
  display: inline-block; padding: 8px 24px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
}
.mq-sep {
  display: inline-block; padding: 8px 4px;
  color: var(--process-cyan); font-size: 12px; opacity: .5;
}

/* ============================================================
   MANIFESTO SECTION (new naming)
   ============================================================ */
.manifesto-section {
  padding: 120px 0; position: relative;
  background: transparent;
}
.manifesto-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
  display: flex; flex-direction: column; gap: 24px;
}
.manifesto-label { margin-bottom: 8px; }
.manifesto-text {
  font-size: clamp(36px, 5.5vw, 80px); line-height: 1; letter-spacing: -.04em;
  font-weight: 600; color: #fff; max-width: 900px;
}
.manifesto-text em { color: var(--process-cyan); font-style: italic; font-weight: 400; }
.manifesto-sub {
  font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6;
  color: rgba(255,255,255,.6); max-width: 620px; margin-top: 8px;
}

/* ============================================================
   APP SPOTLIGHT SECTION (new naming)
   ============================================================ */
.app-spot-section {
  padding: 120px 0;
  background: transparent; position: relative;
}
.app-spot-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.app-spot-copy { display: flex; flex-direction: column; align-items: flex-start; }
.app-spot-tag { margin-bottom: 20px; }
.app-spot-title {
  font-size: clamp(40px, 5.5vw, 80px); line-height: .96; letter-spacing: -.04em;
  font-weight: 600; color: #fff; margin-bottom: 24px;
}
.app-spot-desc {
  font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.6);
  max-width: 460px; margin-bottom: 32px;
}
.app-spot-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.app-spot-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: rgba(255,255,255,.75); }
.app-spot-arrow { font-family: var(--font-mono); font-size: 12px; color: var(--process-cyan); flex: 0 0 16px; margin-top: 1px; }
.app-spot-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.app-spot-ctas .av-btn {
  background: #fff; color: var(--dark-canvas);
}
.app-spot-ctas .av-btn:hover { background: var(--process-cyan); }
.app-spot-ctas .av-btn--ghost {
  background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.app-spot-ctas .av-btn--ghost:hover { background: rgba(255,255,255,.06); }

/* Viz frame */
.app-spot-viz { position: relative; }
.viz-frame {
  border-radius: 20px; background: rgba(255,255,255,.02);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.5);
  overflow: hidden; padding: 20px;
}
.viz-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.06);
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.4);
}
.viz-dots { display: flex; gap: 5px; }
.viz-dots span { width: 8px; height: 8px; border-radius: 50%; background: #3a3d4d; }
.viz-mono { margin-left: 6px; }
.viz-live {
  margin-left: auto; display: flex; align-items: center; gap: 6px;
  color: var(--process-cyan); font-size: 11px;
}
.arch-svg { width: 100%; height: auto; display: block; }
.viz-pills {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px;
}
.viz-pill {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 4px;
}
.viz-pill-val { font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.viz-pill-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.4); }

/* ============================================================
   SOLUTIONS SECTION (new naming)
   ============================================================ */
.solutions-section {
  padding: 120px 0;
  background: transparent;
}
.solutions-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px;
}
.solutions-head .av-h-1 { color: #fff; }
.solutions-intro { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.55); max-width: 460px; margin-left: auto; }
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Sol cards (new naming) */
.sol-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px;
  min-height: 280px; cursor: default; position: relative; overflow: hidden;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.sol-card:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.sol-card--featured { grid-column: span 2; background: rgba(var(--c1-rgb), .1); border-color: rgba(var(--c1-rgb), .2); }
.sol-card--featured:hover { background: rgba(var(--c1-rgb), .16); border-color: rgba(var(--c1-rgb), .3); }
.sol-card-top { display: flex; justify-content: space-between; align-items: center; }
.sol-num { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.3); letter-spacing: .08em; }
.sol-card-title { font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: #fff; line-height: 1.15; }
.sol-card--featured .sol-card-title { font-size: 26px; }
.sol-card-blurb { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.55); flex: 1; }
.sol-card-examples { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.sol-card-examples li { font-size: 13px; color: rgba(255,255,255,.6); }
.sol-card-link {
  display: inline-block; font-family: var(--font-mono); font-size: 12px;
  color: var(--process-cyan); letter-spacing: .04em; text-decoration: none; margin-top: 4px;
  transition: letter-spacing .2s ease;
}
.sol-card-link:hover { letter-spacing: .08em; }

/* ============================================================
   PIN SECTION (new naming)
   ============================================================ */
.pin-section { position: relative; height: 500vh; background: transparent; }
.pin-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 48px 48px; max-width: 100%;
  background:
    radial-gradient(ellipse 120% 85% at 18% 30%, rgba(var(--c1-rgb), .09), transparent 55%),
    radial-gradient(ellipse  85% 65% at 82% 72%, rgba(var(--c1-rgb), .07), transparent 50%),
    var(--dark-canvas);
}
.pin-header { margin-bottom: 48px; }
.pin-header .av-eyebrow { color: rgba(255,255,255,.4); }
.pin-header .av-h-1 { color: #fff; }
.pin-steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1280px; margin: 0 auto; width: 100%; }
.pin-step {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px;
  opacity: .3; transition: opacity .5s ease, background .3s ease;
}
.pin-step.active { opacity: 1; background: rgba(var(--c1-rgb), .08); border-color: rgba(var(--c1-rgb), .2); }
.pin-step-num {
  font-family: var(--font-mono); font-size: 11px; color: var(--process-cyan); letter-spacing: .1em;
}
.pin-step-title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.pin-step-desc { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.55); flex: 1; }
.pin-step-svg { margin-top: auto; }
.pin-step-svg svg { width: 100%; height: auto; }
.pin-progress {
  position: absolute; bottom: 40px; left: 48px; right: 48px; height: 1px;
  background: rgba(255,255,255,.08); max-width: 1280px; margin: 0 auto;
}
.pin-progress-fill { height: 100%; background: var(--process-cyan); width: 0%; transition: width .1s linear; }

/* ============================================================
   CASES SECTION (new naming)
   ============================================================ */
.cases-section { position: relative; height: 400vh; }
.cases-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  padding: 0 48px;
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(ellipse 120% 85% at 18% 30%, rgba(var(--c1-rgb), .09), transparent 55%),
    radial-gradient(ellipse  85% 65% at 82% 72%, rgba(var(--c1-rgb), .07), transparent 50%),
    var(--dark-canvas);
}
.cases-header { margin-bottom: 40px; max-width: 1280px; margin-left: auto; margin-right: auto; }
.cases-header .av-eyebrow { color: rgba(255,255,255,.4); }
.cases-header .av-h-2 { color: #fff; margin-top: 10px; }
.cases-track { display: flex; gap: 24px; will-change: transform; max-width: none; }

/* Case cards — redesign con preview */
.case-card {
  flex: 0 0 390px; border-radius: 20px; padding: 0; overflow: hidden;
  background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
  display: flex; flex-direction: column; gap: 0; min-height: 480px;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft);
}
.case-card:hover {
  transform: translateY(-8px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 32px 80px rgba(0,0,0,.55);
}

/* Preview (mockup CSS) */
.case-card-preview {
  position: relative; height: 240px; overflow: hidden; flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  border-radius: 20px 20px 0 0;
}
/* SVG mockup dentro preview */
.case-card-preview > svg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

/* Barra chrome macOS */
.case-chrome {
  position: absolute; top: 0; left: 0; right: 0; height: 26px; z-index: 2;
  background: rgba(0,0,0,.3); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; padding: 0 10px; gap: 5px;
}
.case-chrome > span { display: block; width: 7px; height: 7px; border-radius: 50%; }
.case-chrome > span:nth-child(1) { background: rgba(255,95,87,.8); }
.case-chrome > span:nth-child(2) { background: rgba(254,188,46,.8); }
.case-chrome > span:nth-child(3) { background: rgba(40,200,64,.8); }
.case-chrome-url { margin-left: 10px; flex: 1; max-width: 160px; height: 12px; border-radius: 4px; background: rgba(255,255,255,.09); }

/* Sfondi gradient per platform */
.cp-bg { position: absolute; top: 26px; left: 0; right: 0; bottom: 0; }
.cp-indigo { background: linear-gradient(155deg, #12143a 0%, #080920 100%); }
.cp-cyan   { background: linear-gradient(155deg, #061a28 0%, #030d16 100%); }
.cp-green  { background: linear-gradient(155deg, #061910 0%, #020b07 100%); }
.cp-coral  { background: linear-gradient(155deg, #1e100b 0%, #0d0604 100%); }

/* ── HTML/CSS Platform UI Mockups ──────────────────────────────── */
.cp-ui {
  position: absolute; top: 26px; left: 0; right: 0; bottom: 0;
  display: flex; overflow: hidden;
  font-family: 'Inter', system-ui, sans-serif; font-size: 0;
}
/* Sidebar navigation strip */
.cp-sb {
  flex-shrink: 0; width: 54px;
  border-right: 1px solid rgba(255,255,255,.06);
  padding: 8px 0; display: flex; flex-direction: column;
  align-items: center; gap: 1px;
}
.cp-sb-logo {
  width: 26px; height: 26px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 8.5px; font-weight: 800; color: #fff; margin-bottom: 8px;
  letter-spacing: .02em;
}
.cp-sb-link {
  width: 42px; height: 19px; border-radius: 4px; cursor: default;
  display: flex; align-items: center; padding: 0 6px;
  font-size: 6.5px; color: rgba(255,255,255,.3);
  white-space: nowrap; overflow: hidden;
}
.cp-sb-link.on { background: rgba(255,255,255,.08); color: rgba(255,255,255,.82); }
.cp-sb-link.dim { color: rgba(255,255,255,.16); }
/* Main content area */
.cp-main { flex: 1; padding: 7px 9px 0; overflow: hidden; display: flex; flex-direction: column; gap: 4px; }
.cp-topbar { display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
.cp-heading { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.9); }
.cp-badge { font-size: 6px; padding: 2px 6px; border-radius: 3px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.38); }
/* Period tabs */
.cp-ptabs { display: flex; gap: 2px; flex-shrink: 0; }
.cp-ptab { font-size: 6px; padding: 2px 5px; border-radius: 3px; background: rgba(255,255,255,.04); color: rgba(255,255,255,.28); }
.cp-ptab.on { background: rgba(255,255,255,.12); color: rgba(255,255,255,.78); }
/* KPI grid */
.cp-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 3px; flex-shrink: 0; }
.cp-kpi { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 5px; padding: 5px 6px; }
.cp-kv { font-size: 11px; font-weight: 700; line-height: 1; margin-bottom: 2px; }
.cp-kl { font-size: 6px; color: rgba(255,255,255,.3); white-space: nowrap; overflow: hidden; }
/* Bar chart */
.cp-chart { flex: 1; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.04); border-radius: 5px; padding: 5px 5px 3px; display: flex; align-items: flex-end; gap: 2px; min-height: 0; overflow: hidden; }
.cp-bv { flex: 1; border-radius: 2px 2px 0 0; min-width: 0; }
/* Table rows */
.cp-rows { flex-shrink: 0; }
.cp-row { display: flex; align-items: center; gap: 5px; padding: 3px 0; border-top: 1px solid rgba(255,255,255,.04); }
.cp-rcell { font-size: 7px; color: rgba(255,255,255,.38); }
.cp-rflex { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cp-rtag { font-size: 6px; padding: 1px 4px; border-radius: 2px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.45); white-space: nowrap; }
/* Redacted / blurred data */
.cp-blur { filter: blur(3.5px); user-select: none; }
/* Fade gradient at bottom of card preview */
.case-card-preview::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 54px;
  background: linear-gradient(to bottom, transparent, rgba(6,6,18,.88));
  z-index: 1; pointer-events: none;
}

/* ── Case study screenshot blurred ─ */
.cs-screenshot-wrap img.cs-blurred { filter: blur(2.5px) brightness(.95); }
.cs-privacy-notice {
  text-align: center; font-family: var(--font-mono); font-size: 10px;
  color: rgba(255,255,255,.25); letter-spacing: .06em;
  padding: 10px 0 0; margin-top: -10px;
}

/* ── Platform screen (light theme, case study gallery) ─ */
.cs-screens-gallery { padding: 0 0 80px; background: var(--dark-canvas); }
.cs-screens-gallery .container { display: flex; flex-direction: column; gap: 48px; }
.cs-screens-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: rgba(255,255,255,.28); text-transform: uppercase; margin-bottom: 16px; }
.cs-platform-screen {
  background: #F0F2F6; overflow: hidden;
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 320px; display: flex;
}
/* Platform sidebar (light) */
.cs-ps-sb {
  width: 200px; flex-shrink: 0; background: #fff;
  border-right: 1px solid #E5E9EE; padding: 20px 0;
  display: flex; flex-direction: column;
}
.cs-ps-logo {
  display: flex; align-items: center; gap: 10px;
  padding: 0 16px 16px; border-bottom: 1px solid #F0F0F0; margin-bottom: 8px;
}
.cs-ps-logo-icon {
  width: 28px; height: 28px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: #fff;
}
.cs-ps-logo-name { font-size: 11px; font-weight: 700; color: #1a1c40; }
.cs-ps-navitem {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 16px; font-size: 12px; color: #6B7280;
  cursor: default;
}
.cs-ps-navitem.active { background: rgba(var(--c1-rgb), .06); color: #533AFD; font-weight: 600; border-right: 2px solid #533AFD; }
.cs-ps-navitem.active.cyan { background: rgba(var(--c2-rgb), .06); color: #0ea5e9; border-right-color: #0ea5e9; }
.cs-ps-navitem.active.green { background: rgba(34,197,94,.06); color: #16a34a; border-right-color: #16a34a; }
.cs-ps-navitem.active.coral { background: rgba(204,120,92,.08); color: #CC785C; border-right-color: #CC785C; }
.cs-ps-navitem-icon { width: 14px; height: 14px; background: currentColor; opacity: .4; border-radius: 3px; flex-shrink: 0; }
/* Platform main (light) */
.cs-ps-main { flex: 1; padding: 24px 28px; overflow: hidden; }
.cs-ps-title { font-size: 18px; font-weight: 700; color: #111827; margin: 0 0 4px; }
.cs-ps-subtitle { font-size: 13px; color: #6B7280; margin: 0 0 20px; }
/* Platform KPI row (light) */
.cs-ps-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 20px; }
.cs-ps-kpi { background: #fff; border: 1px solid #E5E9EE; border-radius: 10px; padding: 14px; }
.cs-ps-kv { font-size: 22px; font-weight: 700; margin: 0 0 3px; }
.cs-ps-kl { font-size: 11px; color: #6B7280; margin: 0; }
/* Platform table (light) */
.cs-ps-table { background: #fff; border: 1px solid #E5E9EE; border-radius: 10px; overflow: hidden; }
.cs-ps-thead { display: grid; padding: 10px 16px; background: #F9FAFB; border-bottom: 1px solid #E5E9EE; font-size: 11px; font-weight: 600; color: #374151; }
.cs-ps-trow { display: grid; padding: 11px 16px; border-bottom: 1px solid #F3F4F6; font-size: 12px; color: #374151; align-items: center; }
.cs-ps-trow:last-child { border-bottom: none; }
.cs-ps-badge { font-size: 10px; padding: 2px 8px; border-radius: 4px; font-weight: 600; display: inline-block; }
.cs-ps-badge--green { background: #DCFCE7; color: #16a34a; }
.cs-ps-badge--blue { background: #DBEAFE; color: #1d4ed8; }
.cs-ps-badge--amber { background: #FEF9C3; color: #a16207; }
.cs-ps-badge--red { background: #FEE2E2; color: #dc2626; }
.cs-ps-badge--purple { background: #EDE9FE; color: #7c3aed; }
.cs-ps-badge--cyan { background: #ECFEFF; color: #0891b2; }
.cs-ps-redact { background: #D1D5DB; color: transparent; border-radius: 3px; user-select: none; }
/* Top bar tabs in platform (light) */
.cs-ps-tabs { display: flex; gap: 4px; margin-bottom: 20px; border-bottom: 1px solid #E5E9EE; padding-bottom: 0; }
.cs-ps-tab { font-size: 12px; padding: 8px 14px; color: #6B7280; cursor: default; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.cs-ps-tab.active { color: #533AFD; border-bottom-color: #533AFD; font-weight: 600; }
.cs-ps-tab.active.cyan { color: #0ea5e9; border-bottom-color: #0ea5e9; }
.cs-ps-tab.active.green { color: #16a34a; border-bottom-color: #16a34a; }
.cs-ps-tab.active.coral { color: #CC785C; border-bottom-color: #CC785C; }

/* Elementi UI astratti nel mockup */
.case-ui { position: absolute; top: 38px; left: 14px; right: 14px; bottom: 12px; display: flex; flex-direction: column; gap: 7px; }
.case-ui.ui-cols { flex-direction: row; }
.ui-b { height: 5px; border-radius: 3px; background: rgba(255,255,255,.1); }
.ui-b.hi { background: rgba(255,255,255,.22); width: 100%; }
.ui-r { display: flex; gap: 7px; }
.ui-c { flex: 1; border-radius: 7px; background: rgba(255,255,255,.055); }
.ui-c.hv { background: rgba(var(--c1-rgb), .28); }
.ui-c.hc { background: rgba(var(--c2-rgb), .2); }
.ui-c.hg { background: rgba(34,197,94,.16); }
.ui-c.hr { background: rgba(204,120,92,.22); }

/* Body card */
.case-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.case-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.case-card-tag {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
}
.case-platform { font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: #fff; letter-spacing: .05em; text-transform: uppercase; }
.case-pill { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--process-cyan); background: rgba(var(--c2-rgb), .1); border: 1px solid rgba(var(--c2-rgb), .2); border-radius: 999px; padding: 4px 10px; white-space: nowrap; flex-shrink: 0; }
.case-desc { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.6); flex: 1; }
.case-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.case-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--process-cyan);
  text-decoration: none; margin-top: 4px;
  transition: gap .25s var(--ease-premium);
}
.case-read-more:hover { gap: 10px; }

/* ============================================================
   NUMBERS SECTION (new naming)
   ============================================================ */
.numbers-section {
  padding: 100px 0; background: transparent;
}
.numbers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px; overflow: hidden;
}
.number-item {
  background: var(--dark-canvas); padding: 48px; display: flex; flex-direction: column; gap: 10px;
}
.number-val {
  font-size: clamp(56px, 7vw, 96px); font-weight: 600; letter-spacing: -.04em; line-height: 1;
  font-variant-numeric: tabular-nums; color: #fff;
}
.number-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--avance-indigo), var(--process-cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   TESTIMONIAL SECTION
   ============================================================ */
.testimonial-section {
  padding: 100px 0; background: transparent;
}
.testimonial-inner {
  max-width: 800px; margin: 0 auto; padding: 0 48px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px;
}
.testimonial-quote-mark { font-size: 80px; line-height: .5; color: var(--avance-indigo); font-weight: 600; }
.testimonial-text {
  font-size: clamp(22px, 2.5vw, 30px); line-height: 1.45; letter-spacing: -.02em;
  color: rgba(255,255,255,.9); font-style: italic; font-weight: 400;
}
.testimonial-footer { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--avance-indigo), var(--human-coral));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: #fff;
}
.testimonial-name { font-size: 15px; font-weight: 600; color: #fff; }
.testimonial-role { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.4); letter-spacing: .04em; margin-top: 2px; }

/* ============================================================
   FINAL CTA SECTION (new naming)
   ============================================================ */
.final-cta-section {
  padding: 120px 0; background: transparent; position: relative; overflow: hidden;
}
.final-cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(var(--c1-rgb), .2), transparent 55%);
  pointer-events: none;
}
.final-cta-inner {
  position: relative; z-index: 1; max-width: 700px; margin: 0 auto; padding: 0 48px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px;
}
.final-cta-title {
  font-size: clamp(40px, 5.5vw, 72px); line-height: .96; letter-spacing: -.04em;
  font-weight: 600; color: #fff;
}
.final-cta-sub {
  font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.6); max-width: 500px;
}
.final-cta-section .av-btn {
  background: #fff; color: var(--dark-canvas); margin-top: 12px;
}
.final-cta-section .av-btn:hover { background: var(--process-cyan); }

/* ============================================================
   DESIGN UPGRADES v14
   1 · Grain texture   3 · Button shimmer  5 · Gradient borders
   6 · Glass reflex    7 · Section tints   8 · Platform float
   9 · Section dots   10 · Mesh gradient
   ============================================================ */

/* ── 1 · GRAIN / NOISE TEXTURE ─────────────────────────────────
   Thin SVG-fractalNoise grain overlaid fixed on the viewport.
   mix-blend-mode:overlay keeps it invisible on pure black/white
   and adds premium texture depth on dark surfaces.
   ─────────────────────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9996;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

/* ── 3 · CTA BUTTON SHIMMER ─────────────────────────────────────
   Skewed light beam sweeps left→right every 6s.
   Different animation-delay per button group to avoid sync.
   ─────────────────────────────────────────────────────────── */
.magnet { overflow: hidden; }

.magnet::after {
  content: '';
  position: absolute;
  top: -10%; left: -80%;
  width: 55%; height: 120%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,.20) 50%,
    transparent 100%
  );
  transform: skewX(-18deg);
  pointer-events: none;
  animation: btnShimmer 6s ease-in-out 1.5s infinite;
}

/* Softer shimmer on ghost / secondary buttons */
.av-btn--ghost.magnet::after,
.magnet--ghost::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.09), transparent);
}

@keyframes btnShimmer {
  0%, 56%, 100% { left: -80%; opacity: 0; }
  8%            { opacity: 1; }
  50%           { left: 130%; opacity: 0; }
}

.hero-ctas    .magnet:nth-child(2)::after   { animation-delay: 3.5s; }
.app-spot-ctas .magnet:nth-child(2)::after  { animation-delay: 3.5s; }
.final-cta-section .magnet::after           { animation-delay: .8s;  }

/* ── 5 · GRADIENT BORDERS ON CARDS ──────────────────────────────
   CSS mask technique: pseudo-element with 1px padding + gradient
   background, masked to show only the border strip.
   Case cards used box-shadow for border → set to none first.
   ─────────────────────────────────────────────────────────── */
.case-card { box-shadow: none; }

.case-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(145deg,
    rgba(255,255,255,.14) 0%,
    rgba(255,255,255,.04) 45%,
    rgba(255,255,255,.10) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none; z-index: 1;
  transition: background .45s ease;
}

.case-card:hover { box-shadow: 0 32px 80px rgba(0,0,0,.48); }

.case-card:hover::before {
  background: linear-gradient(145deg,
    rgba(var(--c1-rgb), .55)  0%,
    rgba(var(--c2-rgb), .22) 50%,
    rgba(var(--c1-rgb), .18)  100%
  );
}

/* Sol cards */
.sol-card { border: none; }

.sol-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(145deg,
    rgba(255,255,255,.10) 0%,
    rgba(255,255,255,.03) 50%,
    rgba(255,255,255,.07) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none; z-index: 0;
  transition: background .4s ease;
}

.sol-card:hover::before {
  background: linear-gradient(145deg,
    rgba(var(--c1-rgb), .30)  0%,
    rgba(var(--c2-rgb), .12) 50%,
    rgba(var(--c1-rgb), .12)  100%
  );
}

.sol-card--featured { border: none; }
.sol-card--featured::before {
  background: linear-gradient(145deg,
    rgba(var(--c1-rgb), .34) 0%,
    rgba(var(--c1-rgb), .08) 50%,
    rgba(var(--c1-rgb), .22) 100%
  );
}
.sol-card--featured:hover::before {
  background: linear-gradient(145deg,
    rgba(var(--c1-rgb), .52) 0%,
    rgba(var(--c2-rgb), .18) 50%,
    rgba(var(--c1-rgb), .30) 100%
  );
}

/* ── 6 · GLASSMORPHISM SPECULAR HIGHLIGHTS ───────────────────────
   A thin top-to-transparent gradient on ::before simulates the
   specular reflection of glass / frosted surfaces.
   ─────────────────────────────────────────────────────────── */

/* Case card preview — top reflex (::after already used for bottom fade) */
.case-card-preview::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 45%;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,.055) 0%, transparent 100%);
  pointer-events: none; z-index: 3;
}

/* Live bar items */
.live-bar-item { position: relative; overflow: hidden; }
.live-bar-item::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 55%;
  background: linear-gradient(180deg, rgba(255,255,255,.032) 0%, transparent 100%);
  pointer-events: none; z-index: 0;
}

/* Architecture viz frame */
.viz-frame { position: relative; }
.viz-frame::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 40%;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,.042) 0%, transparent 100%);
  pointer-events: none; z-index: 1;
}

/* Sol cards top sheen */
.sol-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 50%;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,.035) 0%, transparent 100%);
  pointer-events: none; z-index: 0;
}

/* ── 7 · FIXED AMBIENT GRADIENT ─────────────────────────────────
   body::before con position:fixed — il gradiente è ancorato al
   viewport come un "lucernario". Qualsiasi sezione scorra sotto
   lo mostra sempre identico → zero tagli, zero sezioni diverse.
   Le sezioni trasparenti lasciano vedere l'atmosfera uniforme.
   ─────────────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 120% 85% at 18% 30%, rgba(var(--c1-rgb), .09), transparent 55%),
    radial-gradient(ellipse  85% 65% at 82% 72%, rgba(var(--c1-rgb), .07), transparent 50%);
}

/* ── 8 · PLATFORM MOCKUP FLOAT ───────────────────────────────────
   The cp-ui (platform UI HTML mockup) floats up/down 4px at
   staggered intervals per card — gives the "living platform" feel.
   The cp-bg background glow also breathes at a different speed for
   additional depth.
   ─────────────────────────────────────────────────────────── */
@keyframes cpUiFloat {
  0%, 100% { transform: translateY(0);   }
  50%       { transform: translateY(-4px); }
}
@keyframes cpBgBreath {
  0%, 100% { opacity: .82; transform: scale(1);    }
  50%       { opacity: 1;   transform: scale(1.04); }
}

.cp-ui { animation: cpUiFloat  7s   ease-in-out infinite; }
.cp-bg { animation: cpBgBreath 8s   ease-in-out infinite; }

.cases-track .case-card:nth-child(2) .cp-ui { animation-duration: 9s;   animation-delay: -3.5s; }
.cases-track .case-card:nth-child(3) .cp-ui { animation-duration: 6.5s; animation-delay: -5.5s; }
.cases-track .case-card:nth-child(4) .cp-ui { animation-duration: 10.5s;animation-delay: -1.5s; }

.cases-track .case-card:nth-child(2) .cp-bg { animation-duration: 10s;  animation-delay: -3s;   }
.cases-track .case-card:nth-child(3) .cp-bg { animation-duration: 7s;   animation-delay: -5s;   }
.cases-track .case-card:nth-child(4) .cp-bg { animation-duration: 11s;  animation-delay: -1s;   }

/* ── 9 · SECTION DOTS NAV ────────────────────────────────────────
   Fixed pill of dots on the right edge. Each dot = one section.
   Active dot glows cyan; hover reveals a labelled tooltip chip.
   Injected into DOM via initSectionDots() in main.js.
   Hidden on mobile (<900px).
   ─────────────────────────────────────────────────────────── */
.section-dots {
  position: fixed; right: 24px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px;
  z-index: 800; pointer-events: none; opacity: 0;
  transition: opacity .6s ease;
}
.section-dots.visible { opacity: 1; pointer-events: all; }

.section-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.22);
  border: none; cursor: pointer; padding: 0; flex-shrink: 0;
  position: relative;
  transition:
    background .3s ease,
    transform  .3s var(--ease-soft),
    box-shadow .3s ease;
}

/* Tooltip label chip */
.section-dot::after {
  content: attr(data-label);
  position: absolute; right: calc(100% + 14px); top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.65); white-space: nowrap;
  opacity: 0; pointer-events: none;
  background: rgba(8,9,13,.78);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 4px 9px; border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  transition: opacity .2s ease;
}
.section-dot:hover::after,
.section-dot.active::after { opacity: 1; }

.section-dot.active {
  background: var(--process-cyan);
  transform: scale(1.7);
  box-shadow:
    0 0 0 3px rgba(var(--c2-rgb), .18),
    0 0 14px rgba(var(--c2-rgb), .34);
}
.section-dot:hover:not(.active) {
  background: rgba(255,255,255,.55);
  transform: scale(1.4);
}

@media (max-width: 900px) { .section-dots { display: none; } }

/* ── 10 · ANIMATED MESH GRADIENT ─────────────────────────────────
   Large pseudo-element (inset: -30%) with 3-node radial gradient
   that slowly translates/scales. Produces an organic background
   that shifts like a living light source.
   Applied to: Manifesto, Solutions, Final CTA.
   ─────────────────────────────────────────────────────────── */
@keyframes meshShift {
  0%   { transform: translate(0,   0)   scale(1);    }
  25%  { transform: translate(3%,  2%)  scale(1.02); }
  50%  { transform: translate(-2%, 4%)  scale(.98);  }
  75%  { transform: translate(1%, -3%)  scale(1.01); }
  100% { transform: translate(0,   0)   scale(1);    }
}

/* Manifesto — nessun ::before, sfondo piatto uniforme */
.manifesto-section { overflow: hidden; }
.manifesto-inner { position: relative; z-index: 1; }

/* Solutions — nessun ::before, sfondo piatto uniforme */
.solutions-section { position: relative; overflow: hidden; }
.solutions-section .container { position: relative; z-index: 1; }

/* Final CTA — override existing ::before con mesh indigo concentrato */
.final-cta-section::before {
  inset: -30%;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(var(--c1-rgb), .22), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(var(--c1-rgb), .08), transparent 42%),
    radial-gradient(ellipse at 20% 80%, rgba(var(--c1-rgb), .07), transparent 48%);
  animation: meshShift 20s ease-in-out infinite;
  /* Il bagliore sfuma a zero sui bordi della sezione (che stanno al 18,75% e
     all'81,25% di questo riquadro allargato): niente riga netta col footer. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 18.75%, #000 38%, #000 62%, transparent 81.25%);
          mask-image: linear-gradient(to bottom, transparent 18.75%, #000 38%, #000 62%, transparent 81.25%);
}

/* ============================================================
   FOOTER (new naming)
   ============================================================ */
.footer {
  background: transparent; padding: 80px 0 40px; /* superficie continua con lo sfondo fisso */
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 0; }
.footer-desc { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.45); margin-top: 12px; max-width: 240px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social-link {
  color: rgba(255,255,255,.4); transition: color .2s ease;
  display: flex; align-items: center;
}
.footer-social-link:hover { color: #fff; }
.footer-col { display: flex; flex-direction: column; }
.footer-col-title {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--process-cyan); margin-bottom: 16px; font-weight: 500;
}
.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a {
  color: rgba(255,255,255,.5); text-decoration: none; font-size: 14px;
  transition: color .25s ease; position: relative;
}
.footer-col-links a:hover { color: #fff; }
.footer-bottom {
  max-width: 1280px; margin: 48px auto 0; padding: 24px 48px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.35);
}
.footer-copy {}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,.35); text-decoration: none; transition: color .2s ease; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   PAGE HERO (sub-pages — new naming)
   ============================================================ */
.page-hero--dark {
  padding: 160px 48px 100px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 60% 20%, rgba(var(--c1-rgb), .2), transparent 50%),
              radial-gradient(ellipse at 20% 80%, rgba(var(--c2-rgb), .08), transparent 50%), var(--dark-canvas);
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; max-width: 800px; }
.page-hero-title {
  font-size: clamp(48px, 7vw, 100px); line-height: .95; letter-spacing: -.045em;
  font-weight: 600; color: #fff; margin-bottom: 24px;
}
.page-hero-sub {
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: rgba(255,255,255,.6); max-width: 560px;
}

/* ============================================================
   SERVICES CATALOG (servizi.html)
   ============================================================ */
.services-catalog { padding: 0 0 120px; }
.svc-category {
  padding: 80px 0; border-top: 1px solid rgba(255,255,255,.06);
  max-width: 1280px; margin: 0 auto; padding-left: 48px; padding-right: 48px;
}
.svc-category-header { margin-bottom: 48px; }
.svc-category-header .av-eyebrow { color: var(--process-cyan); margin-bottom: 12px; }
.svc-category-title { font-size: clamp(32px, 4vw, 52px); font-weight: 600; letter-spacing: -.03em; color: #fff; margin-bottom: 12px; }
.svc-category-desc { font-size: 16px; color: rgba(255,255,255,.5); max-width: 560px; }

/* Featured card */
.svc-featured-card {
  background: rgba(var(--c1-rgb), .08); border: 1px solid rgba(var(--c1-rgb), .2);
  border-radius: 20px; padding: 40px; margin-bottom: 24px;
  position: relative; overflow: hidden;
}
.svc-featured-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--process-cyan); background: rgba(var(--c2-rgb), .08);
  border: 1px solid rgba(var(--c2-rgb), .2); padding: 6px 14px; border-radius: 999px;
}
.svc-featured-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.svc-featured-copy { display: flex; flex-direction: column; align-items: flex-start; }
.svc-num { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.3); letter-spacing: .08em; margin-bottom: 12px; display: block; }
.svc-featured-title { font-size: clamp(28px, 3.5vw, 48px); font-weight: 600; letter-spacing: -.03em; color: #fff; margin-bottom: 20px; }
.svc-featured-desc { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.6); margin-bottom: 28px; }
.svc-featured-ctas { display: flex; gap: 12px; margin-top: 12px; }
.svc-featured-ctas .av-btn { background: #fff; color: var(--dark-canvas); }
.svc-featured-ctas .av-btn:hover { background: var(--process-cyan); }
.svc-featured-ctas .av-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.svc-featured-ctas .av-btn--ghost:hover { background: rgba(255,255,255,.06); }
.svc-featured-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-metric-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 6px;
}
.svc-metric-val { font-size: 32px; font-weight: 600; letter-spacing: -.025em; color: #fff; }
.svc-metric-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.4); }

/* Svc grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.svc-grid--1 { grid-template-columns: 1fr; }
.svc-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px;
  transition: background .3s ease, border-color .3s ease;
}
.svc-card:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.svc-card-head { display: flex; justify-content: space-between; align-items: center; }
.svc-card-title { font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.svc-card-desc { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.55); flex: 1; }
.svc-card-cta {
  display: inline-block; font-family: var(--font-mono); font-size: 12px;
  color: var(--process-cyan); letter-spacing: .04em; text-decoration: none;
  margin-top: 4px; transition: letter-spacing .2s ease;
}
.svc-card-cta:hover { letter-spacing: .08em; }
.svc-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.svc-list li { font-size: 14px; color: rgba(255,255,255,.7); display: flex; align-items: flex-start; gap: 8px; }
.svc-list li::before { content: '→'; font-family: var(--font-mono); font-size: 11px; color: var(--process-cyan); flex: 0 0 14px; margin-top: 1px; }
.svc-list-sm { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.svc-list-sm li { font-size: 13px; color: rgba(255,255,255,.55); display: flex; align-items: flex-start; gap: 8px; }
.svc-list-sm li::before { content: '✓'; font-family: var(--font-mono); font-size: 10px; color: var(--process-cyan); flex: 0 0 14px; margin-top: 1px; }

/* Plans section */
.plans-section {
  padding: 100px 0; background: var(--dark-surface);
  border-top: 1px solid rgba(255,255,255,.06);
}
.plans-head { max-width: 1280px; margin: 0 auto 60px; padding: 0 48px; }
.plans-title { font-size: clamp(36px, 5vw, 64px); font-weight: 600; letter-spacing: -.035em; color: #fff; margin-bottom: 16px; }
.plans-sub { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.55); max-width: 520px; }
.plans-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.plan-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
.plan-card--featured { background: rgba(var(--c1-rgb), .1); border-color: rgba(var(--c1-rgb), .25); }
.plan-card-header { display: flex; justify-content: space-between; align-items: center; }
.plan-name { font-size: 20px; font-weight: 600; letter-spacing: -.015em; color: #fff; }
.plan-desc { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.5); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-features li { font-size: 13px; color: rgba(255,255,255,.65); display: flex; align-items: flex-start; gap: 8px; }
.plan-features li::before { content: '✓'; font-size: 11px; color: var(--process-cyan); flex: 0 0 14px; margin-top: 1px; }
.plans-note {
  max-width: 1280px; margin: 36px auto 0; padding: 0 48px;
  font-size: 14px; color: rgba(255,255,255,.4); text-align: center;
}

/* ============================================================
   CHI SIAMO — MISSION
   ============================================================ */
.mission-section { padding: 100px 0; background: var(--dark-canvas); border-top: 1px solid rgba(255,255,255,.06); }
.mission-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.mission-copy .av-h-1 { color: #fff; margin-top: 16px; }
.mission-text p { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.6); }

/* Values section (new naming) */
.values-section { padding: 100px 0; background: var(--dark-surface); border-top: 1px solid rgba(255,255,255,.06); }
.values-head { max-width: 1280px; margin: 0 auto 60px; padding: 0 48px; }
.values-head .av-h-1 { color: #fff; margin-top: 16px; }
.values-grid { max-width: 1280px; margin: 0 auto; padding: 0 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.value-card {
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px; padding: 36px; display: flex; flex-direction: column; gap: 14px;
  transition: background .3s ease, border-color .3s ease;
}
.value-card:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.value-num {
  font-size: 56px; font-weight: 600; letter-spacing: -.04em; line-height: 1;
  color: rgba(255,255,255,.06);
}
.value-title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.value-desc { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.5); }

/* Team section (new naming) */
.team-section { padding: 100px 0; background: transparent; }
.team-head { max-width: 1280px; margin: 0 auto 0; padding: 0 48px; }
.team-title { font-size: clamp(32px, 4vw, 52px); font-weight: 600; letter-spacing: -.03em; color: #fff; }
.team-sub { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.55); max-width: 540px; margin-top: 16px; }
.team-grid { max-width: 1280px; margin: 0 auto; padding: 0 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.team-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
.team-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: #fff;
}
.team-avatar--1 { background: linear-gradient(135deg, var(--avance-indigo), var(--process-cyan)); }
.team-avatar--2 { background: linear-gradient(135deg, var(--process-cyan), #22C55E); }
.team-avatar--3 { background: linear-gradient(135deg, var(--human-coral), var(--avance-indigo)); }
.team-info { display: flex; flex-direction: column; gap: 4px; }
.team-name { font-size: 17px; font-weight: 600; color: #fff; }
.team-role { font-family: var(--font-mono); font-size: 11px; color: var(--process-cyan); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.team-bio { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.5); }

/* ============================================================
   CONTACT HERO (contatti.html)
   ============================================================ */
.contact-hero {
  min-height: 100vh; padding: 140px 0 80px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 30% 30%, rgba(var(--c1-rgb), .18), transparent 50%),
              radial-gradient(ellipse at 80% 70%, rgba(var(--c2-rgb), .08), transparent 50%), var(--dark-canvas);
}
.contact-hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.contact-title {
  font-size: clamp(40px, 5.5vw, 72px); line-height: .96; letter-spacing: -.04em;
  font-weight: 600; color: #fff; margin-bottom: 20px;
}
.contact-sub { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.6); margin-bottom: 40px; }

/* Contact expect list */
.contact-expect { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.contact-expect-title { margin-bottom: 16px; }
.contact-expect-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.contact-expect-list li { display: flex; align-items: flex-start; gap: 16px; }
.contact-expect-num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  color: var(--process-cyan); flex: 0 0 24px; margin-top: 1px;
}
.contact-expect-list strong { display: block; font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.contact-expect-list p { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.5); }

/* Contact proof stats */
.contact-proof { display: flex; align-items: center; gap: 24px; }
.contact-proof-stat { display: flex; flex-direction: column; gap: 4px; }
.contact-proof-val { font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.contact-proof-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.contact-proof-sep { width: 1px; height: 36px; background: rgba(255,255,255,.1); }

/* Form card */
.contact-form-wrap {}
.contact-form-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 32px; position: relative;
}
.contact-form-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 28px;
  padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.06);
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.4);
}

/* Form elements (already exist but adding new ones) */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group--check { margin-top: 4px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.form-check input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.form-check-custom {
  width: 18px; height: 18px; border-radius: 4px; flex: 0 0 18px; margin-top: 1px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04);
  transition: border-color .2s ease, background .2s ease;
}
.form-check input:checked ~ .form-check-custom {
  background: var(--avance-indigo); border-color: var(--avance-indigo);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.form-check-label { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.5; }
.form-link { color: var(--process-cyan); text-decoration: none; }
.form-link:hover { text-decoration: underline; }
.form-submit-text {}
.form-disclaimer { font-size: 12px; color: rgba(255,255,255,.3); text-align: center; margin-top: 8px; }

/* Form success */
.form-success {
  display: none; flex-direction: column; align-items: center; gap: 16px;
  text-align: center; padding: 48px 24px;
}
.form-success[hidden] { display: none !important; }
.form-success:not([hidden]) { display: flex; }
.form-success-icon { margin-bottom: 8px; }
.form-success-title { font-size: 22px; font-weight: 600; color: #fff; }
.form-success-text { font-size: 15px; color: rgba(255,255,255,.55); line-height: 1.6; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section { padding: 80px 0; background: var(--dark-canvas); border-top: 1px solid rgba(255,255,255,.06); }
.faq-head { max-width: 1280px; margin: 0 auto 48px; padding: 0 48px; }
.faq-head .av-h-2 { color: #fff; margin-top: 12px; }
.faq-list { max-width: 800px; margin: 0 auto; padding: 0 48px; display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.08); }
.faq-q {
  width: 100%; text-align: left; padding: 20px 0;
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 16px; font-weight: 500; color: rgba(255,255,255,.85);
  transition: color .2s ease;
}
.faq-q:hover { color: #fff; }
.faq-q[aria-expanded="true"] { color: #fff; }
.faq-icon {
  font-size: 20px; color: var(--process-cyan); transition: transform .3s ease; flex: 0 0 20px;
  font-weight: 300; line-height: 1;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 0 20px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.55);
}
.faq-a[hidden] { display: none; }

/* ============================================================
   RESPONSIVE ADDITIONS
   ============================================================ */
@media (max-width: 1200px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-card--featured { grid-column: span 2; }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-featured-grid { grid-template-columns: 1fr; gap: 36px; }
  .svc-featured-metrics { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .nav { top: 14px; padding: 0 14px; }
  .nav-pill {
    padding: 9px 14px 9px 18px;
    max-width: none;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .nav-links { display: none; }
  .nav-actions .av-btn,
  .nav-actions .magnet { display: none; }
  .nav-logo {
    margin-right: 0;
    justify-self: auto;
  }
  .nav-actions {
    margin-left: auto;
    width: 40px;
    justify-content: flex-end;
  }
  .hamburger { display: flex; width: 40px; height: 40px; }
  .nav-logo-icon { width: 42px; height: 42px; }
  .nav-logo-wordmark {
    width: auto !important;
    max-width: none;
    opacity: 1 !important;
    margin-left: 10px !important;
    pointer-events: auto !important;
    font-size: 16px;
  }
  .hero-content { max-width: 760px; padding: 132px 32px 48px; }
  .hero-sub { max-width: 620px; }
  .hero-ctas { max-width: 560px; }
  .live-bar { padding: 0 32px 64px; grid-template-columns: 1fr auto 1fr; }
  .live-bar-item:nth-child(n+6) { display: none; }
  .hud-tag--tr,
  .hud-tag--br { display: none; }
  .app-spot-grid { grid-template-columns: 1fr; gap: 60px; }
  .app-spot-viz { display: none; }
  .pin-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .solutions-head { grid-template-columns: 1fr; gap: 24px; }
  .solutions-intro { margin-left: 0; }
  .svc-featured-metrics { grid-template-columns: repeat(2, 1fr); }
  .contact-proof { flex-wrap: wrap; gap: 18px; }
  .contact-proof-sep { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav { top: 12px; padding: 0 12px; }
  .nav-pill {
    padding: 8px 12px 8px 16px;
    border-radius: 24px;
    gap: 10px;
  }
  .nav-logo {
    justify-self: auto;
  }
  .nav-logo-icon { width: 40px; height: 40px; }
  .nav-logo-wordmark {
    font-size: 15px;
    max-width: none;
  }
  .nav-actions {
    width: 38px;
    justify-self: auto;
  }
  .mobile-nav {
    padding: 88px 20px 32px;
    justify-content: flex-start;
    align-items: stretch;
    gap: 24px;
    overflow-y: auto;
  }
  .mobile-nav ul {
    width: 100%;
    align-items: stretch;
    gap: 12px;
  }
  .mobile-nav a {
    display: block;
    padding: 0 0 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: clamp(22px, 8vw, 30px);
    opacity: .92;
  }
  .mobile-nav ul li:last-child a { border-bottom: 0; padding-bottom: 0; }
  .mobile-nav .av-btn {
    width: 100%;
    margin-top: 12px !important;
    padding: 14px 18px;
    font-size: 14px;
  }
  .mobile-nav-close {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
  }
  .hero-content { padding: 108px 20px 36px; }
  .hero-h1 { font-size: clamp(42px, 12vw, 58px); }
  .hero-sub { font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-content .av-btn { width: 100%; justify-content: center; }
  .live-bar { padding: 0 20px 60px; grid-template-columns: 1fr auto 1fr; }
  .live-bar-item:nth-child(n+6) { display: none; }
  .live-bar-item { padding: 18px 14px; min-width: 0; }
  .live-bar-value { font-size: 24px; }
  .live-bar-label { font-size: 11px; }
  .hud-tag { display: none; }
  .manifesto-inner { padding: 0 20px; }
  .app-spot-section { padding: 80px 0; }
  .app-spot-section .container { padding: 0 20px; }
  .solutions-section .container { padding: 0 20px; }
  .pin-sticky { padding: 60px 20px 40px; }
  .pin-steps-grid { grid-template-columns: 1fr; }
  .cases-sticky { padding: 0 20px; }
  .numbers-grid { grid-template-columns: 1fr; }
  .testimonial-inner { padding: 0 20px; }
  .final-cta-inner { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 0 20px; }
  .footer-bottom { padding: 20px 20px 0; flex-direction: column; gap: 12px; }
  .page-hero--dark { padding: 100px 20px 60px; }
  .services-catalog .svc-category { padding-left: 20px; padding-right: 20px; }
  .svc-featured-card { padding: 28px 22px; }
  .svc-featured-ctas { flex-direction: column; width: 100%; }
  .svc-featured-ctas .av-btn { width: 100%; justify-content: center; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-grid--2 { grid-template-columns: 1fr; }
  .svc-card,
  .plan-card,
  .value-card,
  .team-card,
  .contact-form-card { padding: 24px 20px; }
  .plans-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .plans-head { padding: 0 20px; }
  .plans-note { padding: 0 20px; }
  .values-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .values-head { padding: 0 20px; }
  .team-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .team-head { padding: 0 20px; }
  .mission-grid { padding: 0 20px; }
  .contact-hero { padding: 104px 0 56px; min-height: auto; }
  .contact-hero-inner { padding: 0 20px; }
  .contact-title { font-size: clamp(36px, 11vw, 48px); }
  .contact-form-header { flex-wrap: wrap; row-gap: 10px; }
  .faq-list { padding: 0 20px; }
  .faq-head { padding: 0 20px; }
  .faq-q { align-items: flex-start; gap: 16px; }
  .faq-a { padding-right: 16px; }
  .footer-desc { max-width: none; }
  .footer-bottom { align-items: flex-start; }
  .footer-legal { flex-wrap: wrap; gap: 16px; }
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
}
@media (max-width: 480px) {
  .nav-pill {
    padding: 8px 10px 8px 14px;
  }
  .nav-logo-wordmark {
    font-size: 14px;
    max-width: none;
  }
  .nav-actions {
    width: 36px;
  }
  .hero-h1 { font-size: clamp(36px, 11vw, 44px); }
  .hero-sub { font-size: 15px; }
  .live-bar {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 44px;
    background: transparent;
    border: 0;
  }
  .live-bar-sep { display: none; }
  .live-bar-item {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px !important;
  }
  .page-hero-title { font-size: clamp(34px, 12vw, 46px); }
  .svc-featured-metrics { grid-template-columns: 1fr; }
  .contact-form-card { padding: 20px 16px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .sol-card--featured { grid-column: span 1; }
  .case-card { flex: 0 0 90vw; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .av-preloader { transition: none; opacity: 0; visibility: hidden; pointer-events: none; }
  html.av-ready .hero__eyebrow, html.av-ready .hero__title, html.av-ready .hero__sub,
  html.av-ready .hero__cta, html.av-ready .live-bar, html.av-ready .live-bar__cell,
  html.av-ready .hud-tag, html.av-ready .scroll-indicator { animation: none; }
  [data-fade], [data-stagger-parent] > [data-stagger] { transition: none; opacity: 1; transform: none; }
  [data-parallax], [data-rise], [data-scale-out] { transform: none !important; }
  .av-marquee, .marquee-inner { animation: none; }
  .clip-reveal { clip-path: none; }
}

/* ============================================================
   AGENTI AI — HOME SECTION + PAGINA DEDICATA
   ============================================================ */

/* ---------- Home: sezione suite agenti ---------- */
.agents-section {
  position: relative;
  padding: 120px 0;
  background: transparent;
  overflow: hidden;
}
.agents-head {
  max-width: 1280px; margin: 0 auto 56px; padding: 0 48px;
  display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: end;
}
.agents-head .av-h-1 { color: #fff; }
.agents-intro {
  font-size: 16px; line-height: 1.65; color: var(--dark-ink-muted); margin: 0;
}
.agents-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.agent-mini {
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px 18px 20px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: border-color .35s var(--ease-soft), background .35s var(--ease-soft), transform .35s var(--ease-soft);
}
.agent-mini:hover {
  border-color: rgba(var(--c1-rgb), .42);
  background: rgba(var(--c1-rgb), .06);
  transform: translateY(-4px);
}
.agent-avatar {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  font-size: 20px; font-weight: 700; color: #fff;
  background: linear-gradient(145deg, #6B52FF, var(--avance-indigo));
  box-shadow: 0 6px 20px rgba(var(--c1-rgb), .32);
  flex-shrink: 0;
}
.agent-mini-name {
  font-size: 17px; font-weight: 600; color: #fff; letter-spacing: -.02em; margin: 0;
}
.agent-mini-verb {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--process-cyan); margin: 3px 0 0;
}
.agent-mini-blurb {
  font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.55); margin: 0;
}
.agents-areas {
  max-width: 1280px; margin: 40px auto 0; padding: 0 48px;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.agents-area-chip {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  padding: 8px 14px; border-radius: var(--r-full);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.agents-cta-row {
  max-width: 1280px; margin: 44px auto 0; padding: 0 48px;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
}
.agents-cta-note {
  font-size: 14px; color: var(--dark-ink-muted); margin: 0;
}

/* ---------- Pagina agenti: come funziona ---------- */
.agents-how { padding: 96px 0; background: transparent; }
.agents-how-grid {
  max-width: 1280px; margin: 40px auto 0; padding: 0 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.how-card {
  padding: 30px 26px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-lg);
}
.how-num {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: var(--avance-indigo); letter-spacing: .04em;
}
.how-card h3 {
  font-size: 18px; font-weight: 600; color: #fff;
  letter-spacing: -.02em; margin: 14px 0 10px;
}
.how-card p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.55); margin: 0; }

.agents-channels {
  max-width: 1280px; margin: 48px auto 0; padding: 0 48px;
}
.agents-channels-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--process-cyan); margin-bottom: 16px;
}
.channels-row { display: flex; flex-wrap: wrap; gap: 8px; }
.channel-pill {
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.75);
  padding: 9px 16px; border-radius: var(--r-full);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  transition: border-color .3s ease, color .3s ease;
}
.channel-pill:hover { border-color: rgba(var(--c2-rgb), .4); color: #fff; }

.agents-diff {
  max-width: 1280px; margin: 56px auto 0; padding: 0 48px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.diff-card {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 22px 24px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-md);
}
.diff-check {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 7px;
  display: grid; place-items: center;
  background: rgba(var(--c1-rgb), .16); color: var(--process-cyan);
  font-size: 13px; font-weight: 700;
}
.diff-card h4 { font-size: 15.5px; font-weight: 600; color: #fff; margin: 0 0 5px; letter-spacing: -.01em; }
.diff-card p { font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.5); margin: 0; }

/* ---------- Pagina agenti: catalogo per aree ---------- */
.agents-catalog { padding: 40px 0 96px; background: transparent; }
.agent-area { max-width: 1280px; margin: 0 auto; padding: 0 48px 64px; }
.agent-area-head {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  padding-bottom: 18px; margin-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.agent-area-bar {
  width: 34px; height: 3px; border-radius: 2px;
  background: var(--avance-indigo); flex-shrink: 0;
  align-self: center;
}
.agent-area-head h2 {
  font-size: 27px; font-weight: 600; color: #fff; letter-spacing: -.025em; margin: 0;
}
.agent-area-sub { font-size: 14.5px; color: var(--dark-ink-muted); margin: 0; }
.agent-area-count {
  margin-left: auto; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4);
}

/* ---------- Scheda agente (accordion) ---------- */
.agent-card {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.022);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .35s var(--ease-soft), background .35s var(--ease-soft);
}
.agent-card:hover { border-color: rgba(255,255,255,.14); }
.agent-card.is-open {
  border-color: rgba(var(--c1-rgb), .4);
  background: rgba(var(--c1-rgb), .045);
}
.agent-toggle {
  width: 100%; text-align: left; cursor: pointer;
  background: none; border: none;
  display: flex; align-items: center; gap: 18px;
  padding: 22px 26px;
  font-family: inherit;
}
.agent-toggle-body { flex: 1; min-width: 0; }
.agent-toggle-top {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 5px;
}
.agent-name {
  font-size: 21px; font-weight: 700; color: #fff; letter-spacing: -.025em;
}
.agent-verb {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--process-cyan);
}
.agent-badge {
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--avance-indigo);
  padding: 4px 10px; border-radius: var(--r-full);
  background: rgba(var(--c1-rgb), .14); border: 1px solid rgba(var(--c1-rgb), .3);
}
.agent-claim {
  font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.62); margin: 0;
}
.agent-plus {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  color: var(--process-cyan); font-size: 17px; font-weight: 300; line-height: 1;
  transition: transform .35s var(--ease-soft), border-color .3s ease, background .3s ease;
}
.agent-toggle[aria-expanded="true"] .agent-plus {
  transform: rotate(45deg);
  border-color: rgba(var(--c1-rgb), .5);
  background: rgba(var(--c1-rgb), .14);
}
.agent-detail { padding: 0 26px 26px; }
.agent-detail[hidden] { display: none; }
.agent-desc {
  font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.7);
  max-width: 780px; margin: 0 0 26px;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,.07);
}

/* Problema / Soluzione / Risultati */
.agent-psr {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px;
}
.psr-col {
  padding: 22px 20px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
}
.psr-col--solution {
  border-color: rgba(var(--c1-rgb), .3);
  background: rgba(var(--c1-rgb), .06);
}
.psr-title {
  font-size: 14px; font-weight: 600; margin: 0 0 14px; letter-spacing: -.01em;
}
.psr-col--problem  .psr-title { color: #F87171; }
.psr-col--solution .psr-title { color: #A78BFA; }
.psr-col--result   .psr-title { color: #4CC9F0; }
.psr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.psr-list li {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.6);
}
.psr-mark { flex: 0 0 13px; font-size: 12px; font-weight: 700; line-height: 1.35; }
.psr-col--problem  .psr-mark { color: #F87171; }
.psr-col--solution .psr-mark { color: #A78BFA; }
.psr-col--result   .psr-mark { color: #4CC9F0; }

/* Esempi d'uso */
.agent-sub-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--process-cyan); margin: 0 0 14px;
}
.agent-examples { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.agent-example {
  padding: 16px 20px; border-radius: var(--r-md);
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  border-left: 2px solid rgba(var(--c1-rgb), .5);
}
.agent-example h5 {
  font-size: 13.5px; font-weight: 600; color: #A78BFA; margin: 0 0 5px; letter-spacing: -.01em;
}
.agent-example p { font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.6); margin: 0; }

/* Per chi è */
.agent-for { display: flex; flex-wrap: wrap; gap: 8px; }
.agent-for-chip {
  font-size: 12.5px; color: rgba(255,255,255,.65);
  padding: 7px 14px; border-radius: var(--r-full);
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.09);
}

/* Nota disclaimer */
.agent-note {
  margin-top: 22px; padding: 14px 18px;
  border-left: 2px solid rgba(var(--c1-rgb), .55);
  background: rgba(var(--c1-rgb), .06);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.6);
}
.agent-note strong { color: rgba(255,255,255,.85); font-weight: 600; }

/* ---------- Responsive agenti ---------- */
@media (max-width: 1100px) {
  .agents-grid { grid-template-columns: repeat(3, 1fr); }
  .agents-how-grid { grid-template-columns: 1fr; }
  .agent-psr { grid-template-columns: 1fr; }
  .agents-diff { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .agents-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
}
@media (max-width: 768px) {
  .agents-section { padding: 80px 0; }
  .agents-how { padding: 64px 0; }
  .agents-head, .agents-grid, .agents-areas, .agents-cta-row,
  .agents-how-grid, .agents-channels, .agents-diff, .agent-area { padding-left: 20px; padding-right: 20px; }
  .agents-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .agent-mini { padding: 18px 15px 16px; }
  .agent-avatar { width: 40px; height: 40px; border-radius: 11px; font-size: 17px; }
  .agent-area-head h2 { font-size: 22px; }
  .agent-area-count { margin-left: 0; width: 100%; }
  .agent-toggle { padding: 18px; gap: 13px; }
  .agent-name { font-size: 18px; }
  .agent-detail { padding: 0 18px 20px; }
  .agents-cta-row { flex-direction: column; align-items: stretch; }
}
@media (max-width: 480px) {
  .agents-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   AVANCE GROUP — componenti del gruppo (ottobre 2026)
   Selettore divisioni, homepage di gruppo, contatti condivisi,
   sezione ADV. Colori: --c1/--c2 seguono il tema della pagina,
   --d1/--d2 sono fissi per divisione (AI indaco/ciano, ADV arancio).
   ============================================================ */

/* ---------- Selettore Gruppo · AI · ADV (nella nav) ---------- */
.div-switch {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: 999px; flex-shrink: 0;
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.div-switch a {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  color: rgba(255,255,255,.5); padding: 6px 10px; border-radius: 999px;
  transition: color .2s ease, background .2s ease; white-space: nowrap;
}
.div-switch a:hover { color: #fff; background: rgba(255,255,255,.06); }
.div-switch a.on { color: #fff; }
.div-switch a[data-div="group"].on { background: rgba(200,145,63,.2); box-shadow: inset 0 0 0 1px rgba(212,161,86,.5); }
.div-switch a[data-div="ai"].on    { background: rgba(83,58,253,.26); box-shadow: inset 0 0 0 1px rgba(76,201,240,.4); }
.div-switch a[data-div="adv"].on   { background: rgba(254,83,16,.2);  box-shadow: inset 0 0 0 1px rgba(254,83,16,.5); }

/* Versione nel menu mobile */
.mobile-div-switch { display: flex; justify-content: center; gap: 8px; margin-bottom: 8px; }
.mobile-nav .mobile-div-switch a {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 9px 14px; border-radius: 999px; opacity: .7;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.mobile-nav .mobile-div-switch a.on { opacity: 1; background: rgba(var(--c1-rgb), .2); box-shadow: inset 0 0 0 1px rgba(var(--c1-rgb), .5); }

@media (max-width: 1180px) and (min-width: 1025px) {
  .nav-links { gap: 16px; }
  .div-switch a { padding: 6px 8px; }
}
@media (max-width: 768px) {
  .nav .div-switch { display: none; }
}

/* ---------- Homepage di gruppo: hero centrata con logo ---------- */
.hero--group .hero-content {
  align-items: center; text-align: center; max-width: 980px;
  padding-top: 150px;
}
.group-hero-logo {
  width: min(460px, 78vw); height: auto; display: block; margin: 0 auto 30px;
  filter: drop-shadow(0 18px 60px rgba(200,145,63,.18));
}
.hero--group .hero-h1 { font-size: clamp(40px, 6vw, 88px); }
.hero--group .hero-sub { max-width: 640px; margin-left: auto; margin-right: auto; }
.hero--group .hero-ctas { justify-content: center; }

/* ---------- Le due divisioni ---------- */
.divisions-section { padding: 120px 0 110px; background: transparent; }
.divisions-head { max-width: 760px; margin-bottom: 56px; }
.divisions-head p { margin-top: 18px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.6); }
.divisions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.division-card {
  --d1: 83,58,253; --d2: 76,201,240;
  position: relative; display: flex; flex-direction: column; gap: 22px;
  padding: 40px 38px 36px; border-radius: var(--r-xl); overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(var(--d1), .16), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  text-decoration: none; color: inherit;
  transition: box-shadow .35s var(--ease-soft);
}
.division-card:hover { box-shadow: inset 0 0 0 1px rgba(var(--d2), .45), 0 30px 80px rgba(var(--d1), .16); }
.division-card--adv { --d1: 254,83,16; --d2: 255,154,92; }

.division-brand { display: flex; align-items: center; gap: 14px; }
.division-brand img { height: 46px; width: auto; display: block; }
.division-name { font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: #fff; line-height: 1; }
.division-name em { font-style: normal; color: rgb(var(--d2)); }
.division-tagline {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.42); margin-top: 6px;
}
.division-title { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.12; letter-spacing: -.03em; font-weight: 600; color: #fff; }
.division-desc { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.62); }
.division-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.division-list li { font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.75); padding-left: 18px; position: relative; }
.division-list li::before { content: "\2192"; position: absolute; left: 0; color: rgb(var(--d2)); }
.division-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.division-for { font-size: 13px; color: rgba(255,255,255,.45); }
.division-go {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: #fff;
  padding: 13px 20px; border-radius: 999px;
  background: rgba(var(--d1), .2); box-shadow: inset 0 0 0 1px rgba(var(--d2), .4);
  transition: background .25s ease, gap .25s ease;
}
.division-card:hover .division-go { background: rgba(var(--d1), .34); gap: 12px; }

/* ---------- Scelta finale "da dove parti" ---------- */
.cta-choice { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.cta-choice a {
  --d1: 83,58,253; --d2: 76,201,240;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  min-width: 260px; padding: 18px 22px; border-radius: var(--r-lg);
  text-decoration: none; text-align: left;
  background: rgba(var(--d1), .12); box-shadow: inset 0 0 0 1px rgba(var(--d2), .35);
  transition: background .25s ease, transform .25s var(--ease-soft);
}
.cta-choice a:hover { background: rgba(var(--d1), .24); transform: translateY(-2px); }
.cta-choice a.cta-choice--adv { --d1: 254,83,16; --d2: 255,154,92; }
.cta-choice small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgb(var(--d2)); }
.cta-choice strong { font-size: 18px; font-weight: 600; color: #fff; letter-spacing: -.01em; }

/* ---------- Team per divisione (chi siamo) ---------- */
.team-group-label {
  display: flex; align-items: center; gap: 10px;
  max-width: 1280px; margin: 48px auto 18px; padding: 0 48px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.team-group-label img { height: 22px; width: auto; }
.team-group .team-grid { margin-top: 0; }
@media (max-width: 768px) { .team-group-label { padding: 0 20px; } }

/* ---------- Contatti: scelta della divisione ---------- */
.need-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.need-option { position: relative; cursor: pointer; }
.need-option input { position: absolute; opacity: 0; pointer-events: none; }
.need-option span {
  display: flex; flex-direction: column; gap: 3px; height: 100%;
  padding: 13px 14px; border-radius: var(--r-md);
  background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
  transition: background .2s ease, box-shadow .2s ease;
}
.need-option b { font-size: 14px; font-weight: 600; color: #fff; }
.need-option small { font-size: 12px; line-height: 1.4; color: rgba(255,255,255,.5); }
.need-option:hover span { background: rgba(255,255,255,.05); }
.need-option input:checked + span { background: rgba(var(--c1-rgb), .14); box-shadow: inset 0 0 0 1px rgba(var(--c1-rgb), .6); }
.need-option input:focus-visible + span { outline: 2px solid rgba(var(--c2-rgb), .8); outline-offset: 2px; }

/* ---------- ADV: risultati (casi in preparazione) ---------- */
.adv-cases-section { padding: 110px 0; background: transparent; }
.adv-cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.adv-case {
  display: flex; flex-direction: column; gap: 14px; padding: 28px 26px;
  border-radius: var(--r-lg); background: rgba(255,255,255,.025);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.adv-case-sector { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--process-cyan); }
.adv-case-result { font-size: 40px; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: #fff; }
.adv-case-label { font-size: 14px; color: rgba(255,255,255,.55); }
.adv-case-desc { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.7); }
.adv-case--todo { box-shadow: none; border: 1px dashed rgba(var(--c1-rgb), .4); }

/* ---------- Canali pubblicitari ---------- */
.channels-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.channel-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,.8); background: rgba(255,255,255,.04);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.channel-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--process-cyan); }

/* ---------- Footer di gruppo ---------- */
.footer-group-note { font-size: 13px; color: rgba(255,255,255,.4); }
.footer-group-note a { color: rgba(255,255,255,.65); text-decoration: none; }
.footer-group-note a:hover { color: #fff; }

/* ---------- Responsive gruppo ---------- */
@media (max-width: 1024px) {
  .divisions-grid { grid-template-columns: 1fr; }
  .adv-cases-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .divisions-section { padding: 80px 0; }
  .division-card { padding: 30px 22px 26px; }
  .division-list { grid-template-columns: 1fr; }
  .hero--group .hero-content { padding-top: 120px; }
  .need-switch { grid-template-columns: 1fr; }
  .adv-cases-grid { grid-template-columns: 1fr; }
  .cta-choice a { min-width: 0; width: 100%; }
}

/* Pittogrammi Group/ADV: piu larghi di quello AI, stessa altezza visiva */
.nav-logo-icon.nav-logo-icon--wide { width: 50px; }
@media (max-width: 1024px) { .nav-logo-icon.nav-logo-icon--wide { width: 54px; } }

/* Il colore del marchio nel logo non segue il tema della pagina */
.nav-logo-wordmark em.wm-group, .av-preloader__logo em.wm-group { color: var(--brand-group); }
.nav-logo-wordmark em.wm-adv,   .av-preloader__logo em.wm-adv   { color: var(--brand-adv-2); }
