/* ============ HiSolution — palette e base ============ */
:root {
  /* Tipografia (17/11/2026): Fraunces per i titoli, un sans per tutto il resto.
     Per passare a Inter basta cambiare --font-sans e il link Google Fonts. */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", -apple-system, "Segoe UI", sans-serif;
  --orange: #FF8200;
  --orange-dark: #d96f00;
  --navy-dark: #16212C;
  --navy-mid: #3E4D5D;
  --navy-deep: #0e161e;
  --blue: #2D6FE0;
  --teal: #12B5A6;
  --white: #ffffff;
  --off-white: #f5f7f9;
  --text-muted: #6b7a89;
  --border: #e3e8ec;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(22, 33, 44, 0.10);
  --transition: 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Focus da tastiera coerente su tutto il sito: visibile solo con :focus-visible
   (mai su click con mouse), navy/arancione. Aggiunto per le pagine prodotto
   Cybersecurity ma generico, quindi valido ovunque. */
a:focus-visible, button:focus-visible, .btn:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--navy-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); letter-spacing: -0.5px; }

a { color: inherit; text-decoration: none; }

img, svg { display: block; }

/* ============ Bottoni ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 130, 0, 0.35);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-lg { padding: 15px 34px; font-size: 1rem; }

/* ============ Topbar ============ */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
}
.topbar-inner {
  display: flex;
  justify-content: flex-end; /* 25/11/2026: tolto l'avviso .topbar-alert, resta l'email a destra (era space-between) */
  align-items: center;
  height: 38px;
  gap: 16px;
}
.topbar-alert strong { color: var(--orange); }
.topbar-alert:hover strong { text-decoration: underline; }
.topbar-links { display: flex; gap: 18px; }
.topbar-links a:hover { color: var(--white); }

/* ============ Header ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-dark);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}
.logo-mark { color: var(--orange); }
.logo-text { color: var(--white); }
.logo__img { height: 40px; width: auto; display: block; } /* 26/11/2026: era 34px */
@media (max-width: 480px) { .logo__img { height: 34px; } } /* su smartphone resta come prima, per non stringere il pulsante e il menu */

.nav { display: flex; align-items: center; gap: 4px; }

.nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 10px 14px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 8px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav-link:hover { color: var(--white); background: rgba(255, 255, 255, 0.07); }
.chev { font-size: 0.65rem; opacity: 0.7; }

/* ---------- Voce di menu "HiSolution Console": stesso stile delle altre voci
   di primo livello, con un piccolo indicatore puntino acceso per segnalare
   che è il prodotto più recente e strategico. ---------- */
.nav-flagship-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 130, 0, 0.45);
  animation: nav-flagship-pulse 2.4s ease-in-out infinite;
}
@keyframes nav-flagship-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 130, 0, 0.45); }
  50% { box-shadow: 0 0 0 4px rgba(255, 130, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-flagship-dot { animation: none; }
}

.nav-item { position: relative; flex-shrink: 0; }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(14, 22, 30, 0.25);
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  min-width: max-content;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 12px;
}
.dropdown-cols { display: flex; gap: 44px; }
.dropdown-col { display: flex; flex-direction: column; gap: 10px; }
.dropdown-col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange);
  margin-bottom: 4px;
}
.dropdown-col a {
  font-size: 0.88rem;
  color: var(--navy-mid);
  font-weight: 500;
  transition: var(--transition);
}
.dropdown-col a:hover { color: var(--orange); }

.dropdown-col--wide { flex: 0 0 auto; }
.dropdown-subcols { display: flex; gap: 32px; }
.dropdown-subcol { display: flex; flex-direction: column; gap: 10px; }

/* Pannello di anteprima a destra del mega-menu Soluzioni */
.dropdown-preview {
  width: 230px;
  flex-shrink: 0;
  margin-left: 40px;
  padding-left: 32px;
  border-left: 1px solid var(--border);
}
.dropdown-preview-item { display: none; flex-direction: column; gap: 14px; }
.dropdown-preview-item.is-active { display: flex; }
.dropdown-preview-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  color: var(--orange);
  display: grid;
  place-items: center;
}
.dropdown-preview-icon svg { width: 24px; height: 24px; }
.dropdown-preview-item h5 { font-size: 1.02rem; color: var(--navy-dark); }
.dropdown-preview-item p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.55; }
.dropdown-preview-link { font-size: 0.86rem; font-weight: 600; color: var(--orange); align-self: flex-start; }
.dropdown-preview-link:hover { color: var(--orange-dark); }
/* ^ blocco sopra (.dropdown-cols/.dropdown-preview) appartiene alla variante a 3 colonne fisse,
   non più referenziata da index.html su questo branch — lasciata intatta per il rollback su
   main / menu-v2-nested-baseline. Non toccare. */

/* ============ Mega-menu Soluzioni — variante nested a 2 livelli ============ */
.dropdown-l1 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 200px;
  padding-right: 26px;
  border-right: 1px solid var(--border);
}
.dropdown-l1-item {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-mid);
  padding: 10px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.dropdown-l1-item:hover,
.dropdown-l1-item.is-active { background: rgba(255, 130, 0, 0.08); color: var(--orange); }

.dropdown-l2 { padding-left: 32px; }
.dropdown-l2-panel { display: none; }
.dropdown-l2-panel.is-active { display: flex; align-items: flex-start; gap: 32px; }

/* Zona sinistra: titolo + descrizione + link, per il pillar attivo */
.dropdown-l2-intro {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dropdown-l2-intro h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dark);
}
.dropdown-l2-intro p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.dropdown-l2-more { font-size: 0.86rem; font-weight: 700; color: var(--orange); align-self: flex-start; }
.dropdown-l2-more:hover { color: var(--orange-dark); }

/* Zona destra: voci di terzo livello (con sotto-blocchi per IT & Cloud) */
.dropdown-l2-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 28px;
  border-left: 1px solid var(--border);
}
.dropdown-l2-links a { font-size: 0.88rem; color: var(--navy-mid); font-weight: 500; transition: var(--transition); }
.dropdown-l2-links a:hover { color: var(--orange); }

.dropdown-subgroup {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 130, 0, 0.75);
}
.dropdown-subgroup:not(:first-child) { margin-top: 4px; }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-actions .btn-primary {
  flex-direction: column;
  flex-shrink: 0;
  gap: 1px;
  line-height: 1.35;
  padding: 8px 22px;
  text-align: center;
  white-space: nowrap;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy-deep) 60%, #101c28 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -220px;
  right: -160px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(255, 130, 0, 0.22) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

/* Rete neurale animata di sfondo — riusabile su hero e CTA finale, con densità/velocità diverse via data-attribute */
.network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============ Hero — carosello a 2 slide ============ */
.hero-slides { position: relative; z-index: 2; }

.hero-slide {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  inset: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
  pointer-events: auto;
}

.hero-dots {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-bottom: 40px;
}
.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.hero-dot.is-active { background: var(--orange); transform: scale(1.3); }

.hero-inner {
  position: relative;
  padding: 110px 24px 50px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--orange);
  border: 1px solid rgba(255, 130, 0, 0.4);
  border-radius: 999px;
  padding: 7px 18px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.accent { color: var(--orange); }

.hero-sub {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: 1.08rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
}

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-status-badge {
  position: absolute;
  right: 24px;
  top: 32px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(46, 204, 113, 0.14);
  border: 1px solid rgba(46, 204, 113, 0.55);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #4ade80;
}
.hero-status-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.55);
  animation: sec-live-pulse 2s infinite;
}
@media (max-width: 720px) {
  .hero-status-badge { right: 16px; top: 20px; font-size: 0.72rem; padding: 7px 13px; }
}

.hero-stats {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 48px;
}
.stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -1px;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

/* ============ Highlights ============ */
.highlights { padding: 0; transform: translateY(-46px); margin-bottom: -46px; position: relative; z-index: 5; }

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.highlight-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.highlight-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(22, 33, 44, 0.16); }

.tag {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--orange);
  background: rgba(255, 130, 0, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
}
.highlight-card h3 { font-size: 1.12rem; }
.highlight-card p { font-size: 0.9rem; color: var(--text-muted); flex: 1; }

.card-link { font-size: 0.88rem; font-weight: 600; color: var(--orange); transition: var(--transition); }
.card-link:hover { color: var(--orange-dark); }

/* ============ Sezioni ============ */
/* Ritmo verticale generico per le pagine interne (stesso passo ~100-110px di .services/.why/.cta in home) */
.section { padding: 100px 0; }
.section--alt { background: var(--off-white); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--orange); }

.section-sub { margin-top: 16px; color: var(--text-muted); font-size: 1rem; }

/* ============ Servizi ============ */
.services {
  position: relative;
  padding: 110px 0 100px;
  background: var(--off-white);
  overflow: hidden;
}

.services-content { position: relative; z-index: 2; }

/* Cursor ball — large orange orb that follows the mouse on cards */
.services-cursor-ball {
  position: absolute;
  width: 420px;
  height: 420px;
  margin-left: -210px;
  margin-top: -210px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: translate3d(-9999px, -9999px, 0) scale(0.6);
  transition: opacity 0.35s ease, transform 0.15s ease-out;
  will-change: transform, opacity;
}

.services-cursor-ball::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(255, 130, 0, 0.55) 0%,
    rgba(255, 130, 0, 0.22) 35%,
    rgba(255, 130, 0, 0) 70%
  );
  filter: blur(8px);
}

.services-cursor-ball.is-visible {
  opacity: 1;
  transition: opacity 0.35s ease;
}

@media (max-width: 720px) {
  .services-cursor-ball { display: none; }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.overview-group-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--navy-mid);
  margin: 48px 0 20px;
}
.overview-group-title:first-of-type { margin-top: 0; }
.overview-grid { margin-bottom: 8px; }

.service-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 130, 0, 0.4);
  background: rgba(255, 255, 255, 0.96);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  color: var(--orange);
  display: grid;
  place-items: center;
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 { font-size: 1.15rem; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); flex: 1; }

/* ============ Bento grid — Le nostre soluzioni ============ */
.bento-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.bento-console {
  grid-row: 1 / 3;
  background: linear-gradient(150deg, var(--navy-dark), var(--navy-mid));
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px 40px 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.bento-console .tag { align-self: flex-start; }
.bento-console h3 { font-size: 1.4rem; margin: 14px 0 12px; max-width: 460px; }
.bento-console p { font-size: 0.94rem; color: rgba(255, 255, 255, 0.78); font-weight: 300; max-width: 440px; margin-bottom: 22px; }
.bento-console .btn { align-self: flex-start; }

.console-mock {
  margin-top: auto;
  padding: 28px 24px 0;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}
.console-mock::before {
  content: "";
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 130, 0, 0.4) 0%, transparent 70%);
  pointer-events: none;
}
.console-mock__screen {
  position: relative;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  border: 6px solid #0c1319;
  border-bottom: none;
  box-shadow:
    0 -10px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 60px rgba(255, 130, 0, 0.18);
}
.console-mock__img { width: 100%; display: block; }
.console-mock__base {
  position: relative;
  height: 12px;
  background: linear-gradient(90deg, #0c1319, #1c2a38, #0c1319);
  border-radius: 0 0 6px 6px;
  margin: 0 -6px;
}

.bento-pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
}
.bento-pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(255, 130, 0, 0.4); }
.bento-pillar-card h3 { font-size: 1.1rem; }
.bento-pillar-card p { font-size: 0.88rem; color: var(--text-muted); flex: 1; }
.bento-pillar-card--wide { grid-column: 2 / 4; }

@media (max-width: 960px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-console { grid-row: auto; grid-column: 1 / 3; }
  .bento-pillar-card--wide { grid-column: 1 / 3; }
}

@media (max-width: 720px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-pillar-card--wide { grid-column: auto; }
}

/* ============ Perché noi ============ */
.why {
  background: linear-gradient(150deg, var(--navy-dark), var(--navy-mid));
  color: var(--white);
  padding: 110px 0;
}

.why-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 70px;
  align-items: center;
}

.why h2 { margin-bottom: 22px; }
.why-text > p { color: rgba(255, 255, 255, 0.82); font-weight: 300; margin-bottom: 26px; }
.why-text strong { font-weight: 600; color: var(--white); }

.why-list { list-style: none; margin-bottom: 36px; display: flex; flex-direction: column; gap: 16px; }
.why-list li {
  padding-left: 34px;
  position: relative;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
}
.why-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* Visual con orbite animate */
.why-visual { display: grid; place-items: center; }

.orbit { position: relative; width: 340px; height: 340px; }

.orbit-center {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 0 60px rgba(255, 130, 0, 0.45);
  z-index: 2;
}
.orbit-center svg { width: 54px; height: 54px; }

.orbit-ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  animation: spin 22s linear infinite;
}
.ring-1 { width: 190px; height: 190px; }
.ring-2 { width: 265px; height: 265px; animation-duration: 32s; animation-direction: reverse; }
.ring-3 { width: 340px; height: 340px; animation-duration: 44s; }

.orbit-dot {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(255, 130, 0, 0.8);
}
.d2 { background: var(--white); box-shadow: 0 0 12px rgba(255,255,255,0.8); }

@keyframes spin { to { transform: rotate(360deg); } }

/* ============ Casi d'uso ============ */
.usecases { padding: 100px 0; }

.usecase-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 860px;
  margin: 0 auto;
}
.pill {
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy-mid);
  transition: var(--transition);
}
.pill:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255, 130, 0, 0.06);
  transform: translateY(-2px);
}

/* ============ Testimonianze ============ */
.testimonials {
  background: var(--navy-dark);
  color: var(--white);
  padding: 100px 0;
}

.slider { max-width: 780px; margin: 0 auto; overflow: hidden; }

.slides { display: flex; transition: transform 0.5s ease; }

.slide {
  min-width: 100%;
  text-align: center;
  padding: 0 24px;
}
.slide p {
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.92);
}
.slide footer { font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); }
.slide footer strong { color: var(--orange); font-weight: 600; }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 44px;
}
.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: none;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}
.slider-btn:hover { border-color: var(--orange); color: var(--orange); }

.slider-dots { display: flex; gap: 10px; }
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.dot.active { background: var(--orange); transform: scale(1.3); }

/* ============ Risorse ============ */
.resources { padding: 110px 0; background: var(--off-white); }

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.resource-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.resource-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.resource-thumb {
  height: 165px;
  display: grid;
  place-items: center;
  position: relative;
}
.resource-thumb span {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  background: rgba(22, 33, 44, 0.55);
  padding: 6px 16px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.thumb-1 { background: linear-gradient(135deg, var(--orange), #ffb35c); }
.thumb-2 { background: linear-gradient(135deg, var(--navy-mid), var(--navy-dark)); }
.thumb-3 { background: linear-gradient(135deg, #1f3040, var(--orange-dark)); }

.resource-card h3 { font-size: 1.05rem; padding: 22px 24px 8px; }
.resource-card p { font-size: 0.87rem; color: var(--text-muted); padding: 0 24px 26px; }

/* ============ CTA ============ */
.cta {
  background: linear-gradient(140deg, var(--navy-dark) 20%, var(--navy-mid));
  color: var(--white);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  bottom: -260px;
  left: -140px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(255, 130, 0, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.cta h2 { margin-bottom: 18px; }
.cta p { color: rgba(255, 255, 255, 0.8); font-weight: 300; margin-bottom: 38px; }

.cta-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-form input {
  flex: 1 1 200px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}
.cta-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.cta-form input:focus { border-color: var(--orange); background: rgba(255, 255, 255, 0.12); }

.form-sent-msg { display: none; width: 100%; margin-top: 16px; color: var(--orange); font-weight: 600; }
.cta-form.sent .form-sent-msg { display: block; }

/* ============ Footer ============ */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.68); }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  padding: 64px 24px 40px;
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-col p { font-size: 0.85rem; line-height: 1.6; color: rgba(255, 255, 255, 0.6); }
.footer-col a { font-size: 0.85rem; color: rgba(255, 255, 255, 0.68); transition: var(--transition); }
.footer-col a:hover { color: var(--orange); }

.footer-address { margin: 0; }

.footer-helpdesk { margin-top: 10px; }
.footer-helpdesk__title,
.footer-helpdesk__number {
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
  margin: 0;
  line-height: 1.4;
}
.footer-helpdesk__hours { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin: 4px 0 0; }

.btn-outline {
  background: transparent;
  color: var(--navy-mid);
  border-color: var(--navy-mid);
}
.btn-outline:hover { background: var(--navy-mid); color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  padding-bottom: 28px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255, 255, 255, 0.55); transition: var(--transition); }
.footer-legal a:hover { color: var(--orange); }

/* Bollini certificazioni ISO nel footer (25/11/2026).
   Segnaposto grafico: NON è il logo ISO. Da sostituire con il marchio ufficiale dell'ente certificatore. */
.footer-iso { display: flex; flex-wrap: wrap; gap: 10px; margin-right: auto; }
.footer-iso__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 13px 6px 7px;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-sans); line-height: 1.15; white-space: nowrap;
}
.footer-iso__seal { width: 28px; height: 28px; flex: none; color: var(--orange); }
.footer-iso__text b { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.5px; color: rgba(255, 255, 255, 0.92); }
.footer-iso__text small { display: block; margin-top: 2px; font-size: 0.62rem; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--orange); }

/* ============ Hero di pagina (senza carosello) ============ */
.hero--page .hero-inner { padding-bottom: 130px; }

/* Transizione morbida verso la sezione successiva, invece di un attacco secco navy → bianco */
.hero--page::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
  z-index: 1;
}

/* Security: la sezione HiConsole che segue la hero è chiara ma non bianca (#eef1f4) —
   la sfumatura standard va intonata a quel colore, con transizione più ampia */
.hero--fade-console::after {
  height: 220px;
  background: linear-gradient(to bottom, transparent, #eef1f4);
}
@media (max-width: 720px) {
  .hero--fade-console::after { height: 140px; }
}

/* ============ Pannello scuro HiSolution Console (pagina Perché HiSolution) ============ */
.console-panel {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(150deg, var(--navy-dark), var(--navy-mid));
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px 48px 0;
}
.console-panel .tag { margin-bottom: 16px; }
.console-panel h2 { font-size: 1.6rem; margin-bottom: 16px; max-width: 620px; }
.console-panel p { font-size: 0.98rem; color: rgba(255, 255, 255, 0.78); font-weight: 300; max-width: 620px; margin-bottom: 32px; }
.console-panel .console-mock { max-width: 480px; margin-left: auto; margin-right: auto; }

/* ============ Otto motivi — griglia di flip-card 4+4 ============ */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.reason-item {
  perspective: 1400px;
  height: 230px;
  cursor: pointer;
}
.reason-item-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}
.reason-item:hover .reason-item-inner,
.reason-item:focus-within .reason-item-inner,
.reason-item.is-flipped .reason-item-inner {
  transform: rotateY(180deg);
}

.reason-front, .reason-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.reason-front {
  background: linear-gradient(150deg, var(--navy-dark), var(--navy-mid));
  color: var(--white);
  justify-content: space-between;
}
.reason-item__index { font-size: 0.82rem; font-weight: 800; color: var(--orange); }
.reason-front h3 { font-size: 1.04rem; line-height: 1.35; }
.reason-hint { font-size: 0.78rem; color: rgba(255, 255, 255, 0.5); }

.reason-back {
  background: var(--orange);
  color: var(--white);
  transform: rotateY(180deg);
  justify-content: center;
}
.reason-back p { font-size: 0.85rem; line-height: 1.5; }

/* ============ Paragrafo di chiusura ============ */
.closing-note {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* ============ Striscia loghi partnership — marquee orizzontale ============ */
.marquee-note {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}
.marquee-note + .partner-marquee { margin-top: 22px; }
.partner-marquee {
  overflow: hidden;
  margin-top: 46px;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.partner-marquee-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: partner-marquee 30s linear infinite;
}
.partner-marquee:hover .partner-marquee-track,
.partner-marquee:focus-within .partner-marquee-track {
  animation-play-state: paused;
}
.partner-marquee-item {
  padding: 14px 28px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-muted);
  white-space: nowrap;
  filter: grayscale(1);
  opacity: 0.7;
  transition: var(--transition);
}
.partner-marquee-item:hover {
  color: var(--orange);
  border-color: rgba(255, 130, 0, 0.4);
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}
@keyframes partner-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Integrazioni per categoria — tab interattive ============ */
.integration-tabs { margin-top: 46px; }
.integration-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}
.integration-tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: none;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-mid);
  cursor: pointer;
  transition: var(--transition);
}
.integration-tab:hover { border-color: rgba(255, 130, 0, 0.4); color: var(--orange); }
.integration-tab.is-active { background: var(--navy-dark); border-color: var(--navy-dark); color: var(--white); }

.integration-panels { max-width: 620px; margin: 0 auto; text-align: center; }
.integration-panel { display: none; }
.integration-panel.is-active { display: block; animation: integration-fade-in 0.35s ease; }
@keyframes integration-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.integration-cat-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.integration-cat-list span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-mid);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
}

/* ============ Statement — statistica a piena larghezza (stile sophos.com) ============ */
.statement {
  position: relative;
  background: linear-gradient(150deg, var(--navy-dark), var(--navy-deep));
  color: var(--white);
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
}
.statement::after {
  content: "";
  position: absolute;
  bottom: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(255, 130, 0, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.statement .container { position: relative; max-width: 640px; }
.statement-number {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -2px;
  margin-bottom: 16px;
}
.statement-label { font-size: 1rem; color: rgba(255, 255, 255, 0.78); font-weight: 300; }

/* ============ Sostenibilità — griglia 3 colonne × 2 righe + banda finale ============ */
.eco-mosaic {
  display: grid;
  grid-template-columns: 1fr 0.85fr 1fr;
  grid-template-rows: repeat(2, auto);
  gap: 20px;
  align-items: stretch;
}
/* Variante con colonna centrale più larga — usata solo dove la tessera centrale
   ospita lo screenshot della dashboard Console (perche-hisolution.html);
   il mosaico Sostenibilità in persone-sostenibilita.html resta con le proporzioni originali */
.eco-mosaic--wide-center { grid-template-columns: 0.85fr 1.6fr 0.85fr; }

.eco-tile {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--off-white);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
}
.eco-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(255, 130, 0, 0.35); }
.eco-tile__icon { color: var(--orange); }
.eco-tile__icon svg { width: 28px; height: 28px; }
.eco-tile h4 { font-size: 1rem; color: var(--navy-dark); }
.eco-tile p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

.eco-tile--1 { grid-column: 1; grid-row: 1; }
.eco-tile--2 { grid-column: 1; grid-row: 2; }
.eco-tile--3 { grid-column: 3; grid-row: 1; }
.eco-tile--4 { grid-column: 3; grid-row: 2; }

.eco-tile--closing {
  grid-column: 2;
  grid-row: 1 / 3;
  background: linear-gradient(150deg, var(--navy-dark), var(--navy-mid));
  color: var(--white);
  border: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 26px;
  padding: 34px 22px;
}
.eco-tile--closing p { color: rgba(255, 255, 255, 0.9); font-size: 1rem; font-weight: 300; line-height: 1.6; }
/* .console-mock ha margin-top:auto per il suo uso originale in .bento-console/.console-panel
   (flex column non centrato); qui la tessera è centrata come gruppo, quindi va neutralizzato */
.eco-tile--closing .console-mock { margin-top: 0; width: 100%; max-width: 320px; }
.eco-tile--closing:hover { box-shadow: 0 20px 50px rgba(14, 22, 30, 0.35); }

/* Variante senza sfondo: solo lo screen, nessuna card navy/sfumata dietro
   (usata per il mockup Console in perche-hisolution.html — la tessera navy
   con l'albero in persone-sostenibilita.html resta invariata) */
.eco-tile--closing.eco-tile--transparent {
  background: none;
  border: none;
  box-shadow: none;
}
.eco-tile--closing.eco-tile--transparent:hover { box-shadow: none; }
.eco-tile--closing.eco-tile--transparent .console-mock {
  background: none;
  border: none;
  padding: 0;
  overflow: visible;
}
.eco-tile--closing.eco-tile--transparent .console-mock::before { content: none; }
/* Screenshot statico ad alta risoluzione (1708x1277): proporzioni originali
   mantenute via width:100%/height:auto su .console-mock__img (nessuno
   stretch/crop) dentro una cornice da monitor (bezel + collo + base) */
.eco-tile--closing.eco-tile--transparent .console-mock { max-width: 460px; }
.eco-tile--closing.eco-tile--transparent .console-mock__screen {
  border: 8px solid #0c1319;
  border-radius: 14px;
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 60px rgba(255, 130, 0, 0.18);
}
.eco-tile--closing.eco-tile--transparent .console-mock__base {
  width: 74px;
  height: 26px;
  margin: 0 auto;
  background: linear-gradient(180deg, #0c1319, #1c2a38);
  border-radius: 0 0 5px 5px;
}
.eco-tile--closing.eco-tile--transparent .console-mock::after {
  content: "";
  display: block;
  width: 160px;
  height: 10px;
  margin: 0 auto;
  background: linear-gradient(90deg, #0c1319, #2a3a4a, #0c1319);
  border-radius: 6px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

/* Icona albero — riutilizzabile ovunque nella pagina, chioma sempre arancione,
   tronco/radici in currentColor per adattarsi a sfondi chiari o scuri */
.eco-tree svg { display: block; }
.eco-tree--lg svg { width: 96px; height: 96px; }
.eco-tree--sm { display: block; margin: 0 auto 18px; }
.eco-tree--sm svg { width: 60px; height: 60px; }

/* Banda finale "Per il pianeta" — piena larghezza sotto la griglia */
.eco-band {
  margin-top: 20px;
  background: linear-gradient(90deg, var(--orange), #ffb14d);
  border-radius: var(--radius);
  padding: 30px 34px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--white);
  transition: var(--transition);
}
.eco-band:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(255, 130, 0, 0.32); }
.eco-band__icon { flex-shrink: 0; color: var(--white); }
.eco-band__icon svg { width: 40px; height: 40px; }
.eco-band h4 { font-size: 1.05rem; color: var(--white); margin-bottom: 4px; }
.eco-band p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.92); line-height: 1.5; }

@media (max-width: 860px) {
  .eco-mosaic { grid-template-columns: 1fr; }
  .eco-tile--1, .eco-tile--2, .eco-tile--3, .eco-tile--4, .eco-tile--closing {
    grid-column: auto;
    grid-row: auto;
  }
  .eco-band { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ============ Stripe valori — 4 parole, 4 animazioni uniche ============ */
.values-stripe {
  background: linear-gradient(150deg, var(--navy-dark), var(--navy-deep));
  padding: 100px 0;
}
.values-stripe .section-head p,
.values-stripe .eyebrow { color: var(--orange); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.value-item {
  text-align: center;
  padding: 30px 14px;
  border-radius: var(--radius);
  outline: none;
  transition: background 0.25s ease;
  min-width: 0;
}
.value-item:hover,
.value-item:focus-visible,
.value-item.is-active { background: rgba(255, 255, 255, 0.04); }

.value-item__word {
  position: relative;
  display: inline-block;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  white-space: nowrap;
}
.value-item__desc { font-size: 0.86rem; color: rgba(255, 255, 255, 0.6); max-width: 210px; margin: 0 auto; line-height: 1.5; }

/* Velocità — scatto laterale con streak, poi si riassesta */
.value-item--speed:hover .value-item__word,
.value-item--speed:focus-visible .value-item__word,
.value-item--speed.is-active .value-item__word {
  animation: speed-dash 0.5s cubic-bezier(0.2, 0.9, 0.2, 1);
}
@keyframes speed-dash {
  0% { transform: translateX(0); filter: blur(0); }
  25% { transform: translateX(26px); filter: blur(3px); }
  45% { transform: translateX(-6px); filter: blur(1px); }
  70% { transform: translateX(4px); filter: blur(0); }
  100% { transform: translateX(0); filter: blur(0); }
}
.value-item--speed .value-item__word::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -22px;
  right: -22px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0;
  transform: translateY(-50%) scaleX(0.2);
  transform-origin: left;
}
.value-item--speed:hover .value-item__word::after,
.value-item--speed:focus-visible .value-item__word::after,
.value-item--speed.is-active .value-item__word::after {
  animation: speed-streak 0.5s ease;
}
@keyframes speed-streak {
  0% { opacity: 0; transform: translateY(-50%) scaleX(0.2); }
  20% { opacity: 1; transform: translateY(-50%) scaleX(1); }
  60% { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(-50%) scaleX(1.4); }
}

/* Responsabilità — timbro: impatto + anello che si disegna attorno */
.value-item--responsibility:hover .value-item__word,
.value-item--responsibility:focus-visible .value-item__word,
.value-item--responsibility.is-active .value-item__word {
  animation: stamp-hit 0.55s cubic-bezier(0.36, 1.6, 0.4, 1);
}
@keyframes stamp-hit {
  0% { transform: scale(1); }
  30% { transform: scale(0.88); }
  55% { transform: scale(1.06); }
  75% { transform: scale(0.98); }
  100% { transform: scale(1); }
}
.value-item--responsibility .value-item__word::before {
  content: "";
  position: absolute;
  inset: -14px -20px;
  border: 2px solid var(--orange);
  border-radius: 10px;
  opacity: 0;
  transform: scale(1.35) rotate(-3deg);
}
.value-item--responsibility:hover .value-item__word::before,
.value-item--responsibility:focus-visible .value-item__word::before,
.value-item--responsibility.is-active .value-item__word::before {
  animation: stamp-ring 0.55s ease forwards;
}
@keyframes stamp-ring {
  0% { opacity: 0; transform: scale(1.4) rotate(-3deg); }
  35% { opacity: 1; transform: scale(0.95) rotate(-3deg); }
  100% { opacity: 0.9; transform: scale(1) rotate(-3deg); }
}

/* Flessibilità — onda elastica lettera per lettera (skew morbido) */
.value-item--flex .letter { display: inline-block; }
.value-item--flex:hover .letter,
.value-item--flex:focus-visible .letter,
.value-item--flex.is-active .letter {
  animation: flex-wave 0.9s ease;
  animation-delay: calc(var(--i) * 0.035s);
}
@keyframes flex-wave {
  0% { transform: skewX(0) translateY(0); }
  25% { transform: skewX(-12deg) translateY(-4px); }
  50% { transform: skewX(10deg) translateY(3px); }
  75% { transform: skewX(-5deg) translateY(-1px); }
  100% { transform: skewX(0) translateY(0); }
}

/* Divertimento — rimbalzo a onda lettera per lettera + piccolo scoppio di colore */
.value-item--fun .letter { display: inline-block; }
.value-item--fun:hover .letter,
.value-item--fun:focus-visible .letter,
.value-item--fun.is-active .letter {
  animation: fun-bounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation-delay: calc(var(--i) * 0.045s);
}
@keyframes fun-bounce {
  0% { transform: translateY(0); color: var(--white); }
  35% { transform: translateY(-12px); color: var(--orange); }
  60% { transform: translateY(2px); }
  100% { transform: translateY(0); color: var(--white); }
}
.value-item--fun .value-item__word::before,
.value-item--fun .value-item__word::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  opacity: 0;
}
.value-item--fun .value-item__word::before { background: var(--orange); }
.value-item--fun .value-item__word::after { background: var(--white); }
.value-item--fun:hover .value-item__word::before,
.value-item--fun:focus-visible .value-item__word::before,
.value-item--fun.is-active .value-item__word::before {
  animation: fun-particle-1 0.6s ease forwards;
}
.value-item--fun:hover .value-item__word::after,
.value-item--fun:focus-visible .value-item__word::after,
.value-item--fun.is-active .value-item__word::after {
  animation: fun-particle-2 0.6s ease forwards;
}
@keyframes fun-particle-1 {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-160%, -220%) scale(1); }
}
@keyframes fun-particle-2 {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(80%, -180%) scale(1); }
}

@media (max-width: 860px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
}
@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ============ Le persone — griglia di card team (placeholder) ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 50px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(255, 130, 0, 0.4); }
.team-card__photo {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  color: var(--orange);
  display: grid;
  place-items: center;
}
.team-card__photo svg { width: 38px; height: 38px; }
.team-card__name { font-size: 0.98rem; margin-bottom: 4px; }
.team-card__role { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px; }
.team-card__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--off-white);
  color: var(--navy-mid);
  transition: var(--transition);
}
.team-card__linkedin svg { width: 16px; height: 16px; }
.team-card__linkedin:hover { background: var(--orange); color: var(--white); }

@media (max-width: 960px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* Responsive: griglia flip-card e marquee/tab */
@media (max-width: 960px) {
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .reasons-grid { grid-template-columns: 1fr; }
  .reason-item { height: 200px; }
}

/* ============ Animazioni on-scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .services-grid, .resources-grid, .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 50px; }
  .why-visual { order: -1; }
  .orbit { width: 280px; height: 280px; }
  .ring-3 { width: 280px; height: 280px; }
  .ring-2 { width: 220px; height: 220px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .console-panel { padding: 36px 28px 0; }
}

/* Soglia dedicata al menu mobile (hamburger). È più alta della soglia generale
   720px usata sotto per il resto del layout: con logo + 7 voci di Soluzioni +
   CTA, la nav smette di stare comodamente su una riga già intorno ai 1150-1250px
   (i .nav-item non si restringono mai, quindi sotto quella soglia tutta la
   compressione ricadeva sul bottone CTA, spezzandone il testo su più righe).
   Passiamo al menu mobile con margine, prima che qualunque compressione inizi. */
@media (max-width: 1240px) {
  /* 25/11/2026: l'email resta visibile anche qui (era .topbar-links { display: none; }),
     altrimenti senza l'avviso la topbar resterebbe vuota */
  .hamburger { display: flex; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--navy-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 90px 28px 40px;
    gap: 6px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99;
    overflow-y: auto;
  }
  .nav.open { transform: translateX(0); box-shadow: -20px 0 60px rgba(0,0,0,0.5); }

  .nav-link { width: 100%; justify-content: space-between; padding: 14px 10px; }

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    box-shadow: none;
    padding: 0 10px 10px;
    flex-direction: column;
    gap: 18px;
    display: none;
  }
  .nav-item.expanded .dropdown { display: flex; }
  .dropdown-cols { flex-direction: column; gap: 18px; }
  .dropdown-col a { color: rgba(255, 255, 255, 0.75); }
  .dropdown-col a:hover { color: var(--orange); }
  .dropdown-subgroup { color: rgba(255, 150, 60, 0.85); }
  .dropdown-subcols { flex-direction: column; gap: 18px; }
  .dropdown-preview { display: none; }

  /* Nested menu: su mobile niente hover a 2 livelli — mostra tutti i pillar impilati */
  .dropdown-l1 { display: none; }
  .dropdown-l2 { padding-left: 0; }
  .dropdown-l2-panel { display: flex !important; flex-direction: column; gap: 14px; }
  .dropdown-l2-panel + .dropdown-l2-panel { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .dropdown-l2-intro { width: auto; }
  .dropdown-l2-intro h4 { color: var(--white); }
  .dropdown-l2-intro p { color: rgba(255, 255, 255, 0.6); }
  .dropdown-l2-more { color: var(--orange); }
  .dropdown-l2-links { padding-left: 0; border-left: none; }
  .dropdown-l2-links a { color: rgba(255, 255, 255, 0.75); }
  .dropdown-l2-links a:hover { color: var(--orange); }
}

@media (max-width: 720px) {
  .services-grid, .resources-grid, .highlights-grid { grid-template-columns: 1fr; }
  .highlights { transform: translateY(-30px); margin-bottom: -30px; }
  .hero-inner { padding: 80px 24px 40px; }
  .hero--page .hero-inner { padding-bottom: 80px; }
  .hero--page::after { height: 70px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-iso { margin-right: 0; justify-content: center; }
  .footer-iso__badge { text-align: left; }
}

/* ================================================================
   Pagina Security — componenti dedicati (pillar di punta)
   Ogni blocco ha un linguaggio visivo distinto: nastro connesso,
   radar, split-screen, gauge circolari, orologio H24, catalogo.
   Le animazioni si attivano allo scroll-reveal tramite .section.reveal.visible
   (osservatore IntersectionObserver già esistente in js/main.js) e usano
   solo transform/opacity/stroke-dashoffset — nessun JS aggiuntivo.
   ================================================================ */

/* ---------- Badge tecnici + tech-note (riutilizzato in più pagine) ---------- */
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 999px;
}
.badge-product { color: var(--navy-mid); background: var(--off-white); border: 1px solid var(--border); }
.badge-featured { color: var(--white); background: var(--orange); }
.badge-tech {
  color: var(--orange);
  background: rgba(255, 130, 0, 0.08);
  border: 1px solid rgba(255, 130, 0, 0.35);
}

.tech-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 18px;
  padding-left: 18px;
  border-left: 2px solid rgba(255, 130, 0, 0.35);
}
.tech-note p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.65; }
.tech-note .badge-tech { flex-shrink: 0; margin-top: 1px; }
.tech-note--ondark { border-left-color: rgba(255, 130, 0, 0.45); }
.tech-note--ondark p { color: rgba(255, 255, 255, 0.7); }
.tech-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* Intestazione di sezione su sfondo scuro (stesso ritmo di .section-head,
   solo colori invertiti — riusa .eyebrow che è già arancione su entrambi gli sfondi) */
.section-head--ondark h2 { color: var(--white); }
.section-head--ondark p { color: rgba(255, 255, 255, 0.72); }

/* ================================================================
   1) HICONSOLE — sezione navy a piena larghezza, massimo risalto.
   Mockup dashboard centrato + nastro di 7 servizi connessi da una linea.
   ================================================================ */
.sec-console {
  /* niente overflow:hidden qui: un antenato con overflow diverso da visible
     spezza la position:sticky del media-col dello scrollytelling più sotto.
     Il clipping del glow decorativo vive isolato in .sec-console__bg. */
  background: linear-gradient(160deg, #eef1f4 0%, var(--off-white) 100%);
  color: var(--navy-dark);
  position: relative;
}
.sec-console__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
.sec-console__bg::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(255, 130, 0, 0.12) 0%, transparent 68%);
}

.sec-console-mockup { display: flex; justify-content: center; margin: 0 0 8px; position: relative; z-index: 1; }
.sec-console-mockup .console-mock {
  max-width: 620px;
  width: 100%;
  margin-top: 0;
  padding: 0;
  background: none;
  border: none;
  overflow: visible;
}
.sec-console-mockup .console-mock::before { content: none; }
.sec-console-mockup .console-mock__screen {
  border: 8px solid #0c1319;
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 70px rgba(255, 130, 0, 0.16);
}
.sec-console-mockup .console-mock__base {
  width: 90px;
  height: 28px;
  margin: 0 auto;
  background: linear-gradient(180deg, #0c1319, #1c2a38);
  border-radius: 0 0 6px 6px;
}
.sec-console-mockup .console-mock::after {
  content: "";
  display: block;
  width: 190px;
  height: 11px;
  margin: 0 auto;
  background: linear-gradient(90deg, #0c1319, #2a3a4a, #0c1319);
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

/* ----------------------------------------------------------------
   HiConsole "viva": le micro-animazioni (pulse sui pallini, flash
   sugli health score, micro-fluttuazione dei contatori) vivono
   direttamente sugli elementi HTML reali della dashboard ricostruita
   (vedi .hi-dashboard più sotto), non più su un overlay posizionato
   in percentuale sopra uno screenshot. Parte solo quando la sezione
   è nel viewport (classe .is-active via IntersectionObserver in
   js/main.js) e resta completamente statica con prefers-reduced-motion.
   ---------------------------------------------------------------- */
.console-live { pointer-events: none; }

/* --- Pallini di stato: pulse leggero solo su giallo/rosso --- */
.hi-svc__dot::before,
.hi-svc__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: currentColor;
  animation-play-state: paused;
}
.hi-svc__dot::before { animation: consoleDotCore 2.6s ease-in-out infinite; }
.hi-svc__dot::after {
  inset: -45%;
  opacity: 0;
  animation: consoleDotRing 2.6s ease-out infinite;
}
.hi-svc__dot--static::before,
.hi-svc__dot--static::after { animation: none; }

@keyframes consoleDotCore {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.8); }
}
@keyframes consoleDotRing {
  0%, 15% { opacity: 0; transform: scale(.6); }
  35% { opacity: .4; transform: scale(.9); }
  70%, 100% { opacity: 0; transform: scale(2); }
}

/* --- Health score: highlight "appena ricalcolato", una card alla volta --- */
.hi-svc__health::after {
  content: "";
  position: absolute;
  inset: -10px -14px;
  border-radius: 8px;
  background: radial-gradient(circle, rgba(255, 255, 255, .4), transparent 72%);
  opacity: 0;
  animation: consoleFlash 24s ease-in-out infinite;
  animation-play-state: paused;
  animation-delay: var(--delay, 0s);
  pointer-events: none;
}
@keyframes consoleFlash {
  0% { opacity: 0; }
  2% { opacity: .6; }
  10% { opacity: 0; }
  100% { opacity: 0; }
}

/* --- Contatori issues: micro-fluttuazione via JS, valori sempre sincronizzati --- */
.hi-issues { transition: text-shadow .35s ease; }
.hi-issues.is-updating { text-shadow: 0 0 6px currentColor; }

.console-live.is-active .hi-svc__dot::before,
.console-live.is-active .hi-svc__dot::after,
.console-live.is-active .hi-svc__health::after {
  animation-play-state: running;
}

@media (prefers-reduced-motion: reduce) {
  .hi-svc__dot::before,
  .hi-svc__dot::after,
  .hi-svc__health::after { animation: none !important; opacity: 0 !important; }
}

/* ================================================================
   HICONSOLE — SCROLLYTELLING (pattern "media sticky + testo che
   scorre", tipo Sophos): l'immagine resta ferma a sinistra, i blocchi
   di testo a destra appaiono/scompaiono attraversando il centro del
   viewport (IntersectionObserver in js/main.js, initScrollytelling).
   Nessuno scroll-jacking: lo scroll nativo resta libero, la "staticità"
   dell'immagine viene solo da position:sticky sulla sua colonna.
   Sotto ~768px o con prefers-reduced-motion si mostra .scrolly-fallback
   (impilato, niente JS necessario).
   ================================================================ */
.scrolly {
  /* niente overflow:hidden qui: un antenato con overflow diverso da visible
     spezza la position:sticky del media-col più sotto. Il clipping degli
     elementi decorativi (glow, canvas) vive isolato in .scrolly__bg. */
  position: relative;
  background: linear-gradient(160deg, #eef1f4 0%, var(--off-white) 100%);
  margin: 56px 0;
}
.scrolly__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.scrolly__bg::before {
  content: "";
  position: absolute;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(255, 130, 0, 0.14) 0%, transparent 68%);
}
/* Rete neurale pensata per sfondi scuri (nodi/linee bianchi): su questo sfondo
   chiaro non renderebbe leggibile nulla, quindi resta disattivata qui. */
.scrolly__canvas { display: none; }

.scrolly__grid {
  position: relative;
  z-index: 1;
  max-width: 1360px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 64px;
}

.scrolly__media-col { position: relative; }
.scrolly__media-sticky { position: sticky; top: calc(72px + 48px); }

/* ---- Frame: browser-mockup, molto più grande della versione a tab precedente ---- */
.browser-mock {
  width: 100%;
  max-width: 680px;
  border-radius: 18px;
  overflow: hidden;
  background: #0c1319;
  box-shadow: 0 50px 110px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 90px rgba(255, 130, 0, 0.14);
}
.browser-mock__bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; background: #0c1319; }
.browser-mock__dot { width: 11px; height: 11px; border-radius: 50%; }
.browser-mock__dot--red { background: #f0424a; }
.browser-mock__dot--yellow { background: #ebb327; }
.browser-mock__dot--green { background: #1ec564; }

/* Niente più aspect-ratio: il contenuto è HTML reale (vedi .hi-dashboard),
   l'altezza è dettata dal contenuto entro un tetto responsive. */
.browser-mock__screen { position: relative; height: min(700px, 76vh); background: #0d1218; }

.scrolly__layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 1;
  will-change: opacity;
}
.scrolly__layer--dashboard { opacity: 1; z-index: 2; }
.scrolly__layer--remediation { z-index: 3; }

.scrolly__spotlight {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse 24% 18% at 17% 19%, transparent 0%, transparent 58%, rgba(7, 11, 17, .62) 100%);
}

/* ================================================================
   DASHBOARD RICOSTRUITA IN HTML/CSS (steps 1-3 dello storytelling):
   testo vettoriale sempre nitido a qualunque livello di spotlight,
   niente più screenshot raster per queste parti. Selettori .card-
   compliance / .card-true-risk-score / .servizi-grid sono gli stessi
   target che lo spotlight legge via getBoundingClientRect() in JS.
   ================================================================ */
.hi-dashboard {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 22px 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  color: var(--white);
}

.hi-dashboard__header { display: flex; align-items: center; justify-content: space-between; }
.hi-dashboard__eyebrow { font-size: .95rem; font-weight: 700; color: var(--white); }

.hi-issues {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: .68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .5);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.hi-issues [data-console-counter] { font-size: 1.15rem; font-weight: 800; color: #e2483f; text-transform: none; letter-spacing: 0; }
.hi-issues--sm [data-console-counter] { font-size: 1rem; color: #8c84e6; }

.hi-row { display: flex; gap: 16px; }

.hi-card {
  position: relative;
  z-index: 1;
  flex: 1;
  background: #131a22;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.hi-card__title { font-size: 1.28rem; font-weight: 700; color: var(--white); line-height: 1.25; }
.hi-card__caption { font-size: .85rem; color: rgba(255, 255, 255, .6); }

.hi-card__gauges { display: flex; gap: 14px; justify-content: center; width: 100%; }
.hi-gauge { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.hi-gauge--big { flex: none; }

.hi-gauge__wrap { position: relative; width: 82px; height: 82px; }
.hi-gauge__wrap--big { width: 116px; height: 116px; }
.hi-gauge__svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hi-gauge__track { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 10; }
.hi-gauge__fill {
  fill: none;
  stroke: var(--orange);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.16, 0.8, 0.24, 1);
}
.section.reveal.visible .hi-gauge__fill { stroke-dashoffset: calc(327 - (327 * var(--pct)) / 100); }
.hi-gauge__value { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.45rem; font-weight: 800; color: var(--white); }
.hi-gauge__value--big { font-size: 2.3rem; }
.hi-gauge__label { font-size: .74rem; color: rgba(255, 255, 255, .55); }

.hi-badge {
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(255, 130, 0, .15);
  color: #ffb066;
}

.servizi-grid {
  position: relative;
  z-index: 1;
  background: #131a22;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 14px;
  padding: 16px 18px;
}
.hi-services__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.hi-services__title { font-size: 1.28rem; font-weight: 700; color: var(--white); }
.hi-services__sub { font-size: .78rem; color: rgba(255, 255, 255, .5); margin-top: 2px; }

.hi-services__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hi-svc {
  background: #0d1218;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 10px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.hi-svc__dot { position: relative; width: 11px; height: 11px; border-radius: 50%; margin-bottom: 6px; }
.hi-svc__dot--yellow { background: #ebb327; color: #ebb327; }
.hi-svc__dot--green { background: #1ec564; color: #1ec564; }
.hi-svc__dot--red { background: #f0424a; color: #f0424a; }
/* Pulse solo su giallo/rosso: il verde (stato ok) resta fermo */
.hi-svc__dot--yellow::before, .hi-svc__dot--yellow::after,
.hi-svc__dot--red::before, .hi-svc__dot--red::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: currentColor;
  animation-play-state: paused;
}
.hi-svc__dot--yellow::before, .hi-svc__dot--red::before { animation: consoleDotCore 2.6s ease-in-out infinite; }
.hi-svc__dot--yellow::after, .hi-svc__dot--red::after { inset: -45%; opacity: 0; animation: consoleDotRing 2.6s ease-out infinite; }

.hi-svc__name { font-size: .98rem; font-weight: 700; color: var(--white); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hi-svc__health-label { font-size: .66rem; color: rgba(255, 255, 255, .45); margin-top: 2px; }
.hi-svc__health { position: relative; z-index: 3; font-size: 1.3rem; font-weight: 800; margin-top: 1px; }
.hi-svc__health--yellow { color: #ebb327; }
.hi-svc__health--green { color: #1ec564; }
.hi-svc__health--red { color: #f0424a; }

@media (max-width: 1024px) {
  .hi-dashboard { padding: 18px 20px; }
}

/* ================================================================
   STEP 4 — PIANO DI REMEDIATION RICOSTRUITO IN HTML/CSS (ex screenshot
   remediation-piano.png). Nessuno spotlight qui: tutto il contenuto è
   rilevante, resta a piena vista come nell'immagine originale, solo con
   testo vettoriale al posto del raster.
   ================================================================ */
.hi-remediation {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 18px 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  color: var(--white);
}

/* ---- Striscia KPI: 6 box su 3 colonne × 2 righe — elemento prioritario
   della ricostruzione, box più larghi apposta per non dover troncare né
   rimpicciolire etichette/valori (leggibilità prima della fedeltà al
   layout a 6-in-riga dello screenshot originale). ---- */
.hi-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hi-kpi {
  background: #131a22;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 10px;
  padding: 10px 13px 11px;
  min-width: 0;
}
.hi-kpi__icon {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 8px;
}
.hi-kpi__icon svg { width: 15px; height: 15px; }
.hi-kpi__icon--indigo { background: rgba(140, 132, 230, .16); color: #8c84e6; }
.hi-kpi__icon--yellow { background: rgba(235, 179, 39, .16); color: #ebb327; }
.hi-kpi__icon--green { background: rgba(30, 197, 100, .16); color: #1ec564; }
.hi-kpi__icon--blue { background: rgba(91, 143, 249, .16); color: #5b8ff9; }
.hi-kpi__icon--red { background: rgba(240, 66, 74, .16); color: #f0424a; }
.hi-kpi__icon--orange { background: rgba(255, 130, 0, .16); color: var(--orange); }
.hi-kpi__label { font-size: .7rem; color: rgba(255, 255, 255, .5); line-height: 1.3; }
.hi-kpi__value { font-size: 1.4rem; font-weight: 800; color: var(--white); margin-top: 4px; white-space: nowrap; }
.hi-kpi__value--green { color: #1ec564; }
.hi-kpi__value--blue { color: #5b8ff9; }
.hi-kpi__value--orange { color: var(--orange); }
.hi-kpi__value--red { position: relative; color: #f0424a; display: inline-block; }
/* Leggero pulse sul badge più critico: si segnala da solo, senza essere invadente */
.hi-kpi__value--red::after {
  content: "";
  position: absolute;
  inset: -6px -10px;
  z-index: -1;
  border-radius: 8px;
  background: rgba(240, 66, 74, .28);
  opacity: 0;
  animation: hiKpiPulse 2.6s ease-in-out infinite;
}
@keyframes hiKpiPulse { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hi-kpi__value--red::after { animation: none; opacity: 0; } }

/* ---- Titolo sezione + tab (solo visive) ---- */
.hi-remediation__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hi-remediation__title { font-size: 1.28rem; font-weight: 700; color: var(--white); }
.hi-remediation__sub { font-size: .8rem; color: rgba(255, 255, 255, .5); margin-top: 3px; }
.hi-tabs { display: flex; gap: 4px; background: #131a22; border: 1px solid rgba(255, 255, 255, .06); border-radius: 10px; padding: 4px; flex-shrink: 0; }
.hi-tab { font-size: .78rem; font-weight: 600; color: rgba(255, 255, 255, .45); padding: 7px 14px; border-radius: 7px; }
.hi-tab--active { background: #0d1218; color: var(--white); }

/* ---- Gantt semplificato: 4 righe invece di 9+, più spazio per riga ---- */
.hi-gantt { display: flex; flex-direction: column; gap: 6px; flex: 1; min-height: 0; }
.hi-gantt__months { display: flex; }
.hi-gantt__months-spacer { width: 34%; max-width: 190px; flex-shrink: 0; }
.hi-gantt__months-grid { flex: 1; display: grid; grid-template-columns: repeat(18, 1fr); }
.hi-gantt__months-grid span {
  grid-column: span 2;
  font-size: .68rem;
  color: rgba(255, 255, 255, .4);
  border-left: 1px solid rgba(255, 255, 255, .07);
  padding-left: 6px;
}
.hi-gantt__months-grid span.is-year { color: rgba(255, 255, 255, .85); font-weight: 700; }
.hi-gantt__months-grid span em { display: block; font-style: normal; font-weight: 400; opacity: .7; }

.hi-gantt__rows { display: flex; flex-direction: column; gap: 6px; flex: 1; min-height: 0; justify-content: space-between; }
.hi-gantt__row { display: flex; align-items: center; gap: 0; background: #0d1218; border-radius: 8px; padding: 8px 0; }
.hi-gantt__name {
  width: 34%;
  max-width: 190px;
  flex-shrink: 0;
  padding: 0 12px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
}
.hi-gantt__track { flex: 1; display: grid; grid-template-columns: repeat(18, 1fr); align-items: center; height: 100%; padding-right: 8px; }
.hi-gantt__bar {
  grid-column: var(--gs) / span var(--gl);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--white);
  padding: 0 6px;
}
.hi-gantt__bar--red { background: linear-gradient(90deg, #f0424a, #d63a41); }
.hi-gantt__bar--orange { background: linear-gradient(90deg, var(--orange), #d96f00); }
.hi-gantt__bar--yellow { background: linear-gradient(90deg, #ebb327, #d99f1c); color: #23180a; }

@media (max-width: 1024px) {
  .hi-remediation { padding: 16px 18px; }
  .hi-gantt__name { width: 30%; }
}

/* ---- Indicatore di avanzamento (4 step), sopra il frame ---- */
.scrolly__progress { display: flex; gap: 8px; margin-bottom: 18px; }
.scrolly__progress-dot { width: 28px; height: 3px; border-radius: 2px; background: rgba(22, 33, 44, .14); position: relative; overflow: hidden; }
.scrolly__progress-dot::after {
  content: "";
  position: absolute; inset: 0;
  width: 0%;
  background: var(--orange);
  transition: width .4s ease;
}
.scrolly__progress-dot.is-active::after,
.scrolly__progress-dot.is-done::after { width: 100%; }

/* ---- Colonna testo: blocchi che scorrono in flusso normale, ognuno
   appare/scompare quando attraversa la fascia centrale del viewport ---- */
.scrolly__text-col { position: relative; z-index: 1; display: flex; flex-direction: column; }
.scrolly__eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--orange);
  margin-bottom: 8px;
}
.scrolly__text-block {
  min-height: 76vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--navy-dark);
  opacity: .22;
  transform: translateY(32px);
  transition: opacity .55s ease, transform .55s ease;
}
.scrolly__text-block.is-active { opacity: 1; transform: translateY(0); }
.scrolly__text-block:first-child { min-height: 64vh; }
/* L'ultimo blocco deve restare alto almeno quanto il frame sticky (ora più
   alto per via del Piano di Remediation ricostruito in HTML), altrimenti
   lo sticky si stacca prima che il contenuto finisca di scorrere in vista. */
.scrolly__text-block:last-child { min-height: 92vh; }
.scrolly__text-block h3 { font-size: 1.55rem; margin-bottom: 14px; color: var(--navy-dark); }
.scrolly__text-block p { font-size: .95rem; line-height: 1.7; color: var(--text-muted); }
.scrolly__list { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.scrolly__list li { position: relative; padding-left: 22px; font-size: .87rem; color: var(--navy-dark); }
.scrolly__list li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--orange);
  transform: rotate(45deg);
}
.scrolly__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.scrolly__chip {
  font-size: .78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 130, 0, 0.08);
  border: 1px solid rgba(255, 130, 0, 0.35);
  color: var(--orange);
}

@media (max-width: 1024px) {
  .scrolly__grid { grid-template-columns: 1fr; gap: 0; padding-top: 48px; }
  .scrolly__media-sticky { position: static; margin-bottom: 40px; }
  .scrolly__text-block, .scrolly__text-block:first-child, .scrolly__text-block:last-child { min-height: 0; opacity: 1; transform: none; padding: 0 0 48px; }
}

/* ---- Fallback impilato: prefers-reduced-motion o viewport <=768px ---- */
.scrolly-fallback { display: none; }
.scrolly-fallback__step { max-width: 900px; margin: 0 auto 64px; padding: 0 24px; color: var(--navy-dark); position: relative; z-index: 1; }
.scrolly-fallback__step:last-child { margin-bottom: 0; }
.scrolly-fallback__media { border-radius: 14px; overflow: hidden; margin-bottom: 24px; box-shadow: 0 30px 70px rgba(22, 33, 44, 0.18), 0 0 0 1px rgba(22, 33, 44, 0.06); }
.scrolly-fallback__media img { width: 100%; display: block; }
.scrolly-fallback__body h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--navy-dark); }
.scrolly-fallback__body p { font-size: .92rem; line-height: 1.7; color: var(--text-muted); }

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .scrolly__grid { display: none; }
  .scrolly-fallback { display: block; padding-top: 8px; }
}

.sec-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 0;
  margin: 64px 0 8px;
  position: relative;
  z-index: 1;
}
.sec-ribbon__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 0 10px; text-decoration: none; cursor: pointer; }
.sec-ribbon__item:not(.sec-ribbon__item--row-start)::before {
  content: "";
  position: absolute;
  top: 27px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 130, 0, 0.5), rgba(255, 130, 0, 0.18));
  z-index: 0;
}
.sec-ribbon__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  background: var(--navy-dark);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  color: var(--orange);
  transition: var(--transition);
}
.sec-ribbon__item:hover .sec-ribbon__icon { border-color: var(--orange); transform: scale(1.08); }
.sec-ribbon__item:hover .sec-ribbon__label { color: var(--orange); }
.sec-ribbon__icon svg { width: 24px; height: 24px; }
.sec-ribbon__label { font-size: 0.78rem; font-weight: 600; color: var(--navy-dark); line-height: 1.3; transition: var(--transition); }

@media (max-width: 760px) {
  .sec-ribbon { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .sec-ribbon__item::before { display: none; }
}

/* ================================================================
   2) BLUE TEAM — radar circolare con raggio rotante e blip casuali.
   Rompe volutamente lo schema a nodi/mosaico del blocco precedente.
   ================================================================ */
.sec-blueteam {
  background: linear-gradient(160deg, var(--navy-dark) 15%, var(--navy-mid));
  color: var(--white);
}
.sec-blueteam .sec-radar-copy h2 { color: var(--white); }
.sec-blueteam .sec-radar-copy p { color: rgba(255, 255, 255, 0.72); }

.sec-radar-block {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: center;
}
.sec-radar {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 130, 0, 0.05), var(--off-white) 72%);
  border: 1px solid var(--border);
  overflow: hidden;
}
.sec-radar__rings { position: absolute; inset: 0; }
.sec-radar__rings::before, .sec-radar__rings::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(22, 33, 44, 0.1);
}
.sec-radar__rings::before { inset: 22%; }
.sec-radar__rings::after { inset: 46%; }
.sec-radar__cross { position: absolute; inset: 0; }
.sec-radar__cross::before, .sec-radar__cross::after {
  content: "";
  position: absolute;
  background: rgba(22, 33, 44, 0.08);
}
.sec-radar__cross::before { left: 0; right: 0; top: 50%; height: 1px; }
.sec-radar__cross::after { top: 0; bottom: 0; left: 50%; width: 1px; }

.sec-radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 130, 0, 0.4), transparent 55deg, transparent 360deg);
  animation: sec-radar-spin 5s linear infinite;
  animation-play-state: paused;
}
.section.reveal.visible .sec-radar__sweep { animation-play-state: running; }
@keyframes sec-radar-spin { to { transform: rotate(360deg); } }

.sec-radar__center { position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--navy-dark); z-index: 2; }

.sec-radar__blip {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 8px;
  height: 8px;
  margin: -4px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 130, 0, 0.5);
  opacity: 0;
  animation: sec-radar-blip 3.6s ease-in-out infinite;
  animation-delay: var(--delay);
  animation-play-state: paused;
}
.section.reveal.visible .sec-radar__blip { animation-play-state: running; }
@keyframes sec-radar-blip {
  0%, 100% { opacity: 0; transform: scale(0.5); box-shadow: 0 0 0 0 rgba(255, 130, 0, 0.5); }
  8% { opacity: 1; transform: scale(1.15); }
  20% { opacity: 0.9; transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 130, 0, 0); }
  38% { opacity: 0; }
}

.sec-radar-copy .live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #2ecc71; margin-right: 10px; box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6); animation: sec-live-pulse 2s infinite; vertical-align: middle; }
@keyframes sec-live-pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.55); } 70% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); } }
.sec-radar-copy h2 { margin-bottom: 18px; display: flex; align-items: center; }
.sec-radar-copy p { color: var(--text-muted); font-size: 1rem; max-width: 620px; }
.sec-radar-copy p + p { margin-top: 14px; }

@media (max-width: 760px) {
  .sec-radar-block { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 40px; }
  .sec-radar-copy p { max-width: none; }
}

/* ================================================================
   3) MANIFESTO AI / CAPITALE UMANO — split screen, trattamenti opposti.
   Sinistra: tecnologica/scura con canvas particellare + dettaglio monospace.
   Destra: calda/umana con illustrazione a linee e sfondo chiaro/arancione.
   ================================================================ */
.sec-manifesto { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.sec-manifesto-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }

.sec-manifesto__half { position: relative; padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }

.sec-manifesto__half--ai {
  background: linear-gradient(150deg, var(--navy-deep), var(--navy-dark));
  color: var(--white);
}
.sec-manifesto__half--ai .network-canvas { opacity: 0.55; }
.sec-manifesto__tag {
  display: inline-block;
  align-self: flex-start;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Roboto Mono", "Courier New", monospace;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: var(--orange);
  border: 1px solid rgba(255, 130, 0, 0.4);
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.sec-manifesto__half--ai h3 { position: relative; z-index: 1; font-size: 1.5rem; margin-bottom: 14px; }
.sec-manifesto__half--ai p { position: relative; z-index: 1; color: rgba(255, 255, 255, 0.72); font-size: 0.96rem; font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Roboto Mono", "Courier New", monospace; line-height: 1.7; }

.sec-manifesto__half--human {
  background: linear-gradient(150deg, #fff3e8, var(--off-white));
  color: var(--navy-dark);
}
.sec-manifesto__figure { width: 56px; height: 56px; margin-bottom: 20px; color: var(--orange); }
.sec-manifesto__figure svg { width: 100%; height: 100%; }
.sec-manifesto__half--human h3 { font-size: 1.5rem; margin-bottom: 14px; }
.sec-manifesto__half--human p { color: var(--text-muted); font-size: 0.96rem; font-weight: 300; line-height: 1.7; }

.sec-manifesto__synthesis {
  max-width: 700px;
  margin: 40px auto 0;
  text-align: center;
  color: var(--navy-dark);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.section.reveal.visible .sec-manifesto__synthesis { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .sec-manifesto-grid { grid-template-columns: 1fr; min-height: 0; }
  .sec-manifesto__half { padding: 44px 28px; }
}

/* ================================================================
   4) COMPLIANCE / HICOMPLIANCE — il protagonista è il dato: due gauge
   circolari SVG che si riempiono con un'animazione allo scroll-reveal.
   ================================================================ */
.sec-gauges-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sec-gauges-row { display: flex; gap: 36px; justify-content: center; }

.sec-gauge { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sec-gauge__svg { width: 148px; height: 148px; transform: rotate(-90deg); }
.sec-gauge__track { fill: none; stroke: var(--border); stroke-width: 10; }
.sec-gauge__fill {
  fill: none;
  stroke: var(--orange);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.16, 0.8, 0.24, 1);
}
.section.reveal.visible .sec-gauge__fill { stroke-dashoffset: calc(327 - (327 * var(--pct)) / 100); }
.sec-gauge__wrap { position: relative; }
.sec-gauge__value {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-dark);
}
.sec-gauge__caption { font-size: 0.85rem; color: var(--text-muted); text-align: center; max-width: 150px; }

.sec-gauges-copy h2 { margin-bottom: 18px; }
.sec-gauges-copy p { color: var(--text-muted); font-size: 1rem; }

@media (max-width: 860px) {
  .sec-gauges-block { grid-template-columns: 1fr; }
  .sec-gauges-copy { order: 2; }
  .sec-gauges-row { order: 1; }
}

/* ----------------------------------------------------------------
   Radar chart HiCompliance — SVG puro, 12 assi. Sotto ai due gauge,
   card navy scura a contrasto con la sezione chiara circostante.
   ---------------------------------------------------------------- */
.sec-radarchart {
  margin-top: 56px;
  background: linear-gradient(160deg, var(--navy-dark) 15%, var(--navy-mid));
  border-radius: var(--radius);
  padding: 44px 24px 32px;
}
.sec-radarchart__timeline {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-bottom: 8px;
}
.sec-radarchart__time {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}
.sec-radarchart__time--3 { color: var(--orange); font-weight: 700; }

@media (prefers-reduced-motion: no-preference) {
  .sec-radarchart__time--1 { animation: sec-radar-time-1 13s linear infinite; }
  .sec-radarchart__time--2 { animation: sec-radar-time-2 13s linear infinite; }
  .sec-radarchart__time--3 { animation: sec-radar-time-3 13s linear infinite; }
}
@keyframes sec-radar-time-1 {
  0%, 14.6% { color: var(--orange); font-weight: 700; }
  16.2%, 83.8% { color: rgba(255, 255, 255, 0.4); font-weight: 500; }
  85.4%, 100% { color: var(--orange); font-weight: 700; }
}
@keyframes sec-radar-time-2 {
  0%, 14.6% { color: rgba(255, 255, 255, 0.4); font-weight: 500; }
  16.2%, 45.3% { color: var(--orange); font-weight: 700; }
  46.9%, 100% { color: rgba(255, 255, 255, 0.4); font-weight: 500; }
}
@keyframes sec-radar-time-3 {
  0%, 45.3% { color: rgba(255, 255, 255, 0.4); font-weight: 500; }
  46.9%, 83.8% { color: var(--orange); font-weight: 700; }
  85.4%, 100% { color: rgba(255, 255, 255, 0.4); font-weight: 500; }
}

.sec-radarchart__body { display: flex; justify-content: center; }
.sec-radarchart__svg { width: 100%; max-width: 580px; height: auto; display: block; }

.sec-radarchart__ring { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 1; }
.sec-radarchart__ring--outer { stroke: rgba(255, 255, 255, 0.24); }
.sec-radarchart__axes line { stroke: rgba(255, 255, 255, 0.14); stroke-width: 1; }
.sec-radarchart__center { fill: rgba(255, 255, 255, 0.3); }

.sec-radarchart__scale {
  font-size: 9px;
  font-weight: 600;
  fill: rgba(255, 255, 255, 0.45);
  font-family: inherit;
}

.sec-radarchart__area--target {
  fill: none;
  stroke: #2dd4bf;
  stroke-width: 2;
  stroke-dasharray: 5 4;
}
.sec-radarchart__area--conformita {
  fill: rgba(139, 110, 255, 0.28);
  stroke: #8b6eff;
  stroke-width: 2;
  stroke-linejoin: round;
}
.sec-radarchart__dots circle {
  r: 3.6;
  fill: #8b6eff;
  stroke: var(--navy-dark);
  stroke-width: 1.5;
}

/* Il poligono Conformità è animato via SMIL (values/keyTimes su <animate>) su 3 stati
   temporali in loop. Con prefers-reduced-motion mostriamo solo lo Stato 3 fisso. */
.sec-radarchart__conformita-static { display: none; }
@media (prefers-reduced-motion: reduce) {
  .sec-radarchart__conformita-live { display: none; }
  .sec-radarchart__conformita-static { display: block; }
}

.sec-radarchart__labels text {
  font-size: 11px;
  font-weight: 500;
  fill: rgba(255, 255, 255, 0.8);
  font-family: inherit;
}

.sec-radarchart__legend {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
}
.sec-radarchart__legend-item { display: inline-flex; align-items: center; gap: 8px; }
.sec-radarchart__legend-dot { width: 10px; height: 10px; border-radius: 50%; }
.sec-radarchart__legend-dot--conformita { background: #8b6eff; }
.sec-radarchart__legend-dot--target { background: #2dd4bf; }

@media (max-width: 640px) {
  .sec-radarchart { margin-top: 40px; padding: 32px 12px 24px; }
  .sec-radarchart__labels text { font-size: 9.5px; }
  .sec-radarchart__scale { font-size: 8px; }
  .sec-radarchart__timeline { gap: 10px; }
  .sec-radarchart__time { font-size: 0.68rem; }
}

/* ================================================================
   5) SSPOC — orologio H24 stilizzato: cerchio con tacche ogni ora e
   un punto luminoso che percorre il cerchio in loop continuo.
   ================================================================ */
.sec-clock-block { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: center; }
.sec-clock { position: relative; width: 240px; height: 240px; margin: 0 auto; }
.sec-clock__face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-conic-gradient(rgba(255, 255, 255, 0.16) 0deg 1deg, transparent 1deg 15deg),
    linear-gradient(150deg, var(--navy-dark), var(--navy-mid));
  box-shadow: var(--shadow);
}
.sec-clock__face::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.sec-clock__labels span {
  position: absolute;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  transform: translate(-50%, -50%);
}
.sec-clock__labels span:nth-child(1) { top: 12px; left: 50%; }
.sec-clock__labels span:nth-child(2) { top: 50%; left: calc(100% - 12px); }
.sec-clock__labels span:nth-child(3) { top: calc(100% - 12px); left: 50%; }
.sec-clock__labels span:nth-child(4) { top: 50%; left: 12px; }

.sec-clock__orbit { position: absolute; inset: 0; animation: sec-clock-spin 9s linear infinite; animation-play-state: paused; }
.section.reveal.visible .sec-clock__orbit { animation-play-state: running; }
@keyframes sec-clock-spin { to { transform: rotate(360deg); } }
.sec-clock__dot {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 16px 2px rgba(255, 130, 0, 0.7);
}
.sec-clock__core { position: absolute; inset: 0; display: grid; place-items: center; }
.sec-clock__core span { font-size: 1.3rem; font-weight: 800; color: var(--white); }
.sec-clock__core small { display: block; font-size: 0.62rem; color: rgba(255, 255, 255, 0.6); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 2px; }

.sec-clock-copy h2 { margin-bottom: 18px; }
.sec-clock-copy p { color: var(--text-muted); font-size: 1rem; max-width: 560px; }

@media (max-width: 760px) {
  .sec-clock-block { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 36px; }
  .sec-clock-copy p { max-width: none; }
}

/* ================================================================
   6) CATALOGO SERVIZI — gli altri 7 servizi Security: un'unica griglia
   pulita e uniforme (qui la ripetizione è corretta: è un elenco di
   consultazione, non uno dei blocchi "wow"), badge + tech-note.
   ================================================================ */
.sec-catalog__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.sec-catalog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.sec-catalog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sec-catalog-card .badge { margin-bottom: 12px; }
.sec-catalog-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.sec-catalog-card p { font-size: 0.9rem; color: var(--text-muted); }
.sec-catalog-card .card-link { display: inline-block; margin-top: 18px; }
.sec-catalog-card .tech-note { margin-bottom: 0; }

@media (max-width: 760px) {
  .sec-catalog__grid { grid-template-columns: 1fr; }
}

/* ================================================================
   RISORSE — Resource Center
   Filtro sticky a doppio livello (tipo + categoria, combinabili),
   contenuto pinnato in evidenza, griglia mista a 4 trattamenti
   visivi distinti (blog / case study / one pager / ebook & webinar),
   modale gated per i contenuti riservati.
   ================================================================ */

/* ---------- Filtro sticky ---------- */
.res-filterbar {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 22px 0 18px;
}

.res-filterbar__types {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 14px;
}
.res-filter-btn {
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--off-white);
  color: var(--navy-mid);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  white-space: nowrap;
}
.res-filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.res-filter-btn.is-active { background: var(--navy-dark); border-color: var(--navy-dark); color: var(--white); }

.res-filterbar__cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.res-filter-chip {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 15px 7px 12px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  white-space: nowrap;
}
.res-filter-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  flex-shrink: 0;
}
.res-filter-chip:hover { color: var(--navy-dark); }
.res-filter-chip[data-category="security"] { color: var(--orange); }
.res-filter-chip[data-category="it-cloud"] { color: var(--blue); }
.res-filter-chip[data-category="comunicazione"] { color: var(--teal); }
.res-filter-chip[data-category="corporate-news"] { color: var(--navy-mid); }
.res-filter-chip[data-category="security"]:hover { color: var(--orange); }
.res-filter-chip[data-category="it-cloud"]:hover { color: var(--blue); }
.res-filter-chip[data-category="comunicazione"]:hover { color: var(--teal); }
.res-filter-chip[data-category="corporate-news"]:hover { color: var(--navy-mid); }
.res-filter-chip.is-active { border-color: currentColor; }
.res-filter-chip.is-active[data-category="security"] { background: rgba(255, 130, 0, 0.12); }
.res-filter-chip.is-active[data-category="it-cloud"] { background: rgba(45, 111, 224, 0.12); }
.res-filter-chip.is-active[data-category="comunicazione"] { background: rgba(18, 181, 166, 0.12); }
.res-filter-chip.is-active[data-category="corporate-news"] { background: rgba(62, 77, 93, 0.12); }

@media (max-width: 640px) {
  .res-filterbar__types {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .res-filterbar__types::-webkit-scrollbar { display: none; }
  .res-filterbar__cats { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .res-filterbar__cats::-webkit-scrollbar { display: none; }
}

/* ---------- Badge categoria (riutilizzato su tutte le card) ---------- */
.res-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.res-badge--security { color: var(--orange); background: rgba(255, 130, 0, 0.1); }
.res-badge--it-cloud { color: var(--blue); background: rgba(45, 111, 224, 0.1); }
.res-badge--comunicazione { color: var(--teal); background: rgba(18, 181, 166, 0.1); }
.res-badge--corporate-news { color: var(--navy-mid); background: rgba(62, 77, 93, 0.08); }
.res-badge--onlight { background: rgba(255, 255, 255, 0.16); color: var(--white); }

/* ---------- In evidenza ---------- */
.res-featured { padding: 64px 0 0; }
.res-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.res-featured-visual {
  position: relative;
  background: linear-gradient(150deg, var(--navy-mid), var(--navy-dark) 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  overflow: hidden;
  min-height: 280px;
}
.res-featured-visual::after {
  content: "";
  position: absolute;
  bottom: -160px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 130, 0, 0.22) 0%, transparent 65%);
}
.res-featured-stat { position: relative; z-index: 1; text-align: center; }
.res-featured-stat__num {
  display: block;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -2px;
  line-height: 1;
}
.res-featured-stat__label { margin-top: 10px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); max-width: 220px; margin-left: auto; margin-right: auto; }
.res-featured-body { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.res-featured-body h3 { color: var(--white); font-size: 1.5rem; line-height: 1.3; }
.res-featured-body p { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; }
.res-featured-body .card-link { color: var(--orange); }
.res-featured-body .card-link:hover { color: #ffb35c; }

@media (max-width: 800px) {
  .res-featured-card { grid-template-columns: 1fr; }
  .res-featured-body { padding: 34px 30px; }
}

/* ---------- Empty state ---------- */
.res-empty-state {
  display: none;
  text-align: center;
  padding: 70px 24px;
  color: var(--text-muted);
}
.res-empty-state.is-visible { display: block; }
.res-empty-state__icon { font-size: 2rem; margin-bottom: 12px; opacity: 0.5; }
.res-empty-state p { font-size: 0.95rem; }

/* ---------- Griglia mista ---------- */
.res-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-flow: dense;
  grid-auto-rows: 190px;
  gap: 22px;
  padding-top: 56px;
}

.res-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.res-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.res-card.is-hidden { display: none; }

/* Blog — card orizzontale semplice */
.res-card--blog { grid-column: span 3; grid-row: span 1; display: flex; align-items: stretch; }
.res-card--blog .res-card__accent {
  width: 68px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.res-card--blog .res-card__accent svg { width: 24px; height: 24px; stroke: currentColor; }
.res-card--blog[data-category="security"] .res-card__accent { background: rgba(255, 130, 0, 0.08); color: var(--orange); }
.res-card--blog[data-category="it-cloud"] .res-card__accent { background: rgba(45, 111, 224, 0.08); color: var(--blue); }
.res-card--blog[data-category="comunicazione"] .res-card__accent { background: rgba(18, 181, 166, 0.08); color: var(--teal); }
.res-card--blog[data-category="corporate-news"] .res-card__accent { background: rgba(62, 77, 93, 0.07); color: var(--navy-mid); }
.res-card--blog .res-card__body { padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; }
.res-card--blog h3 { font-size: 0.98rem; line-height: 1.35; }
.res-card--blog p { font-size: 0.84rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.res-card--blog .res-card__meta { font-size: 0.76rem; color: var(--text-muted); opacity: 0.85; }

/* Case study — numero grande in evidenza */
.res-card--case { grid-column: span 2; grid-row: span 1; padding: 24px; display: flex; flex-direction: column; }
.res-card--case__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.res-card--case__mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--off-white); border: 1px solid var(--border);
  display: grid; place-items: center; flex-shrink: 0; color: var(--navy-mid);
}
.res-card--case__mark svg { width: 16px; height: 16px; stroke: currentColor; }
.res-card--case__sector { font-size: 0.74rem; color: var(--text-muted); }
.res-card--case__stat { font-size: 2.1rem; font-weight: 800; letter-spacing: -1px; line-height: 1; margin-bottom: 6px; }
.res-card--case[data-category="security"] .res-card--case__stat { color: var(--orange); }
.res-card--case[data-category="it-cloud"] .res-card--case__stat { color: var(--blue); }
.res-card--case[data-category="comunicazione"] .res-card--case__stat { color: var(--teal); }
.res-card--case[data-category="corporate-news"] .res-card--case__stat { color: var(--navy-mid); }
.res-card--case h3 { font-size: 0.9rem; font-weight: 600; color: var(--navy-mid); line-height: 1.4; flex: 1; }
.res-card--case .card-link { font-size: 0.82rem; margin-top: 14px; }

/* One Pager — mini mockup documento */
.res-card--onepager {
  grid-column: span 2; grid-row: span 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 26px 20px 22px; gap: 6px;
}
.res-onepager-sheet {
  width: 84px;
  aspect-ratio: 1 / 1.414;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 5px;
  box-shadow: 0 10px 22px rgba(22, 33, 44, 0.1);
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.res-onepager-sheet::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 20%; }
.res-card--onepager[data-category="security"] .res-onepager-sheet::before { background: var(--orange); }
.res-card--onepager[data-category="it-cloud"] .res-onepager-sheet::before { background: var(--blue); }
.res-card--onepager[data-category="comunicazione"] .res-onepager-sheet::before { background: var(--teal); }
.res-card--onepager[data-category="corporate-news"] .res-onepager-sheet::before { background: var(--navy-mid); }
.res-onepager-sheet__lines { position: absolute; top: 32%; left: 12%; right: 12%; display: flex; flex-direction: column; gap: 6px; }
.res-onepager-sheet__lines span { display: block; height: 3px; border-radius: 2px; background: var(--border); }
.res-card--onepager h3 { font-size: 0.92rem; line-height: 1.35; margin: 4px 0 2px; }
.res-card--onepager .res-badge { margin-bottom: 4px; }
.res-card--onepager .btn { margin-top: auto; padding: 8px 18px; font-size: 0.8rem; }

/* Ebook & Webinar — cover gated */
.res-card--gated {
  grid-column: span 3; grid-row: span 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; color: var(--white); border: none;
}
.res-card--gated::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.14) 0%, transparent 55%);
  pointer-events: none;
}
.res-card--gated[data-category="security"] { background: linear-gradient(155deg, var(--navy-dark) 0%, var(--orange) 145%); }
.res-card--gated[data-category="it-cloud"] { background: linear-gradient(155deg, var(--navy-dark) 0%, var(--blue) 145%); }
.res-card--gated[data-category="comunicazione"] { background: linear-gradient(155deg, var(--navy-dark) 0%, var(--teal) 145%); }
.res-card--gated[data-category="corporate-news"] { background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy-mid) 145%); }
.res-card--gated__kind {
  position: relative; z-index: 1; align-self: flex-start;
  font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  background: rgba(255, 255, 255, 0.18); backdrop-filter: blur(3px);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 16px;
}
.res-card--gated__icon { position: relative; z-index: 1; margin-bottom: auto; opacity: 0.85; }
.res-card--gated__icon svg { width: 30px; height: 30px; stroke: var(--white); }
.res-card--gated h3 { position: relative; z-index: 1; font-size: 1.2rem; line-height: 1.35; margin-bottom: 16px; }
.res-card--gated .res-gated-cta {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-family: inherit; font-size: 0.85rem; font-weight: 700;
  background: var(--white); color: var(--navy-dark);
  border: none; border-radius: 999px; padding: 11px 20px;
  cursor: pointer; transition: var(--transition);
}
.res-card--gated a.res-gated-cta { text-decoration: none; }
.res-card--gated .res-gated-cta:hover { background: var(--navy-dark); color: var(--white); }

@media (max-width: 960px) {
  .res-grid { grid-template-columns: repeat(4, 1fr); }
  .res-card--blog { grid-column: span 4; }
  .res-card--case { grid-column: span 2; }
  .res-card--onepager { grid-column: span 2; }
  .res-card--gated { grid-column: span 4; }
}
@media (max-width: 640px) {
  .res-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .res-card, .res-card--blog, .res-card--case, .res-card--onepager, .res-card--gated {
    grid-column: auto !important; grid-row: auto !important;
  }
  .res-card--blog { flex-direction: column; }
  .res-card--blog .res-card__accent { width: 100%; height: 52px; }
  .res-card--onepager { padding: 30px 24px; }
  .res-card--gated { min-height: 300px; padding: 26px; }
}

/* ---------- Modale contenuti gated ---------- */
.res-modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(14, 22, 30, 0.62);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.res-modal-overlay.is-open { opacity: 1; visibility: visible; }
.res-modal {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%; max-width: 440px;
  max-height: 90vh; overflow-y: auto;
  padding: 38px 34px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.22s ease;
}
.res-modal-overlay.is-open .res-modal { transform: translateY(0) scale(1); }
.res-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  border: none; background: var(--off-white); color: var(--navy-mid);
  font-size: 1.1rem; cursor: pointer; display: grid; place-items: center;
  transition: var(--transition);
}
.res-modal__close:hover { background: var(--border); }
.res-modal__eyebrow { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--orange); margin-bottom: 10px; }
.res-modal h3 { font-size: 1.25rem; margin-bottom: 8px; padding-right: 20px; }
.res-modal__desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 22px; }

.res-modal-form { display: flex; flex-direction: column; gap: 16px; }
.res-modal-form.is-hidden { display: none; }
.res-modal-form .field { display: flex; flex-direction: column; gap: 6px; }
.res-modal-form label { font-size: 0.78rem; font-weight: 600; color: var(--navy-mid); }
.res-modal-form input[type="text"],
.res-modal-form input[type="email"] {
  font-family: inherit; font-size: 0.9rem;
  padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 8px;
  transition: var(--transition); background: var(--off-white);
}
.res-modal-form input:focus { border-color: var(--orange); background: var(--white); outline: none; }
.res-modal-form .checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }
.res-modal-form .checkbox-row input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--orange); flex-shrink: 0; }
.res-modal-form .btn { margin-top: 4px; width: 100%; }

.res-modal__success { display: none; text-align: center; padding: 10px 0 4px; }
.res-modal__success.is-visible { display: block; }
.res-modal__success-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(46, 204, 113, 0.14); color: #2ecc71;
  display: grid; place-items: center; margin: 0 auto 16px;
}
.res-modal__success-icon svg { width: 26px; height: 26px; stroke: currentColor; }
.res-modal__success h3 { font-size: 1.1rem; }
.res-modal__success p { font-size: 0.88rem; color: var(--text-muted); margin-top: 8px; }

@media (max-width: 480px) {
  .res-modal { padding: 30px 22px; }
}

/* ============ Whistleblowing (persone-sostenibilita.html) ============
   Sezione di compliance, tono sobrio/istituzionale: stessa palette e
   ritmo del resto della pagina, nessuna animazione oltre al fade-in
   .reveal già usato ovunque, nessuna icona "giocosa". ============ */
.wb-section .container { max-width: 760px; }
.wb-section p { color: var(--text-muted); font-size: 0.98rem; line-height: 1.7; margin-top: 16px; }
.wb-section .wb-channels-intro { color: var(--navy-dark); font-weight: 600; margin-top: 32px; }

.wb-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.wb-channel {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.wb-channel__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 130, 0, 0.1);
  color: var(--orange);
}
.wb-channel__icon svg { width: 22px; height: 22px; }
.wb-channel h3 { font-size: 1rem; color: var(--navy-dark); margin-bottom: 6px; }
.wb-channel p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.5; margin-top: 0; }
.wb-channel a { color: var(--navy-dark); font-weight: 600; text-decoration: none; transition: var(--transition); word-break: break-word; }
.wb-channel a:hover { color: var(--orange); }

@media (max-width: 640px) {
  .wb-channels { grid-template-columns: 1fr; }
}

/* ============ Boschetto decorativo — sezione "120 alberi" ============
   Alberini sparsi ai lati del testo (mai sopra la colonna centrale),
   ognuno "cresce" dalla radice alla punta con un clip-path che si
   apre dal basso verso l'alto — nessuno stroke-dashoffset per-path,
   un solo effetto per icona, leggero e coerente con .reveal.visible
   già usato per il resto della pagina. */
.grow-forest {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: .55;
}
.grow-tree {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 42px;
  height: 42px;
  color: rgba(255, 255, 255, .3);
  transform: translate(-50%, -50%) scale(var(--scale, 1));
  clip-path: inset(100% 0 0 0);
}
.grow-tree svg { display: block; width: 100%; height: 100%; }
.statement.reveal.visible .grow-tree {
  animation: growTree 1.4s cubic-bezier(0.22, 0.7, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes growTree {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0% 0 0 0); }
}
.statement .container { z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .grow-tree { clip-path: none; animation: none !important; }
}
@media (max-width: 900px) {
  .grow-forest { display: none; }
}

/* ================================================================
   Pagina IT & Cloud — restyling visivo (hub HiTrack, bento overview,
   split-screen infrastruttura, stepper 3-2-1-1-0, stat band Patch,
   pillole minacce email). Riusa token/pattern già esistenti
   (.reveal, .section.reveal.visible, --orange/--navy-*, .badge-tech,
   .tech-note) invece di inventare un nuovo linguaggio visivo.
   ================================================================ */

/* ---------- Spotlight hover generico, riusabile su qualunque card ----------
   Overlay radiale che segue il cursore (posizione impostata via JS su
   --mx/--my in main.js), stesso principio dello spotlight della
   dashboard HiConsole in security.html ma generalizzato a una card. */
.spot-card { position: relative; overflow: hidden; }
.spot-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 130, 0, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}
.spot-card:hover::before { opacity: 1; }
.spot-card > * { position: relative; z-index: 1; }

/* ---------- Hub-and-spoke HiTrack ---------- */
.sec-hub { text-align: center; }
.hub-diagram { max-width: 880px; margin: 44px auto 0; overflow-x: auto; padding-bottom: 6px; }
.hub-diagram__svg { display: block; width: 100%; min-width: 620px; height: auto; overflow: visible; }

.hub-line { fill: none; stroke: rgba(255, 130, 0, 0.45); stroke-width: 2; stroke-dasharray: 5 9; stroke-linecap: round; opacity: 0.4; }
.section.reveal.visible .hub-line {
  animation: hub-flow 2.6s linear infinite, hub-breathe 3.4s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes hub-flow { to { stroke-dashoffset: -28; } }
@keyframes hub-breathe { 0%, 100% { opacity: 0.32; } 50% { opacity: 0.7; } }

.hub-node__ring { fill: var(--white); stroke: var(--border); stroke-width: 1.6; transition: stroke 0.3s ease; }
.hub-node:hover .hub-node__ring { stroke: var(--orange); }
.hub-node__icon { color: var(--navy-mid); transition: color 0.3s ease; }
.hub-node:hover .hub-node__icon { color: var(--orange); }
.hub-node__label { fill: var(--navy-dark); font-size: 15px; font-weight: 600; }

.hub-node--center .hub-node__ring { fill: var(--navy-dark); stroke: var(--navy-dark); }
.hub-node--center .hub-node__label { fill: var(--white); font-size: 20px; font-weight: 800; }
.hub-node__pulse {
  fill: none;
  stroke: rgba(255, 130, 0, 0.55);
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 50%;
}
.section.reveal.visible .hub-node__pulse { animation: hub-pulse 2.8s ease-out infinite; }
@keyframes hub-pulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.4); }
}
@media (prefers-reduced-motion: reduce) {
  .hub-line, .hub-node__pulse { animation: none !important; opacity: 0.45; }
}

/* ---------- Overview bento (9 card, 3 gruppi: Infrastruttura, Gestione e
   Protezione, Networking). Ogni gruppo e ogni separatore fra gruppi si
   rivelano in sequenza (--seq, non tutti insieme) quando #overview entra in
   vista; lo spacing verticale fra gruppi è dato dal separatore, non più dal
   margin-top del titolo, perché ogni titolo ora è il primo figlio del
   proprio .ov-group (":first-of-type" applicherebbe altrimenti a tutti). ---------- */
.ov-group {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--seq, 0) * 0.22s);
}
.reveal.visible .ov-group { opacity: 1; transform: none; }

.ov-group-separator { margin: 36px 0; }
.ov-group-separator svg { width: 100%; height: 4px; display: block; overflow: visible; }
.ov-group-separator line {
  stroke: var(--border);
  stroke-width: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.8s ease;
  transition-delay: calc(var(--seq, 0) * 0.22s);
}
.ov-group-separator line.is-drawn { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  .ov-group { opacity: 1; transform: none; transition: none; }
  .ov-group-separator line { transition: none; stroke-dasharray: none; stroke-dashoffset: 0; }
}

.ov-group-title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--navy-mid); margin: 0 0 20px; }

.ov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ov-grid--dense { grid-auto-flow: dense; }
.ov-grid--networking { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin: 0 auto; }
.ov-card--wide { grid-column: span 2; }

.ov-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ov-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(255, 130, 0, 0.35); }
.ov-card .service-icon { transition: background 0.3s ease, color 0.3s ease; }
.ov-card:hover .service-icon { background: var(--orange); color: var(--navy-dark); }
.ov-card h3 { font-size: 1.1rem; }
.ov-card p { font-size: 0.88rem; color: var(--text-muted); }
.ov-card__detail {
  font-size: 0.82rem;
  color: var(--orange-dark);
  font-weight: 600;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease;
}
.ov-card:hover .ov-card__detail, .ov-card:focus-within .ov-card__detail { max-height: 60px; opacity: 1; margin-top: 2px; }

@media (max-width: 960px) {
  .ov-grid { grid-template-columns: repeat(2, 1fr); }
  .ov-card--wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .ov-grid { grid-template-columns: 1fr; }
  .ov-card--wide { grid-column: span 1; }
  .ov-grid--networking { grid-template-columns: 1fr; max-width: none; }
}

/* ---------- Split-screen — blocchi di dettaglio Infrastruttura ---------- */
.split-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 56px 0; }
.split-block + .split-block { border-top: 1px solid var(--border); }
.split-block--reverse .split-block__copy { order: 2; }
.split-block--reverse .split-block__art { order: 1; }
.split-block__copy h3 { font-size: 1.4rem; margin-bottom: 14px; }
.split-block__copy p { color: var(--text-muted); font-size: 0.98rem; line-height: 1.7; }
.split-block__art { display: flex; justify-content: center; }
.split-block__art svg { width: 100%; max-width: 320px; height: auto; color: var(--orange); }
.split-block__art svg .art-ink { color: var(--navy-mid); }

@media (max-width: 860px) {
  .split-block, .split-block--reverse .split-block__copy, .split-block--reverse .split-block__art { grid-template-columns: 1fr; order: initial; }
  .split-block { gap: 32px; padding: 40px 0; }
  .split-block__art { order: -1; }
  .split-block__art svg { max-width: 220px; }
}

/* ---------- Coppia collegata: Reti LAN + Network Assessment ---------- */
.split-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; padding: 56px 0; border-top: 1px solid var(--border); }
.split-pair__panel { text-align: center; }
.split-pair__art { display: flex; justify-content: center; margin-bottom: 18px; }
.split-pair__art svg { width: 100%; max-width: 190px; height: auto; color: var(--orange); }
.split-pair__panel h3 { font-size: 1.2rem; margin-bottom: 10px; }
.split-pair__panel p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; }
.split-pair__connector { color: var(--orange); align-self: center; opacity: .6; }
.split-pair__connector svg { width: 40px; height: 40px; }
@media (max-width: 860px) {
  .split-pair { grid-template-columns: 1fr; padding: 40px 0; gap: 20px; }
  .split-pair__connector { transform: rotate(90deg); justify-self: center; }
}

/* ---------- Backup & Disaster Recovery — stepper 3-2-1-1-0 ---------- */
.steps-321 { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; margin-top: 34px; flex-wrap: wrap; }
.steps-321__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  width: 108px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: calc(var(--i, 0) * 0.12s);
}
.section.reveal.visible .steps-321__item { opacity: 1; transform: none; }
.steps-321__num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: var(--orange);
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.steps-321__label { font-size: 0.78rem; color: var(--text-muted); line-height: 1.35; }
.steps-321__connector { flex: 1; height: 2px; background: var(--border); min-width: 16px; margin-top: 27px; }
@media (max-width: 720px) {
  .steps-321__connector { display: none; }
  .steps-321 { justify-content: center; }
}

/* ---------- Patch Management — banda statistiche ---------- */
.patch-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: linear-gradient(150deg, var(--navy-dark), var(--navy-deep));
  border-radius: var(--radius);
  padding: 36px 30px;
  margin-bottom: 32px;
  text-align: center;
}
.patch-stats .stat-num { font-size: 2rem; }
@media (max-width: 640px) { .patch-stats { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; } }

/* ---------- Sicurezza Email — pillole minacce ---------- */
.threat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.threat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-mid);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px 7px 10px;
}
.threat-pill svg { width: 15px; height: 15px; color: var(--orange); flex-shrink: 0; }

/* ---------- Card singola arricchita (Monitoraggio IT) ---------- */
.rich-card { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 38px 34px; max-width: 640px; margin: 0 auto; }
.rich-card__icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  position: relative;
}
.rich-card__icon svg { width: 30px; height: 30px; }
.rich-card__icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 20px;
  border: 1.5px solid rgba(255, 130, 0, 0.4);
  opacity: 0;
}
.section.reveal.visible .rich-card__icon::after { animation: hub-pulse 2.4s ease-out infinite; }
.rich-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.rich-card p { color: var(--text-muted); font-size: 0.94rem; line-height: 1.7; }

/* ---------- Pannelli verticali di dettaglio — gruppo Gestione e Protezione ---------- */
.detail-panel { max-width: 760px; margin: 0 auto; padding: 52px 0; }
.detail-panel + .detail-panel { border-top: 1px solid var(--border); }
.detail-panel--center { text-align: center; }
.detail-panel .badge-product { margin-bottom: 14px; }
.detail-panel h3 { font-size: 1.35rem; margin-bottom: 14px; }
.detail-panel > p { color: var(--text-muted); font-size: 0.98rem; line-height: 1.75; }
.detail-panel .card-link { display: inline-block; margin-top: 22px; }
.split-block__copy .card-link { display: inline-block; margin-top: 20px; }

/* ================================================================
   Pagina IT & Cloud — seconda passata animazioni: più energia sulle
   card overview, count-up + impulso sulla stripe Patch Management,
   timeline di progressione + illustrazioni "disegnate" sui blocchi
   di dettaglio. Riusa .reveal/.section.reveal.visible, .spot-card
   (--mx/--my) e la keyframe hub-breathe già introdotti in questa
   stessa pagina invece di inventare varianti nuove.
   ================================================================ */

/* ---------- Overview: icone con micro-pop all'ingresso, staggerate ---------- */
.ov-card .service-icon {
  transform: scale(0.55) rotate(-10deg);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.28s ease;
  transition-delay: calc(var(--i, 0) * 0.06s);
}
.reveal.visible .ov-card .service-icon { transform: none; opacity: 1; }

/* Indicatore "live" sulle due card wide (Backup&DR, Monitoraggio IT):
   riusa la keyframe sec-live-pulse già definita per .sec-radar-copy
   .live-dot in security.html, con un selettore nuovo e indipendente. */
.ov-card--wide h3 { display: flex; align-items: center; gap: 9px; }
.ov-card--wide h3 .live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6);
  animation: sec-live-pulse 2.6s infinite;
  flex-shrink: 0;
}
@media (prefers-reduced-motion: reduce) {
  .ov-card--wide h3 .live-dot { animation: none; box-shadow: none; }
  .ov-card .service-icon { transition: none; transform: none; opacity: 1; }
}

/* ---------- Patch Management: impulso radar di sfondo + icona di allerta ---------- */
.patch-stats { position: relative; overflow: hidden; }
.patch-stats__radar {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}
.patch-stats__radar span {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 130, 0, 0.35);
  opacity: 0;
}
.reveal.visible .patch-stats__radar span { animation: patch-radar-ping 3.6s ease-out infinite; }
.patch-stats__radar span:nth-child(2) { animation-delay: 1.2s !important; }
.patch-stats__radar span:nth-child(3) { animation-delay: 2.4s !important; }
@keyframes patch-radar-ping {
  0% { opacity: 0.5; transform: scale(0.4); }
  100% { opacity: 0; transform: scale(7); }
}
.patch-stats__alert {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 20px;
  height: 20px;
  color: var(--orange);
  opacity: 0.5;
}
.reveal.visible .patch-stats__alert { animation: hub-breathe 2.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .patch-stats__radar span, .patch-stats__alert { animation: none !important; opacity: 0.35; }
}

/* ---------- Timeline di progressione lungo i blocchi di dettaglio ---------- */
.timeline-layout { display: grid; grid-template-columns: 26px 1fr; column-gap: 36px; }
.timeline-rail { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 10px 0; }
.timeline-rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}
.timeline-dot {
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.timeline-dot.is-active { border-color: var(--orange); background: var(--orange); transform: scale(1.25); box-shadow: 0 0 0 5px rgba(255, 130, 0, 0.16); }
.timeline-dot.is-done { border-color: rgba(255, 130, 0, 0.45); background: rgba(255, 130, 0, 0.2); }
@media (max-width: 860px) {
  .timeline-layout { grid-template-columns: 1fr; }
  .timeline-rail { display: none; }
}

/* ---------- Bande di sfondo alternate tra un blocco e il successivo ---------- */
.band-alt { border-radius: var(--radius); margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; }
#infrastruttura .band-alt { background: var(--off-white); }
#gestione-protezione .band-alt { background: var(--white); }

/* ---------- Illustrazioni SVG: "si disegnano" all'ingresso in viewport ----------
   pathLength="1" normalizza qualunque forma (rect/line/circle/path) a lunghezza 1,
   così stroke-dasharray/dashoffset funzionano in modo uniforme senza calcolare
   il perimetro reale di ciascuna forma. La classe .is-drawn viene aggiunta via JS
   (main.js, stesso IntersectionObserver di .reveal) DIRETTAMENTE su ogni elemento
   [pathLength], non tramite selettore discendente da .reveal.visible: alcune build
   di Chromium non invalidano correttamente stroke-dashoffset su forme pathLength
   quando il trigger di stile arriva da un antenato — la classe diretta è affidabile. */
.split-block__art svg [pathLength], .split-pair__art svg [pathLength] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1s ease;
}
.split-block__art svg .art-ink[pathLength], .split-pair__art svg .art-ink[pathLength] {
  transition-delay: 0.3s;
}
.split-block__art svg [pathLength].is-drawn,
.split-pair__art svg [pathLength].is-drawn {
  stroke-dashoffset: 0;
}
@media (prefers-reduced-motion: reduce) {
  .split-block__art svg [pathLength], .split-pair__art svg [pathLength] {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    transition: none;
  }
}

/* ================================================================
   Statement "108" (it-cloud.html) — sciame di vulnerabilità scoperte
   che risalgono e vengono "neutralizzate" da un raggio di scansione,
   più un lieve sfarfallio live sul numero. Nomi di classe nuovi e
   specifici: .statement resta il componente condiviso con le altre
   pagine (security.html, comunicazione.html, persone-sostenibilita.html),
   qui si aggiungono solo elementi decorativi in più, stesso principio
   già usato per .grow-forest in persone-sostenibilita.html.
   ================================================================ */
.vuln-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.vuln-bug {
  position: absolute;
  bottom: -28px;
  left: var(--x);
  width: 22px;
  height: 22px;
  color: rgba(255, 130, 0, 0.55);
  transform: translateY(0) scale(var(--scale, 1));
  opacity: 0;
}
.vuln-bug svg { width: 100%; height: 100%; display: block; }
.reveal.visible .vuln-bug {
  animation: vuln-rise var(--dur, 7.5s) ease-in infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes vuln-rise {
  0%   { transform: translateY(0) scale(var(--scale, 1)); opacity: 0; }
  8%   { opacity: 0.55; }
  46%  { transform: translateY(-150px) scale(var(--scale, 1)); opacity: 0.6; }
  54%  { transform: translateY(-178px) scale(calc(var(--scale, 1) * 1.35)); opacity: 1; color: rgba(255, 170, 60, 0.95); filter: drop-shadow(0 0 7px rgba(255, 130, 0, 0.75)); }
  63%  { transform: translateY(-200px) scale(calc(var(--scale, 1) * 0.3)); opacity: 0; }
  100% { transform: translateY(-200px) scale(calc(var(--scale, 1) * 0.3)); opacity: 0; }
}

.vuln-scan {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 130, 0, 0.9), transparent);
  box-shadow: 0 0 16px 2px rgba(255, 130, 0, 0.55);
  opacity: 0;
  z-index: 0;
}
.reveal.visible .vuln-scan { animation: vuln-scan-sweep 4.6s ease-in-out infinite; }
@keyframes vuln-scan-sweep {
  0% { top: 8%; opacity: 0; }
  12% { opacity: 0.8; }
  50% { top: 86%; opacity: 0.8; }
  62% { opacity: 0; }
  100% { top: 8%; opacity: 0; }
}

.statement-number.is-flicker { color: #ffb35c; text-shadow: 0 0 18px rgba(255, 130, 0, 0.6); }

@media (prefers-reduced-motion: reduce) {
  .vuln-field, .vuln-scan { display: none; }
}

/* ================================================================
   Pagina Comunicazione — hero di convergenza, diagramma di failover,
   scrollytelling semplificato (sticky + IntersectionObserver, stesso
   principio di security.html ma senza zoom/spotlight), diagramma di
   rete Teams, service-level card, vantaggi con stroke-draw. Riusa
   dove possibile: .reveal/.reveal.visible, .hub-line/.hub-node* e le
   keyframe hub-flow/hub-breathe/hub-pulse, .spot-card, data-count-to,
   pathLength+.is-drawn, .scrolly__text-block/.scrolly__progress-dot,
   .browser-mock*.
   ================================================================ */

/* ---------- Hero: value strip + mini-nav + diagramma di convergenza ---------- */
.hero-value-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  max-width: 720px;
  margin: 0 auto 8px;
  padding: 0;
}
.hero-value-strip li {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  padding-left: 20px;
}
.hero-value-strip li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.converge-diagram { max-width: 560px; margin: 36px auto 30px; overflow: visible; }
.converge-diagram__svg { width: 100%; height: auto; display: block; overflow: visible; }
.converge-diagram .hub-node__ring { fill: rgba(255, 255, 255, 0.08); stroke: rgba(255, 255, 255, 0.28); }
.converge-diagram .hub-node__icon { color: rgba(255, 255, 255, 0.85); }
.converge-diagram .hub-node--center .hub-node__ring { fill: var(--orange); stroke: var(--orange); }
.converge-diagram .hub-node__pulse { stroke: rgba(255, 130, 0, 0.7); }

.hero-mini-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.hero-mini-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 9px 18px;
  transition: var(--transition);
}
.hero-mini-nav a:hover { border-color: var(--orange); color: var(--orange); background: rgba(255, 130, 0, 0.08); }

/* ---------- Blocco problema: 3 righe brevi, non prosa continua ---------- */
.problem-lines { list-style: none; max-width: 640px; margin: 28px auto 0; display: flex; flex-direction: column; gap: 12px; }
.problem-lines li {
  position: relative;
  padding-left: 26px;
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.problem-lines li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}

/* ---------- Sezione 1 — diagramma di failover Lelanet ---------- */
.failover-diagram { position: relative; max-width: 640px; margin: 48px auto 0; }
.failover-diagram__svg { width: 100%; height: auto; display: block; overflow: visible; }
.failover-node__ring { fill: var(--white); stroke: var(--border); stroke-width: 1.6; }
.failover-node__icon { color: var(--navy-mid); }
.failover-node__label { font-size: 13px; font-weight: 600; fill: var(--navy-dark); }
.failover-static { display: none; }
@media (prefers-reduced-motion: reduce) {
  .failover-live { display: none; }
  .failover-static { display: block; }
}

.failover-badge {
  position: absolute;
  top: 6%;
  right: 6%;
  background: var(--navy-dark);
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 6px 13px;
  border-radius: 999px;
  opacity: 0;
}
.reveal.visible .failover-badge { animation: failover-badge-fade 9s ease-in-out infinite; }
@keyframes failover-badge-fade {
  0%, 64% { opacity: 0; transform: translateY(-4px); }
  70%, 92% { opacity: 1; transform: translateY(0); }
  98%, 100% { opacity: 0; transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  /* Specificità pari a ".reveal.visible .failover-badge" (che applica
     l'animazione): un'animazione attiva vince sempre sul valore statico di
     una regola con specificità più bassa, quindi qui va ripetuto lo stesso
     selettore per riuscire davvero a disattivarla. */
  .reveal.visible .failover-badge { animation: none; opacity: 1; transform: none; }
}

.failover-captions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 40px; }
.failover-caption { text-align: center; }
.failover-caption__icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 12px;
  border-radius: 10px;
  background: var(--off-white);
  color: var(--orange);
  display: grid;
  place-items: center;
}
.failover-caption__icon svg { width: 19px; height: 19px; }
.failover-caption h4 { font-size: 0.96rem; margin-bottom: 6px; }
.failover-caption p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }
@media (max-width: 860px) {
  .failover-captions { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .failover-captions { grid-template-columns: 1fr; }
}

.section-note { text-align: center; font-size: 0.86rem; color: var(--text-muted); font-style: italic; margin-top: 32px; }

/* ---------- Sezione 2 — scrollytelling semplificato (sticky mockup + testo) ---------- */
.comm-scrolly { position: relative; margin: 56px 0; }
.comm-scrolly__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.comm-scrolly__media-col { position: relative; }
.comm-scrolly__media-sticky { position: sticky; top: calc(72px + 48px); }

.comm-mockup { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.comm-mockup__screen { position: relative; height: 340px; background: linear-gradient(160deg, var(--navy-dark), var(--navy-deep)); }
.comm-mockup__layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 30px;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.comm-mockup__layer.is-active { opacity: 1; transform: none; pointer-events: auto; }

.comm-scrolly__text-col { position: relative; z-index: 1; display: flex; flex-direction: column; }
.comm-scrolly__step {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  opacity: 0.3;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.comm-scrolly__step.is-active { opacity: 1; transform: translateY(0); }
.comm-scrolly__step:first-child { min-height: 50vh; }
.comm-scrolly__step:last-child { min-height: 70vh; }
.comm-scrolly__step h3 { font-size: 1.5rem; margin-bottom: 14px; }
.comm-scrolly__step p { font-size: 0.95rem; line-height: 1.7; color: var(--text-muted); }
.comm-scrolly__step .card-link { display: inline-block; margin-top: 18px; }

@media (max-width: 900px) {
  .comm-scrolly__grid { grid-template-columns: 1fr; gap: 0; }
  .comm-scrolly__media-sticky { position: static; margin-bottom: 32px; }
  .comm-scrolly__step, .comm-scrolly__step:first-child, .comm-scrolly__step:last-child { min-height: 0; opacity: 1; transform: none; padding: 0 0 40px; }
}

/* --- Mockup 1: numero che salta tra i device --- */
.mock-device-row { display: flex; align-items: center; gap: 28px; }
.mock-device { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.4); display: grid; place-items: center; transition: color .3s ease, background .3s ease; }
.mock-device svg { width: 22px; height: 22px; }
.mock-device.is-lit { color: var(--orange); background: rgba(255, 130, 0, 0.14); }
.comm-mockup__layer.is-active .mock-device { animation: mock-device-hop 3.6s steps(1) infinite; }
.comm-mockup__layer.is-active .mock-device:nth-child(1) { animation-delay: 0s; }
.comm-mockup__layer.is-active .mock-device:nth-child(2) { animation-delay: -2.4s; }
.comm-mockup__layer.is-active .mock-device:nth-child(3) { animation-delay: -1.2s; }
@keyframes mock-device-hop {
  0%, 100% { color: var(--orange); background: rgba(255, 130, 0, 0.14); }
  34% { color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); }
}
.mock-caption { color: rgba(255, 255, 255, 0.6); font-size: 0.78rem; text-align: center; }

/* --- Mockup 2: 4 modalità UCC che si accendono in sequenza --- */
.mock-ucc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; width: 100%; max-width: 260px; }
.mock-ucc-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.4); }
.mock-ucc-tile svg { width: 20px; height: 20px; }
.mock-ucc-tile span { font-size: 0.72rem; }
.comm-mockup__layer.is-active .mock-ucc-tile { animation: mock-ucc-pulse 4.8s ease-in-out infinite; }
.comm-mockup__layer.is-active .mock-ucc-tile:nth-child(1) { animation-delay: 0s; }
.comm-mockup__layer.is-active .mock-ucc-tile:nth-child(2) { animation-delay: 1.2s; }
.comm-mockup__layer.is-active .mock-ucc-tile:nth-child(3) { animation-delay: 2.4s; }
.comm-mockup__layer.is-active .mock-ucc-tile:nth-child(4) { animation-delay: 3.6s; }
@keyframes mock-ucc-pulse {
  0%, 8% { color: var(--orange); background: rgba(255, 130, 0, 0.16); }
  30%, 100% { color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.05); }
}

/* --- Mockup 3: flusso a 3 nodi --- */
.mock-flow { display: flex; align-items: center; }
.mock-flow__node { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.4); display: grid; place-items: center; flex-shrink: 0; }
.mock-flow__node svg { width: 22px; height: 22px; }
.mock-flow__line { width: 34px; height: 2px; background: rgba(255, 255, 255, 0.15); }
.comm-mockup__layer.is-active .mock-flow__node { animation: mock-flow-light 4.5s ease-in-out infinite; }
.comm-mockup__layer.is-active .mock-flow__node:nth-of-type(1) { animation-delay: 0s; }
.comm-mockup__layer.is-active .mock-flow__node:nth-of-type(2) { animation-delay: 1.1s; }
.comm-mockup__layer.is-active .mock-flow__node:nth-of-type(3) { animation-delay: 2.2s; }
@keyframes mock-flow-light {
  0%, 6% { border-color: var(--orange); color: var(--orange); box-shadow: 0 0 0 6px rgba(255, 130, 0, 0.14); }
  26%, 100% { border-color: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.4); box-shadow: none; }
}
.mock-flow-labels { display: flex; justify-content: space-between; width: 100%; max-width: 300px; margin-top: 6px; }
.mock-flow-labels span { font-size: 0.66rem; color: rgba(255, 255, 255, 0.5); text-align: center; flex: 1; }

/* --- Mockup 4: dashboard analytics con count-up --- */
.mock-analytics { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mock-analytics__bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; }
.mock-analytics__bars span { width: 12px; border-radius: 3px 3px 0 0; background: rgba(255, 130, 0, 0.5); transition: height 1.2s ease; }
.comm-mockup__layer.is-active .mock-analytics__bars span { height: var(--h, 30%); }
.mock-analytics__stat { font-size: 2.1rem; font-weight: 800; color: var(--orange); }
.mock-analytics__label { font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); }

/* ---------- Casi studio con count-up (riusato in Sezione 2 e 3) ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.case-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-card__num { display: block; font-size: 2.4rem; font-weight: 800; color: var(--orange); letter-spacing: -1px; margin-bottom: 6px; }
.case-card h4 { font-size: 1.05rem; margin-bottom: 10px; }
.case-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.case-card--placeholder { border-style: dashed; display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; gap: 10px; color: var(--text-muted); }
.case-card--placeholder svg { width: 30px; height: 30px; color: var(--border); }
@media (max-width: 760px) { .case-grid { grid-template-columns: 1fr; } }

/* ---------- 4 vantaggi con icone stroke-draw staggered (riuso pathLength+.is-drawn) ---------- */
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; }
.advantage-card { text-align: center; }
.advantage-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: var(--off-white);
  display: grid;
  place-items: center;
}
.advantage-card__icon svg { width: 28px; height: 28px; color: var(--orange); overflow: visible; }
.advantage-card__icon svg [pathLength] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.9s ease;
  transition-delay: calc(var(--i, 0) * 0.14s);
}
.reveal.visible .advantage-card__icon svg [pathLength].is-drawn { stroke-dashoffset: 0; }
.advantage-card h4 { font-size: 0.98rem; margin-bottom: 8px; }
.advantage-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }
@media (prefers-reduced-motion: reduce) {
  .advantage-card__icon svg [pathLength] { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
}
@media (max-width: 860px) { .advantages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .advantages-grid { grid-template-columns: 1fr; } }

/* ---------- Sezione 3 — diagramma di rete Teams Direct Routing ---------- */
.teams-diagram { max-width: 720px; margin: 44px auto 0; overflow-x: auto; padding-bottom: 6px; }
.teams-diagram__svg { display: block; width: 100%; min-width: 560px; height: auto; overflow: visible; }
.teams-diagram .hub-node__ring { fill: var(--white); stroke: var(--border); stroke-width: 1.6; }
.teams-diagram .hub-node__icon { color: var(--navy-mid); }
.teams-diagram .hub-node__label { fill: var(--navy-dark); font-size: 14px; font-weight: 600; }
.teams-diagram-static { display: none; }
@media (prefers-reduced-motion: reduce) {
  .teams-diagram-live { display: none; }
  .teams-diagram-static { display: block; }
}

.network-captions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 36px; }
.network-caption { text-align: center; }
.network-caption__icon { width: 40px; height: 40px; margin: 0 auto 12px; border-radius: 10px; background: var(--off-white); color: var(--orange); display: grid; place-items: center; }
.network-caption__icon svg { width: 20px; height: 20px; overflow: visible; }
.network-caption__icon svg [pathLength] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.9s ease;
  transition-delay: calc(var(--i, 0) * 0.14s);
}
.reveal.visible .network-caption__icon svg [pathLength].is-drawn { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .network-caption__icon svg [pathLength] { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
}
.network-caption h4 { font-size: 0.94rem; margin-bottom: 6px; }
.network-caption p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.55; }
@media (max-width: 860px) { .network-captions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .network-captions { grid-template-columns: 1fr; } }

/* ---------- Due livelli di servizio: hover che evidenzia le differenze ---------- */
.service-levels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.service-level-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease; }
.service-levels:hover .service-level-card:not(:hover) { opacity: 0.55; }
.service-level-card:hover { transform: translateY(-3px); border-color: rgba(255, 130, 0, 0.4); }
.service-level-card__tag { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--orange); background: rgba(255, 130, 0, 0.08); border: 1px solid rgba(255, 130, 0, 0.3); border-radius: 999px; padding: 5px 12px; margin-bottom: 14px; }
.service-level-card h4 { font-size: 1.15rem; margin-bottom: 10px; }
.service-level-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }
@media (max-width: 700px) { .service-levels { grid-template-columns: 1fr; } .service-levels:hover .service-level-card:not(:hover) { opacity: 1; } }

/* ================================================================
   Pagina Casi Cliente — concept "Fascicolo Caso": hero con texture a
   scanline/griglia + reveal "decrittazione" del titolo, filtri pillar
   con reflow animato (FLIP, vanilla JS), caso in evidenza reale,
   griglia di dossier "redatti" che si rivelano al hover/tap, banda
   statistiche animata. Riusa .reveal/.reveal.visible, data-count-to,
   .badge*, .btn*, .cta* già esistenti.
   ================================================================ */

/* ---------- Hero: texture a scanline/griglia animata ---------- */
.hero--dossier::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0px, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 3px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 3px, 42px 42px, 42px 42px;
  opacity: 0.6;
  pointer-events: none;
}
.hero--dossier.reveal.visible::before { animation: dossier-scan 11s linear infinite; }
@keyframes dossier-scan { to { background-position: 0 84px, 0 84px, 84px 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero--dossier.reveal.visible::before { animation: none; }
}

/* ---------- Hero: reveal "decrittazione" del titolo ---------- */
.decrypt-text__visible { display: inline; }

/* ---------- Nota placeholder (rimuovibile quando i casi saranno reali) ---------- */
.placeholder-notice {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 200, 150, 0.65);
  margin-top: 10px;
}
.dossier-field .placeholder-notice { font-style: italic; color: var(--text-muted); margin-top: 0; }

/* ---------- Filtri pillar ---------- */
.filter-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 40px 0 8px; }
.filter-pill {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-mid);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  transition: var(--transition);
}
.filter-pill:hover { border-color: rgba(255, 130, 0, 0.4); color: var(--orange-dark); }
.filter-pill.is-active { background: var(--navy-dark); border-color: var(--navy-dark); color: var(--white); }

/* ---------- Caso in evidenza (reale, senza redazione) ---------- */
.featured-case {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px;
  margin: 44px 0 56px;
}
.featured-case__tag { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin: 12px 0 22px; }
.featured-case__copy h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; color: var(--orange-dark); margin: 18px 0 8px; }
.featured-case__copy h3:first-of-type { margin-top: 0; }
.featured-case__copy p { font-size: 0.96rem; color: var(--navy-mid); line-height: 1.7; }
.featured-case__result { display: flex; align-items: baseline; gap: 12px; margin-top: 26px; }
.featured-case__num { font-size: 2.6rem; font-weight: 800; color: var(--orange); letter-spacing: -1px; }
.featured-case__result-label { font-size: 0.9rem; color: var(--text-muted); }

.featured-case__chart { display: flex; align-items: flex-end; justify-content: center; gap: 32px; height: 200px; padding-top: 20px; }
.chart-col { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.chart-col__bar { width: 64px; border-radius: 8px 8px 0 0; transition: height 1.1s cubic-bezier(0.16, 0.8, 0.24, 1); }
.chart-col__bar--before { background: linear-gradient(180deg, #e5484d, #c73e42); height: 0; }
.chart-col__bar--after { background: linear-gradient(180deg, var(--orange), var(--orange-dark)); height: 0; }
.reveal.visible .chart-col__bar--before { height: 160px; }
.reveal.visible .chart-col__bar--after { height: 54px; }
.chart-col__label { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); }
@media (prefers-reduced-motion: reduce) {
  .chart-col__bar { transition: none; }
  .chart-col__bar--before { height: 160px; }
  .chart-col__bar--after { height: 54px; }
}

@media (max-width: 860px) {
  .featured-case { grid-template-columns: 1fr; padding: 32px 26px; }
}

/* ---------- Griglia dossier "redatti" ---------- */
.dossier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dossier-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dossier-card:hover, .dossier-card.is-revealed { box-shadow: var(--shadow); transform: translateY(-3px); }

.stamp-in-progress {
  position: absolute;
  top: 18px;
  right: -30px;
  transform: rotate(9deg);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(229, 72, 61, 0.75);
  border: 2px solid rgba(229, 72, 61, 0.55);
  border-radius: 6px;
  padding: 4px 34px;
  pointer-events: none;
  z-index: 2;
}

.dossier-card__head { margin-bottom: 20px; padding-right: 40px; }
.dossier-card__head h3 { font-size: 1.1rem; margin-top: 10px; }

.dossier-field { position: relative; margin-bottom: 16px; min-height: 20px; }
.dossier-field:last-child { margin-bottom: 0; }
.dossier-field__label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-muted); margin-bottom: 6px; }
.dossier-field__text { font-size: 0.88rem; color: var(--navy-mid); line-height: 1.55; }

.redact-bar {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-dark);
  border-radius: 4px;
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.dossier-card:hover .redact-bar,
.dossier-card.is-revealed .redact-bar,
.dossier-card:focus-visible .redact-bar {
  transform: scaleX(0);
}
.dossier-field:nth-child(1) .redact-bar { --reveal-delay: 0s; }
.dossier-field:nth-child(2) .redact-bar { --reveal-delay: 0.12s; }
.dossier-field:nth-child(3) .redact-bar { --reveal-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .redact-bar { transition: none; }
}

@media (max-width: 960px) {
  .dossier-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .dossier-grid { grid-template-columns: 1fr; }
}

/* ---------- Banda statistiche ---------- */
.stats-band {
  background: linear-gradient(150deg, var(--navy-dark), var(--navy-deep));
  border-radius: var(--radius);
  padding: 48px 40px;
  margin: 64px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.stats-band__num { display: block; font-size: 2.3rem; font-weight: 800; color: var(--orange); letter-spacing: -1px; }
.stats-band__label { font-size: 0.85rem; color: rgba(255, 255, 255, 0.72); margin-top: 4px; }
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 130, 0, 0.4);
  border-radius: 999px;
  padding: 10px 18px;
}
.cert-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255, 130, 0, 0.6); }
.reveal.visible .cert-badge__dot { animation: cert-pulse 2.6s ease-in-out infinite; }
@keyframes cert-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 130, 0, 0.55); }
  50% { box-shadow: 0 0 0 7px rgba(255, 130, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal.visible .cert-badge__dot { animation: none; }
}
@media (max-width: 860px) {
  .stats-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .stats-band { grid-template-columns: 1fr; }
}

/* ================================================================
   ORBIT NUCLEUS — componente condiviso "la console che vede tutto":
   nucleo centrale pulsante con moduli orbitanti, riusato sia nell'hero
   di console.html sia nella sezione di richiamo in home (index.html),
   con lo stesso markup/JS (js/main.js, initOrbitNucleus) e un modificatore
   di scala (.orbit-nucleus--mini) per la versione ridotta in home.

   Tecnica di rotazione: il ring ruota (JS aggiorna il suo transform ad
   ogni frame), ogni nodo vive dentro un "anchor" che lo posiziona in modo
   statico con rotate(--angle) translateX(--radius); per restare diritto
   mentre orbita, il nodo applica la somma di due contro-rotazioni:
   --counter-base (fissa, per ogni nodo -1 * --angle dell'anchor) e
   --orbit-counter (-angle del ring, impostata da JS sul contenitore,
   ereditata; 0deg prima che il JS parta e in prefers-reduced-motion).
   Così ogni icona resta diritta in qualunque momento della rotazione.
   ================================================================ */
.orbit-nucleus {
  --radius: 190px;
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.orbit-nucleus--mini { --radius: 110px; max-width: 300px; }

.orbit-nucleus__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 108px;
  height: 108px;
  z-index: 2;
}
.orbit-nucleus--mini .orbit-nucleus__core { width: 68px; height: 68px; }
.orbit-nucleus__core svg { width: 100%; height: 100%; overflow: visible; }

.orbit-core__ring {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1s ease;
}
.orbit-core__ring.is-drawn { stroke-dashoffset: 0; }
.orbit-core__ring--pulse {
  stroke-dasharray: none;
  stroke-width: 1.4;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 50%;
}
.orbit-nucleus.is-in-view .orbit-core__ring--pulse { animation: orbit-core-pulse 3s ease-out infinite; }
@keyframes orbit-core-pulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.4); }
}
.orbit-core__mark { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; }
.orbit-core__mark circle { fill: var(--orange); stroke: none; }

.orbit-nucleus__ring { position: absolute; inset: 0; }

.orbit-node-anchor {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--angle, 0deg)) translateX(var(--radius));
}

.orbit-spoke {
  position: absolute;
  top: 0;
  left: calc(-1 * var(--radius));
  width: var(--radius);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 130, 0, 0.05), rgba(255, 130, 0, 0.4));
}

.orbit-node {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%) rotate(calc(var(--counter-base, 0deg) + var(--orbit-counter, 0deg)));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  font-family: inherit;
}
.orbit-node__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy-dark);
  color: var(--orange);
  display: grid;
  place-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.orbit-nucleus--mini .orbit-node__icon { width: 34px; height: 34px; border-radius: 10px; }
.orbit-node__icon svg { width: 24px; height: 24px; }
.orbit-nucleus--mini .orbit-node__icon svg { width: 18px; height: 18px; }
.orbit-node__icon svg [pathLength] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.8s ease;
  transition-delay: calc(var(--i, 0) * 0.08s);
}
.reveal.visible .orbit-node__icon svg [pathLength].is-drawn { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .orbit-node__icon svg [pathLength] { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
}

.orbit-node__label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  background: var(--navy-dark);
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.orbit-node.is-active .orbit-node__icon {
  transform: scale(1.16);
  box-shadow: 0 8px 22px rgba(255, 130, 0, 0.35);
}
.orbit-node.is-active .orbit-node__label { opacity: 1; transform: translateY(0); }

.orbit-nucleus.is-static .orbit-nucleus__ring { transform: none; }
.orbit-nucleus.is-static { --orbit-counter: 0deg; }

@media (prefers-reduced-motion: reduce) {
  .orbit-core__ring { transition: none; stroke-dasharray: none; stroke-dashoffset: 0; }
  .orbit-core__ring--pulse { animation: none !important; opacity: 0; }
  .orbit-node__icon, .orbit-node__label { transition: none; }
}

@media (max-width: 640px) {
  .orbit-nucleus { --radius: 140px; max-width: 380px; }
  .orbit-nucleus--mini { --radius: 88px; max-width: 240px; }
}

/* ---------- Sezione di richiamo "HiSolution Console" in home ---------- */
.console-teaser-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.console-teaser__text h2 { font-size: 1.9rem; margin: 8px 0 14px; }
.console-teaser__text p { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 26px; max-width: 460px; }
.console-teaser__art { display: flex; justify-content: center; }

@media (max-width: 900px) {
  .console-teaser-inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .console-teaser__text p { margin-left: auto; margin-right: auto; }
  .console-teaser__art { order: -1; }
}

/* ---------- Mega-menu Soluzioni: HiSolution Console come voce in evidenza
   (revisione 17/11/2026, sostituisce la voce di primo livello) ---------- */
.dropdown-l1-sep { display: block; height: 1px; background: var(--border); margin: 8px 14px; }
.dropdown-l1-item--flagship { display: flex; align-items: center; gap: 8px; color: var(--navy-dark); background: rgba(255, 130, 0, 0.06); border: 1px solid rgba(255, 130, 0, 0.25); }
.dropdown-l1-badge { margin-left: auto; font-size: 0.62rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--white); background: var(--orange); border-radius: 999px; padding: 2px 8px; }
@media (max-width: 1240px) {
  .dropdown-l1-sep { display: none; }
  .dropdown-l2-panel--console .dropdown-l2-intro h4::after { content: " · Novità"; color: var(--orange); font-size: 0.8em; }
}

/* ---------- Casi cliente reali anonimizzati (17/11/2026) ---------- */
.dossier-card--real { display: flex; flex-direction: column; }
.dossier-quote { margin: 22px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--border); margin-top: auto; }
.dossier-quote p { font-size: 0.95rem; font-style: italic; color: var(--navy-dark); line-height: 1.55; }
.dossier-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange); }

/* Resources Center: card articolo cliccabile per intero (17/11/2026) */
.res-card__stretch { color: inherit; }
.res-card__stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.res-card--blog:hover h3 { color: var(--orange); }
.res-card--blog .res-card__meta { display: block; -webkit-line-clamp: unset; }

/* ---------- Risorse: filtri con contatori e stati disattivati (17/11/2026 sera) ---------- */
.res-count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 8px;
  border-radius: 999px; font-size: 0.68rem; font-weight: 700; line-height: 1;
  background: rgba(62, 77, 93, 0.08); color: var(--navy-mid);
}
.res-filter-btn.is-active .res-count { background: rgba(255, 255, 255, 0.18); color: var(--white); }
.res-filter-chip .res-count { height: 18px; min-width: 18px; font-size: 0.64rem; margin-left: 6px; }
.res-filter-chip.is-active .res-count { background: var(--white); }
.res-filter-btn:disabled, .res-filter-chip:disabled { opacity: 0.38; cursor: not-allowed; }
.res-filter-btn:disabled:hover, .res-filter-chip:disabled:hover { transform: none; border-color: var(--border); }
.res-filter-chip:disabled:hover { border-color: transparent; }
.res-resultbar {
  display: flex; justify-content: center; align-items: center; gap: 16px;
  margin-top: 12px; font-size: 0.82rem; color: var(--text-muted); min-height: 28px;
}
.res-resultbar__count { font-weight: 600; }
.res-resultbar__reset {
  font: inherit; font-weight: 700; color: var(--orange); background: rgba(255, 130, 0, 0.08);
  border: 0; border-radius: 999px; padding: 5px 12px; cursor: pointer; transition: var(--transition);
}
.res-resultbar__reset:hover { background: rgba(255, 130, 0, 0.16); }
.res-resultbar__reset[hidden] { display: none; }

/* Chi siamo: foto reali del team (17/11/2026) */
.team-card__photo--img { width: 120px; height: 120px; padding: 0; overflow: hidden; box-shadow: 0 0 0 3px var(--white), 0 0 0 5px rgba(255,130,0,.55); }
.team-card__photo--img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }


/* =====================================================================
   SISTEMA TIPOGRAFICO (revisione 17/11/2026)
   Fraunces: titoli di pagina e di sezione (h1, h2), grandi numeri, citazioni.
   Sans (--font-sans): sottotitoli h3/h4, testo, etichette, pulsanti, menu.
   Le regole sono centralizzate qui per equilibrare tutte le pagine; le
   etichette piccole marcate come h2 (es. .hm-res__label) restano in sans.
   ===================================================================== */
h1:not(.decrypt-text),
h2:not(.hm-res__label):not(.hm-eyebrow) {
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
  font-optical-sizing: auto;
  letter-spacing: -0.02em !important;
  line-height: 1.1;
}
.decrypt-text { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; }
h1 b, h1 strong, h2 b, h2 strong { font-weight: 600; }
h1 .accent, h2 .accent, h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--orange); }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
.ip-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.06; }
/* h3/h4 restano sans, con un peso pieno ma non pesante */
h3, h4 { font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.005em; }
/* Grandi numeri e citazioni: display */
.stat-num, .ip-stat__num, .statement-number, .problem-stats__num, .stats-band__num, .featured-case__num,
.res-card--case__stat, .ph-quote, .statement-label { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; }
.ip-stat__num { font-weight: 300; }
/* Testi lunghi: interlinea comoda */
p { text-wrap: pretty; }
.res-filter-chip[hidden], .res-filter-btn[hidden] { display: none !important; }

/* Casi cliente: con 4 fascicoli la griglia passa a 2x2 (evita la card orfana) */
@media (min-width: 961px) {
  .dossier-grid:has(> .dossier-card:nth-child(4)) { grid-template-columns: repeat(2, 1fr); }
}
