/* ============================================================================
   PASSAPAROLA ONLINE — Sito Vetrina
   Design system: Dark Navy Luxury · Oro satinato · Ciano tech · Arancio CTA
   Progressive enhancement: layout statico di default (no-JS safe),
   la classe .anim-on su <html> attiva la modalita' scrollytelling pinnata.
   ============================================================================ */

:root {
  --navy: #0B0F19;
  --slate: #151B2B;
  --slate-2: #1A2338;
  --gold: #D4AF37;
  --gold-soft: #F0D98C;
  --cyan: #00F0FF;
  --orange: #FF6600;
  --orange-hi: #FF7711;
  --text: #EDF1F8;
  --muted: #93A0B8;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(212, 175, 55, .35); }

/* ==================== TOP NAV ==================== */
.topnav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4vw;
  background: linear-gradient(rgba(11, 15, 25, .88), rgba(11, 15, 25, .55) 70%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { width: 30px; height: 30px; flex: none; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .2px;
  color: var(--text);
}
.brand-text em {
  font-style: normal;
  margin-left: 5px;
  background: linear-gradient(92deg, var(--gold), var(--gold-soft) 55%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-partner {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .25s;
}
.nav-partner:hover { color: var(--gold-soft); }

.nav-link {
  position: relative;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  opacity: .85;
  transition: opacity .25s, color .25s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: right .3s ease;
}
.nav-link:hover { opacity: 1; color: var(--gold-soft); }
.nav-link:hover::after { right: 0; }

/* ==================== BOTTONI ==================== */
.btn-cta {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  color: #fff;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--orange-hi));
  box-shadow: 0 8px 28px rgba(255, 102, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .25s, box-shadow .25s;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(255, 102, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-cta-lg { font-size: 17px; padding: 17px 36px; }

.btn-ghost {
  display: inline-block;
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, .35);
  transition: border-color .25s, background .25s;
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(212, 175, 55, .07); }

/* ==================== HERO — LAYOUT STATICO (default, no-JS safe) ==================== */
.hero-scroll { position: relative; }

.hero-stage {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1000px 600px at 78% 62%, rgba(0, 240, 255, .05), transparent 60%),
    radial-gradient(900px 700px at 18% 12%, rgba(212, 175, 55, .05), transparent 60%),
    var(--navy);
}

#hero-fx { display: none; }

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(5, 7, 12, .75) 100%);
}

.hero-headline {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 17vh 5vw 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}
.kicker-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse { 50% { opacity: .35; transform: scale(.8); } }

.hero-headline h1 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.hl-line { display: block; }
.hl-gold {
  background: linear-gradient(92deg, var(--gold) 10%, var(--gold-soft) 50%, var(--gold) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 24px auto 0;
  max-width: 580px;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.6;
  color: var(--muted);
}

.scroll-hint {
  margin: 7vh auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .08em;
}
.scroll-hint svg { width: 22px; height: 22px; animation: hintDrop 1.8s ease-in-out infinite; }
@keyframes hintDrop { 50% { transform: translateY(7px); opacity: .5; } }

/* ---- Scena TAP (statica: blocco relativo; animata: fullscreen assoluta) ---- */
.tap-scene {
  position: relative;
  z-index: 2;
  height: 68vh;
  min-height: 520px;
  margin-top: 2vh;
  pointer-events: none;
}

.espositore-wrap {
  position: absolute;
  right: 4%;
  bottom: 2%;
  width: clamp(220px, 24vw, 360px);
  z-index: 2;
}
.espositore-img {
  display: block;
  width: 100%;
  -webkit-mask-image: radial-gradient(ellipse 66% 62% at 50% 46%, #000 46%, transparent 86%);
  mask-image: radial-gradient(ellipse 66% 62% at 50% 46%, #000 46%, transparent 86%);
  filter: brightness(.93) drop-shadow(0 26px 60px rgba(0, 0, 0, .65)) drop-shadow(0 0 42px rgba(0, 240, 255, .10));
  user-select: none;
}

.nfc-hotspot {
  position: absolute;
  left: 40%;
  top: 47%;
  width: 0; height: 0;
  z-index: 3;
}
.nfc-ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 54px; height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  border: 2px solid rgba(0, 240, 255, .8);
  animation: nfcPulse 2.3s ease-out infinite;
}
.nfc-ring:nth-child(2) { animation-delay: .75s; border-color: rgba(212, 175, 55, .8); }
.nfc-ring:nth-child(3) { animation-delay: 1.5s; }
@keyframes nfcPulse {
  0%   { transform: scale(.25); opacity: 0; }
  18%  { opacity: .95; }
  100% { transform: scale(1.9); opacity: 0; }
}
.nfc-core {
  position: absolute;
  left: 50%; top: 50%;
  width: 9px; height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px var(--gold);
  animation: dotPulse 1.6s ease-in-out infinite;
}

/* ---- Telefono + mano ---- */
.phone-wrap {
  position: absolute;
  left: 60%;
  top: 46%;
  width: clamp(150px, 15.5vw, 205px);
  z-index: 3;
  transform: rotate(16deg);
}
.hand-svg {
  position: absolute;
  width: 178%;
  left: -40%;
  top: -10%;
  z-index: -1;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55));
}
.phone {
  position: relative;
  aspect-ratio: 9 / 19;
  border-radius: 16% / 8%;
  background: linear-gradient(160deg, #2A3450 0%, #10141F 55%, #1C2438 100%);
  border: 2px solid rgba(212, 175, 55, .42);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, .65),
    0 0 46px rgba(0, 240, 255, .09),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}
.phone-notch {
  position: absolute;
  top: 3.2%;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 2.6%;
  border-radius: 999px;
  background: #05070C;
  z-index: 3;
}
.phone-screen {
  position: absolute;
  inset: 3.2%;
  border-radius: 12% / 6%;
  overflow: hidden;
  background: #0A0E18;
}
.phone-wallpaper {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 55% at 50% 108%, rgba(0, 240, 255, .22), transparent 60%),
    radial-gradient(80% 45% at 82% -6%, rgba(212, 175, 55, .20), transparent 55%),
    linear-gradient(180deg, #0D1322, #080B13);
}
.phone-clock {
  position: absolute;
  top: 13%;
  left: 0; right: 0;
  text-align: center;
  z-index: 1;
}
.pc-time {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: .01em;
  color: rgba(237, 241, 248, .92);
}
.pc-date {
  display: block;
  margin-top: 3px;
  font-size: 8.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.thumb {
  position: absolute;
  right: -6%;
  bottom: 12%;
  width: 27%;
  aspect-ratio: 1 / 1.85;
  z-index: 4;
  border-radius: 55% 45% 50% 50% / 62% 58% 42% 38%;
  background: #1C2540;
  border: 1.4px solid rgba(212, 175, 55, .55);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .5);
  transform: rotate(10deg);
}
.phone-notification {
  position: absolute;
  left: 7%; right: 7%;
  top: 10%;
  z-index: 2;
  background: rgba(21, 27, 43, .92);
  border: 1px solid rgba(212, 175, 55, .4);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .55), 0 0 24px rgba(212, 175, 55, .18);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(-12px) scale(.85);
}
.pn-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: .04em;
}
.pn-g { width: 13px; height: 13px; }
.pn-title {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.25;
}
.pn-stars { margin-top: 3px; color: var(--gold); font-size: 12px; letter-spacing: 2.5px; }
.pn-sub { margin-top: 3px; font-size: 9px; color: var(--muted); }

/* ---- Portal cards (dock finale: flex row; GSAP le fa volare dal tap) ---- */
.portal-cards {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0 5vw 6vh;
}
.pcard {
  width: clamp(200px, 19vw, 260px);
  background: linear-gradient(165deg, rgba(26, 35, 56, .92), rgba(13, 17, 28, .95));
  border: 1px solid rgba(212, 175, 55, .28);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.pcard h3 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
}
.pcard p { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.pcard-stars { color: var(--gold) !important; font-size: 15px !important; letter-spacing: 3px; }
.pcard-tag {
  color: var(--cyan) !important;
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pcard-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, .08);
  border: 1px solid rgba(212, 175, 55, .3);
}
.pcard-icon svg { width: 22px; height: 22px; }
.pcard-icon-cyan { background: rgba(0, 240, 255, .07); border-color: rgba(0, 240, 255, .3); color: var(--cyan); }
.pcard-icon-gold { color: var(--gold); }

/* ---- Chiusura hero ---- */
.hero-final {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 9vh 5vw 12vh;
}
.hero-final h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.12;
  letter-spacing: -.02em;
}
.hero-final p {
  margin: 22px auto 0;
  max-width: 620px;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--muted);
}
.hero-final .btn-cta-lg { margin-top: 34px; }
.hero-final-note { font-size: 13px !important; margin-top: 18px !important; opacity: .8; }

/* ============================================================================
   MODALITA' ANIMATA (.anim-on): stage pinnato, tutto assoluto, GSAP guida
   ============================================================================ */
.anim-on .hero-stage {
  display: block;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
}
.anim-on #hero-fx {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
}
.anim-on .hero-headline {
  position: absolute;
  inset: 0 0 auto 0;
  padding-top: 12vh;
}
.anim-on .tap-scene {
  position: absolute;
  inset: 0;
  height: auto;
  min-height: 0;
  margin-top: 0;
}
.anim-on .portal-cards {
  position: absolute;
  inset: 0 0 auto 0;
  top: 9%;
  padding: 0 4vw;
  pointer-events: none;
}
.anim-on .pcard { opacity: 0; }
.anim-on .hero-final {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 5vw;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.anim-on .hero-final.is-live { pointer-events: auto; }

/* ==================== TRUST BAR ==================== */
.trust-bar {
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  padding: 36px 5vw;
  background: #0D1220;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(212, 175, 55, .5), transparent) 1;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}
.trust-item svg {
  width: 30px; height: 30px;
  flex: none;
  color: var(--gold);
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, .3));
}

/* ==================== SEZIONI (base) ==================== */
.section {
  position: relative;
  padding: 13vh 5vw;
  scroll-margin-top: 70px;
}
.section-head {
  max-width: 780px;
  margin: 0 auto 8vh;
  text-align: center;
}
.section-head h2 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 50px);
  line-height: 1.14;
  letter-spacing: -.02em;
}
.section-sub {
  margin: 20px auto 0;
  max-width: 620px;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.65;
  color: var(--muted);
}

/* Reveal on-scroll: attivo solo con JS (.js-reveal su <html>); no-JS: tutto visibile */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .8, .3, 1);
}
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==================== COME FUNZIONA ==================== */
.come-funziona {
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(0, 240, 255, .045), transparent 60%),
    var(--navy);
}
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1180px;
  margin: 0 auto;
  counter-reset: step;
}
.step {
  position: relative;
  background: linear-gradient(165deg, rgba(26, 35, 56, .75), rgba(13, 17, 28, .9));
  border: 1px solid rgba(212, 175, 55, .22);
  border-radius: 22px;
  padding: 34px 28px 30px;
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.step:hover {
  border-color: rgba(212, 175, 55, .55);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 40px rgba(212, 175, 55, .08);
}
.step::before { /* linea connettoria verso lo step successivo */
  content: "";
  position: absolute;
  top: 58px;
  left: calc(100% - 26px);
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, rgba(212, 175, 55, .6), rgba(0, 240, 255, .35));
}
.step:last-child::before { display: none; }
.step-num {
  position: absolute;
  top: 14px;
  right: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, .4);
  user-select: none;
}
.step-icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  background: rgba(0, 240, 255, .07);
  border: 1px solid rgba(0, 240, 255, .3);
  box-shadow: 0 0 24px rgba(0, 240, 255, .12);
}
.step-icon svg { width: 27px; height: 27px; }
.step h3 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -.01em;
}
.step p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.steps-note {
  max-width: 640px;
  margin: 7vh auto 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.steps-note strong { color: var(--gold-soft); font-weight: 600; }

/* ==================== ESPOSITORE REALE (hotspot) ==================== */
.espositore-section {
  background:
    radial-gradient(900px 600px at 12% 30%, rgba(212, 175, 55, .05), transparent 60%),
    var(--navy);
}
.esp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
  max-width: 1180px;
  margin: 0 auto;
}
.esp-photo {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}
.esp-photo img {
  display: block;
  width: 100%;
  border-radius: 22px;
  -webkit-mask-image: radial-gradient(ellipse 74% 70% at 50% 46%, #000 52%, transparent 88%);
  mask-image: radial-gradient(ellipse 74% 70% at 50% 46%, #000 52%, transparent 88%);
  filter: brightness(.95) drop-shadow(0 30px 70px rgba(0, 0, 0, .6)) drop-shadow(0 0 50px rgba(0, 240, 255, .08));
  user-select: none;
}
.esp-hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 3;
}
.esp-hotspot::before,
.esp-hotspot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 240, 255, .75);
  animation: nfcPulse 2.3s ease-out infinite;
}
.esp-hotspot::after { animation-delay: 1.15s; border-color: rgba(212, 175, 55, .75); }
.esp-hotspot-dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan), 0 0 4px #fff inset;
  border: 2px solid rgba(255, 255, 255, .85);
  transition: background .25s, box-shadow .25s, transform .25s;
}
.esp-hotspot:hover .esp-hotspot-dot,
.esp-hotspot.is-active .esp-hotspot-dot {
  background: var(--gold);
  box-shadow: 0 0 18px var(--gold);
  transform: scale(1.25);
}
.esp-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.esp-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(165deg, rgba(26, 35, 56, .6), rgba(13, 17, 28, .85));
  border: 1px solid rgba(147, 160, 184, .18);
  border-radius: 18px;
  padding: 20px 22px;
  transition: border-color .3s, background .3s, box-shadow .3s, transform .3s;
  scroll-margin-top: 90px;
}
.esp-detail-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: rgba(147, 160, 184, .08);
  border: 1px solid rgba(147, 160, 184, .25);
  transition: color .3s, border-color .3s, background .3s;
}
.esp-detail-icon svg { width: 23px; height: 23px; }
.esp-detail h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17.5px;
  letter-spacing: -.01em;
}
.esp-detail p {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.esp-detail.is-active {
  border-color: rgba(212, 175, 55, .6);
  background: linear-gradient(165deg, rgba(26, 35, 56, .9), rgba(13, 17, 28, .95));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45), 0 0 34px rgba(212, 175, 55, .1);
  transform: translateX(6px);
}
.esp-detail.is-active .esp-detail-icon {
  color: var(--gold);
  background: rgba(212, 175, 55, .1);
  border-color: rgba(212, 175, 55, .5);
}

/* ==================== UNIVERSO SOLUZIONI NFC ==================== */
.soluzioni-section {
  background:
    radial-gradient(1000px 550px at 88% 20%, rgba(0, 240, 255, .04), transparent 60%),
    radial-gradient(800px 500px at 8% 90%, rgba(212, 175, 55, .045), transparent 60%),
    var(--navy);
}
.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.sol-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, rgba(26, 35, 56, .75), rgba(13, 17, 28, .9));
  border: 1px solid rgba(0, 240, 255, .18);
  border-radius: 22px;
  padding: 30px 26px 26px;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.sol-card:hover {
  border-color: rgba(0, 240, 255, .5);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 40px rgba(0, 240, 255, .07);
}
.sol-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  background: rgba(0, 240, 255, .07);
  border: 1px solid rgba(0, 240, 255, .3);
}
.sol-icon svg { width: 26px; height: 26px; }
.sol-tag {
  margin-top: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.sol-card h3 {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -.01em;
}
.sol-card > p:not(.sol-tag) {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
}
.sol-cta {
  margin-top: 18px;
  align-self: flex-start;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, .35);
  padding-bottom: 2px;
  transition: color .25s, border-color .25s;
}
.sol-cta:hover { color: var(--gold); border-color: var(--gold); }

/* card "Su Misura": occupa 2 colonne, layout orizzontale, accento oro */
.sol-card-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  border-color: rgba(212, 175, 55, .35);
  background:
    radial-gradient(500px 200px at 90% 50%, rgba(212, 175, 55, .08), transparent 70%),
    linear-gradient(165deg, rgba(26, 35, 56, .8), rgba(13, 17, 28, .92));
}
.sol-card-wide:hover {
  border-color: rgba(212, 175, 55, .65);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 40px rgba(212, 175, 55, .1);
}
.sol-card-wide .sol-icon {
  color: var(--gold);
  background: rgba(212, 175, 55, .08);
  border-color: rgba(212, 175, 55, .4);
}
.sol-card-wide .sol-tag { margin-top: 0; }
.sol-wide-body { flex: 1; }
.sol-card-wide .sol-cta { margin-top: 0; flex: none; }
.sol-note {
  max-width: 620px;
  margin: 7vh auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ==================== PER CHI ==================== */
.per-chi-section {
  background:
    radial-gradient(900px 500px at 10% 15%, rgba(212, 175, 55, .045), transparent 60%),
    var(--navy);
}
.industries {
  list-style: none;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.industry {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 26px 30px;
  background: linear-gradient(165deg, rgba(26, 35, 56, .55), rgba(13, 17, 28, .8));
  border: 1px solid rgba(147, 160, 184, .16);
  border-radius: 20px;
  transition: border-color .3s, background .3s, transform .3s;
}
.industry:hover {
  border-color: rgba(212, 175, 55, .45);
  background: linear-gradient(165deg, rgba(26, 35, 56, .85), rgba(13, 17, 28, .92));
  transform: translateX(6px);
}
.industry-icon {
  flex: none;
  width: 54px; height: 54px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(212, 175, 55, .08);
  border: 1px solid rgba(212, 175, 55, .32);
  box-shadow: 0 0 24px rgba(212, 175, 55, .1);
}
.industry-icon svg { width: 28px; height: 28px; }
.industry-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -.01em;
}
.industry-kinds {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan);
}
.industry-body > p:last-child {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.per-chi-cta {
  margin: 7vh auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.per-chi-cta p {
  font-size: 16px;
  color: var(--muted);
}

/* ==================== METODO + I 15 MINUTI ==================== */
.metodo-section {
  background:
    radial-gradient(1000px 600px at 85% 30%, rgba(212, 175, 55, .05), transparent 60%),
    radial-gradient(700px 500px at 5% 85%, rgba(0, 240, 255, .04), transparent 60%),
    var(--navy);
}
.metodo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(30px, 4.5vw, 70px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}
.metodo-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.metodo-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 10px;
  position: relative;
}
.metodo-step:not(:last-child)::after { /* linea verticale connettoria */
  content: "";
  position: absolute;
  left: 29px;
  top: 66px;
  bottom: -8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(212, 175, 55, .45), rgba(212, 175, 55, .08));
}
.metodo-num {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--gold);
  background: rgba(212, 175, 55, .09);
  border: 1px solid rgba(212, 175, 55, .45);
  box-shadow: 0 0 20px rgba(212, 175, 55, .12);
}
.metodo-step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.01em;
}
.metodo-step p {
  margin-top: 7px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.meet-box {
  position: relative;
  background:
    radial-gradient(400px 220px at 85% 0%, rgba(212, 175, 55, .1), transparent 70%),
    linear-gradient(165deg, rgba(26, 35, 56, .9), rgba(13, 17, 28, .96));
  border: 1px solid rgba(212, 175, 55, .45);
  border-radius: 26px;
  padding: 38px 34px 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 60px rgba(212, 175, 55, .08);
  text-align: center;
}
.meet-box-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.meet-timeline {
  list-style: none;
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}
.meet-slot {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(147, 160, 184, .2);
}
.meet-slot:last-child { border-bottom: none; }
.meet-min {
  flex: none;
  width: 62px;
  padding: 6px 0;
  border-radius: 999px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--cyan);
  background: rgba(0, 240, 255, .07);
  border: 1px solid rgba(0, 240, 255, .3);
}
.meet-min-sym { font-size: 11px; }
.meet-slot h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
}
.meet-slot p {
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}
.meet-cta { margin-top: 28px; }
.meet-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  opacity: .85;
}

/* ==================== FOOTER ==================== */
.footer {
  background: #080B13;
  border-top: 1px solid rgba(255, 255, 255, .05);
}
.footer-cta {
  text-align: center;
  padding: 12vh 5vw 6vh;
}
.footer-cta .kicker { justify-content: center; display: inline-flex; }
.footer-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -.02em;
}
.footer-cta p {
  margin: 20px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.footer-actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 5vw;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom a { color: var(--gold); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-soft); }
.footer-links { display: flex; gap: 22px; }

/* ---- Griglia contatti: form + laterale ---- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 5vw 12vh;
}
.contact-form {
  margin-top: 0;
  background:
    radial-gradient(400px 200px at 85% 0%, rgba(212, 175, 55, .08), transparent 70%),
    linear-gradient(165deg, #1A2338, #0D111C);
  border: 1px solid rgba(212, 175, 55, .4);
  border-radius: 24px;
  padding: 34px 32px 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 50px rgba(212, 175, 55, .07);
}
.lc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-success {
  margin-top: 0;
  align-self: center;
}
.contact-side { padding-top: 6px; }
.contact-side h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -.01em;
}
.contact-mini-steps {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-mini-steps li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
.cms-num {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--gold);
  background: rgba(212, 175, 55, .09);
  border: 1px solid rgba(212, 175, 55, .4);
}
.contact-alt {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.contact-alt p {
  font-size: 14px;
  color: var(--muted);
}
.contact-side .footer-actions {
  margin-top: 16px;
  justify-content: flex-start;
}

/* ==================== MODALE LAVORA CON NOI + FORM LEAD ==================== */
.lcn-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 7, 12, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .3s ease;
}
.lcn-overlay.is-open { opacity: 1; }
.lcn-overlay[hidden] { display: none; }
.lcn-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  background:
    radial-gradient(400px 200px at 85% 0%, rgba(212, 175, 55, .08), transparent 70%),
    linear-gradient(165deg, #1A2338, #0D111C);
  border: 1px solid rgba(212, 175, 55, .4);
  border-radius: 24px;
  padding: 38px 34px 30px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .65), 0 0 60px rgba(212, 175, 55, .1);
  transform: translateY(18px) scale(.97);
  transition: transform .3s cubic-bezier(.22, .8, .3, 1);
}
.lcn-overlay.is-open .lcn-card { transform: none; }
.lcn-card .kicker { padding-right: 44px; } /* resta libera dalla X di chiusura */
.lcn-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(147, 160, 184, .3);
  background: rgba(21, 27, 43, .8);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .25s, border-color .25s;
}
.lcn-close:hover { color: var(--text); border-color: var(--gold); }
.lcn-close svg { width: 18px; height: 18px; }
.lcn-card h3 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -.02em;
}
.lcn-intro {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.lcn-points {
  list-style: none;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.lcn-points li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--text);
}
.lcn-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* Form lead (condiviso: modale partner + form contatti in footer) */
.lc-form { margin-top: 26px; }
.lc-field { margin-bottom: 16px; }
.lc-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.lc-optional { color: var(--muted); font-weight: 400; }
.lc-field input,
.lc-field textarea,
.lc-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text);
  background: rgba(11, 15, 25, .7);
  border: 1px solid rgba(147, 160, 184, .3);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.lc-field textarea { resize: vertical; min-height: 56px; }
.lc-field input:focus,
.lc-field textarea:focus,
.lc-field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .15);
}
.lc-field input::placeholder,
.lc-field textarea::placeholder { color: rgba(147, 160, 184, .55); }
.lc-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%2393A0B8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.lc-field select:invalid { color: rgba(147, 160, 184, .55); } /* placeholder option */
.lc-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 20px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.lc-privacy input {
  flex: none;
  width: 17px; height: 17px;
  margin-top: 1px;
  accent-color: var(--gold);
  cursor: pointer;
}
.lc-privacy a { color: var(--gold-soft); }
.lc-error {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #FF7A7A;
}
.lc-submit { width: 100%; border: none; cursor: pointer; }
.lc-submit:disabled { opacity: .6; cursor: wait; transform: none; }
.lc-note {
  margin-top: 14px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}
.lc-success {
  margin-top: 26px;
  text-align: center;
  padding: 30px 10px 6px;
}
.lc-success svg {
  width: 56px; height: 56px;
  color: var(--gold);
  filter: drop-shadow(0 0 18px rgba(212, 175, 55, .4));
}
.lc-success h4 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
}
.lc-success p {
  margin: 10px 0 22px;
  font-size: 14px;
  color: var(--muted);
}
body.lcn-lock { overflow: hidden; }

/* ==================== PAGINA PRIVACY ==================== */
.privacy-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 16vh 5vw 12vh;
}
.privacy-page h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -.02em;
}
.privacy-updated {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.privacy-page h2 {
  margin-top: 40px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--gold-soft);
}
.privacy-page p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.privacy-page p strong { color: var(--text); font-weight: 600; }
.privacy-page ul {
  margin: 12px 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.privacy-page a { color: var(--gold); }
.privacy-back { margin-top: 48px !important; text-align: center; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
  .topnav { padding: 13px 4.5vw; }
  .brand-text { font-size: 17px; }
  .nav-links { gap: 16px; }
  .nav-partner, .nav-link { display: none; } /* restano nel footer */
  .btn-cta { font-size: 13.5px; padding: 11px 19px; }

  .section { padding: 10vh 5vw; }
  .steps { grid-template-columns: 1fr; max-width: 540px; gap: 20px; }
  .step::before { display: none; }
  .step-num { font-size: 52px; }

  .esp-grid { grid-template-columns: 1fr; gap: 40px; }
  .esp-photo { max-width: 420px; }
  .esp-detail.is-active { transform: none; }

  .sol-grid { grid-template-columns: 1fr; max-width: 540px; }
  .sol-card-wide { grid-column: auto; flex-direction: column; align-items: flex-start; gap: 0; }
  .sol-card-wide .sol-tag { margin-top: 18px; }
  .sol-card-wide .sol-cta { margin-top: 18px; }

  .industry { gap: 16px; padding: 22px; }
  .industry:hover { transform: none; }
  .industry-icon { width: 46px; height: 46px; border-radius: 13px; }
  .industry-icon svg { width: 24px; height: 24px; }

  .metodo-grid { grid-template-columns: 1fr; gap: 44px; max-width: 560px; }
  .meet-box { padding: 30px 24px 26px; }

  .lcn-card { padding: 30px 24px 24px; }
  .lcn-card h3 { font-size: 25px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 10vh; max-width: 560px; }

  .hero-headline { padding-top: 13vh; }
  .tap-scene { height: 62vh; min-height: 470px; }
  .espositore-wrap { right: 2%; width: clamp(210px, 54vw, 330px); }
  .phone-wrap { left: 34%; top: 54%; width: clamp(128px, 33vw, 168px); }

  .anim-on .portal-cards { top: 5.5%; gap: 10px; }
  .anim-on .pcard { width: clamp(140px, 29vw, 190px); padding: 13px; border-radius: 14px; }
  .anim-on .pcard h3 { font-size: 13.5px; margin-top: 10px; }
  .anim-on .pcard p { font-size: 11px; }
  .anim-on .pcard-icon { width: 32px; height: 32px; border-radius: 9px; }
  .anim-on .pcard-icon svg { width: 17px; height: 17px; }

  .trust-bar { gap: 18px; padding: 28px 5vw; }
  .trust-item { font-size: 12.5px; }
  .trust-item svg { width: 24px; height: 24px; }
}

@media (max-width: 560px) {
  .hero-headline h1 { font-size: clamp(29px, 8.6vw, 40px); }
  .hero-sub { font-size: 14.5px; }
  .anim-on .hero-headline { padding-top: 11vh; }
  .tap-scene { min-height: 430px; }
  .espositore-wrap { right: -6%; bottom: 2%; width: clamp(200px, 62vw, 280px); }
  .phone-wrap { left: 22%; top: 56%; width: clamp(112px, 31vw, 140px); }
  .nfc-ring { width: 42px; height: 42px; margin: -21px 0 0 -21px; }

  .anim-on .portal-cards { top: 4.5%; }
  .anim-on .pcard p { display: none; } /* mobile: solo titoli nelle card volanti */
  .anim-on .pcard-stars, .anim-on .pcard-tag { display: block !important; }

  .footer-actions .btn-cta-lg { font-size: 15px; padding: 15px 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .lc-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 26px 20px 22px; }
}

/* ==================== ACCESSIBILITA': movimento ridotto ==================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nfc-ring, .nfc-core, .kicker-dot, .scroll-hint svg { animation: none; }
  .nfc-ring { opacity: .35; transform: scale(1); }
}
