

@font-face { font-family: "Sora"; src: url("fonts/sora-400.woff2") format("woff2"), url("fonts/sora-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Sora"; src: url("fonts/sora-500.woff2") format("woff2"), url("fonts/sora-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Sora"; src: url("fonts/sora-600.woff2") format("woff2"), url("fonts/sora-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Sora"; src: url("fonts/sora-700.woff2") format("woff2"), url("fonts/sora-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }

@font-face { font-family: "Sora Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); font-weight: 400 500; size-adjust: 114.7%; ascent-override: 84.6%; descent-override: 25.3%; line-gap-override: 0%; }
@font-face { font-family: "Sora Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"); font-weight: 600 700; size-adjust: 107.7%; ascent-override: 90.1%; descent-override: 26.9%; line-gap-override: 0%; }

:root {
  --bg: #080E10;
  --s1: #0E161A;
  --s2: #141D22;
  --ink: #E9E7E3;
  --mut: #8B969D;
  --red: #F42121;
  --red2: #F76C6C;
  --line: rgba(255,255,255,.12);
  --line2: rgba(255,255,255,.18);
  --r-card: 16px;
  --r-pill: 999px;
  --w: 1160px;
  --gap: clamp(72px, 10vw, 128px);
  --top-h: 56px;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Sora", "Sora Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-transform: none; letter-spacing: -.01em; line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(28px, 4.2vw, 54px); }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
h3 { font-size: 20px; }
.mut { color: var(--mut); }
.hidden, [hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }


:focus-visible { outline: 2px solid var(--red2); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline-offset: 4px; border-radius: var(--r-pill); }

.carosello .tile.finto-fuoco { outline: 2px solid var(--red2); outline-offset: 3px; border-radius: 6px; }
.step:focus, .step:focus-visible { outline: none; }

html { scroll-padding-top: calc(var(--top-h) + 8px); }


.grana {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("img/generate/sys-grana-256.png");
  background-repeat: repeat; background-size: 256px 256px;
  opacity: .05;
}


.wrap { position: relative; z-index: 2; width: min(var(--w), 100% - 48px); margin-inline: auto; }
.sec { position: relative; padding-block: var(--gap); isolation: isolate; }
.sec.surface { background: var(--s1); }
.sec-head { max-width: 800px; margin-inline: auto; text-align: center; }
.sec-head p { margin-top: 18px; color: var(--mut); font-size: 17px; }
.eyebrow {
  display: block; margin-bottom: 14px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mut);
}
.center { text-align: center; }
.sec-cta { position: relative; z-index: 2; margin-top: 40px; text-align: center; }
.sec-cta .micro { margin-top: 14px; font-size: 14px; color: var(--mut); }


.bgfoto { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bgfoto img, .bgfoto video { width: 100%; height: 100%; object-fit: cover; }

.bgfoto::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 40%, rgba(8,14,16,.80) 0%, rgba(8,14,16,.55) 45%, rgba(8,14,16,.35) 100%),
    linear-gradient(180deg, rgba(8,14,16,.45) 0%, rgba(8,14,16,.78) 60%, #080E10 100%);
}

.alone {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 38%), rgba(244,33,33,.12), transparent 70%);
}


.sep {
  position: relative; height: clamp(120px, 14vw, 200px); overflow: hidden;
  background-image: url("img/generate/sys-separatore.jpg");
  background-size: cover; background-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.sep::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #080E10 0%, rgba(8,14,16,.35) 50%, #080E10 100%);
}


.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  border-radius: var(--r-pill);
  background: var(--red); color: #fff;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .18s var(--ease), background .18s;
  white-space: nowrap;
}
.btn:hover { filter: brightness(.9); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-main { box-shadow: 0 10px 30px rgba(244,33,33,.35); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.icon-btn {
  width: 44px; height: 44px; flex: 0 0 44px; min-width: 44px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line2); color: var(--ink); background: var(--s2);
  transition: border-color .18s, color .18s;
}
.icon-btn:hover { border-color: var(--red2); color: var(--red2); }
.icon-btn svg { width: 18px; height: 18px; }


.top {
  position: sticky; top: 0; z-index: 50;
  height: var(--top-h);
  background: rgba(8,14,16,.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand img { height: 24px; width: auto; }
.brand span { font-weight: 600; font-size: 17px; color: #fff; letter-spacing: -.01em; }
.top .cta-long { display: inline-flex; }
.top .cta-short { display: none; }


.tile {
  position: relative; overflow: hidden;
  aspect-ratio: 9 / 16; border-radius: var(--r-card);
  background: var(--s2);
  border: 1px solid var(--line);
  width: 100%; padding: 0; text-align: left;
}
.tile video, .tile img { width: 100%; height: 100%; object-fit: cover; }
.tile video { position: absolute; inset: 0; }
.tile .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(8,14,16,.6); border: 1px solid rgba(255,255,255,.5);
  display: none; align-items: center; justify-content: center;
}
.tile .play svg { width: 16px; height: 16px; fill: #fff; margin-left: 2px; }


video::-webkit-media-controls, video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-overlay-play-button, video::-webkit-media-controls-panel { display: none !important; -webkit-appearance: none; opacity: 0 !important; pointer-events: none !important; }
.vgif { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease); }
.vgif.on { opacity: 1; }
.vgif[hidden] { display: none; }

.tile.client { border-color: rgba(255,255,255,.22); }
.tile.bs { border-radius: 12px; border-color: rgba(244,33,33,.3); }


.brandmark, .tile .brandmark {
  position: absolute; left: 10px; bottom: 9px; z-index: 2;
  height: 18px; width: auto; max-width: 62%;
  object-fit: contain; object-position: left bottom;
  opacity: .38; transition: opacity .2s var(--ease);
}
.tile.on .brandmark, .tile:hover .brandmark { opacity: .55; }
.brandveil {
  position: absolute; left: 0; right: 0; bottom: 0; height: 40px; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(8,14,16,.9), rgba(8,14,16,0));
}


#hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(40px, 6vw, 72px); overflow: hidden; }
#hero .bgfoto video, #hero .bgfoto img { filter: saturate(.85); opacity: .6; }
#hero .bgfoto .v916 { display: none; }

#hero .bgfoto::after {
  background:
    linear-gradient(90deg, rgba(8,14,16,.94) 0%, rgba(8,14,16,.82) 45%, rgba(8,14,16,.35) 100%),
    linear-gradient(180deg, rgba(8,14,16,.2) 0%, rgba(8,14,16,.95) 100%);
}

.hero-glow {
  position: absolute; z-index: 1; pointer-events: none;
  left: -10%; bottom: -30%; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px;
  background: radial-gradient(closest-side, rgba(244,33,33,.22), transparent 70%);
}
.hv { display: none; }
html[data-hero="A"] .hv[data-hero="A"],
html[data-hero="B"] .hv[data-hero="B"],
html[data-hero="C"] .hv[data-hero="C"],
html:not([data-hero]) .hv[data-hero="A"] { display: block; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-txt { text-align: left; }

.hero-txt h1.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; line-height: 1.15; }
.hero-txt .hero-title { font-weight: 700; font-size: clamp(30px, 4.4vw, 58px); line-height: 1.08; letter-spacing: -.02em; }
.hero-txt .hero-title .k { color: var(--red); }
.hero-txt .lead { margin-top: 20px; font-size: clamp(16px, 1.5vw, 19px); font-weight: 400; line-height: 1.5; letter-spacing: 0; color: var(--ink); max-width: 56ch; }
.hero-txt .cta { margin-top: 30px; }
.hero-txt .micro { margin-top: 12px; font-size: 14px; color: var(--mut); }
.proof { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px; margin-top: 28px; list-style: none; padding: 0; }
.proof li {
  font-size: 13.5px; color: var(--ink);
  border: 1px solid var(--line2); border-radius: var(--r-pill);
  background: rgba(8,14,16,.45);
  padding: 8px 14px; min-height: 36px; display: inline-flex; align-items: center; gap: 8px;
}
.proof li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; }


.hero-phones { position: relative; z-index: 2; }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; padding-top: 6px; }
.phones .tile.phone {
  border-radius: 22px; border-color: rgba(255,255,255,.22);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
  transition: transform .25s var(--ease);
}
.phones .tile.phone:nth-child(1) { transform: translateY(28px) rotate(-3deg); }
.phones .tile.phone:nth-child(3) { transform: translateY(28px) rotate(3deg); }
.phones .tile.phone:nth-child(2) { z-index: 2; }
.phones .tile.phone:hover, .phones .tile.phone:focus-visible { transform: translateY(0) rotate(0) scale(1.03); z-index: 3; }
.phones .brandmark { height: 16px; left: 10px; bottom: 9px; }
.phones-note { margin-top: 40px; text-align: center; font-size: 13.5px; color: var(--mut); }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 28px 56px; align-items: center; }
  .hero-txt { grid-column: 1; grid-row: 1; align-self: end; }
  
  
  .hero-grid > .proof {
    grid-column: 1; grid-row: 2; margin-top: 0; align-self: start; min-width: 0;
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-rows: repeat(2, auto);
    grid-auto-flow: column; justify-content: start;
  }
  .hero-grid > .proof li { justify-self: start; align-self: start; font-size: 13px; padding: 8px 12px; }
  .hero-phones { grid-column: 2; grid-row: 1 / span 2; }
}


.work-micro { margin-top: 22px; text-align: center; font-size: 13.5px; color: var(--mut); }


.carosello-outer { position: relative; z-index: 2; margin-top: 14px; }
.carosello {
  position: relative; overflow: hidden; overflow: clip; 
  width: 100vw; margin-left: calc(50% - 50vw);
  padding-block: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.carosello__nastro { display: flex; gap: 14px; will-change: transform; }
.carosello .tile {
  width: 200px; height: 356px; flex: none;
  transform: scale(.84); opacity: .55;
  transition: transform .28s var(--ease), opacity .28s var(--ease), border-color .28s;
}
.carosello .tile.on { transform: scale(1); opacity: 1; border-color: rgba(255,255,255,.34); }
.carosello__frecce {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: clamp(8px, 3vw, 40px);
}
.carosello__frecce .icon-btn { pointer-events: auto; background: rgba(8,14,16,.72); }
.work-line { margin-top: 26px; text-align: center; color: var(--mut); font-size: 15.5px; max-width: 700px; margin-inline: auto; }


.logos-title { margin-top: clamp(40px, 5vw, 64px); text-align: center; font-size: 14px; color: var(--mut); }
.campo {
  position: relative; z-index: 2; height: 420px; margin-top: 10px; overflow: hidden;
  border-radius: var(--r-card);
}
.piano { position: absolute; inset: 0; }

.campo .lg {
  position: absolute; left: 0; top: 0; height: 34px; width: auto; max-width: 140px; object-fit: contain;
  transform-origin: center; pointer-events: auto; will-change: transform;
  transition: opacity .16s var(--ease), filter .16s var(--ease);
}
.piano-1 .lg { opacity: .55; }
.piano-2 .lg { opacity: .36; }
.piano-3 .lg { opacity: .22; }
.campo .lg:hover { opacity: 1 !important; }


.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 24px; margin-top: 34px; position: relative; z-index: 2; }
.flip { perspective: 1400px; height: 440px; }
.fcard { display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.flip > .fcard { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transition: transform .5s var(--ease); border-radius: var(--r-card); text-align: left; }
.flip > .fcard[aria-pressed="true"] { transform: rotateY(180deg); }

.face.front { visibility: visible; transition: visibility 0s linear .25s; }
.face.back { visibility: hidden; transition: visibility 0s linear .25s; }
.flip > .fcard[aria-pressed="true"] .face.front { visibility: hidden; }
.flip > .fcard[aria-pressed="true"] .face.back { visibility: visible; }
.face {
  position: absolute; inset: 0; border-radius: var(--r-card); overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border: 1px solid rgba(244,33,33,.3); background: var(--s2);
}
.face.front video, .face.front img { width: 100%; height: 100%; object-fit: cover; }
.face.front video { position: absolute; inset: 0; }
.face.front video.zoom-veronica { transform: scale(1.5); transform-origin: 58% 30%; }
.face.front .play { display: none; }
.face.front .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; z-index: 2;
  background: linear-gradient(to top, rgba(8,14,16,.92), rgba(8,14,16,0));
}
.face.front .cap b { display: block; font-size: 18px; font-weight: 600; }
.face.front .cap span { display: block; font-size: 13.5px; color: var(--mut); margin-top: 2px; }
.face.front .hint { position: absolute; top: 12px; right: 12px; z-index: 2; font-size: 12px; color: var(--ink); background: rgba(8,14,16,.6); border: 1px solid var(--line2); border-radius: var(--r-pill); padding: 5px 10px; }
.face.back { transform: rotateY(180deg); }

.face.back .back-scroll {
  position: absolute; inset: 0; padding: 22px; display: flex; flex-direction: column; gap: 10px;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; scrollbar-width: none;
}
.face.back .back-scroll::-webkit-scrollbar { display: none; }
.fcard:not([aria-pressed="true"]) .back-scroll { pointer-events: none; }
.face.back::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 44px; z-index: 1; background: linear-gradient(to top, var(--s2) 25%, rgba(20,29,34,0)); pointer-events: none; opacity: 0; transition: opacity .2s; }
.face.back.more::after { opacity: 1; }
.face.back b { font-size: 20px; font-weight: 600; }
.face.back .tag { color: var(--red2); font-size: 14px; font-weight: 500; }
.face.back p { font-size: 15px; color: var(--ink); line-height: 1.5; }
.face.back .origin { margin-top: auto; font-size: 12.5px; color: var(--mut); }
.team-line { margin-top: 26px; text-align: center; color: var(--mut); font-size: 15.5px; max-width: 680px; margin-inline: auto; }
.team-sign { margin-top: 12px; text-align: center; color: var(--ink); font-size: 14.5px; font-weight: 500; }



.metodo { position: relative; z-index: 2; margin-top: clamp(56px, 7vw, 96px); }
.metodo .sec-head h3 { font-weight: 700; font-size: clamp(24px, 3vw, 38px); line-height: 1.12; letter-spacing: -.02em; }
.metodo-grid {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  counter-reset: metodo;
}
.metodo-grid li {
  background: var(--s2); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 24px 22px; display: flex; flex-direction: column; gap: 10px;
}
.metodo-n { color: var(--red); font-weight: 700; font-size: 34px; line-height: 1; }
.metodo-grid h4 { font-size: 19px; font-weight: 600; color: #fff; line-height: 1.25; margin-top: 4px; }
.metodo-sub { color: var(--red2); font-size: 14.5px; font-weight: 500; }
.metodo-grid li > p:last-child { color: var(--mut); font-size: 15px; line-height: 1.55; }
.metodo-close { margin-top: 32px; text-align: center; color: var(--ink); font-size: 16px; max-width: 680px; margin-inline: auto; }
.metodo-cta { margin-top: 18px; text-align: center; }


.totop {
  position: fixed; right: 20px; bottom: 20px; z-index: 45;
  background: rgba(20,29,34,.92); box-shadow: 0 8px 24px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), border-color .18s, color .18s;
}
.totop.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.totop[hidden] { display: none; }
body.has-sticky .totop { bottom: 80px; }

.mosaico-title { margin-top: clamp(36px, 4.5vw, 56px); text-align: center; font-size: 14px; color: var(--mut); }
.mosaico {
  position: relative; z-index: 2; margin-top: 14px;
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 200px; gap: 10px; height: 410px;
}
.mos {
  position: relative; overflow: hidden; border-radius: 12px;
  border: 1px solid rgba(244,33,33,.28); background: var(--s2); padding: 0;
  transition: border-color .2s, transform .2s var(--ease);
}
.mos img { width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: opacity .3s var(--ease); }
.mos.on { border-color: rgba(244,33,33,.7); }
.mos.on img { opacity: 0; }
.mos:hover { transform: translateY(-2px); }
.mos .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(8,14,16,.6); border: 1px solid rgba(255,255,255,.5); display: none; align-items: center; justify-content: center; }
.mos .play svg { width: 16px; height: 16px; fill: #fff; margin-left: 2px; }
.mos--big { grid-column: span 4; grid-row: span 2; }
.mos--sm { grid-column: span 2; grid-row: span 1; }
#mos-live {
  position: absolute; z-index: 3; border-radius: 12px; overflow: hidden; pointer-events: none;
  opacity: 0; transition: opacity .3s var(--ease);
}
#mos-live.on { opacity: 1; }
#mos-live video { width: 100%; height: 100%; object-fit: cover; }


.stack { margin-top: clamp(36px, 4vw, 56px); position: relative; z-index: 2; }
.step {
  position: sticky; min-height: 58vh; margin-bottom: 22px;
  background: var(--s2); border: 1px solid var(--line); border-radius: var(--r-card);
  display: grid; grid-template-columns: 1.25fr 1fr; overflow: hidden;
  transition: border-color .25s;
}
.step-body { padding: clamp(22px, 3vw, 42px); display: flex; flex-direction: column; gap: 12px; }
.step-n { color: var(--red); font-weight: 700; font-size: clamp(36px, 4.4vw, 64px); line-height: 1; }
.step-body h3 { font-size: clamp(21px, 2.1vw, 29px); }
.step-sub { color: var(--red2); font-size: 14.5px; font-weight: 500; margin-top: -4px; }
.step-body p { color: var(--ink); font-size: 16px; }
.step-go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; align-self: flex-start; color: var(--mut); font-size: 14px; transition: color .18s; }
.step-go:hover { color: var(--ink); }
.step-go .arrow {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  border: 1px solid var(--line2); display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .18s, transform .18s var(--ease);
}
.step-go:hover .arrow { border-color: var(--red); transform: translateY(2px); }
.step-go svg { width: 16px; height: 16px; }
.step-media { position: relative; background: var(--bg); }
.step-media video, .step-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.step-media video[data-video="peter-chiamata"], .step-media video[data-video="rtb-bs-3"], .step-media img[src$="passo-2-vero.jpg"] { object-position: 50% 0; }
.step .veil { position: absolute; inset: 0; background: rgba(8,14,16,.5); opacity: 0; pointer-events: none; transition: opacity .2s; }
.step.covered .veil { opacity: 1; }
.process-line { margin-top: 34px; text-align: center; color: var(--mut); font-size: 15.5px; max-width: 700px; margin-inline: auto; position: relative; z-index: 2; }


.price-intro { max-width: 700px; margin: 0 auto; text-align: center; color: var(--ink); font-size: 17px; position: relative; z-index: 2; }
.price { position: relative; z-index: 2; text-align: center; margin-top: clamp(24px, 3vw, 36px); line-height: 1; }
.price .from { display: block; font-size: 14px; color: var(--mut); margin-bottom: 8px; }
.price .cur, .price .per { font-size: clamp(16px, 1.6vw, 22px); color: var(--mut); font-weight: 500; }
.price .num { font-size: clamp(56px, 9vw, 112px); font-weight: 700; color: var(--red); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price .dec { font-size: clamp(24px, 3.4vw, 42px); font-weight: 700; color: var(--red); letter-spacing: -.02em; }
.price-note { position: relative; z-index: 2; text-align: center; font-size: 15px; color: var(--ink); margin-top: 12px; font-weight: 500; }
.price .zero { display: inline-block; }

.price-hang { position: relative; z-index: 3; text-align: center; margin-top: 12px; }
.price-tag { display: inline-block; font-size: 15px; font-weight: 500; color: var(--ink); }
.price-tag .eyelet, .hang-string { display: none; }
.price-hang.ready { position: absolute; left: 0; top: 0; width: 0; height: 0; margin: 0; text-align: left; pointer-events: none; transform-origin: 0 0; will-change: transform; }
.price-hang.ready .hang-string { display: block; position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: visible; }

.hang-back { display: none; }
.hang-back.ready { display: block; position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: visible; z-index: 1; pointer-events: none; will-change: transform; }
.price-hang.ready .hang-string path, .hang-back.ready path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.price-hang.ready .hang-string .cord-shadow path { stroke: rgba(0,0,0,.55); }
.price-hang.ready .hang-string .cord-edge, .hang-back.ready .cord-edge { stroke: #8A7D68; }
.price-hang.ready .hang-string .cord-edge.is-back, .hang-back.ready .cord-edge.is-back { stroke: #6B5F4F; }
.price-hang.ready .hang-string .cord-core, .hang-back.ready .cord-core { stroke: #EDE4D4; }
.price-hang.ready .hang-string .cord-core.is-back, .hang-back.ready .cord-core.is-back { stroke: #B3A690; }
.price-hang.ready .hang-string .cord-hi { stroke: rgba(255,253,247,.85); }
.price-hang.ready .hang-string .cord-dip { stroke: #574D41; stroke-linecap: butt; }
.price-hang.ready .price-tag {
  position: absolute; left: 0; top: 0; display: block; width: max-content; max-width: var(--tagW, 190px);
  padding: 7px 11px 7px 24px; font-size: 12.5px; line-height: 1.3; font-weight: 600; color: #11181C;
  background: #F3EFE7; border-radius: 3px 7px 7px 3px;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
  transform-origin: var(--eyeX, 14px) calc(100% - var(--eyeB, 10px)); transform: rotate(var(--tilt, -6deg));
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.6);
}
.price-hang.ready .price-tag .eyelet { display: block; position: absolute; left: 10px; bottom: var(--eyeB, 10px); width: 7px; height: 7px; margin-bottom: -3.5px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 1.5px rgba(17,24,28,.35); }  
.price-txt { position: relative; z-index: 2; max-width: 720px; margin: 26px auto 0; text-align: center; font-size: 17px; color: var(--mut); }


.qrow { position: relative; z-index: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.qpill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 6px 16px;
  border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.22); background: var(--s2);
  color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.25; text-align: left;
  transition: border-color .18s, background .18s, color .18s;
}
.qpill::after { content: "+"; color: var(--red); font-weight: 600; font-size: 18px; line-height: 1; }
.qpill:hover { border-color: var(--red); background: #1A2429; }
.qpill[aria-expanded="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.qpill[aria-expanded="true"]::after { content: "×"; color: #fff; }
.qpill.pulsa { animation: pulsa-bordo .6s var(--ease) 1; }
@keyframes pulsa-bordo { 0%, 100% { border-color: rgba(255,255,255,.22); } 50% { border-color: var(--red); } }
.qbox {
  position: relative; z-index: 3; max-width: 720px; margin: 14px auto 0;
  background: var(--s2); border: 1px solid var(--red); border-radius: var(--r-card);
  padding: 18px 52px 18px 18px; text-align: left; font-size: 15.5px; color: var(--ink);
}
.qbox[hidden] { display: none; }
.qbox b { display: block; margin-bottom: 6px; font-weight: 600; }
.qbox .x { position: absolute; top: 8px; right: 8px; }


.contratto { position: relative; z-index: 2; max-width: 900px; margin: clamp(32px, 4vw, 48px) auto 0; }
.contratto h3 { text-align: center; font-size: 19px; }
.contratto ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.contratto li {
  background: rgba(20,29,34,.82); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 18px; display: flex; flex-direction: column; gap: 8px;
}
.contratto li b { font-size: 16px; font-weight: 600; }
.contratto li span { font-size: 14.5px; color: var(--mut); }
.contratto li::before { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }


#included .fascia {
  position: absolute; left: 0; right: 0; top: 0; height: 240px; z-index: 0; overflow: hidden; pointer-events: none;
}
#included .fascia img { width: 100%; height: 100%; object-fit: cover; }
#included .fascia::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,14,16,.55) 0%, rgba(8,14,16,.85) 55%, #080E10 100%);
}
.bento { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(28px, 3vw, 44px); }
.cell {
  position: relative; aspect-ratio: 1; overflow: hidden;
  background: var(--s2); border: 1px solid var(--line); border-radius: var(--r-card);
  text-align: left; transition: border-color .2s, opacity .3s;
}
.cell .foto { position: absolute; inset: 0; z-index: 0; transition: opacity .22s var(--ease); }
.cell .foto img { width: 100%; height: 100%; object-fit: cover; }
.cell .foto::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,14,16,.88) 0%, rgba(8,14,16,.45) 34%, rgba(8,14,16,0) 62%);
}

.cell .foto.simbolo { background: var(--s2); display: grid; place-items: center; }
.cell .foto.simbolo img { width: 62%; height: auto; object-fit: contain; opacity: .07; transform: translate(14%, -8%); }
.cell .foto.simbolo::after { background: none; }
.cell .testo { position: relative; z-index: 1; height: 100%; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.cell b { font-size: 17px; font-weight: 600; }
.cell .apri { font-size: 13px; color: var(--mut); transition: opacity .18s; }
.cell p { font-size: 14px; color: var(--ink); display: none; }
.cell[aria-expanded="true"] { border-color: var(--red); }
.cell[aria-expanded="true"] .foto { opacity: 0; }
.cell[aria-expanded="true"] .testo { justify-content: flex-start; }
.cell[aria-expanded="true"] .apri { display: none; }
.cell[aria-expanded="true"] p { display: block; animation: entra .2s var(--ease) .12s both; }

.cell[aria-expanded="true"] .testo { overflow: hidden; }
.cell[aria-expanded="true"] p { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-y; padding-bottom: 8px; scrollbar-width: thin; }
.cell.more .testo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(to top, var(--s2) 20%, rgba(20,29,34,0)); pointer-events: none; }
@keyframes entra { from { opacity: 0; } to { opacity: 1; } }
.bento.focus .cell:not([aria-expanded="true"]) { opacity: .55; }
.lang-line { position: relative; z-index: 2; margin-top: 28px; text-align: center; color: var(--mut); font-size: 15px; max-width: 720px; margin-inline: auto; }


.faqs { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: clamp(30px, 4vw, 48px); align-items: stretch; }
.faqc {
  position: relative; overflow: hidden;
  border-radius: var(--r-card); border: 1px solid rgba(255,255,255,.08);
  padding: 24px; transition: border-color .22s;
  background-image:
    radial-gradient(120% 120% at var(--ox, 50%) var(--oy, 0%), rgba(244,33,33,.05) 0%, transparent 46%),
    radial-gradient(140% 140% at var(--ox, 50%) var(--oy, 0%), #141D22 0%, #0E161A 72%);
}
.faqc:hover { border-color: rgba(244,33,33,.35); }
.faqc:hover { background-image: radial-gradient(120% 120% at var(--ox, 50%) var(--oy, 0%), rgba(244,33,33,.09) 0%, transparent 46%), radial-gradient(140% 140% at var(--ox, 50%) var(--oy, 0%), #141D22 0%, #0E161A 72%); }
.faqc h3 { font-size: 20px; font-weight: 600; line-height: 1.28; }
.faqc p { margin-top: 14px; font-size: 15px; color: var(--mut); }
.faq-line { position: relative; z-index: 2; margin-top: 32px; text-align: center; color: var(--mut); font-size: 15px; }


#closing { position: relative; overflow: hidden; }
.reveal h2 { font-size: clamp(30px, 4.4vw, 56px); font-weight: 700; }
.reveal h2 .w { color: var(--mut); opacity: .25; transition: opacity .2s linear, color .2s; }
.reveal h2 .w.on { color: var(--ink); opacity: 1; }
.closing-txt { position: relative; z-index: 2; max-width: 700px; margin: 22px auto 0; text-align: center; color: var(--ink); font-size: 17px; }
footer.foot { position: relative; z-index: 2; border-top: 1px solid var(--line); padding: 28px 0; font-size: 13.5px; color: var(--mut); }
footer.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; }
footer.foot a { color: var(--mut); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
footer.foot a:hover { color: var(--ink); }


.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: 64px;
  display: none; align-items: center; justify-content: center;
  background: rgba(8,14,16,.9); border-top: 1px solid var(--line);
  transform: translateY(100%); transition: transform .25s var(--ease);
}
.sticky-cta.show { transform: translateY(0); }


dialog.vwin { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; }
dialog.vwin::backdrop { background: rgba(8,14,16,.86); }
.vwin-box { position: fixed; inset: 0; display: grid; place-items: center; padding: 24px; }
.vwin-in {
  position: relative; 
  display: grid; grid-template-columns: auto minmax(220px, 320px); gap: 24px; align-items: center;
  background: var(--s1); border: 1px solid var(--line2); border-radius: var(--r-card); padding: 20px;
  max-width: min(900px, 100%);
}
.vwin-in video { height: 70vh; max-height: 700px; aspect-ratio: 9 / 16; width: auto; object-fit: cover; border-radius: 12px; background: var(--bg); }
.vwin-meta { display: flex; flex-direction: column; gap: 10px; }
.vwin-meta .origin { font-size: 12.5px; letter-spacing: .04em; color: var(--red2); font-weight: 600; }
.vwin .x { position: absolute; top: 16px; right: 16px; }

.vwin-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: var(--s2); }
.vwin-nav.prev { left: 12px; } .vwin-nav.next { right: 12px; }
.vwin-nav[hidden] { display: none; }




.revbar {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center;
  padding: 12px 16px; font-size: 13px; color: var(--mut); border-top: 1px dashed var(--line2);
}
.revbar a { color: var(--ink); text-decoration: none; border: 1px solid var(--line2); border-radius: var(--r-pill); padding: 8px 12px; min-height: 44px; display: inline-flex; align-items: center; }
.revbar a.on { border-color: var(--red); color: var(--red2); }


.ty-sec { min-height: calc(100vh - 72px); }
.ty-sec .bgfoto video, .ty-sec .bgfoto img { filter: saturate(.85); opacity: .6; }
.ty-sec .bgfoto .v916 { display: none; }
.ty-sec .bgfoto::after { background: linear-gradient(180deg, rgba(8,14,16,.7) 0%, rgba(8,14,16,.9) 55%, #080E10 100%); }
.ty { position: relative; z-index: 2; max-width: 680px; margin-inline: auto; padding-block: clamp(56px, 8vw, 96px); }
.ty h1 { font-size: clamp(28px, 3.6vw, 44px); }
.ty h1 .when { display: block; margin-top: 6px; font-size: .78em; font-weight: 600; color: var(--red2); }
.ty .mail a { color: var(--ink); }

.confetti { position: fixed; inset: 0; z-index: 70; pointer-events: none; }
.ty .lead { margin-top: 16px; color: var(--mut); font-size: 17px; }
.box { margin-top: 28px; background: var(--s2); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; display: grid; gap: 10px; }
.box div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; font-size: 15.5px; }
.box dt { color: var(--mut); }
.box dd { margin: 0; }
.ty .priv { margin-top: 18px; font-size: 13.5px; color: var(--mut); }
.steps { list-style: none; padding: 0; margin: 40px 0 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 1px; background: var(--line2); }
.steps li { position: relative; padding-left: 40px; margin-bottom: 8px; }
.steps .node { position: absolute; left: 0; top: 12px; width: 23px; height: 23px; border-radius: 50%; border: 2px solid var(--line2); background: var(--bg); }
.steps li[data-state="done"] .node { background: var(--red); border-color: var(--red); }
.steps li[data-state="done"] .node::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.steps li[data-state="active"] .node { border-color: var(--red); animation: pulse 1s ease-out 1; }
@keyframes pulse { 0% { outline: 2px solid rgba(244,33,33,.6); outline-offset: 0; } 100% { outline: 2px solid rgba(244,33,33,0); outline-offset: 12px; } }
.steps button { width: 100%; text-align: left; min-height: 48px; padding: 10px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.steps button::after { content: "+"; color: var(--red); }
.steps button[aria-expanded="true"]::after { content: "−"; }
.steps button:disabled::after { content: ""; }
.steps button:disabled { cursor: default; }
.steps p { color: var(--mut); font-size: 15px; padding-bottom: 10px; }
.steps p[hidden] { display: none; }
.steps li.done-line { color: var(--mut); }
.ty .sign { margin-top: 36px; font-size: 17px; }
.ty .mail { margin-top: 6px; font-size: 14.5px; color: var(--mut); }
.legal { position: relative; z-index: 2; max-width: 720px; margin-inline: auto; padding-block: clamp(48px, 6vw, 80px); }
.legal h1 { font-size: clamp(26px, 3vw, 38px); }
.legal h2 { font-size: 20px; margin-top: 32px; }
.legal h3 { font-size: 16.5px; margin-top: 24px; color: var(--ink); }
.legal code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; color: var(--ink); }
.legal ol { padding-left: 20px; }
.legal p, .legal li { color: var(--mut); font-size: 15.5px; margin-top: 10px; }
.legal ul { padding-left: 20px; }
.legal .draft { border: 1px solid var(--red); border-radius: var(--r-card); padding: 12px 16px; color: var(--red2); font-size: 14px; margin-bottom: 24px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14.5px; }
.legal th, .legal td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--mut); }
.legal th { color: var(--ink); font-weight: 600; }
.legal .tbl { overflow-x: auto; }


@media (max-width: 1024px) and (min-width: 721px) {
  .mosaico { grid-auto-rows: 170px; height: 350px; }
  .campo { height: 380px; }
  .faqs { gap: 12px; }
}


@media (max-width: 720px) {
  .wrap { width: calc(100% - 48px); }
  .top .cta-long { display: none; }
  .top .cta-short { display: inline-flex; }

  
  #hero { padding-top: 18px; padding-bottom: 30px; }
  #hero .bgfoto .v169 { display: none; }
  #hero .bgfoto .v916 { display: block; }
  .ty-sec .bgfoto .v169 { display: none; }
  .ty-sec .bgfoto .v916 { display: block; }
  #hero .bgfoto::after { background: linear-gradient(180deg, rgba(8,14,16,.55), rgba(8,14,16,.92) 60%, #080E10); }
  .hero-grid { gap: 22px; }
  .hero-txt .hero-title { font-size: 27px; line-height: 1.18; }
  .hero-txt .lead { margin-top: 12px; font-size: 15px; }
  .hero-txt .cta { margin-top: 16px; }
  .hero-txt .micro { margin-top: 8px; font-size: 13px; }
  .hero-grid > .proof { margin-top: 4px; gap: 8px; }
  .proof li { font-size: 12.5px; padding: 6px 12px; min-height: 32px; }
  .phones { gap: 8px; }
  .phones .tile.phone { border-radius: 16px; }
  .phones .tile.phone:nth-child(1), .phones .tile.phone:nth-child(3) { transform: translateY(16px) rotate(-3deg); }
  .phones .tile.phone:nth-child(3) { transform: translateY(16px) rotate(3deg); }
  .phones .brandmark { height: 12px; left: 7px; bottom: 6px; }
  .phones-note { margin-top: 22px; font-size: 12.5px; }

  
  .carosello .tile { width: 150px; height: 267px; }
  .campo { height: 340px; }
  .campo .lg { height: 26px; max-width: 104px; }

  
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .flip { height: 279px; }
  
  .flip > .fcard { transition: transform .6s cubic-bezier(.2,.7,.2,1); will-change: transform; }
  .face.front, .face.back { visibility: visible; transition: opacity .25s linear .175s; }
  .face.front { opacity: 1; }
  .face.back { opacity: 0; }
  .flip > .fcard[aria-pressed="true"] .face.front { visibility: visible; opacity: 0; }
  .flip > .fcard[aria-pressed="true"] .face.back { opacity: 1; }
  .face.back .back-scroll { padding: 14px; gap: 6px; }
  .face.back b { font-size: 16px; }
  .face.back p { font-size: 13px; }
  .face.front .cap { padding: 30px 10px 10px; }
  .face.front .cap b { font-size: 15px; }
  .face.front .cap span { font-size: 12px; }
  .face.front .hint { top: 8px; right: 8px; font-size: 11px; padding: 4px 8px; }
  .mosaico { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 120px; height: 376px; gap: 8px; }
  .mos--big { grid-column: span 2; grid-row: span 2; }
  .mos--sm { grid-column: span 1; grid-row: span 1; }

  .metodo { margin-top: 48px; }
  .metodo-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .metodo-grid li { padding: 20px 18px; }
  .metodo-n { font-size: 28px; }
  .metodo-grid h4 { font-size: 17.5px; }
  .metodo-close { font-size: 15px; }
  .totop { right: 16px; bottom: 16px; }
  body.has-sticky .totop { bottom: 76px; }

  
  .step { grid-template-columns: 1fr; min-height: auto; }
  .step-media { position: relative; height: 180px; order: -1; }
  .step-n { font-size: 34px; }

  
  .price .num { font-size: 56px; }
  .qpill { font-size: 14px; }
  .qbox { padding: 16px 48px 16px 16px; }
  .contratto ul { grid-template-columns: 1fr; }

  
  #included .fascia { height: 180px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cell .testo { padding: 12px; }
  .cell b { font-size: 14.5px; }
  .cell .apri { font-size: 11.5px; }
  .cell p { font-size: 12.5px; }

  
  .faqs { grid-template-columns: 1fr; gap: 12px; }
  .faqc { padding: 18px; }
  .faqc h3 { font-size: 18px; }

  .sticky-cta { display: none; }   
  body.has-sticky { padding-bottom: 64px; }
  .vwin-box { padding: 12px; }
  .vwin-in { grid-template-columns: 1fr; gap: 14px; padding: 14px; width: 100%; max-height: calc(100vh - 24px); overflow: auto; }
  .vwin-in video { height: auto; width: 100%; max-height: 56vh; }
  footer.foot .wrap { flex-direction: column; align-items: flex-start; }
  .sep { height: 90px; }
}


@media (max-width: 720px) {
  
  #hero { padding-top: clamp(57px, calc(57px + (100vh - 812px) * .5), 120px); }
  @supports (height: 100svh) { #hero { padding-top: clamp(57px, calc(57px + (100svh - 812px) * .5), 120px); } }
  .hero-grid { gap: 0; }
  .hero-txt { display: contents; }
  html[data-hero="A"] .hv[data-hero="A"],
  html[data-hero="B"] .hv[data-hero="B"],
  html[data-hero="C"] .hv[data-hero="C"],
  html:not([data-hero]) .hv[data-hero="A"] { display: contents; }
  .hero-txt h1.eyebrow { order: 1; margin-bottom: 10px; }
  .hero-txt .hero-title { order: 2; }
  .hero-phones { order: 3; margin-top: 27px; }
  .hero-phones .phones-note { margin-top: 25px; }
  .hero-txt .lead { order: 4; margin-top: 28px; }
  .hero-txt .cta { order: 5; margin-top: 30px; }
  .hero-txt .micro { order: 6; margin-top: 6px; }
  .hero-grid > .proof { order: 7; margin-top: 30px; }
}


@media (max-width: 720px) {
  
  .campo.tabellone { height: 340px; overflow: visible; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .tab-cell { position: relative; perspective: 520px; border-radius: 12px; background: rgba(255,255,255,.025); border: 1px solid var(--line); }
  .tab-flip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .75s cubic-bezier(.3,.9,.3,1.05); will-change: transform; }
  .tab-face { position: absolute; inset: 0; display: grid; place-items: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
  .tab-face.b { transform: rotateX(180deg); }
  .tab-face img { height: 30px; width: auto; max-width: 80%; object-fit: contain; opacity: .82; }
  .tab-cell.gira { border-color: rgba(244,33,33,.35); }

  
  .step-media { height: auto; aspect-ratio: 1 / 1; }

  
  .price-hang.ready .price-tag { font-size: 11.5px; padding: 6px 9px 6px 21px; --tilt: -4deg; }
  .price-hang.ready .price-tag .eyelet { left: 8px; }
}


.lbx {
  position: fixed; inset: 0; z-index: 60;
  --lbS: min(calc(100vw - 32px), calc(100vh - 160px));
  --lbIn: 0.6s; --lbOut: 0.42s;
  --lbSpring: cubic-bezier(.2,.7,.2,1);
  --lbBack: cubic-bezier(.45,0,.2,1);
}
@supports (height: 100dvh) { .lbx { --lbS: min(calc(100vw - 32px), calc(100dvh - 160px)); } }
@supports (transition-timing-function: linear(0, 1)) {
  .lbx { --lbSpring: linear(0, 0.0528, 0.1765, 0.3309, 0.4887, 0.6332, 0.7556, 0.8529, 0.9256, 0.9765, 1.0094, 1.0282, 1.0367, 1.0383, 1.0355, 1.0304, 1.0244, 1.0184, 1.013, 1.0085, 1.005, 1.0024, 1.0006, 0.9994, 1); }
}

.lbx.closed { visibility: hidden; pointer-events: none; }
.lbx .backdrop {
  position: absolute; inset: 0; background: rgba(8,14,16,.74);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity var(--lbOut) var(--lbBack); touch-action: none;
}
.lbx.on .backdrop { opacity: 1; transition: opacity .5s cubic-bezier(.2,.7,.2,1); }
.lb-box {
  position: fixed; inset: 0; margin: auto; width: var(--lbS); height: var(--lbS);
  transform-origin: 0 0; will-change: transform; outline: none;
  --lbR: 16px;
}
.lb-box.flying-in { transition: transform var(--lbIn) var(--lbSpring); }
.lb-box.flying-out { transition: transform var(--lbOut) var(--lbBack); }
.lb-shadow, .lb-clip { position: absolute; inset: 0; border-radius: var(--lbR); }
.lb-box.flying-in .lb-shadow, .lb-box.flying-in .lb-clip { transition: border-radius var(--lbIn) var(--lbSpring), opacity .5s ease, border-color .3s; }
.lb-box.flying-out .lb-shadow, .lb-box.flying-out .lb-clip { transition: border-radius var(--lbOut) var(--lbBack), opacity .3s ease, border-color .3s; }
.lb-shadow { box-shadow: 0 34px 70px -24px rgba(0,0,0,.85), 0 0 0 1px rgba(244,33,33,.06); opacity: 0; will-change: opacity; }
.lb-box.up .lb-shadow { opacity: 1; }
.lb-clip { overflow: hidden; background: var(--s2); border: 1px solid var(--line); }
.lb-box.aperto .lb-clip { border-color: var(--red); }

.lb-clip .foto { position: absolute; inset: 0; z-index: 0; transition: opacity .32s ease; }
.lb-clip .foto img { width: 100%; height: 100%; object-fit: cover; }
.lb-clip .foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,14,16,.88) 0%, rgba(8,14,16,.45) 34%, rgba(8,14,16,0) 62%); }
.lb-clip .foto.simbolo { background: var(--s2); display: grid; place-items: center; }
.lb-clip .foto.simbolo img { width: 62%; height: auto; object-fit: contain; opacity: .07; transform: translate(14%, -8%); }
.lb-clip .foto.simbolo::after { background: none; }
.lb-box.hide-foto .lb-clip .foto { opacity: 0; }

.lb-label { position: absolute; left: 0; top: 0; z-index: 1; transform-origin: 0 0; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; pointer-events: none; transition: opacity .22s ease; }
.lb-label b { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.lb-label span { font-size: 11.5px; color: var(--mut); }
.lb-box.hide-label .lb-label { opacity: 0; }
.lb-box.flying-out .lb-label { transition: opacity .2s ease .19s; } 

.lb-text { position: absolute; inset: 0; z-index: 2; padding: 20px 18px 16px; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.lb-box.aperto .lb-text { pointer-events: auto; }
.lb-text b { font-size: 19px; font-weight: 600; padding-right: 44px; opacity: 0; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease; }
.lb-text p { font-size: 16px; line-height: 1.5; color: var(--ink); flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-y; padding-bottom: 8px; scrollbar-width: thin; }
.lb-text .w { display: inline-block; opacity: 0; transform: translateY(8px); transition: opacity .16s ease, transform .16s ease; }
.lb-box.show-text .lb-text b { opacity: 1; transform: none; transition: opacity .36s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.lb-box.show-text .lb-text .w { opacity: 1; transform: none; transition: opacity .34s ease calc(90ms + var(--riga, 0) * 45ms), transform .46s cubic-bezier(.2,.7,.2,1) calc(90ms + var(--riga, 0) * 45ms); }
.lb-text.more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 44px; background: linear-gradient(to top, var(--s2) 20%, rgba(20,29,34,0)); pointer-events: none; }
.lb-box .x { position: absolute; top: 12px; right: 12px; z-index: 3; background: rgba(8,14,16,.6); opacity: 0; transform: scale(.8); pointer-events: none; transition: opacity .16s ease, transform .16s ease; }
.lb-box.aperto .x { opacity: 1; transform: none; pointer-events: auto; transition: opacity .3s ease .05s, transform .45s cubic-bezier(.2,.7,.2,1) .05s; }

.lb-nav, .lb-count { position: fixed; z-index: 62; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.lb-nav { top: calc(50% + var(--lbS) / 2 + 16px); background: var(--s2); transform: translateY(14px); }
.lb-nav.prev { left: calc(50% - 44px - 44px); }
.lb-nav.next { left: calc(50% + 44px); }
.lb-count { top: calc(50% + var(--lbS) / 2 + 16px); height: 44px; left: 50%; transform: translate(-50%, 14px); display: flex; align-items: center; font-size: 13px; color: var(--mut); letter-spacing: .04em; white-space: nowrap; }
.lbx.nav-on .lb-nav { opacity: 1; transform: none; pointer-events: auto; transition: opacity .34s ease .08s, transform .5s cubic-bezier(.2,.7,.2,1) .08s; }
.lbx.nav-on .lb-count { opacity: 1; transform: translate(-50%, 0); transition: opacity .34s ease .12s, transform .5s cubic-bezier(.2,.7,.2,1) .12s; }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  
  .price, .price .from, .price-hang, .price-tag, .hang-back { transition: none !important; }
  
  .phones .tile.phone, .phones .tile.phone:nth-child(1), .phones .tile.phone:nth-child(3) { transform: none; }
  
  .carosello { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .carosello::-webkit-scrollbar { display: none; }
  .carosello .tile { transform: none; opacity: 1; scroll-snap-align: center; }
  
  .piano-1 .lg { opacity: .62; }
  .piano-2 .lg { opacity: .45; }
  .piano-3 .lg { opacity: .32; }
  .alone { background: radial-gradient(460px circle at 50% 38%, rgba(244,33,33,.12), transparent 70%); }
  
  .flip > .fcard { transition: none; transform: none !important; }
  .flip > .fcard .face { transition: none; }
  .flip > .fcard .face.back { transform: none; opacity: 0; }
  .flip > .fcard[aria-pressed="true"] .face.back { opacity: 1; }
  .flip > .fcard[aria-pressed="true"] .face.front { opacity: 0; }
  
  .mos img { opacity: .72; }
  #mos-live { display: none; }
  
  .step { position: static; }
  
  .qpill.pulsa { animation: none; }
  
  .cell .foto, .cell p { transition: none; animation: none; }
  .lb-box, .lbx .backdrop { transition: opacity .2s linear !important; }
  .lb-box { opacity: 0; }
  .lbx.on .lb-box { opacity: 1; }
  .lb-nav, .lb-count, .lb-text b, .lb-text .w, .lb-box .x { transform: none !important; }
  .lb-count { transform: translateX(-50%) !important; }
  
  .reveal h2 .w { color: var(--ink); opacity: 1; }
  
  .steps li[data-state="active"] .node { animation: none; }
  .confetti { display: none; }
}


.scorre-agenzia {
  position: relative; z-index: 2; overflow: hidden;
  background: var(--bg);
  border-top: 1px solid #fff; border-bottom: 1px solid #fff;
  padding-block: 16px;
  
  --scorre-t: 26s;
}
.scorre-agenzia__frase {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.scorre-agenzia__nastro { display: flex; width: max-content; animation: scorre-agenzia-anim var(--scorre-t, 30s) linear infinite; will-change: transform; }
.scorre-agenzia__gruppo { display: flex; align-items: center; flex: none; }
.scorre-agenzia__voce { white-space: nowrap; font-size: 17px; font-weight: 500; line-height: 1.3; color: var(--ink); letter-spacing: -.005em; }
.scorre-agenzia__punto { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; margin-inline: 28px; }
@keyframes scorre-agenzia-anim { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (max-width: 767px) {
  .scorre-agenzia { padding-block: 13px; --scorre-t: 24s; }
  .scorre-agenzia__voce { font-size: 15px; }
  .scorre-agenzia__punto { margin-inline: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .scorre-agenzia__nastro { display: none; }
  .scorre-agenzia__frase {
    position: static; width: auto; height: auto; margin: 0 auto; overflow: visible; clip: auto; clip-path: none;
    white-space: normal; max-width: var(--w); padding-inline: 16px; text-align: center;
    font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--ink);
  }
}


.phones:empty { aspect-ratio: 1.73; }


.lang { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; margin-right: 6px; }
.lang a { color: var(--mut); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .04em; padding: 6px 7px; border-radius: 6px; min-height: 32px; display: inline-flex; align-items: center; }
.lang a:hover { color: #fff; }
.lang a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.1); }
.lang .lang-riga { color: var(--mut); font-size: 12px; margin-left: 10px; white-space: nowrap; }
@media (max-width: 900px) { .lang .lang-riga { display: none; } }
@media (max-width: 720px) { .lang { margin-right: 2px; } .lang a { padding: 6px 5px; font-size: 12px; } }
