/* Pixeon — palette B "Notte e lilla" */
:root {
  --bg: #0E0D12;
  --bg-2: #15131B;
  --card: #1A1722;
  --fg: #F2EFEA;
  --muted: #B0ABBA;
  --acc: #B9A4FF;
  --line: rgba(242, 239, 234, .12);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(18px, 3vw, 40px);
  --sec: clamp(90px, 11vw, 150px);
  --radius: clamp(16px, 2vw, 26px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg); color: var(--fg);
  font-family: "Inter Tight", system-ui, sans-serif; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }
.serif { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
em { font-style: italic; }
.acc { color: var(--acc); }
.kicker { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
mark.legal-ph { background: rgba(185,164,255,.18); color: var(--fg); padding: 1px 6px; border-radius: 5px; }

/* Righe che salgono da una maschera */
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.line > span { display: inline-block; will-change: transform; }

/* Pulsanti */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: background .5s var(--ease), color .5s var(--ease), border-color .5s, transform .5s var(--ease); }
.btn span { display: inline-block; transition: transform .6s var(--ease); }
.btn:hover span { transform: translateX(5px); }
.btn--main { background: var(--acc); color: #120f1a; }
.btn--main:hover { background: var(--fg); }
.btn--ghost { border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--fg); }

/* Garanzie con la spunta */
.perks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--muted); }
.perks li { display: flex; align-items: center; gap: 9px; }
.perks li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: rgba(185,164,255,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23B9A4FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.perks--col { flex-direction: column; margin-bottom: 30px; }

/* Cursore (solo mouse) */
.cursor { position: fixed; z-index: 90; top: 0; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--fg); mix-blend-mode: difference; pointer-events: none; display: grid; place-items: center; transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .5s var(--ease); }
.cursor span { font-size: 12px; font-weight: 500; color: var(--bg); opacity: 0; transition: opacity .3s; }
.cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
.cursor.is-video { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--acc); mix-blend-mode: normal; }
.cursor.is-video span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* Navigazione */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: calc(var(--pad) * .7) var(--pad); pointer-events: none; }
.nav > * { pointer-events: auto; position: relative; }
.nav::before { content: ""; position: absolute; inset: 0 0 -26px; background: linear-gradient(180deg, rgba(14,13,18,.94) 0%, rgba(14,13,18,.75) 55%, rgba(14,13,18,0) 100%); opacity: 0; transition: opacity .6s var(--ease); }
.nav.is-scrolled::before { opacity: 1; }
.logo { display: inline-flex; font-size: 18px; font-weight: 600; letter-spacing: .34em; }
.logo b { color: var(--acc); font-weight: 600; }
/* Al passaggio del mouse le lettere del logo fanno una piccola onda */
.logo span, .logo b { display: inline-block; transition: transform .7s var(--ease), color .4s; }
.logo:hover span, .logo:hover b { transform: translateY(-3px); }
.logo:hover span:nth-child(2) { transition-delay: .03s; } .logo:hover span:nth-child(3) { transition-delay: .06s; }
.logo:hover span:nth-child(4) { transition-delay: .09s; } .logo:hover b { transition-delay: .12s; transform: translateY(-3px) rotate(180deg); }
.logo:hover span:nth-child(6) { transition-delay: .15s; }
.nav__links { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.nav__links a:not(.pill) { position: relative; }
.nav__links a:not(.pill)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav__links a:not(.pill):hover::after { transform: scaleX(1); transform-origin: left; }
.pill { padding: 11px 20px; border-radius: 999px; background: var(--acc); color: #120f1a; font-weight: 500; transition: transform .5s var(--ease), background .4s; }
.pill:hover { transform: scale(1.05); background: var(--fg); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--fg); position: relative; }
.burger i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--bg); transition: transform .5s var(--ease); }
.burger i:first-child { top: 19px; } .burger i:last-child { top: 26px; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--bg-2); display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: var(--pad); clip-path: inset(0 0 100% 0); }
.menu a { display: block; overflow: hidden; font-size: clamp(40px, 11vw, 76px); font-weight: 300; line-height: 1.08; }
.menu a span { display: inline-block; transform: translateY(105%); }

/* Scena iniziale */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(30px, 5vw, 90px); padding: clamp(100px, 13vh, 140px) var(--pad) clamp(50px, 7vh, 80px); overflow: hidden; }
.hero__glow { position: absolute; z-index: -1; width: 70vw; height: 70vw; right: -18vw; top: -12vw; border-radius: 50%; background: radial-gradient(circle, rgba(124,96,230,.32) 0%, rgba(124,96,230,.08) 40%, transparent 68%); filter: blur(10px); pointer-events: none; }
.hero__txt .kicker { margin-bottom: 22px; }
.hero__title { font-size: clamp(42px, 5.6vw, 96px); line-height: .96; letter-spacing: -.03em; font-weight: 300; }
.hero__title em { letter-spacing: -.01em; }
.hero__sub { max-width: 560px; margin-top: 28px; color: var(--muted); font-size: clamp(16px, 1.2vw, 19px); line-height: 1.6; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .perks { margin-top: 30px; }

/* Dalla foto al video */
.demo { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "from phone" "arrow phone" "dots dots" "note note"; align-items: center; justify-items: center; column-gap: clamp(10px, 2vw, 30px); max-width: 560px; justify-self: center; }
.demo__from { grid-area: from; align-self: end; margin-bottom: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 10px 10px 12px; transform: rotate(-4deg); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.demo__from img { width: clamp(110px, 10vw, 170px); height: auto; aspect-ratio: 1; border-radius: 11px; object-fit: cover; }
.demo__from figcaption { margin-top: 9px; font-size: 12px; color: var(--muted); text-align: center; }
.demo__arrow { grid-area: arrow; align-self: start; width: clamp(80px, 8vw, 120px); color: var(--acc); }
.phone { grid-area: phone; position: relative; width: clamp(230px, 22vw, 330px); aspect-ratio: 9 / 18.6; border-radius: clamp(34px, 3vw, 46px); padding: 10px; background: linear-gradient(160deg, #3a3546, #19161f 40%, #2b2734); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 60px 120px -30px rgba(80,60,180,.45), 0 30px 60px -20px rgba(0,0,0,.7); cursor: pointer; }
.phone__screen { position: relative; height: 100%; border-radius: clamp(26px, 2.4vw, 37px); overflow: hidden; background: #000; }
.phone__screen video { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
.phone__sound { position: absolute; top: 14px; right: 14px; padding: 8px 13px; border-radius: 999px; background: rgba(14,13,18,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 12px; font-weight: 500; transition: background .4s, color .4s; }
.phone__sound:hover, .phone__sound.is-on { background: var(--acc); color: #120f1a; }
.phone__tag { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: baseline; gap: 8px; padding: 7px 13px; border-radius: 999px; background: rgba(14,13,18,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(242,239,234,.85); }
.phone__tag .serif { font-size: 17px; letter-spacing: 0; text-transform: none; color: var(--fg); }
.demo__dots { grid-area: dots; display: flex; gap: 8px; margin-top: 22px; }
.demo__dots button { width: 34px; height: 4px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.demo__dots button i { position: absolute; inset: 0; background: var(--acc); transform: scaleX(0); transform-origin: left; }
.demo__note { grid-area: note; margin-top: 12px; font-size: 12px; color: var(--muted); }

/* Intestazioni delle sezioni */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding-bottom: 28px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.sec-head__p { max-width: 380px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.h2 { font-size: clamp(40px, 5.6vw, 92px); line-height: .96; letter-spacing: -.025em; font-weight: 300; }

/* Lavori */
.work { padding: var(--sec) var(--pad) 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.tab { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s; }
.tab:hover { border-color: var(--fg); }
.tab.is-on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.tile { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--card); cursor: pointer; isolation: isolate; }
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; }
.tile video { opacity: 0; }
.tile.is-playing video { opacity: 1; }
.tile:hover img, .tile:hover video { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14,13,18,.8)); pointer-events: none; }
.tile__info { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.tile__brand { font-size: clamp(18px, 1.6vw, 24px); line-height: 1; }
.tile__type { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(242,239,234,.8); margin-top: 6px; }
.tile__sound { flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(242,239,234,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; font-size: 12px; transition: background .4s, color .4s; }
.tile:hover .tile__sound { background: var(--acc); color: #120f1a; }
.tile.is-hidden { display: none; }

/* Prima e dopo */
.ba { padding: var(--sec) var(--pad) 0; }
.ba__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.compare { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--card); cursor: ew-resize; touch-action: pan-y; user-select: none; --pos: 50%; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__after { clip-path: inset(0 0 0 var(--pos)); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--fg); pointer-events: none; }
.compare__knob { position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--fg); color: var(--bg); display: grid; place-items: center; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.4); pointer-events: none; }
.compare__lbl { position: absolute; top: 12px; padding: 6px 11px; border-radius: 999px; background: rgba(14,13,18,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.compare__lbl--l { left: 12px; } .compare__lbl--r { right: 12px; background: var(--acc); color: #120f1a; }
.compare__brand { position: absolute; left: 14px; bottom: 14px; font-size: 20px; pointer-events: none; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.compare:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.shots { display: grid; grid-template-columns: 1fr 1fr 1fr 2fr; gap: clamp(10px, 1.2vw, 18px); margin-top: clamp(10px, 1.2vw, 18px); }
.shots figure { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--card); }
.shots .shots__wide { aspect-ratio: auto; }
.shots img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shots figure:hover img { transform: scale(1.05); }
.shots figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 11px; border-radius: 999px; background: rgba(14,13,18,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

/* Confronto */
.vs { padding: var(--sec) var(--pad) 0; }
.vs__table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vs__row { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr; }
.vs__row + .vs__row { border-top: 1px solid var(--line); }
.vs__row > span { padding: clamp(16px, 1.6vw, 24px) clamp(18px, 2vw, 30px); font-size: clamp(14px, 1.1vw, 17px); line-height: 1.4; color: var(--muted); }
.vs__row > span:first-child { color: var(--fg); font-weight: 500; }
.vs__row--head > span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 400 !important; }
.vs__us { background: rgba(185,164,255,.08); color: var(--fg) !important; }
.vs__row--head .vs__us { color: var(--acc) !important; }

/* Come funziona */
.steps { padding: var(--sec) var(--pad) 0; }
.steps__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.step { background: var(--card); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 38px); min-height: clamp(220px, 22vw, 300px); display: flex; flex-direction: column; border: 1px solid transparent; transition: border-color .6s var(--ease), translate .8s var(--ease); }
.step:hover { border-color: rgba(185,164,255,.4); translate: 0 -6px; }
.step__n { font-size: clamp(54px, 6vw, 88px); line-height: 1; color: var(--acc); margin-bottom: auto; }
.step h3 { font-size: 21px; font-weight: 500; margin: 26px 0 10px; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.step__time { align-self: flex-start; margin-top: 20px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(185,164,255,.35); color: var(--acc); font-size: 13px; }

/* Anteprima gratuita */
.offer { padding: var(--sec) var(--pad) 0; }
.offer__box { position: relative; overflow: hidden; border-radius: calc(var(--radius) * 1.3); padding: clamp(50px, 7vw, 110px) clamp(24px, 6vw, 100px); background: linear-gradient(140deg, #251e3a 0%, #17141f 55%, #1d1830 100%); border: 1px solid rgba(185,164,255,.25); text-align: center; display: flex; flex-direction: column; align-items: center; }
.offer__glow { position: absolute; width: 60%; height: 140%; left: 20%; top: -60%; border-radius: 50%; background: radial-gradient(circle, rgba(185,164,255,.28), transparent 65%); pointer-events: none; }
.offer .kicker { margin-bottom: 18px; color: var(--acc); }
.offer .h2 .line > span { display: inline-block; }
.offer__p { max-width: 600px; margin: 24px 0 34px; color: #cfcad8; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; }

/* Domande frequenti */
.faq { padding: var(--sec) var(--pad) 0; }
.faq__list { max-width: 980px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: clamp(17px, 1.5vw, 22px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; color: var(--acc); transition: transform .5s var(--ease), background .4s; }
.faq details[open] summary::after { transform: rotate(45deg); background: rgba(185,164,255,.12); }
.faq summary:hover { color: var(--acc); }
.faq details p { color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 760px; padding: 0 0 26px; }

/* Contatti */
.end { min-height: 100vh; min-height: 100svh; padding: var(--sec) var(--pad) 0; display: flex; flex-direction: column; justify-content: center; }
.end__grid { display: grid; grid-template-columns: 1fr minmax(0, 620px); gap: clamp(40px, 6vw, 120px); align-items: center; padding-bottom: var(--sec); }
.end__left { display: flex; flex-direction: column; align-items: flex-start; }
.end__left .kicker { font-size: clamp(14px, 1vw, 17px); letter-spacing: .2em; }
.end__big { font-size: clamp(62px, 8.5vw, 156px); line-height: .9; letter-spacing: -.03em; margin: 18px 0 26px; }
.end__lead { max-width: 440px; color: var(--muted); font-size: 16px; line-height: 1.6; margin-bottom: 26px; }
.end__mail { font-size: clamp(20px, 1.8vw, 28px); border-bottom: 1px solid var(--line); padding-bottom: 6px; transition: color .4s, border-color .4s; }
.end__mail:hover { color: var(--acc); border-color: var(--acc); }

/* Modulo */
.form { display: grid; gap: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3vw, 44px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.form__trap { position: absolute; left: -9999px; }
.field { position: relative; display: block; }
.field input, .field textarea { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--fg); font: inherit; font-size: 16px; padding: 22px 0 10px; outline: none; resize: none; transition: border-color .4s; }
.field span { position: absolute; left: 0; top: 22px; color: var(--muted); font-size: 16px; pointer-events: none; transform-origin: left; transition: transform .5s var(--ease), color .4s; }
.field input:focus, .field textarea:focus { border-color: var(--acc); }
.field input:focus + span, .field textarea:focus + span,
.field input:not(:placeholder-shown) + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-22px) scale(.78); color: var(--acc); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field.is-error input, .field.is-error textarea { border-color: #ff8f8f; }
.chips { border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { width: 100%; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s; }
.chips label:hover span { border-color: var(--fg); }
.chips input:checked + span { background: var(--acc); color: #120f1a; border-color: var(--acc); }
.chips input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 13px; line-height: 1.5; cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin-top: 1px; border: 1px solid var(--muted); border-radius: 5px; display: grid; place-items: center; cursor: pointer; transition: background .3s, border-color .3s; }
.consent input:checked { background: var(--acc); border-color: var(--acc); }
.consent input:checked::after { content: "✓"; color: #120f1a; font-size: 12px; font-weight: 600; }
.consent a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
.consent.is-error { color: #ff8f8f; }
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__send { display: inline-flex; align-items: center; gap: 14px; padding: 16px 26px; border-radius: 999px; background: var(--acc); color: #120f1a; font-weight: 500; font-size: 15px; overflow: hidden; transition: background .5s var(--ease); }
.form__send:hover { background: var(--fg); }
.form__arrow { display: inline-block; transition: transform .6s var(--ease); }
.form__send:hover .form__arrow { transform: translateX(6px); }
.form__send[disabled] { opacity: .6; pointer-events: none; }
.form__msg { font-size: 14px; color: var(--muted); }
.form__msg.is-ok { color: var(--acc); }
.form__msg.is-error { color: #ff8f8f; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 30px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* Pulsante fisso (solo telefono) */
.sticky-cta { display: none; }

/* Video a tutto schermo */
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(8,7,11,0); pointer-events: none; visibility: hidden; }
.lightbox.is-open { pointer-events: auto; visibility: visible; }
.lightbox__frame { position: fixed; overflow: hidden; border-radius: var(--radius); background: #000; }
.lightbox__frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox__close { position: fixed; top: calc(var(--pad) * .8); right: var(--pad); padding: 12px 20px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 14px; font-weight: 500; opacity: 0; }

/* Tablet */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .ba__row { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: 1fr 1fr 1fr; }
  .shots .shots__wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .nav__links { gap: 22px; }
  .end__grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; }
  .demo { justify-self: center; }
}

/* Telefono */
@media (max-width: 767px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .hero { gap: 40px; padding: 100px var(--pad) 60px; }
  .hero__title { font-size: clamp(38px, 11vw, 56px); }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .demo { grid-template-columns: 1fr auto; grid-template-areas: "phone from" "phone arrow" "dots dots" "note note"; }
  .demo__arrow { transform: scaleX(-1); }
  .phone { width: min(62vw, 260px); }
  .demo__from img { width: 96px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .ba__row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .compare__knob { width: 34px; height: 34px; margin: -17px 0 0 -17px; font-size: 12px; }
  .compare__lbl { top: 8px; padding: 4px 8px; font-size: 9px; }
  .compare__lbl--l { left: 8px; } .compare__lbl--r { right: 8px; }
  .compare__brand { left: 10px; bottom: 10px; font-size: 16px; }
  .shots { grid-template-columns: 1fr 1fr; }
  .tile__sound { width: 30px; height: 30px; }
  .vs__row { grid-template-columns: 1fr 1fr; }
  .vs__row > span:first-child { grid-column: 1 / -1; padding-bottom: 0; }
  .vs__row--head > span:first-child { display: none; }
  .steps__row { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .foot { flex-direction: column; padding-bottom: 96px; }
  .end__grid, .form__row { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; justify-content: center; gap: 10px; position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); padding: 16px; border-radius: 999px; background: var(--acc); color: #120f1a; font-weight: 500; font-size: 15px; box-shadow: 0 16px 40px rgba(0,0,0,.45); transform: translateY(150%); transition: transform .6s var(--ease); }
  .sticky-cta.is-visible { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
