/* ==========================================================================
   IMPACTA HUB x DIGITAM — FULLSCREEN 3D BOOK-OPENING SHOWCASE & RADIAL HERO
   ========================================================================== */

html.lv-html {
  scroll-snap-type: y mandatory !important;
  background: #05060c !important;
  scroll-behavior: auto !important;
}
@media (max-width: 1023.98px), (max-height: 599.98px) {
  html.lv-html {
    scroll-snap-type: y proximity !important;
  }
}
@media (max-width: 1023.98px) {
  html.lv-html {
    scroll-snap-type: none !important;
  }
}

body.lv-pagina {
  background: #05060c;
  color: #fff;
  overflow-x: clip;
}

/* Hero & Filtri snap */
body.lv-pagina .testimonianze-hero {
  scroll-snap-align: start;
  min-height: 82svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.lv-pagina .liquid-filter-container {
  position: relative;
  z-index: 35;
  padding: 12px 20px 28px;
  background: linear-gradient(180deg, rgba(5,6,12,0) 0%, #05060c 60%);
}

/* ==========================================================================
   1. SEZIONE .lv — QUADRI FULLSCREEN CON APERTURA A LIBRO / MACBOOK 3D
   ========================================================================== */
.lv {
  --gut: clamp(20px, 4vw, 60px);
  --m: clamp(6px, 0.75vw, 12px);
  --r: clamp(18px, 1.9vw, 30px);
  --mv: cubic-bezier(0.16, 1, 0.3, 1);
  --mono: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Plus Jakarta Sans', sans-serif;
  --font-hud: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Plus Jakarta Sans', sans-serif;
  position: relative;
  color: #fff;
  background: #05060c;
  width: 100%;
}

.lv-lista {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lv-p,
.lv-p.port-project {
  position: relative;
  display: flex;
  width: 100% !important;
  max-width: 100% !important;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--m) !important;
  margin: 0 !important;
  scroll-snap-align: start;
  box-sizing: border-box !important;
}
.lv-p[hidden],
.lv-p.port-project[hidden] {
  display: none !important;
}
@media (min-width: 1024px) and (min-height: 600px) {
  .lv-p,
  .lv-p.port-project {
    scroll-snap-stop: always;
  }
}

/* Sequential Stacking Context: ogni card successiva sale sopra la precedente */
.lv-p:nth-child(1) { z-index: 1; }
.lv-p:nth-child(2) { z-index: 2; }
.lv-p:nth-child(3) { z-index: 3; }
.lv-p:nth-child(4) { z-index: 4; }
.lv-p:nth-child(5) { z-index: 5; }
.lv-p:nth-child(6) { z-index: 6; }
.lv-p:nth-child(7) { z-index: 7; }
.lv-p:nth-child(8) { z-index: 8; }

.lv-quadro {
  position: relative;
  flex: 1;
  display: flex;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  border-radius: var(--r);
  overflow: hidden;
  isolation: isolate;
  background: #0b0d16;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform-origin: 50% 100%;
  will-change: transform, opacity;
  box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.7), 0 30px 60px -20px rgba(0, 0, 0, 0.9);
}

.lv-quadro::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 90%) 50% 0/100% 1px no-repeat;
}

.lv-quadro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #05060c;
  opacity: 0;
  pointer-events: none;
}

/* Aura Cromatica Digitam & Riflessi Speculari (Formula Originale Digitam) */
.lv-fondo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(58% 70% at 70% 45%, color-mix(in oklab, var(--c1) 82%, transparent), transparent 72%),
    radial-gradient(55% 62% at 100% 100%, color-mix(in oklab, var(--c2) 66%, transparent), transparent 72%),
    radial-gradient(58% 66% at 0% 0%, color-mix(in oklab, var(--c2) 44%, transparent), transparent 70%),
    linear-gradient(140deg, color-mix(in oklab, var(--c1) 40%, #05060c), color-mix(in oklab, var(--c2) 36%, #05060c) 68%, #07080f) !important;
}

@supports not (color: color-mix(in oklab, red, blue)) {
  .lv-fondo {
    background:
      radial-gradient(58% 70% at 70% 45%, var(--c1), transparent 72%),
      radial-gradient(55% 62% at 100% 100%, var(--c2), transparent 72%),
      linear-gradient(140deg, var(--c1), var(--c2) 68%, #07080f) !important;
  }
}

.lv-fondo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 6, 14, 0.62), rgba(4, 6, 14, 0.22) 38%, rgba(4, 6, 14, 0) 64%),
    linear-gradient(0deg, rgba(4, 6, 14, 0.45), rgba(4, 6, 14, 0) 28%);
}

.lv-fondo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.lv-luce {
  display: block !important;
  position: absolute;
  left: 47%;
  top: 8%;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.52;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--c1) 70%, #fff), rgba(255, 255, 255, 0));
  animation: lv-gira 16s ease-in-out infinite alternate;
}

@supports not (color: color-mix(in oklab, red, blue)) {
  .lv-luce {
    background: radial-gradient(closest-side, var(--c1), rgba(255, 255, 255, 0));
  }
}

.lv-corpo {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.45fr);
  column-gap: clamp(28px, 3.8vw, 64px);
  align-items: center;
  padding: clamp(120px, 15vh, 140px) var(--gut) clamp(95px, 12vh, 115px);
  box-sizing: border-box;
}

/* Colonna Testo (Copy Originale di Isabel 100% Intatto) */
.lv-testo {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.lv-num {
  margin: 0 0 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
}
.lv-num b {
  font-weight: 600;
  color: #fff;
}
.lv-num i {
  font-style: normal;
  margin: 0 0.45em;
  opacity: 0.4;
}

.lv-nome {
  margin: 0 0 6px;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(26px, min(3.2vw, 5.2vh), 44px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.28);
}
.lv-nome .ln {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.lv-nome .ln i {
  display: block;
  font-style: normal;
}

.lv-sottotitolo {
  display: block;
  margin-top: 4px;
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.85);
}

.lv-dove {
  margin: 8px 0 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4b375;
}

.lv-servizi {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 6px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.lv-servizi li {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lv-desc {
  margin: 10px 0 0;
  max-width: 48ch;
  font-size: clamp(12.5px, 0.84vw, 13.5px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  text-wrap: pretty;
}
.lv-desc strong.case-description-lead {
  color: #fff;
  font-weight: 600;
  display: inline;
}
.lv-desc span.case-description-detail {
  display: inline;
  margin-left: 4px;
}

/* Azioni e Bottoni */
.lv-az {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 14px;
}

.lv-btn-pri,
.lv-btn-sec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--mv), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.lv-btn-pri {
  background: #ffffff;
  color: #07080d;
  border: 1px solid #ffffff;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.5);
}
.lv-btn-pri:hover {
  transform: translateY(-2px);
  background: color-mix(in oklab, var(--c1) 22%, #fff);
}

.lv-btn-sec {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.lv-btn-sec:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

/* Bottone "La sfida e la soluzione" con icona + rotante */
.lv-piu {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.lv-piu:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
}
.lv-piu::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background:
    linear-gradient(#fff, #fff) center / 9px 1.5px no-repeat,
    linear-gradient(#fff, #fff) center / 1.5px 9px no-repeat;
  transition: transform 0.5s var(--mv), background-color 0.3s;
}
.lv-piu[aria-expanded="true"]::before {
  transform: rotate(45deg);
  background-color: rgba(255, 255, 255, 0.2);
}

/* Contenitore Sfida & Soluzione (nascosto a riposo, copiato nel cassetto .lv-vetro) */
.lv-dett {
  margin-top: 22px;
  display: none;
  gap: 16px;
  max-width: 60ch;
}
.lv-p.dett-aperto .lv-dett {
  display: grid;
}
.lv-dett h3,
.lv-vetro h3 {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--c1) 80%, #fff);
}
.lv-dett p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.86);
}

/* ==========================================================================
   PALCO 3D HARDWARE (MACBOOK CHE SI APRE A LIBRO + IPHONE IN PARALLASSE)
   ========================================================================== */
.lv-palco {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-width: 0;
  height: 100%;
  margin-right: 0 !important;
  container-type: size;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lv-scena {
  --gw: 65;
  --gh: 38.6;
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: calc(var(--gw) * 1em);
  height: calc(var(--gh) * 1em);
  translate: -50% -48%;
  font-size: min(calc(84cqw / var(--gw)), calc(74cqh / var(--gh))) !important;
  line-height: 1;
  color: inherit;
  perspective: 160em;
  -webkit-tap-highlight-color: transparent;
  outline: 0;
  cursor: pointer !important;
}

.lv-gruppo {
  position: absolute;
  inset: 0;
  display: block;
  transform: rotateY(calc(var(--px, 0) * 6deg)) rotateX(calc(var(--py, 0) * -4.5deg));
  transition: transform 0.9s var(--mv);
}

.lv-scena img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  -webkit-user-drag: none;
  user-select: none;
}

/* MacBook 3D con cerniera inferiore (transform-origin: 50% 100%) */
.lv-mac {
  position: absolute;
  left: 0;
  bottom: 2.4em;
  display: block;
  width: 60em;
  perspective: 110em;
  perspective-origin: 50% 0;
}

.lv-mac-lid {
  position: relative;
  display: block;
  width: 52em;
  margin: 0 auto;
  padding: 1.32em 1.32em 2.05em;
  border-radius: 2em 2em 0.6em 0.6em;
  transform-origin: 50% 100%;
  transform: rotateX(var(--lid-deg, 0deg));
  background: linear-gradient(180deg, #e4e7ec, #b4bac3 55%, #9aa1ab);
  box-shadow: 0 0 0 1px rgba(10, 14, 30, 0.3), 0 2em 3.6em -1.4em rgba(2, 6, 20, 0.7);
  will-change: transform;
}

.lv-mac-lid::before {
  content: "";
  position: absolute;
  inset: 0.2em;
  border-radius: 1.82em 1.82em 0.42em 0.42em;
  background: #07080c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.lv-mac-lid::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.5em;
  width: 0.36em;
  height: 0.36em;
  margin-left: -0.18em;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3a4258, #0b0e16 70%);
}

.lv-mac-vetro {
  position: relative;
  z-index: 1;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0.5em 0.5em 0.18em 0.18em;
  background: #0d1017;
}

.lv-mac-base {
  position: relative;
  display: block;
  height: 1.7em;
  margin-top: -0.08em;
  border-radius: 0.25em 0.25em 1.4em 1.4em / 0.25em 0.25em 1.15em 1.15em;
  background:
    linear-gradient(180deg, #1d2025, #3b3f47 0.24em, transparent 0.25em) 50% 0 / 86.6% 100% no-repeat,
    linear-gradient(180deg, transparent 0.25em, rgba(255,255,255,0.9) 0.3em, transparent 0.5em),
    linear-gradient(90deg, rgba(40,44,54,0.55), transparent 5% 95%, rgba(40,44,54,0.55)),
    linear-gradient(180deg, #f4f6f9, #e2e5ea 22%, #c6cbd2 50%, #a0a6af 80%, #6f757e);
  box-shadow: 0 0.1em 0.2em rgba(0, 0, 0, 0.3), inset 0 -0.12em 0.1em rgba(20, 24, 32, 0.35);
}

.lv-mac-base::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.22em;
  width: 9em;
  height: 0.52em;
  margin-left: -4.5em;
  border-radius: 0 0 0.7em 0.7em;
  background: linear-gradient(180deg, #8d939c, #bcc1c8);
}

.lv-mac-base::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 2%;
  right: 2%;
  top: 40%;
  height: 3.2em;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(2, 4, 12, 0.62), transparent);
}

/* iPhone 3D */
.lv-tel {
  position: absolute;
  z-index: 2;
  right: 1em;
  bottom: 0;
  display: block;
  width: 15em;
  transform: translateY(var(--tel-y, 0%)) rotate(var(--tel-rot, 0deg));
  transition: translate 0.8s var(--mv);
  will-change: transform;
}
.lv-mv .lv-scena:hover .lv-tel {
  translate: 0 -0.7em;
}

.lv-tel-in {
  position: relative;
  display: block;
  padding: 0.52em;
  border-radius: 2.6em;
  background: linear-gradient(145deg, #8e939c, #454951 14%, #24272d 48%, #40444c 84%, #83888f);
  box-shadow:
    inset 0 0 0 0.07em rgba(255, 255, 255, 0.3),
    0 0 0 1px rgba(8, 12, 30, 0.45),
    -1.6em 1.6em 3em -1.2em rgba(2, 6, 20, 0.55),
    0 2.6em 4.6em -1.8em rgba(2, 6, 20, 0.85);
}

.lv-tel-in::before {
  content: "";
  position: absolute;
  inset: 0.2em;
  border-radius: 2.42em;
  background: #040508;
}

.lv-tel-vetro {
  position: relative;
  z-index: 1;
  display: block;
  aspect-ratio: 390 / 844;
  overflow: hidden;
  border-radius: 2.1em;
  background: #0d1017;
}

.lv-mac-vetro::after,
.lv-tel-vetro::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(116deg, rgba(255, 255, 255, 0.1), transparent 36%);
}

.lv-mac-vetro::before,
.lv-tel-vetro::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0 -50%;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.26) 48%, rgba(255, 255, 255, 0.06), transparent 60%);
}

/* Cassetto in Vetro Smerigliato (.lv-vetro) per Sfida & Soluzione */
.lv-vetro {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: auto;
  max-height: calc(100% - 36px);
  z-index: 4;
  border-radius: clamp(14px, 1.3vw, 22px);
  overflow: hidden;
  background: rgba(6, 10, 26, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  backdrop-filter: blur(28px) saturate(150%);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08);
  visibility: hidden;
  opacity: 0;
  clip-path: inset(0 0 100% 0 round 22px);
  transition: clip-path 0.65s var(--mv), opacity 0.35s ease, visibility 0s linear 0.65s;
}

.lv-p.vetro-aperto .lv-vetro {
  visibility: visible;
  opacity: 1;
  clip-path: inset(0 0 0 0 round 22px);
  transition: clip-path 0.65s var(--mv), opacity 0.3s ease, visibility 0s;
}

.lv-vetro-corpo {
  height: auto;
  max-height: calc(100% - 36px);
  overflow-y: auto;
  padding: 24px 28px 26px 28px;
  padding-right: 58px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lv-vetro-corpo p {
  margin: 0;
  font-size: clamp(14px, 1vw, 15px);
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.9);
  text-wrap: pretty;
}

.lv-chiudi {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.5s var(--mv);
}
.lv-chiudi svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.lv-chiudi:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* ==========================================================================
   BARRA INDICE FISSA IN BASSO (.lv-piede) E CURSORE MAGNETICO (.lv-cursore)
   ========================================================================== */
.lv-piede,
.lv-cursore {
  display: none;
}

@media (min-width: 1024px) {
  .lv-piede {
    position: fixed !important;
    z-index: 35 !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(14px) !important;
    bottom: clamp(14px, 2.2vh, 22px) !important;
    width: min(1200px, calc(100% - 48px)) !important;
    display: flex !important;
    align-items: center !important;
    gap: clamp(16px, 2vw, 32px) !important;
    padding: 8px 22px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(8, 9, 14, 0.85) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.4s ease, transform 0.5s var(--mv) !important;
  }
  .lv.lv-attivo .lv-piede {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
  }
  .lv-piede::before {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, #d4b375, #ff5b16);
    transform-origin: 0 50%;
    transform: scaleX(var(--prog, 0.2));
    transition: transform 0.9s var(--mv);
  }
}

.lv-conta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  margin: 0;
}

.lv-hud-label {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: #d4b375 !important;
}

.lv-conta-c {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-variant-numeric: tabular-nums;
}
.lv-conta-c b {
  font-weight: 700;
  color: #fff;
}
.lv-conta-c i {
  font-style: normal;
  margin: 0 0.35em;
  opacity: 0.4;
}

.lv-indice {
  display: flex;
  gap: clamp(10px, 1.4vw, 22px);
  min-width: 0;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.lv-indice::-webkit-scrollbar {
  display: none;
}

.lv-indice a {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
  text-transform: none !important;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.3s ease;
}
.lv-indice a i {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-style: normal !important;
  font-weight: 600 !important;
  font-size: 10.5px !important;
  letter-spacing: 0.04em !important;
  color: #d4b375 !important;
  opacity: 0.85;
}
.lv-indice a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: #d4b375;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.4s var(--mv);
}
.lv-indice a:hover {
  color: rgba(255, 255, 255, 0.95);
}
.lv-indice a[aria-current="true"] {
  color: #ffffff !important;
  font-weight: 600 !important;
}
.lv-indice a[aria-current="true"]::after {
  transform: scaleX(1);
}

.lv-frecce {
  display: flex;
  gap: 8px;
  flex: none;
}

.lv-fr {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--mv);
}
.lv-fr svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lv-fr:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
}
.lv-fr:active {
  transform: scale(0.92);
}
.lv-fr[aria-disabled="true"] {
  opacity: 0.32;
  cursor: default;
}

.lv-mv.lv-invita .lv-fr[data-passo="1"] {
  animation: lv-onda 2.6s var(--mv) 1.6s infinite;
}
.lv-mv.lv-invita .lv-fr[data-passo="1"] svg {
  animation: lv-punta 2.6s var(--mv) 1.6s infinite;
}

/* Cursore Magnetico Digitam (pillola circolare bianca "Visita il sito ↗") */
.lv-cursore {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .lv-js .lv-scena {
    cursor: none !important;
  }
  .lv-js .lv-cursore {
    display: block !important;
    position: fixed !important;
    left: 0;
    top: 0;
    z-index: 9999 !important;
    width: 0;
    height: 0;
    pointer-events: none !important;
  }
  .lv-cursore > span {
    position: absolute;
    left: -54px;
    top: -54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #0a0a0a;
    text-align: center;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.55);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.45s var(--mv), opacity 0.25s ease;
  }
  .lv-cursore svg {
    display: block;
    width: 15px;
    height: 15px;
    margin: 4px auto 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .lv-sopra .lv-cursore > span {
    transform: scale(1);
    opacity: 1;
  }
}

/* Barra Filtri Flottante in Alto (.lv-filtri-top) — Haute Couture Liquid Dock */
.lv-filtri-top {
  position: fixed !important;
  top: clamp(94px, 12vh, 108px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 45 !important;
  display: flex !important;
  justify-content: center !important;
  pointer-events: none !important;
  width: auto !important;
  max-width: calc(100vw - 32px) !important;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.lv-filtri-top .liquid-filter-bar {
  pointer-events: auto !important;
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 4px 6px !important;
  border-radius: 9999px !important;
  background: rgba(6, 7, 12, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  backdrop-filter: blur(28px) saturate(190%) !important;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}
.lv-filtri-top .liquid-filter-bar::-webkit-scrollbar {
  display: none !important;
}

.lv-filtri-top .liquid-filter-btn {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase !important;
  padding: 7px 16px !important;
  border-radius: 9999px !important;
  color: rgba(255, 255, 255, 0.52) !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.lv-filtri-top .liquid-filter-btn:hover {
  color: rgba(255, 255, 255, 0.92) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
}

.lv-filtri-top .liquid-filter-btn.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(212, 179, 117, 0.16) 0%, rgba(212, 179, 117, 0.06) 100%) !important;
  border: 1px solid rgba(212, 179, 117, 0.38) !important;
  box-shadow: 0 2px 14px rgba(212, 179, 117, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.16) !important;
  font-weight: 600 !important;
  text-shadow: 0 0 12px rgba(212, 179, 117, 0.35) !important;
}

.lv-filtri-top .liquid-filter-btn.active::before {
  content: "" !important;
  display: inline-block !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: #d4b375 !important;
  box-shadow: 0 0 8px rgba(212, 179, 117, 0.9) !important;
  animation: lv-filtro-pulse 2.2s ease-in-out infinite !important;
}

@keyframes lv-filtro-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

@media (max-width: 767.98px) {
  .lv-filtri-top {
    top: 76px !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    pointer-events: auto !important;
  }
  .lv-filtri-top::-webkit-scrollbar {
    display: none !important;
  }
  .lv-filtri-top .liquid-filter-bar {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    width: auto !important;
    min-width: max-content !important;
    justify-content: flex-start !important;
    padding: 3px 5px !important;
    gap: 3px !important;
  }
  .lv-filtri-top .liquid-filter-btn {
    font-size: 9.5px !important;
    padding: 6px 12px !important;
    letter-spacing: 0.04em !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
}

@keyframes lv-onda {
  0% { box-shadow: 0 0 rgba(255, 255, 255, 0.45); border-color: rgba(255, 255, 255, 0.7); }
  70%, 100% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); }
}
@keyframes lv-punta {
  0%, 56%, 100% { translate: 0 0; }
  24% { translate: 0 4px; }
}


/* Transizioni testo e riflessi di luce */
.lv-mv .lv-p.in .lv-nome .ln i {
  transition: transform 1s var(--mv);
}
.lv-mv .lv-p.in .lv-nome .ln + .ln i {
  transition-delay: 0.07s;
}
.lv-mv .lv-p.in :is(.lv-num, .lv-sottotitolo, .lv-dove, .lv-desc, .lv-az) {
  transition: opacity 0.8s ease, transform 1s var(--mv);
}
.lv-mv .lv-p.in .lv-sottotitolo { transition-delay: 0.1s; }
.lv-mv .lv-p.in .lv-dove { transition-delay: 0.16s; }
.lv-mv .lv-p.in .lv-desc { transition-delay: 0.24s; }
.lv-mv .lv-p.in .lv-az { transition-delay: 0.32s; }

.lv-mv .lv-p:not(.in) .lv-nome .ln i {
  transform: translateY(112%);
}
.lv-mv .lv-p:not(.in) :is(.lv-num, .lv-sottotitolo, .lv-dove, .lv-desc, .lv-az) {
  opacity: 0;
  transform: translateY(18px);
}

.lv-mv .lv-p.lampo .lv-mac-vetro::before {
  animation: lv-lampo 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.05s;
}
.lv-mv .lv-p.lampo .lv-tel-vetro::before {
  animation: lv-lampo 1.3s cubic-bezier(0.4, 0, 0.2, 1) 0.35s;
}

.lv-mv .lv-tel-in {
  animation: lv-galleggia 6.5s ease-in-out infinite alternate paused;
}
.lv-mv .lv-luce {
  animation: lv-gira 16s ease-in-out infinite alternate paused;
}
.lv-mv .lv-p.vis .lv-tel-in,
.lv-mv .lv-p.vis .lv-luce {
  animation-play-state: running;
}

@keyframes lv-lampo {
  0% { opacity: 0; transform: translate(-30%); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(30%); }
}
@keyframes lv-galleggia {
  0% { translate: 0 -0.35em; }
  100% { translate: 0 0.35em; }
}
@keyframes lv-gira {
  0% { transform: translate(-8%, -5%) scale(1); }
  100% { transform: translate(6%, 7%) scale(1.14); }
}
/* ==========================================================================
   CSS SCROLL-DRIVEN ANIMATIONS (100% Nativo GPU / 120fps senza JavaScript)
   ========================================================================== */
@supports (animation-timeline: view()) {
  .lv-mv .lv-p {
    view-timeline: --lv-p block;
  }
  .lv-mv .lv-quadro {
    animation: lv-q-entra linear both;
    animation-timeline: --lv-p;
    animation-range: entry 0% entry 100%;
  }
  .lv-mv .lv-mac-lid {
    animation: lv-apre linear both;
    animation-timeline: --lv-p;
    animation-range: entry 38% entry 100%;
  }
  .lv-mv .lv-tel {
    animation: lv-tel-sale linear both;
    animation-timeline: --lv-p;
    animation-range: entry 50% entry 100%;
  }
  @media (min-width: 1024px) and (min-height: 600px) {
    .lv-mv .lv-quadro {
      animation: lv-q-entra linear both, lv-q-esce linear none;
      animation-timeline: --lv-p, --lv-p;
      animation-range: entry 0% entry 100%, exit 0% exit 100%;
    }
    .lv-mv .lv-quadro::before {
      animation: lv-q-velo linear none;
      animation-timeline: --lv-p;
      animation-range: exit 0% exit 100%;
    }
  }
}

@supports not (animation-timeline: view()) {
  .lv-mv .lv-mac-lid {
    transition: transform 1.4s var(--mv) 0.1s;
  }
  .lv-mv .lv-tel {
    transition: transform 1.3s var(--mv) 0.3s, opacity 0.8s ease 0.3s;
  }
  .lv-mv .lv-p:not(.in) .lv-mac-lid {
    transform: rotateX(-72deg);
  }
  .lv-mv .lv-p:not(.in) .lv-tel {
    transform: translateY(34%) rotate(-7deg);
    opacity: 0;
  }
}

@keyframes lv-q-entra {
  0% { scale: 0.93; }
}
@keyframes lv-q-esce {
  to { transform: scale(0.94); filter: brightness(0.65); }
}
@keyframes lv-q-velo {
  to { opacity: 0.62; }
}
@keyframes lv-apre {
  0% { transform: rotateX(-72deg); }
  100% { transform: rotateX(0deg); }
}
@keyframes lv-tel-sale {
  0% { transform: translateY(38%) rotate(-7deg); }
  100% { transform: translateY(0%) rotate(0deg); }
}

@media (max-width: 1023.98px) {
  .lv-p {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .lv-quadro {
    height: auto !important;
    min-height: auto !important;
  }
  .lv-corpo {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 24px !important;
    padding: 130px var(--gut) 60px !important;
    height: auto !important;
    min-height: auto !important;
  }
  .lv-testo {
    order: 1 !important;
    align-self: stretch !important;
  }
  .lv-palco {
    order: 2 !important;
    flex: none !important;
    align-self: stretch !important;
    margin-right: 0 !important;
    aspect-ratio: 65 / 40 !important;
    height: 280px !important;
    min-height: 240px !important;
    margin-top: 10px !important;
  }
  .lv-nome {
    font-size: clamp(30px, 8vw, 48px) !important;
  }
}

/* ==========================================================================
   2. SEZIONE .ss — PROGETTI A CERCHIO / RAGGIERA (PER DEMO & CONCEPT LAB)
   ========================================================================== */
.lavori-ambient-canvas {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  background:
    radial-gradient(75% 65% at 50% 25%, rgba(24, 36, 60, 0.35), transparent 70%),
    radial-gradient(85% 60% at 50% 85%, rgba(10, 16, 28, 0.45), transparent 70%),
    #040508;
}

.ss-sfa,
.sfa {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  background:
    radial-gradient(75% 65% at 50% 25%, rgba(24, 36, 60, 0.35), transparent 70%),
    radial-gradient(85% 60% at 50% 85%, rgba(10, 16, 28, 0.45), transparent 70%),
    #040508;
}

.lavori-ambient-canvas::after,
.ss-sfa::after,
.sfa::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 50% 50%, rgba(4, 5, 8, 0.72), rgba(4, 5, 8, 0.35) 65%, transparent);
  pointer-events: none;
}

.ss {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: radial-gradient(75% 65% at 50% 50%, #11255e 0%, #0d1c46 55%, #060e24 100%) !important;
  overflow: hidden;
  z-index: 2;
  padding: 60px 0;
}

.ss-fisso {
  position: relative;
  height: 100%;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background: transparent !important;
}

.ss-testo {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(840px, calc(100% - 48px));
  max-width: 840px;
  padding: 0;
  text-align: center;
  pointer-events: none;
  color: #fff;
  opacity: 1;
}

.ss-testo:before {
  content: "";
  position: absolute;
  inset: -60px -80px;
  z-index: -1;
  background: radial-gradient(70% 50% at 50% 50%, rgba(13, 28, 70, 0.75) 0%, rgba(8, 17, 43, 0.45) 50%, transparent 100%);
  border-radius: 999px;
  pointer-events: none;
}

.ss[data-stack] .ss-testo {
  opacity: 1;
}

.ss-testo > * {
  pointer-events: auto;
}

.ss-testo .ss-hud {
  font-family: var(--mono, ui-monospace, Menlo, monospace);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 4px;
  display: inline-block;
}

.ss-testo h1 {
  margin: 0;
  max-width: min(26ch, 64vw);
  font-size: clamp(32px, 3.8vw, 56px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
  color: #fff;
}

.ss-testo h1 br {
  display: block;
  content: "";
  margin-top: 0.12em;
}

.ss-testo h1 em {
  color: #9db4ff !important;
  -webkit-text-fill-color: #9db4ff !important;
  background: none !important;
  display: inline-block;
  font-style: italic;
  font-weight: 300;
  font-size: 0.88em;
  filter: none !important;
}

.ss-testo .ss-lead {
  margin: 4px 0 6px;
  max-width: min(46ch, 72vw);
  font-size: clamp(15px, 1.1vw, 17.5px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
  text-wrap: balance;
  letter-spacing: -0.01em;
}

.ss-testo .ss-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.ss-actions .lv-btn-pri,
.ss-actions .lv-btn-sec {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.ss-actions .lv-btn-pri:active,
.ss-actions .lv-btn-sec:active {
  transform: scale(0.96) !important;
}

.ss-actions .lv-btn-pri {
  background: #ffffff;
  color: #050508;
  border: 1px solid #ffffff;
  box-shadow: 0 8px 24px -6px rgba(255, 255, 255, 0.18), 0 16px 36px -10px rgba(0, 0, 0, 0.65);
}

.ss-actions .lv-btn-pri:hover {
  background: #f4f4f7;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -6px rgba(255, 255, 255, 0.28), 0 20px 42px -10px rgba(0, 0, 0, 0.75);
}

.ss-actions .lv-btn-sec {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.4);
}

.ss-actions .lv-btn-sec:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.55), 0 0 20px rgba(255, 255, 255, 0.08);
}

.ss-actions .lv-btn-arrow {
  display: inline-block;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.ss-actions .lv-btn-pri:hover .lv-btn-arrow,
.ss-actions .lv-btn-sec:hover .lv-btn-arrow {
  transform: translate(2.5px, -2.5px);
}

.ss-actions a[href^="#"]:hover .lv-btn-arrow {
  transform: translateY(3px);
}

.ss-palco {
  position: absolute;
  inset: 0;
  z-index: 10;
}

.ss-c {
  position: absolute;
  left: 50%;
  top: 50%;
  aspect-ratio: 3 / 2;
  will-change: transform;
  cursor: pointer;
  text-decoration: none;
}

.ss-c > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.06);
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.ss-c:hover {
  z-index: 25 !important;
}

.ss-c:hover > img {
  transform: scale(1.045);
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: 0 36px 72px -20px rgba(0, 0, 0, 0.95), 0 0 28px rgba(255, 255, 255, 0.1);
}

@media (max-width: 759.98px) {
  .ss.ss-nastri {
    height: auto;
    min-height: max(100svh, 580px);
  }
  .ss-nastri .ss-fisso {
    height: auto;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(18px, 3svh, 30px);
    padding: 88px 0 36px;
  }
  .ss-nastri .ss-palco {
    display: contents;
  }
  .ss-nastri .ss-testo {
    position: relative;
    left: auto;
    top: auto;
    translate: none !important;
    transform: none !important;
    width: 100%;
    margin-inline: auto;
    z-index: 15;
    order: 0;
    flex: none;
    gap: 14px;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .ss-nastri .ss-testo h1 {
    max-width: 24ch;
    margin-inline: auto;
    font-size: clamp(22px, 6vw, 30px);
    line-height: 1.15;
  }
  .ss-nastri .ss-testo .ss-actions {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }
  .ss-nastri .ss-testo .lv-btn-pri,
  .ss-nastri .ss-testo .lv-btn-sec {
    padding: 11px 18px;
    font-size: 13px;
  }
  .ss-nastro {
    position: relative;
    z-index: 10;
    flex: none;
    pointer-events: none;
    transform: rotate(-4deg) translateY(var(--ss-py, 0px));
  }
  .ss-nastro-a { order: -1; }
  .ss-nastro-b { order: 1; }
  .ss-nastro-in {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
  }
  .ss-nastro-b .ss-nastro-in {
    transform: translate(-50%);
  }
  .ss-nastri .ss-c {
    --ss-cw: clamp(150px, 42vw, 210px);
    position: relative;
    left: auto;
    top: auto;
    flex: none;
    width: calc(var(--ss-cw) * var(--k, 1));
    margin-right: 12px;
  }
  .ss-nastri.ss-scorre .ss-nastro-a .ss-nastro-in {
    animation: ss-sx var(--ss-dur, 24s) linear infinite;
  }
  .ss-nastri.ss-scorre .ss-nastro-b .ss-nastro-in {
    animation: ss-dx var(--ss-dur, 24s) linear infinite;
  }
  @keyframes ss-sx {
    0% { transform: translate(0); }
    100% { transform: translate(-50%); }
  }
  @keyframes ss-dx {
    0% { transform: translate(-50%); }
    100% { transform: translate(0); }
  }
}

/* ==========================================================================
   SLIDE FINALE CALL TO ACTION (.lv-fine) — STILE DIGITAM
   "Il prossimo lavoro può essere il tuo."
   ========================================================================== */
.lv-fine {
  position: relative;
  overflow: hidden;
}
.lv-fine .lv-fondo {
  background: 
    radial-gradient(65% 65% at 50% 50%, rgba(255, 91, 22, 0.05) 0%, rgba(20, 7, 2, 0.3) 50%, #030407 85%),
    linear-gradient(180deg, #040408 0%, #05060b 100%) !important;
}
.lv-fine .lv-fondo::before {
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.92) 100%) !important;
}
.lv-fine .lv-luce {
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(440px, 60vw) !important;
  height: min(440px, 60vw) !important;
  opacity: 0.06 !important;
  background: radial-gradient(circle, rgba(255, 91, 22, 0.28) 0%, rgba(255, 91, 22, 0) 70%) !important;
  animation: none !important;
  filter: blur(60px) !important;
}
.lv-fine .lv-quadro {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  min-height: 100% !important;
}
.lv-fine .lv-fine-corpo {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(96px, 13vh, 132px) var(--gut) clamp(92px, 12.5vh, 122px);
}
.lv-fine-hud {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.lv-fine-hud::before,
.lv-fine-hud::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .5;
}
.lv-fine-t {
  margin: 22px 0 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(38px, min(5.4vw, 9.4vh), 84px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.035em;
  color: #fff;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.85);
}
.lv-fine-t .ln {
  display: block;
  overflow: hidden;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}
.lv-fine-t .ln i {
  display: block;
  font-style: normal;
}
.lv-fine-t em {
  font-style: normal;
  color: #ff5b16;
  background: linear-gradient(135deg, #ff8a4c 0%, #ff5b16 55%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(255, 91, 22, 0.25));
}
.lv-fine-p {
  margin: 24px auto 0;
  max-width: 640px;
  font-size: clamp(16px, 1.8vw, 19.5px);
  line-height: 1.6;
  color: #e4e4e7;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}
.lv-fine-az {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.lv-fine-az .lv-btn-pri {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff !important;
  color: #080808 !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 14px 28px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, background 0.2s ease !important;
}
.lv-fine-az .lv-btn-pri:hover {
  transform: translateY(-2px) !important;
  background: #f0f0f2 !important;
  box-shadow: 0 16px 36px rgba(255, 255, 255, 0.22) !important;
}
.lv-fine-az .lv-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  padding: 14px 26px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.lv-fine-az .lv-btn-wa:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.36) !important;
  transform: translateY(-2px) !important;
}
.lv-fine-altri {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 32px);
  margin-top: 32px;
}
.lv-fine-altri a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.25s ease;
}
.lv-fine-altri a:hover {
  color: #ff5b16;
}
@media (max-width: 1023.98px) {
  .lv-fine .lv-fine-corpo {
    padding: clamp(84px, 11vh, 110px) var(--gut) 48px;
  }
}
@media (max-width: 767.98px) {
  .lv-fine .lv-fine-corpo {
    padding: clamp(104px, 14vh, 124px) 20px 60px;
  }
  .lv-fine-t {
    font-size: clamp(32px, 8.5vw, 42px);
  }
  .lv-fine-p {
    font-size: 15px;
  }
  .lv-fine-az {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
}

/* ==========================================================================
   DEMO & CONCEPT LAB — WORKING IN PROGRESS ARCHITECTURE
   ========================================================================== */
.lab-wip-section {
  position: relative;
  background: #06070b;
  color: #ffffff;
  padding: clamp(100px, 14vh, 160px) 24px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  isolation: isolate;
  text-align: center;
}

.lab-wip-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(300px, 60vw, 800px);
  height: clamp(200px, 35vh, 450px);
  background: radial-gradient(circle, rgba(255, 85, 0, 0.15) 0%, rgba(255, 85, 0, 0.03) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.lab-wip-container {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* ─── CONCEPT LAB CONSOLE / SCHERMATA INTERATTIVA ─── */
.lab-screen-wrapper {
  width: 100%;
  max-width: 1040px;
  margin: 40px auto 44px;
  background: rgba(14, 16, 24, 0.75);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 36px 90px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 60px rgba(255, 85, 0, 0.08);
  overflow: hidden;
  text-align: left;
}

.lab-screen-header {
  height: 48px;
  padding: 0 20px;
  background: rgba(20, 22, 32, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lab-screen-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lab-screen-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.lab-dot-r { background: #ff5f56; }
.lab-dot-y { background: #ffbd2e; }
.lab-dot-g { background: #27c93f; }

.lab-screen-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 14px;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace, -apple-system, sans-serif;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
}

.lab-screen-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace, -apple-system, sans-serif;
  font-size: 11px;
  color: #ff5500;
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid rgba(255, 85, 0, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.lab-screen-body {
  padding: 28px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .lab-screen-body {
    grid-template-columns: 1fr;
  }
}

.lab-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.lab-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 85, 0, 0.35);
  background: rgba(255, 85, 0, 0.03);
}

.lab-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.lab-card-num {
  font-family: 'JetBrains Mono', monospace, -apple-system, sans-serif;
  font-size: 11px;
  color: #ff5500;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.lab-card-tag {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
}

.lab-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.25;
}

.lab-card-desc {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin-bottom: 16px;
}

.lab-card-preview {
  background: #08090e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace, -apple-system, sans-serif;
  font-size: 11px;
  line-height: 1.6;
}

.lab-card-preview-row {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.55);
}
.lab-card-preview-val {
  color: #ffffff;
  font-weight: 600;
}
.lab-card-preview-val.accent {
  color: #ff5500;
}

.lab-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'JetBrains Mono', monospace, -apple-system, sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

.lab-status-online {
  color: #10b981;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.lab-status-online::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.lab-screen-bottom-bar {
  padding: 16px 24px;
  background: rgba(18, 20, 28, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.lab-bottom-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.lab-bottom-text strong {
  color: #ffffff;
}

.lab-bottom-action {
  font-size: 12.5px;
  font-weight: 600;
  color: #ff5500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, color 0.2s ease;
}
.lab-bottom-action:hover {
  color: #ff7733;
  transform: translateX(3px);
}

/* ─── RADAR / GYROSCOPE LOADER ─── */
.lab-loader-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lab-loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #ff5500;
  border-right-color: rgba(255, 85, 0, 0.4);
  box-shadow: 0 0 24px -2px rgba(255, 85, 0, 0.5);
  animation: labRingSpin 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.lab-loader-ring::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-bottom-color: #ffffff;
  border-left-color: rgba(255, 255, 255, 0.3);
  animation: labRingSpinRev 2.6s linear infinite;
}

@keyframes labRingSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes labRingSpinRev {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

.lab-loader-core {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(14, 15, 22, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.8);
}

.lab-loader-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 85, 0, 0.25);
  animation: labPulseBloom 2s ease-in-out infinite alternate;
}

@keyframes labPulseBloom {
  0% { transform: scale(0.85); opacity: 0.3; }
  100% { transform: scale(1.15); opacity: 0.7; }
}

.lab-loader-icon {
  position: relative;
  z-index: 2;
  animation: labIconBreathe 2s ease-in-out infinite;
}

@keyframes labIconBreathe {
  0%, 100% { transform: scale(0.92); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 0 10px rgba(255, 85, 0, 0.8)); }
}

/* ─── LIVE STATUS PILL ─── */
.lab-wip-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.lab-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5500;
  box-shadow: 0 0 10px #ff5500;
  animation: beaconPulse 1.6s ease-in-out infinite;
}

@keyframes beaconPulse {
  0% {
    transform: scale(0.92);
    box-shadow: 0 0 0 0 rgba(255, 85, 0, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 7px rgba(255, 85, 0, 0);
  }
  100% {
    transform: scale(0.92);
    box-shadow: 0 0 0 0 rgba(255, 85, 0, 0);
  }
}

.lab-status-text {
  font-family: 'JetBrains Mono', monospace, -apple-system, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f1f1f5;
}

/* ─── TYPOGRAPHY ─── */
.lab-wip-title {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0 0 20px;
}

.lab-wip-title em {
  font-style: italic;
  font-weight: 300;
  font-family: 'Playfair Display', Georgia, serif;
  color: #ff5500;
}

.lab-wip-desc {
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 58ch;
  margin: 0 0 36px;
  text-wrap: balance;
}

/* ─── HIGH-TECH LOADING BAR ─── */
.lab-progress-bar-wrap {
  width: 100%;
  max-width: 460px;
  margin-bottom: 36px;
}

.lab-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.lab-progress-fill {
  width: 88%;
  height: 100%;
  background: linear-gradient(90deg, #ff3300 0%, #ff5500 50%, #ffa200 100%);
  border-radius: 999px;
  position: relative;
  box-shadow: 0 0 16px rgba(255, 85, 0, 0.6);
  animation: progressPulse 2.8s ease-in-out infinite alternate;
}

@keyframes progressPulse {
  0% { width: 84%; filter: brightness(0.95); }
  100% { width: 92%; filter: brightness(1.25); box-shadow: 0 0 22px rgba(255, 85, 0, 0.85); }
}

.lab-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: 'JetBrains Mono', monospace, -apple-system, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.lab-progress-pct {
  color: #ff5500;
  font-weight: 700;
}

/* ─── TAGS ─── */
.lab-wip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.lab-tag {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 16px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.lab-tag:hover {
  color: #ffffff;
  border-color: rgba(255, 85, 0, 0.4);
  background: rgba(255, 85, 0, 0.08);
}

.lab-wip-cta {
  margin-top: 8px;
}
