/* ==========================================================================
   PIATTAFORME · HUB — il progetto della pagina del catalogo
   --------------------------------------------------------------------------
   Questo foglio sostituisce il vecchio piattaforma.css, che aveva blocchi
   corrotti (una `{` fuori posto faceva cadere metà dei componenti) e non
   caricava la pagina in modo affidabile.

   Che cosa cambia rispetto al progetto precedente:

     - lo sfondo NON è qui. È uno solo per tutto il sito e sta in
       nexo-shell.css; le sezioni sono trasparenti e non si rideclara
       nessun fondo;
     - la gerarchia la dà il contrasto (superficie bianca su carta), non
       un altro tono sotto a tutto;
     - ogni componente ha un nome che dice che cosa fa: `.hgal__fig` è la
       figura della galleria, `.hx__pin` è l'etichetta agganciata a una
       regione dell'immagine. I nomi precedenti (`.pf-seg__ico`,
       `.pf-dom__tag`) non dicevano niente e costringevano a leggere la
       regola per sapere che cosa fosse.

   Regola ereditata dal progetto: il fallback statico è la condizione di
   partenza. Niente contenuto è nascosto in CSS; ogni movimento nasce da JS
   e sotto prefers-reduced-motion sparisce mentre la pagina resta identica.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Token
   -------------------------------------------------------------------------- */
:root {
  --h-ink:    #0B1220;
  --h-ink-2:  #2C3350;
  --h-mut:    #5A5F7E;
  --h-line:   #E2E0F2;
  --h-paper:  #FFFFFF;
  --h-brand:  #6D28D9;
  --h-brand-d:#4C1D95;
  --h-lilac:  #A78BFA;
  --h-cyan:   #4AA3FF;
  --h-green:  #15803D;
  --h-max:    1200px;
  --h-r:      14px;
  --h-r-lg:   20px;
  --h-shadow: 0 1px 2px rgba(11, 18, 32, .05), 0 10px 26px rgba(11, 18, 32, .06);
  --h-lift:   0 2px 4px rgba(11, 18, 32, .06), 0 26px 54px rgba(11, 18, 32, .13);
  /* Il font vive qui perché questa pagina non carica piattaforma.css e
     `--pf-font` non sarebbe dichiarato da nessuna parte. */
  --pf-font:  "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* --------------------------------------------------------------------------
   Impianto comune
   -------------------------------------------------------------------------- */
.hs { padding: 96px 0; }
.hs--tint .hs__wrap { position: relative; }
.hs--tint .hs__wrap::before {
  /* Una sola differenza di fondo su tutta la pagina: una fascia appena più
     chiara sotto il contenuto, per dare respiro alla sezione senza
     inventare un secondo cielo. Non è un colore, è un velo.

     `left: 50%` + `translateX(-50%)` e non `left: -50vw`: il -50vw è
     relativo al contenitore (1200 px), non alla finestra, e la fascia
     finiva 180 px prima del bordo destro con una giunta visibile. */
  content: "";
  position: absolute;
  top: -96px;
  bottom: -96px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.42);
  border-top: 1px solid var(--h-line);
  border-bottom: 1px solid var(--h-line);
  z-index: -1;
}
.hs__wrap { max-width: var(--h-max); margin: 0 auto; padding: 0 24px; }
.hs__wrap--narrow { max-width: 880px; }
@media (max-width: 767px) {
  .hs { padding: 64px 0; }
  .hs--tint .hs__wrap::before { top: -64px; bottom: -64px; }
}

.hs__kicker {
  display: inline-block;
  margin: 0 0 14px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--h-brand);
}
.hs__title {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.028em;
  color: var(--h-ink);
  max-width: 20ch;
  text-wrap: balance;
}
.hs__title em { font-style: normal; color: var(--h-brand); }
.hs__lede {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.66;
  color: var(--h-ink-2);
  max-width: 62ch;
}
.hs__head { margin-bottom: 52px; }

/* --- pulsanti ------------------------------------------------------------ */
.hx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease,
              box-shadow .25s ease, transform .25s ease;
}
.hx-btn:focus-visible { outline: 2px solid var(--h-brand); outline-offset: 3px; }
.hx-btn--p {
  background: var(--h-brand); color: #fff;
  box-shadow: 0 10px 24px -12px rgba(109, 40, 217, .8);
}
.hx-btn--p:hover { background: var(--h-brand-d); color: #fff; transform: translateY(-2px); }
.hx-btn--g {
  background: rgba(255, 255, 255, .82); color: var(--h-ink);
  border-color: var(--h-line);
}
.hx-btn--g:hover { background: #fff; border-color: var(--h-ink); color: var(--h-ink); }
.hx-btn--full { width: 100%; }

/* ==========================================================================
   1 · HERO
   ========================================================================== */
.hx { padding: 72px 0 0; }
.hx__wrap { max-width: var(--h-max); margin: 0 auto; padding: 0 24px; }
.hx__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 60px;
  align-items: center;
  padding-bottom: 64px;
}
@media (max-width: 991px) { .hx__grid { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 767px) { .hx { padding-top: 44px; } .hx__grid { padding-bottom: 44px; } }

.hx__kicker { margin: 0 0 18px; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--h-brand); }
.hx__title {
  margin: 0 0 22px;
  font-size: clamp(2.15rem, 4.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.035em;
  color: var(--h-ink);
  max-width: 16ch;
}
.hx__title em { font-style: normal; color: var(--h-brand); }
.hx__lede { margin: 0 0 30px; font-size: 1.1rem; line-height: 1.62; color: var(--h-ink-2); max-width: 50ch; }
.hx__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hx__proof {
  display: flex; flex-wrap: wrap; gap: 12px 30px;
  margin: 0; padding: 22px 0 0; list-style: none;
  border-top: 1px solid var(--h-line);
}
.hx__proof li { display: flex; align-items: baseline; gap: 7px; font-size: .87rem; color: var(--h-mut); }
.hx__proof b { font-size: 1.3rem; font-weight: 600; color: var(--h-ink); font-variant-numeric: tabular-nums; }

/* --- la finestra del prodotto ------------------------------------------- */
.hx__shot {
  position: relative;
  margin: 0;
  border-radius: var(--h-r-lg);
  overflow: visible;
  background: #0A0B0C;
  border: 1px solid rgba(11, 18, 32, .28);
  box-shadow: 0 2px 0 rgba(255, 255, 255, .04) inset, 0 44px 90px -34px rgba(11, 18, 32, .58);
  transition: transform .45s cubic-bezier(.2, .7, .3, 1), box-shadow .45s ease;
}
/* `transform-style` + `will-change`: senza, il browsers applica il
   translate a una singola superficie e la finestra sembra una foto. */
.hx__shot, .hcard__media { will-change: transform; }
.hx__chrome {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: #12141A;
  border-bottom: 1px solid #22252D;
  border-radius: var(--h-r-lg) var(--h-r-lg) 0 0;
  font-size: 11.5px;
  color: #A9AFBC;
}
.hx__dots { display: inline-flex; gap: 6px; flex: none; }
.hx__dots i { width: 9px; height: 9px; border-radius: 50%; background: #2A2E38; }
.hx__url {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 3px 11px;
  border-radius: 6px;
  background: #191C24;
  border: 1px solid #262A34;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hx__lock { width: 7px; height: 9px; border-radius: 1px; background: #4ADE80; flex: none; opacity: .85; }
.hx__tag { margin-left: auto; letter-spacing: .08em; text-transform: uppercase; color: #6B7280; flex: none; }

.hx__shot picture { display: block; }
.hx__shot img { display: block; width: 100%; height: auto; border-radius: 0 0 var(--h-r-lg) var(--h-r-lg); }

/* Le etichette agganciate a regioni vere dell'immagine: le posizioni sono
   percentuali, quindi restano giuste a qualunque larghezza. Vivono tutte
   sul lato che guarda il margine esterno: se una di loro sporgesse verso la
   colonna del testo finirebbe sopra il paragrafo, e un'etichetta che
   copre il testo non è un'etichetta. */
.hx__pin {
  position: absolute;
  display: none;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(11, 18, 32, .10);
  box-shadow: 0 14px 30px -14px rgba(11, 18, 32, .55);
  line-height: 1.25;
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
}
.hx__pin b { display: block; font-size: .82rem; font-weight: 600; color: var(--h-ink); }
.hx__pin { font-size: .72rem; color: var(--h-mut); }
.hx__pin--1 { right: -14px; top: 22%;  transform: translateX(100%); }
.hx__pin--2 { right: -14px; top: 57%;  transform: translateX(100%); }
.hx__pin--3 { left: 18px;   bottom: 14px; transform: none; }
@media (min-width: 1180px) {
  .hx__pin { display: block; }
  /* Il JS fa il resto: le porta dentro con un ritardo a cascata. */
}
@media (max-width: 1179px) {
  /* Sotto questa larghezza non c'è margine a destra: le etichette rientrano
     dentro la finestra e si appoggiano agli angoli. */
  .hx__pin--1 { right: 14px; top: 14px; }
  .hx__pin--2 { right: 14px; bottom: 14px; }
  .hx__pin--3 { left: 18px; bottom: 14px; }
}
@media (max-width: 575px) {
  .hx__pin { display: none !important; }
}

/* --- la striscia dei moduli --------------------------------------------- */
.hx__ticker {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--h-line);
  border-bottom: 1px solid var(--h-line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.hx__track { display: flex; width: max-content; will-change: transform; }
.hx__modules {
  display: flex; gap: 10px;
  margin: 0; padding: 0 6px 0 10px;
  list-style: none;
}
.hx__modules li {
  padding: 7px 16px;
  border: 1px solid var(--h-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  font-size: .84rem;
  font-weight: 500;
  color: var(--h-ink-2);
  white-space: nowrap;
}

/* ==========================================================================
   2 · CATALOGO
   ========================================================================== */
.hcard {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 0;
  border: 1px solid var(--h-line);
  border-radius: var(--h-r-lg);
  background: var(--h-paper);
  box-shadow: var(--h-shadow);
  overflow: hidden;
  transition: box-shadow .3s ease, transform .3s ease;
}
.hcard:hover { box-shadow: var(--h-lift); transform: translateY(-3px); }
@media (max-width: 991px) { .hcard { grid-template-columns: 1fr; } }

.hcard__media {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 40px;          /* la barra in alto è posizionata sopra */
  background: #0A0B0C;
  align-self: stretch;
}
.hcard__bar {
  position: absolute; inset: 0 0 auto 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  background: #12141A;
  border-bottom: 1px solid #22252D;
}
.hcard__status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #A9AFBC;
}
.hcard__status i { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
/* `<picture>` non ha dimensioni proprie: senza `flex: 1` l'immagine dentro
   assume l'altezza naturale e sotto resta un rettangolo nero. */
.hcard__media picture { display: block; flex: 1 1 auto; min-height: 0; }
.hcard__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
/* Sotto i 992 px la colonna non è più alta del contenuto: l'immagine torna
   alla sua altezza naturale, altrimenti si deformerebbe. */
@media (max-width: 991px) {
  .hcard__media { display: block; }
  .hcard__media picture { display: block; }
  .hcard__media img { height: auto; }
}

.hcard__body { padding: 40px 40px 42px; }
@media (max-width: 575px) { .hcard__body { padding: 28px 24px 30px; } }
.hcard__tag { margin: 0 0 10px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--h-brand); }
.hcard__name { margin: 0 0 12px; font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 600; letter-spacing: -.02em; color: var(--h-ink); }
.hcard__lead { margin: 0 0 26px; font-size: 1.02rem; line-height: 1.66; color: var(--h-ink-2); }

.hcard__facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin: 0 0 26px; padding: 20px 0;
  border-top: 1px solid var(--h-line);
  border-bottom: 1px solid var(--h-line);
}
.hcard__facts dt { margin: 0 0 5px; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--h-mut); }
.hcard__facts dd { margin: 0; font-size: 1.16rem; font-weight: 600; color: var(--h-ink); font-variant-numeric: tabular-nums; }
.hcard__facts small { display: block; margin-top: 3px; font-size: .74rem; font-weight: 400; color: var(--h-mut); }
@media (max-width: 575px) { .hcard__facts { grid-template-columns: 1fr; gap: 14px; } }

.hcard__mods { margin: 0 0 28px; padding: 0; list-style: none; }
.hcard__mods li {
  display: flex; gap: 12px; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid var(--h-line);
  font-size: .93rem; line-height: 1.5; color: var(--h-ink-2);
}
.hcard__mods li:last-child { border-bottom: 0; }
.hcard__mods span { font-size: .76rem; font-weight: 600; color: var(--h-lilac); font-variant-numeric: tabular-nums; flex: none; }
.hcard__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hcard__cta .hx-btn { padding: 12px 20px; font-size: .92rem; }
.hcard__note { margin: 18px 0 0; font-size: .84rem; color: var(--h-mut); }

/* --- le piattaforme che non ci sono ancora ------------------------------ */
.hnext { margin-top: 64px; }
.hnext__kicker { margin: 0 0 18px; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--h-mut); }
.hnext__list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin: 0; padding: 0; list-style: none;
}
@media (max-width: 991px) { .hnext__list { grid-template-columns: 1fr; } }
.hnext__list li {
  position: relative;
  padding: 24px 24px 26px;
  border: 1px dashed var(--h-line);
  border-radius: var(--h-r);
  background: rgba(255, 255, 255, .5);
  transition: border-color .25s ease, background-color .25s ease;
}
.hnext__list li:hover { border-color: var(--h-lilac); background: rgba(255, 255, 255, .8); }
.hnext__n { display: block; margin-bottom: 12px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: var(--h-lilac); }
.hnext__list h3 { margin: 0 0 8px; font-size: 1.02rem; font-weight: 600; color: var(--h-ink); }
.hnext__list p { margin: 0 0 14px; font-size: .9rem; line-height: 1.6; color: var(--h-mut); }
.hnext__st {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  background: var(--h-line); color: var(--h-mut);
  font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}

/* ==========================================================================
   3 · LE QUATTRO DIFFERENZE
   ========================================================================== */
.hfill { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 991px) { .hfill { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .hfill { grid-template-columns: 1fr; } }
.hcol {
  display: flex; flex-direction: column;
  padding: 28px 24px 26px;
  border: 1px solid var(--h-line);
  border-radius: var(--h-r);
  background: var(--h-paper);
  box-shadow: var(--h-shadow);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.hcol:hover { box-shadow: var(--h-lift); transform: translateY(-4px); border-color: #CFC9F5; }
.hcol__ico {
  width: 46px; height: 46px; margin-bottom: 18px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: #F4F1FF;
  color: var(--h-brand);
  transition: background-color .25s ease, color .25s ease;
}
.hcol:hover .hcol__ico { background: var(--h-brand); color: #fff; }
.hcol h3 { margin: 0 0 10px; font-size: 1.04rem; font-weight: 600; letter-spacing: -.01em; color: var(--h-ink); }
.hcol p { margin: 0 0 14px; font-size: .92rem; line-height: 1.62; color: var(--h-mut); }
.hcol__proof {
  margin: auto 0 0 !important; padding-top: 14px;
  border-top: 1px solid var(--h-line);
  font-size: .82rem !important;
}
.hcol__proof b { color: var(--h-ink); font-weight: 600; }

/* ==========================================================================
   4 · IL PERCORSO
   ========================================================================== */
.hflow { position: relative; }
.hflow__svg { display: block; width: 100%; height: 90px; margin-bottom: 6px; overflow: visible; }
.hflow__steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px;
  margin: 0; padding: 0; list-style: none;
}
@media (max-width: 991px) {
  .hflow__svg { display: none; }
  .hflow__steps { grid-template-columns: 1fr; gap: 0; }
  .hflow__steps li { position: relative; padding: 0 0 30px 62px; }
  .hflow__steps li::before {
    content: ""; position: absolute; left: 17px; top: 34px; bottom: 0; width: 1px;
    background: linear-gradient(180deg, var(--h-lilac), rgba(167, 139, 250, .12));
  }
  .hflow__steps li:last-child { padding-bottom: 0; }
  .hflow__steps li:last-child::before { display: none; }
  .hflow__n { position: absolute; left: 0; top: 0; }
}
.hflow__n {
  display: grid; place-items: center;
  width: 36px; height: 36px; margin-bottom: 16px;
  border-radius: 50%;
  background: var(--h-paper);
  border: 2px solid var(--h-brand);
  color: var(--h-brand);
  font-size: .78rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.hflow h3 { margin: 0 0 9px; font-size: 1rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--h-ink); }
.hflow p { margin: 0 0 14px; font-size: .89rem; line-height: 1.6; color: var(--h-mut); }
.hflow__m {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: #F1EEFE; color: var(--h-brand-d);
  font-size: .72rem; font-weight: 600;
}

/* ==========================================================================
   5 · LE SCHERMATE
   ========================================================================== */
.hgal {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin: 0; padding: 0; list-style: none;
}
@media (max-width: 991px) { .hgal { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .hgal { grid-template-columns: 1fr; } }
.hgal__item { margin: 0; }
/* Profondità alternata: la galleria è un muro di immagini, e la
   profondità è ciò che la fa leggere come una sequenza. */
.hgal__item:nth-child(2n) { transform: translateY(26px); }
@media (max-width: 991px) { .hgal__item:nth-child(2n) { transform: none; } }

.hgal__fig {
  margin: 0;
  border: 1px solid var(--h-line);
  border-radius: var(--h-r);
  background: var(--h-paper);
  box-shadow: var(--h-shadow);
  overflow: hidden;
  transition: box-shadow .28s ease, transform .28s ease;
}
.hgal__fig:hover { box-shadow: var(--h-lift); transform: translateY(-3px); }
.hgal__btn {
  position: relative;
  display: block; width: 100%; padding: 0;
  border: 0; background: #0A0B0C; cursor: zoom-in;
  font: inherit; color: inherit;
  -webkit-appearance: none; appearance: none;
}
.hgal__btn:focus { outline: none; }
.hgal__btn:focus-visible { outline: 2px solid var(--h-brand); outline-offset: -4px; }
.hgal__btn picture { display: block; }
.hgal__btn img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.hgal__hook {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(10, 11, 12, .76);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #F7F8F8;
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
  opacity: 0; transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
  backdrop-filter: blur(6px);
}
.hgal__fig:hover .hgal__hook,
.hgal__btn:focus-visible ~ .hgal__hook,
.hgal__btn:focus ~ .hgal__hook { opacity: 1; transform: none; }
@media (hover: none) { .hgal__hook { opacity: 1; transform: none; } }
.hgal figcaption { padding: 14px 16px 16px; border-top: 1px solid var(--h-line); }
.hgal figcaption b { display: block; margin-bottom: 3px; font-size: .9rem; font-weight: 600; color: var(--h-ink); }
.hgal figcaption { font-size: .84rem; line-height: 1.55; color: var(--h-mut); }

/* ==========================================================================
   6 · FAQ
   ========================================================================== */
.hfaq { border-top: 1px solid var(--h-line); }
.hfaq__i { border-bottom: 1px solid var(--h-line); }
.hfaq__i summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 4px;
  font-size: 1.04rem; font-weight: 500; color: var(--h-ink);
  cursor: pointer; list-style: none;
  transition: color .2s ease;
}
.hfaq__i summary::-webkit-details-marker { display: none; }
.hfaq__i summary:hover { color: var(--h-brand); }
.hfaq__i summary:focus-visible { outline: 2px solid var(--h-brand); outline-offset: 2px; border-radius: 6px; }
.hfaq__i summary i {
  position: relative; flex: none;
  width: 20px; height: 20px;
  transition: transform .25s ease;
}
.hfaq__i summary i::before,
.hfaq__i summary i::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 14px; height: 2px; margin: -1px 0 0 -7px;
  background: var(--h-brand); border-radius: 2px;
}
.hfaq__i summary i::after { transform: rotate(90deg); transition: opacity .2s ease; }
/* Il segno è un `+` che diventa un `−`: si spegne la barra verticale e
   basta. Ruotare anche il contenitore lascerebbe una diagonale sola, che
   sembra un refuso e non un segnale. */
.hfaq__i[open] summary i::after { opacity: 0; }
.hfaq__a { padding: 0 44px 24px 4px; }
.hfaq__a p { margin: 0; font-size: .96rem; line-height: 1.68; color: var(--h-ink-2); }
@media (max-width: 575px) { .hfaq__a { padding-right: 4px; } }

/* ==========================================================================
   7 · MODULO
   ========================================================================== */
.hs--conv { padding-bottom: 104px; }
.hconv {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 56px; align-items: start;
}
@media (max-width: 991px) { .hconv { grid-template-columns: 1fr; gap: 36px; } }
.hconv__list { margin: 28px 0 0; padding: 0; list-style: none; }
.hconv__list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--h-line); font-size: .93rem; line-height: 1.5; color: var(--h-ink-2); }
.hconv__list li:last-child { border-bottom: 0; }
.hconv__list svg { flex: none; margin-top: 2px; }
.hconv__or { margin: 26px 0 0; font-size: .9rem; color: var(--h-mut); }
.hconv__or a { color: var(--h-brand); font-weight: 500; }

.hform {
  padding: 34px 34px 36px;
  border: 1px solid var(--h-line);
  border-radius: var(--h-r-lg);
  background: var(--h-paper);
  box-shadow: var(--h-lift);
}
@media (max-width: 575px) { .hform { padding: 24px 20px 26px; } }
.hform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 575px) { .hform__row { grid-template-columns: 1fr; } }
.hform__f { margin-bottom: 18px; }
.hform__f label { display: block; margin-bottom: 7px; font-size: .87rem; font-weight: 500; color: var(--h-ink); }
.hform__opt { font-weight: 400; color: var(--h-mut); }
.hform input, .hform select, .hform textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #D6D3E8;
  border-radius: 10px;
  background: #fff;
  font-family: inherit; font-size: .95rem; color: var(--h-ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.hform textarea { resize: vertical; min-height: 112px; }
.hform input:hover, .hform select:hover, .hform textarea:hover { border-color: #B9B3D9; }
.hform input:focus, .hform select:focus, .hform textarea:focus {
  border-color: var(--h-brand); box-shadow: 0 0 0 3px rgba(109, 40, 217, .12); outline: none;
}
.hform [aria-invalid="true"] { border-color: #B91C1C; }
.hform__help { margin: 7px 0 0; font-size: .8rem; color: var(--h-mut); }
.hform__err { margin: 7px 0 0; font-size: .8rem; color: #B91C1C; }
.hform__err:empty { display: none; }
.hform__consent { margin: 16px 0 0; font-size: .78rem; line-height: 1.55; color: var(--h-mut); }
.hform__consent a { color: var(--h-brand); }
/* Lo stato del modulo lo scrive nexo-form.js, che usa la classe
   `.nexo-form-status`. Qui si dà il suo aspetto da questa pagina; il
   testo che ci mette dentro è quello del sito. */
.hform__status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: .9rem; line-height: 1.55; }
.hform__status:empty { display: none; }
.hform__status[hidden] { display: none; }
.nexo-form-status {
  background: #F4F1FF;
  color: #2E1065;
  border-left: 4px solid #6D28D9;
}

/* ==========================================================================
   8 · CHIUSURA
   ========================================================================== */
.hend { padding: 40px 0 104px; text-align: center; }
.hend__t { margin: 0 0 16px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 400; line-height: 1.16; letter-spacing: -.025em; color: var(--h-ink); }
.hend__t em { font-style: normal; color: var(--h-brand); }
.hend__p { margin: 0 auto 30px; max-width: 52ch; font-size: 1.04rem; line-height: 1.65; color: var(--h-ink-2); }
.hend__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hend__note { margin: 26px 0 0; font-size: .84rem; color: var(--h-mut); }

/* ==========================================================================
   VISUALIZZATORE A SCHERMO INTERO
   ========================================================================== */
.hz {
  position: fixed; inset: 0; z-index: 2147483000;
  display: flex; flex-direction: column;
  font-family: inherit; color: #F7F8F8;
}
.hz[hidden] { display: none; }
/* Durante lo zoom il banner dei cookie e la pillola del template spariscono:
   sono un altro livello di interfaccia e occuperebbero pulsanti. */
body.hz-open #nexo-cookie-banner,
body.hz-open #nexo-cookie-pill,
body.hz-open #nexo-cookie { opacity: 0; visibility: hidden; pointer-events: none; }

.hz__scrim { position: absolute; inset: 0; background: rgba(4, 5, 8, .95); backdrop-filter: blur(8px); }
.hz__bar {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: .84rem; color: #A9AFBC;
}
.hz__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hz__tools { display: flex; align-items: center; gap: 8px; flex: none; }
.hz__tools button {
  width: 36px; height: 36px; padding: 0;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 9px;
  background: rgba(255, 255, 255, .06);
  color: #F7F8F8; font: inherit; font-size: 1.1rem; line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease;
}
.hz__tools button:hover { background: rgba(255, 255, 255, .14); }
.hz__tools button:focus-visible { outline: 2px solid var(--h-lilac); outline-offset: 2px; }
.hz__pct { min-width: 52px; text-align: center; font-variant-numeric: tabular-nums; }
.hz__stage {
  position: relative; z-index: 1;
  flex: 1 1 auto; min-height: 0;
  display: grid;
  /* `minmax(0, 1fr)` esplicito: con la griglia implicita la riga si
     dimensiona sul contenuto e `max-height` sull'immagine non avrebbe base
     di calcolo. */
  grid-template-rows: minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  overflow: hidden;
  padding: 20px;
  cursor: grab;
  touch-action: none;
}
.hz__stage.is-pan { cursor: grabbing; }
.hz__img {
  display: block; max-width: 100%; max-height: 100%;
  transform-origin: 50% 50%;
  user-select: none; -webkit-user-drag: none;
  will-change: transform;
}
.hz__hint { position: relative; z-index: 2; margin: 0; padding: 10px 18px 14px; text-align: center; font-size: .76rem; color: #6B7280; }
@media (hover: none) { .hz__hint { display: none; } }

/* ==========================================================================
   STATO DI PARTENZA — l'ingresso è di JS, mai di CSS
   ========================================================================== */
.hx-js [data-hx-a] { opacity: 0; transform: translateY(20px); }
.hx-js [data-reveal] { opacity: 0; transform: translateY(26px); }
.hx-js .hgal__item:nth-child(2n) { transform: translateY(26px); }
/* Senza GSAP la classe non viene mai aggiunta: qui dentro non serve. */

@media (prefers-reduced-motion: reduce) {
  .pf-body *, .pf-body *::before, .pf-body *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hx-btn:hover, .hcol:hover, .hgal__fig:hover, .hcard:hover, .hnext__list li:hover { transform: none; }
  .hgal__item:nth-child(2n) { transform: none; }
}
