/* CF Communication · v7: black light, ice white, arancione.
   Il nero è profondo e prende luce (arancione e ghiaccio), i testi sono ice white, l'accento è l'arancione dei video CF
   (#FA5B1A), sempre a gradiente dal più scuro al più chiaro, con un bagliore. Una sezione (chi c'è dietro) è tutta
   ice white con riflessi scuri; i clienti stanno su una lastra chiara come la reference; il modulo, largo come il piede,
   si apre chiaro e grande. */

:root {
  --nero: #050506;
  --notte: #0B0B0D;
  --notte-2: #121216;
  --ghiaccio: #EEF3F8;
  --ghiaccio-2: #F7FAFC;
  --ghiaccio-3: #D6E0EA;
  --bianco: #FFFFFF;
  --testo: #F2F6FA;
  --testo-2: #AEB8C4;
  --testo-3: #7A8591;
  --inchiostro: #0A0C0F;
  --inchiostro-2: #4A5664;
  --inchiostro-3: #2A323C;
  --bordo: rgb(220 232 245 / .09);

  --arancio: #FA5B1A;
  --arancio-scuro: #D24005;
  --arancio-chiaro: #FFA06C;
  --grad-arancio: linear-gradient(135deg, #C93A04 0%, #FA5B1A 50%, #FF9A62 100%);
  --grad-arancio-v: linear-gradient(180deg, #FFA06C 0%, #FA5B1A 45%, #D24005 100%);
  --grad-arancio-testo: linear-gradient(100deg, #E0470A 0%, #FA5B1A 42%, #FFA872 100%);
  --grad-ghiaccio-testo: linear-gradient(180deg, #FFFFFF 30%, #C8D6E4 100%);
  --grad-notte: linear-gradient(180deg, #17171B 0%, #0C0C0F 55%, #070708 100%);
  --grad-vetro-nero: linear-gradient(160deg, #31343B 0%, #0E0F12 52%, #000 100%);
  --luce-bordo: linear-gradient(180deg, rgb(225 238 250 / .22), rgb(225 238 250 / .06) 30%, rgb(225 238 250 / .03) 70%, rgb(250 91 26 / .16));

  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-testo: "Geist", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --t-sezione: clamp(2.05rem, 1.3rem + 2.6vw, 3.4rem);
  --t-l: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  --t-m: clamp(1.02rem, .95rem + .3vw, 1.15rem);
  --t-s: .9375rem;
  --t-xs: .8125rem;

  --margine: clamp(18px, 5vw, 72px);
  --guscio: 1200px;
  --cornice: clamp(8px, 1.1vw, 16px);
  --sezione: clamp(92px, 10.5vw, 160px);
  --curva: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
@font-face { font-family: "Geist"; src: url("../fonts/geist.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
html { background: var(--nero); color-scheme: dark; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--nero); color: var(--testo);
  font: 400 var(--t-m)/1.6 var(--font-testo); letter-spacing: -.007em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
:focus-visible { outline: 2px solid var(--arancio-chiaro); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 90px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.salta { position: absolute; left: 12px; top: -60px; z-index: 80; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--inchiostro); font-weight: 600; text-decoration: none; }
.salta:focus { top: 12px; }
.trappola { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* il nero non è mai piatto: luci arancioni e ghiaccio fisse dietro la pagina */
.atmosfera { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 38% at 8% 4%, rgb(250 91 26 / .09), transparent 70%),
    radial-gradient(45% 34% at 96% 46%, rgb(150 195 255 / .05), transparent 70%),
    radial-gradient(60% 40% at 40% 104%, rgb(210 64 5 / .10), transparent 70%),
    var(--nero); }

/* l'accento: arancione a gradiente, dal più scuro al più chiaro, con un bagliore */
.accento { background-image: var(--grad-arancio-testo); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; filter: drop-shadow(0 0 22px rgb(250 91 26 / .28)); }
h2 .accento { display: block; }
/* le icone: tessere di vetro liquido nero; dal bordo in basso sale una luce arancione e oro, il simbolo è a gradiente
   (dall'oro al rosso, come la reference dell'icona) con un bagliore morbido */
.icona, .inclusi span, .promesse__ic, .fase__icona, .persona__ic, .chiamata__tel, .rec__icona { --s: 48px; display: grid; place-items: center; width: var(--s); height: var(--s); flex: none; isolation: isolate; border-radius: 30%; color: #FFB067;
  background:
    radial-gradient(95% 58% at 50% 114%, rgb(255 232 170 / .95) 0%, rgb(255 154 64 / .82) 24%, rgb(232 74 22 / .45) 48%, transparent 72%),
    radial-gradient(75% 55% at 50% 30%, rgb(48 18 8 / .85), transparent 75%),
    linear-gradient(180deg, #17171B 0%, #0A0A0C 56%, #1B0904 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), inset 0 -1.5px 0 rgb(255 236 200 / .75), inset 0 0 0 1px rgb(255 255 255 / .07), inset 0 -12px 20px -10px rgb(255 176 96 / .6), 0 14px 28px -14px rgb(250 91 26 / .75); }
.icona { position: relative; }
.icona::before, .inclusi span::before, .promesse__ic::before, .fase__icona::before, .persona__ic::before, .chiamata__tel::before, .rec__icona::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, rgb(255 255 255 / .17), transparent 40%); pointer-events: none; }
.icona svg, .inclusi span svg, .promesse__ic svg, .fase__icona > svg:not(.fase__giro):not(.fase__spunta), .persona__ic svg, .chiamata__tel svg, .rec__icona svg { width: 46%; height: 46%; stroke: url(#icona-grad); stroke-width: 2.1; filter: drop-shadow(0 0 4px rgb(250 91 26 / .75)) drop-shadow(0 0 1px rgb(255 200 150 / .6)); }
.icona--mini { --s: 26px; border-radius: 8px; }
.icona--mini svg { width: 58%; height: 58%; stroke-width: 2.3; }
.occhiello { display: inline-flex; align-items: center; gap: 9px; font: 500 var(--t-xs)/1 var(--font-testo); letter-spacing: .14em; text-transform: uppercase; color: #DCE6EF; }
.occhiello::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--arancio); box-shadow: 0 0 12px var(--arancio), 0 0 2px #FFC9A8 inset; }
/* il monogramma CF da solo, senza la scritta */
.marchio { display: block; width: 38px; height: 24px; fill: currentColor; stroke: none; transition: width .55s var(--curva), height .55s var(--curva); }
.logotipo { display: block; height: 18px; width: 130px; fill: currentColor; stroke: none; }

.sezione { position: relative; isolation: isolate; max-width: calc(var(--guscio) + 2 * var(--margine)); margin: 0 auto; padding: var(--sezione) var(--margine) 0; }
.testa { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 820px; margin: 0 auto; text-align: center; }
.testa h2 { font-weight: 600; font-size: var(--t-sezione); line-height: 1.07; letter-spacing: -.045em; }
.testa p:not(.occhiello) { max-width: 600px; color: var(--testo-2); }
/* pozze di luce arancione dietro le sezioni scure */
.metodo::before, .perchi::before, .landing::before, .domande::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 4%; width: min(1100px, 100%); height: 60%; transform: translateX(-50%); background: radial-gradient(50% 45% at 50% 30%, rgb(250 91 26 / .07), rgb(250 91 26 / .02) 50%, transparent 75%); pointer-events: none; }

/* ---------- bottoni a pillola ---------- */
.bottone {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 22px; border: 0; border-radius: 999px; white-space: nowrap;
  font: 600 var(--t-s)/1 var(--font-testo); letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  transition: transform .3s var(--curva), box-shadow .3s, filter .3s, opacity .3s;
}
.bottone:hover { transform: translateY(-1px); }
.bottone:active { transform: scale(.98); }
.bottone:disabled { opacity: .6; cursor: progress; }
.bottone__chevron { width: 16px; height: 16px; stroke-width: 2.4; margin-right: -4px; transition: transform .3s var(--curva); }
.bottone:hover .bottone__chevron { transform: translateX(3px); }
.bottone--arancio { background: var(--grad-arancio); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .38), inset 0 0 0 1px rgb(255 190 150 / .25), 0 12px 30px -12px rgb(250 91 26 / .85); }
.bottone--arancio:hover { filter: brightness(1.07) saturate(1.05); box-shadow: inset 0 1px 0 rgb(255 255 255 / .4), inset 0 0 0 1px rgb(255 190 150 / .3), 0 16px 40px -12px rgb(250 91 26 / 1); }
.bottone--nero { background: linear-gradient(180deg, #2B2B2F 0%, #111114 55%, #050506 100%); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), inset 0 0 0 1px rgb(255 255 255 / .1), 0 14px 30px -14px rgb(0 0 0 / .8); }
.bottone--nero:hover { filter: brightness(1.25); }
.bottone--grande { height: 60px; padding: 0 30px; font-size: 1.04rem; }
.bottone--piccolo { height: 40px; padding: 0 17px; font-size: var(--t-xs); }
/* il bottone principale: arancione pieno, il monogramma in un cerchio nero, un bagliore che respira */
.bottone--super { height: 62px; padding: 0 30px 0 10px; gap: 13px; font-size: 1.06rem; color: #fff; background: var(--grad-arancio);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .42), inset 0 0 0 1px rgb(255 190 150 / .3), 0 0 30px rgb(250 91 26 / .4), 0 0 90px rgb(250 91 26 / .18);
  animation: respira 3.4s ease-in-out infinite alternate; }
.bottone__segno { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad-vetro-nero); box-shadow: inset 0 1px 0 rgb(255 255 255 / .28), 0 4px 12px -4px rgb(0 0 0 / .6); }
.bottone__segno svg { width: 24px; height: 15px; fill: #fff; stroke: none; }
@keyframes respira { to { box-shadow: inset 0 1px 0 rgb(255 255 255 / .42), inset 0 0 0 1px rgb(255 190 150 / .3), 0 0 46px rgb(250 91 26 / .58), 0 0 130px rgb(250 91 26 / .26); } }

/* ---------- navigazione: una barra sola, larga in cima, si stringe appena scorri ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: max(14px, env(safe-area-inset-top, 0px)) var(--margine) 0; pointer-events: none; transition: padding .55s var(--curva); }
.nav__dentro { pointer-events: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; max-width: var(--guscio); height: 62px; margin: 0 auto; padding: 0 9px 0 22px; border-radius: 999px;
  background: rgb(255 255 255 / .035); border: 1px solid rgb(220 232 245 / .1); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  transition: max-width .6s var(--curva), height .55s var(--curva), padding .55s var(--curva), background-color .4s, border-color .4s, box-shadow .4s; }
.nav__logo { justify-self: start; display: inline-flex; text-decoration: none; color: var(--bianco); }
.nav__link { display: flex; gap: 2px; }
.nav__link a { padding: 8px 14px; border-radius: 999px; font-size: var(--t-xs); text-decoration: none; color: var(--testo-2); transition: color .25s, background-color .25s; }
.nav__link a:hover { color: var(--bianco); background: rgb(255 255 255 / .06); }
.nav__cta { justify-self: end; transition: height .55s var(--curva), padding .55s var(--curva), transform .3s var(--curva), filter .3s; }
.nav.sotto { padding-top: max(10px, env(safe-area-inset-top, 0px)); }
.nav.sotto .nav__dentro { max-width: 860px; height: 52px; padding-left: 18px; background: rgb(7 7 8 / .8); border-color: rgb(220 232 245 / .12); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 14px 40px -16px rgb(0 0 0 / .8); }
.nav.sotto .marchio { width: 34px; height: 21px; }
.nav.sotto .nav__cta { height: 36px; padding: 0 15px; }

/* ---------- caricamento ---------- */
.js .carica { animation: sale .9s var(--curva) both; animation-delay: var(--d, 0s); }
@keyframes sale { from { opacity: 0; transform: translateY(22px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* ---------- apertura: vetro scanalato davanti a una seta di luce arancione (WebGL), il titolo che va a fuoco ---------- */
.eroe { --cima: clamp(132px, 10.5vw, 172px); position: relative; isolation: isolate; overflow: hidden; margin: 0 var(--cornice); padding: var(--cima) 0 clamp(48px, 5.5vw, 84px); text-align: center;
  border-radius: 0 0 40px 40px; box-shadow: 0 1px 0 rgb(255 196 150 / .08); }
.eroe__sfondo { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
  background: radial-gradient(55% 42% at 20% 72%, rgb(250 91 26 / .3), transparent 70%), radial-gradient(42% 38% at 86% 38%, rgb(210 64 5 / .26), transparent 70%), #050506; }
/* la luce: un canvas WebGL; se il telefono non lo supporta resta il gradiente qui sopra */
.eroe__luce { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s ease .1s; }
.eroe__luce.pronta { opacity: 1; }
/* il velo scuro dietro il titolo e sul fondo, perché il testo resti leggibile */
.eroe__velo { position: absolute; inset: 0; background:
  radial-gradient(52% 38% at 50% 30%, rgb(5 5 6 / .8), rgb(5 5 6 / .42) 55%, transparent 84%),
  linear-gradient(180deg, rgb(5 5 6 / .55) 0%, transparent 20%, transparent 70%, rgb(5 5 6 / .3) 100%); }
.eroe__testo { display: flex; flex-direction: column; align-items: center; padding: 0 var(--margine); }
.eroe__titolo { font: 700 clamp(2.55rem, .8rem + 5.2vw, 5.4rem)/1.02 var(--font-display); letter-spacing: -.052em; }
.eroe__titolo .riga { display: block; padding: 0 .04em .07em; }
.riga--ghiaccio, .riga--ghiaccio .parola { background-image: var(--grad-ghiaccio-testo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.riga--arancio, .riga--arancio .parola { background-image: var(--grad-arancio-testo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.riga--arancio { filter: drop-shadow(0 0 28px rgb(250 91 26 / .35)); }
.riga.divisa { background: none; }
/* le parole vanno a fuoco una dopo l'altra, come i sottotitoli dei nostri video */
.parola { display: inline-block; padding-bottom: .06em; }
.js .parola { animation: a-fuoco .95s var(--curva) both; animation-delay: calc(var(--w) * 85ms + 120ms); }
@keyframes a-fuoco { from { opacity: 0; transform: translateY(.32em); filter: blur(14px); } to { opacity: 1; transform: none; filter: blur(0); } }
.eroe__sotto { max-width: 60ch; margin-top: 24px; color: #D3DBE3; font-size: clamp(1.03rem, .95rem + .38vw, 1.22rem); text-shadow: 0 1px 18px rgb(5 5 6 / .8); }
.eroe__azioni { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 32px; }
.eroe__nota { font-size: var(--t-xs); color: #9AA4AF; }
.eroe__punti { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.eroe__punti li { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgb(8 8 9 / .55); box-shadow: inset 0 0 0 1px rgb(220 232 245 / .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: var(--t-xs); font-weight: 500; color: #E3EAF1; }

/* ---------- i lavori: il carosello 3D (niente riflessi sui video: costano troppo e lo facevano scattare) ---------- */
.giostra { --w: clamp(140px, 13vw, 200px); position: relative; margin-top: clamp(46px, 5vw, 76px); }
/* il pavimento: una luce arancione morbida sotto le schede */
.giostra::before { content: ""; position: absolute; z-index: -1; left: 50%; top: calc(var(--w) * .8); width: min(1200px, 130%); height: calc(var(--w) * 1.6); transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 40%, rgb(250 91 26 / .16), rgb(250 91 26 / .04) 45%, transparent 70%); pointer-events: none; }
.giostra__scena { position: relative; height: calc(var(--w) * 16 / 9); perspective: 1700px; perspective-origin: 50% 40%; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.giostra__anello { position: absolute; inset: 0; transform-style: preserve-3d; }
.clip { position: absolute; left: 50%; top: 0; width: var(--w); aspect-ratio: 9 / 16; margin: 0 0 0 calc(var(--w) / -2); border-radius: calc(var(--w) * .1); overflow: hidden; background: #0B0B0C;
  box-shadow: 0 0 0 1px rgb(255 214 190 / .16), 0 34px 60px -26px #000; backface-visibility: hidden; -webkit-backface-visibility: hidden; will-change: transform; contain: layout paint; }
.clip video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.clip__tipo { position: absolute; left: 9px; top: 9px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px 5px 7px; border-radius: 999px; background: rgb(6 6 7 / .7); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); font: 600 11.5px/1 var(--font-testo); letter-spacing: .01em; color: #fff; pointer-events: none; }
.clip__tipo::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--arancio); box-shadow: 0 0 8px var(--arancio); }
.clip__ombra { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.giostra.pronta .giostra__scena { cursor: grab; }
.giostra__scena.presa { cursor: grabbing; }
/* senza script: una fila che si scorre col dito */
.giostra:not(.pronta) .giostra__scena { height: auto; perspective: none; }
.giostra:not(.pronta) .giostra__anello { position: static; display: flex; gap: 14px; overflow-x: auto; padding: 0 var(--margine) 8px; scroll-snap-type: x mandatory; }
.giostra:not(.pronta) .clip { position: relative; left: auto; flex: none; margin: 0; scroll-snap-align: center; }

/* ---------- schede scure: la base di servizi, del pannello dei 7 giorni e delle domande ---------- */
.servizio, .domande details, .sette__pannello { border: 1px solid transparent; background: radial-gradient(90% 60% at 50% 0%, rgb(255 255 255 / .045), transparent 70%) padding-box, var(--grad-notte) padding-box, var(--luce-bordo) border-box; }

/* ---------- i servizi: un bento, ogni scheda con il suo strumento ---------- */
.servizi__griglia { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "montaggio montaggio faceless" "strategia pubblica faceless" "motion motion motion"; gap: 14px; margin-top: 56px; }
.servizio--montaggio { grid-area: montaggio; }
.servizio--faceless { grid-area: faceless; }
.servizio--strategia { grid-area: strategia; }
.servizio--pubblica { grid-area: pubblica; }
.servizio--motion { grid-area: motion; }
.servizio { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 320px; padding: 20px 22px 24px; border-radius: 28px; overflow: hidden; }
.servizio__widget { position: relative; flex: 1; display: grid; place-items: center; min-height: 170px; }
.servizio__testo { position: relative; margin-top: 18px; }
.servizio h3 { font-weight: 600; font-size: clamp(1.22rem, 1.05rem + .55vw, 1.5rem); line-height: 1.15; letter-spacing: -.03em; }
.servizio__testo p { margin-top: 7px; max-width: 48ch; font-size: var(--t-s); line-height: 1.55; color: var(--testo-2); }
/* la scheda in risalto: arancione pieno a gradiente, come gli sfondi dei nostri video */
.servizio--accento { border: 0; color: #140500; background: radial-gradient(80% 50% at 20% 0%, rgb(255 205 170 / .9), transparent 70%), linear-gradient(165deg, #FFA06C 0%, #FA5B1A 45%, #C93A04 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), 0 40px 90px -46px rgb(250 91 26 / .8); }
.servizio--accento .servizio__testo p { color: rgb(20 5 0 / .78); }

/* la sezione dei servizi sta su una lastra bianca, per staccarla dal nero */
.sezione.servizi, .sezione.clienti { max-width: none; padding-inline: var(--cornice); }
.sezione.servizi { padding-top: var(--cornice); }
.lastra--servizi { padding-inline: clamp(16px, 4vw, 72px); padding-bottom: clamp(18px, 2.4vw, 32px); box-shadow: inset 0 1px 0 #fff, 0 60px 140px -60px rgb(250 91 26 / .35); }
.lastra--servizi .servizi__griglia { max-width: 1340px; margin: 48px auto 0; }
.lastra--servizi .servizio:not(.servizio--accento) { border: 0; color: var(--inchiostro); background: radial-gradient(90% 60% at 50% 0%, #fff, transparent 70%), linear-gradient(180deg, #FFFFFF 0%, #F2F6FA 100%);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgb(10 12 16 / .06), 0 24px 50px -32px rgb(10 12 16 / .35); }
.lastra--servizi .servizio:not(.servizio--accento) .servizio__testo p, .montaggio__testo p { color: var(--inchiostro-2); }

/* i video dei servizi: una scheda 3D in 9:16, come quelle del carosello. Il video è 9:16 anche lui, quindi si vede
   intero: niente bande nere, niente tagli. Su computer la scheda segue il mouse (main.js). */
.scheda3d { --rx: 5deg; --ry: 14deg; position: relative; width: 220px; flex: none; perspective: 1100px; }
.scheda3d--grande { width: clamp(232px, 20vw, 292px); }
.scheda3d__corpo { position: relative; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: #0B0B0C;
  transform: rotateX(calc(var(--rx) + var(--my, 0deg))) rotateY(calc(var(--ry) + var(--mx, 0deg))); transition: transform .8s var(--curva);
  box-shadow: 0 0 0 1px rgb(255 214 190 / .22), -28px 44px 70px -36px rgb(10 12 16 / .7), -10px 18px 34px -20px rgb(250 91 26 / .5); }
.scheda3d__corpo video { display: block; width: 100%; height: 100%; object-fit: cover; }
.scheda3d__corpo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgb(255 255 255 / .2) 0%, rgb(255 255 255 / .05) 22%, transparent 40%, transparent 74%, rgb(255 255 255 / .06) 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), inset 0 0 0 1px rgb(255 255 255 / .1); }
.scheda3d__tipo { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 8px; border-radius: 999px; background: rgb(6 6 7 / .7); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); font: 600 12px/1 var(--font-testo); letter-spacing: .01em; color: #fff; pointer-events: none; }
.scheda3d__tipo::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--arancio); box-shadow: 0 0 8px var(--arancio); }

/* montaggio: l'iPhone grande a sinistra, a destra il titolo con cosa c'è dentro */
.servizio--montaggio { padding: 22px 26px; }
.montaggio { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(22px, 3.4vw, 48px); height: 100%; }
.montaggio__testo { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.montaggio__testo p { font-size: var(--t-s); line-height: 1.55; max-width: 46ch; }
.montaggio__testo .inclusi { margin-top: 10px; }
.inclusi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 440px; margin: 0; padding: 0; list-style: none; }
.inclusi li { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 18px; background: #F1F5F9; box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgb(10 12 16 / .05); font-size: 13.5px; font-weight: 600; color: var(--inchiostro); }
/* l'icona su una tessera di vetro scuro, con il simbolo arancione che brilla */
.inclusi span { --s: 40px; position: relative; }
.js .inclusi li { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s var(--curva); transition-delay: calc(var(--k) * 90ms + 200ms); }
.js .visto .inclusi li { opacity: 1; transform: none; }

/* faceless: il video senza volto e la voce fuori campo */
.senzavolto { width: 100%; align-content: center; justify-items: center; gap: 18px; }
.senzavolto .scheda3d { --rx: 7deg; --ry: -10deg; width: clamp(190px, 17vw, 224px); }
.senzavolto .scheda3d__corpo { box-shadow: 0 0 0 1px rgb(255 230 210 / .35), 26px 46px 70px -34px rgb(70 18 0 / .85), 10px 18px 34px -18px rgb(70 18 0 / .6); }
.senzavolto__voce { display: grid; justify-items: center; gap: 12px; width: min(100%, 300px); }
.senzavolto__mic { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: rgb(20 5 0 / .12); box-shadow: inset 0 0 0 1px rgb(20 5 0 / .16); font-size: 12px; font-weight: 600; color: #140500; }
.onda { display: flex; align-items: center; gap: 4px; width: 100%; height: 54px; }
.onda i { flex: 1; height: calc(var(--h) * 100%); border-radius: 4px; background: linear-gradient(180deg, #1A0700, #4A1503); animation: onda 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--h) * -1.1s); }
@keyframes onda { from { transform: scaleY(.3); } to { transform: scaleY(1); } }

/* strategia: il calendario editoriale, come un widget vero */
.cal { position: relative; isolation: isolate; width: 100%; max-width: 350px; padding: 18px 14px 14px; border-radius: 28px; overflow: hidden;
  background: radial-gradient(70% 36% at 50% 0%, rgb(250 91 26 / .3), transparent 70%), linear-gradient(180deg, #1D1D21, #111114); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), inset 0 0 0 1px rgb(255 255 255 / .05), 0 30px 60px -30px #000; }
.cal__luce { position: absolute; left: 50%; top: 0; width: 42%; height: 5px; border-radius: 0 0 6px 6px; transform: translateX(-50%); background: var(--grad-arancio); box-shadow: 0 0 24px 6px rgb(250 91 26 / .5); }
.cal__testa { display: flex; align-items: center; justify-content: space-between; margin: 2px 2px 14px; }
.cal__mese { font: 600 1.02rem/1 var(--font-testo); letter-spacing: -.01em; color: #fff; }
.cal__freccia { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); color: #DDE4EC; }
.cal__freccia svg { width: 15px; height: 15px; stroke-width: 2.2; }
.cal__sett, .cal__griglia { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; }
.cal__sett { margin-bottom: 4px; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #7E8794; }
.cal__griglia { row-gap: 2px; }
.cal__griglia span { position: relative; isolation: isolate; display: grid; place-items: center; height: 33px; font-size: 13px; font-weight: 500; color: #F2F6FA; font-variant-numeric: tabular-nums; }
.cal__griglia span.fuori { color: #4A515A; }
.cal__griglia span.si::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--arancio); box-shadow: 0 0 8px var(--arancio); }
.cal__griglia span.oggi { color: #fff; font-weight: 700; }
.cal__griglia span.oggi::before { content: ""; position: absolute; z-index: -1; width: 33px; height: 33px; border-radius: 50%; background: var(--grad-arancio); box-shadow: 0 0 0 4px rgb(250 91 26 / .18), 0 8px 24px -4px rgb(250 91 26 / .95); }
.cal__griglia span.oggi::after { display: none; }
.cal__nota { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 11px 4px 0; border-top: 1px solid rgb(255 255 255 / .07); font-size: 11.5px; color: var(--testo-2); }
.cal__nota i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--arancio); box-shadow: 0 0 8px var(--arancio); }
.cal__conta { color: #fff; font-weight: 600; }
/* i giorni con un video compaiono uno dopo l'altro, poi si accende il prossimo */
.js .cal__griglia span.si::after { transform: scale(0); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--k, 0) * 55ms + 250ms); }
.js .visto .cal__griglia span.si::after { transform: none; }
.js .cal__griglia span.oggi::before { transform: scale(.3); opacity: 0; transition: transform .6s cubic-bezier(.3, 1.5, .5, 1) 1.1s, opacity .3s 1.1s; }
.js .visto .cal__griglia span.oggi::before { transform: none; opacity: 1; animation: pulsa 2.6s ease-in-out 2s infinite; }
@keyframes pulsa { 50% { box-shadow: 0 0 0 7px rgb(250 91 26 / .12), 0 8px 30px -2px rgb(250 91 26 / 1); } }

/* pubblicazione: il telefono e le notifiche che arrivano, con le icone vere dei social */
.notif { position: relative; width: 100%; max-width: 350px; height: 236px; }
.notif__telefono { position: absolute; left: 50%; top: 0; width: 84%; height: 100%; transform: translateX(-50%); border-radius: 44px 44px 0 0; padding: 7px 7px 0; background: linear-gradient(150deg, #8E9196 0%, #4A4D52 18%, #2A2C30 50%, #55585D 82%, #9A9DA2 100%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .35), 0 40px 60px -40px rgb(10 12 16 / .6);
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
.notif__telefono::before { content: ""; position: absolute; inset: 7px 7px 0; border-radius: 38px 38px 0 0; background: radial-gradient(80% 50% at 50% 0%, rgb(250 91 26 / .2), transparent 70%), linear-gradient(180deg, #1D1D22 0%, #0B0B0D 75%); }
.notif__isola { position: absolute; z-index: 1; left: 50%; top: 18px; width: 78px; height: 23px; margin-left: -39px; border-radius: 999px; background: #000; }
.notif__ora { position: absolute; z-index: 1; left: 32px; top: 22px; font: 600 12px/1 var(--font-testo); color: #fff; }
.notif__lista { position: absolute; z-index: 1; left: 0; right: 0; top: 56px; display: grid; gap: 8px; }
.notif__voce { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 19px; background: rgb(42 42 48 / .94); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 14px 30px -14px #000; }
.notif__voce .marca { width: 36px; height: 36px; flex: none; border-radius: 9px; }
.notif__testo { flex: 1; min-width: 0; display: grid; gap: 1px; }
.notif__testo b { font-size: 13px; font-weight: 600; color: #fff; }
.notif__testo span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; color: #C9D1DA; }
.notif__voce small { align-self: flex-start; font-size: 11px; color: #8E97A3; }
/* arrivano dall'alto, prima la più vecchia: l'ultima in cima dice "ora"; poi il giro ricomincia */
.js .notif__voce { opacity: 0; transform: translateY(-24px) scale(.94); }
.js .visto .notif__voce { animation: notifica 7.2s cubic-bezier(.2, .9, .25, 1.12) infinite; animation-delay: calc((2 - var(--k)) * 1s + .3s); }
@keyframes notifica { 0% { opacity: 0; transform: translateY(-24px) scale(.94); } 7%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(-6px) scale(.98); } }
.marca { stroke: none; }

/* motion graphics e 3D: il trailer ufficiale di Becode, in orizzontale accanto al testo */
.servizio--motion { flex-direction: row; align-items: center; gap: clamp(20px, 4vw, 56px); min-height: 0; padding: 16px 34px 16px 16px; }
.servizio--motion .servizio__widget { flex: 0 1 62%; min-height: 0; }
.servizio--motion .servizio__testo { flex: 1; margin-top: 0; }
.trailer { width: 100%; }
.trailer__schermo { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgb(255 214 190 / .14), 0 30px 70px -30px #000; }
.trailer__schermo video { width: 100%; height: 100%; object-fit: cover; }
.trailer__chip { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 9px; border-radius: 999px; background: rgb(6 6 7 / .7); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); font-size: 11.5px; font-weight: 600; color: #fff; }
.trailer__chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--arancio); box-shadow: 0 0 8px var(--arancio); }

/* ---------- 7 giorni: mentre scorri, l'anello si chiude e il numero sale da 0 a 7 ---------- */
.sette__pannello { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 36px; overflow: hidden; }
.sette__pannello::before { content: ""; position: absolute; z-index: -1; left: -10%; top: -20%; width: 60%; height: 140%; background: radial-gradient(closest-side, rgb(250 91 26 / .22), rgb(250 91 26 / .05) 55%, transparent); pointer-events: none; }
.sette__orologio { position: relative; width: min(100%, 360px); aspect-ratio: 1; margin: 0 auto; }
.sette__anello { width: 100%; height: 100%; overflow: visible; }
.sette__fondo { fill: rgb(255 255 255 / .02); stroke: rgb(255 255 255 / .06); stroke-width: 12; }
.sette__arco { fill: none; stroke: url(#arancio); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; filter: drop-shadow(0 0 8px rgb(250 91 26 / .75)); }
.sette__tacche circle { fill: #FFC6A2; stroke: #0B0B0D; stroke-width: 2.5; transition: fill .3s, opacity .3s; }
.js .sette__tacche circle { fill: #2A2A30; }
.js .sette__tacche circle.si { fill: #FFC6A2; }
.sette__numero { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; filter: drop-shadow(0 0 30px rgb(250 91 26 / .4)); }
/* il rullo: le cifre da 0 a 7 (più uno 0 per ricominciare) scorrono in una finestra alta una cifra */
.slot { display: block; height: 1em; overflow: hidden; font: 800 clamp(7rem, 5rem + 7vw, 11rem)/1 var(--font-display); letter-spacing: -.06em;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%); }
.slot__rullo { display: block; will-change: transform; transform: translateY(-7em); }
.slot__rullo b { display: block; height: 1em; text-align: center; font-variant-numeric: tabular-nums; background-image: var(--grad-arancio-v); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sette__unita { margin-top: 2px; font: 500 var(--t-xs)/1 var(--font-testo); letter-spacing: .24em; text-transform: uppercase; color: #E3EAF1; }
.sette__testo { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.sette__testo h2 { font-weight: 600; font-size: var(--t-sezione); line-height: 1.07; letter-spacing: -.045em; }
.sette__sotto { color: var(--testo-2); max-width: 46ch; }
.promesse { display: grid; gap: 12px; width: 100%; margin: 8px 0 0; padding: 0; list-style: none; }
.promesse li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 20px; background: rgb(255 255 255 / .035); box-shadow: inset 0 0 0 1px rgb(220 232 245 / .08); color: var(--testo-2); font-size: var(--t-s); line-height: 1.5; }
.promesse b { display: block; margin-bottom: 2px; color: #fff; font: 600 1.05rem/1.3 var(--font-display); letter-spacing: -.02em; }
.promesse__ic { --s: 44px; position: relative; }

/* ---------- come funziona: quattro schede alte, chiare e arancioni, con un solo gesto animato ciascuna ---------- */
.fasi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 56px 0 0; padding: 0; list-style: none; perspective: 1400px; }
.fase { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 18px; min-height: 470px; padding: 26px 24px 28px; border-radius: 30px; overflow: hidden; transform-style: preserve-3d; transition: transform .6s var(--curva), box-shadow .6s; }
.fase--chiara { color: var(--inchiostro); background: linear-gradient(170deg, #FFFFFF 0%, #F3F6FA 55%, #E5ECF3 100%); box-shadow: inset 0 1px 0 #fff, 0 40px 80px -42px rgb(250 91 26 / .55); }
.fase--arancio { color: #fff; background: linear-gradient(165deg, #FFA06C 0%, #FA5B1A 48%, #C93A04 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), 0 40px 80px -40px rgb(250 91 26 / .9); }
/* la luce che vaga piano dentro la scheda (e segue il mouse) */
.fase__luce { position: absolute; z-index: -1; left: var(--lx, 30%); top: var(--ly, 22%); width: 130%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; transition: left .6s var(--curva), top .6s var(--curva); animation: vaga 11s ease-in-out infinite alternate; }
.fase--chiara .fase__luce { background: radial-gradient(closest-side, rgb(250 91 26 / .3), rgb(255 160 108 / .12) 45%, transparent 72%); }
.fase--arancio .fase__luce { background: radial-gradient(closest-side, rgb(255 240 225 / .55), rgb(255 200 160 / .16) 45%, transparent 72%); }
@keyframes vaga { 0% { translate: 0 0; } 50% { translate: 16% 24%; } 100% { translate: -12% 44%; } }
.fase__n { font: 800 clamp(3.2rem, 2.6rem + 1.6vw, 4.4rem)/.9 var(--font-display); letter-spacing: -.05em; }
.fase--chiara .fase__n { background-image: var(--grad-arancio-testo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fase--arancio .fase__n { color: rgb(255 255 255 / .96); }
.fase__icona { --s: 104px; position: relative; margin: auto 0; }
/* 01: il telefono squilla e le onde si allargano */
.fase__icona--onde::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px rgb(250 91 26 / .55); animation: onde 2.4s ease-out infinite; }
@keyframes onde { from { transform: scale(1); opacity: .9; } to { transform: scale(1.75); opacity: 0; } }
.fase__icona--onde > svg { animation: squilla 2.6s ease-in-out infinite; }
/* 02: la camera registra */
.fase__icona--rec i { position: absolute; right: 19px; top: 21px; width: 13px; height: 13px; border-radius: 50%; background: #FF3B30; box-shadow: 0 0 0 3px #fff, 0 0 14px #FF3B30; animation: lampeggia 1.2s steps(2, jump-none) infinite; }
@keyframes lampeggia { 50% { opacity: .15; } }
/* 03: l'anello dei 7 giorni si riempie */
.fase__icona > .fase__giro { position: absolute; inset: -9px; width: calc(100% + 18px); height: calc(100% + 18px); }
.fase__giro rect { fill: none; stroke: url(#arancio); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: riempi 3.4s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes riempi { 0% { stroke-dashoffset: 100; opacity: 1; } 70%, 86% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
/* 04: la spunta si disegna */
.fase__icona > .fase__spunta { width: 54px; height: 54px; }
.fase__spunta path { fill: none; stroke: url(#arancio); filter: drop-shadow(0 0 5px rgb(250 91 26 / .8)); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: disegna 2.8s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes disegna { 0%, 10% { stroke-dashoffset: 100; opacity: 1; } 45%, 86% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fase__testo h3 { font-weight: 600; font-size: 1.42rem; line-height: 1.15; letter-spacing: -.03em; }
.fase__testo p { margin-top: 8px; font-size: 1rem; line-height: 1.55; }
.fase--chiara .fase__testo p { color: var(--inchiostro-2); }
.fase--arancio .fase__testo p { color: rgb(255 255 255 / .93); }
.metodo__cta { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- i clienti: la lastra chiara come la reference, il logo del brand come foto profilo ---------- */
.lastra { position: relative; isolation: isolate; padding: clamp(48px, 6vw, 88px) clamp(16px, 3.4vw, 48px) clamp(40px, 5vw, 72px); border-radius: 40px; overflow: hidden; color: var(--inchiostro); color-scheme: light;
  background: radial-gradient(60% 40% at 50% 0%, #fff, transparent 70%), linear-gradient(180deg, var(--ghiaccio-2) 0%, var(--ghiaccio) 100%);
  box-shadow: inset 0 1px 0 #fff, 0 60px 140px -60px rgb(250 91 26 / .3); }
.lastra .occhiello { color: var(--inchiostro-2); }
.lastra .testa p:not(.occhiello) { color: var(--inchiostro-2); }
.muro { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; max-width: 1340px; margin: 48px auto 0; }
.clienti .lastra { padding-inline: clamp(16px, 4vw, 72px); }
.muro__col { display: grid; gap: 14px; }
.muro__col:nth-child(2) { margin-top: -26px; }
.rec { display: grid; gap: 6px; padding: 20px 20px 22px; border-radius: 22px; background: #E5ECF3; box-shadow: inset 0 1px 0 rgb(255 255 255 / .9); font-size: 14.5px; line-height: 1.5; }
.rec__testa { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
/* il logo del brand in un cerchio, come la foto profilo di un social */
.rec__av { width: 52px; height: 52px; flex: none; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 2px #fff, 0 6px 16px -8px rgb(10 12 16 / .5); }
.rec__av--sigla { display: grid; place-items: center; background: var(--grad-arancio); color: #fff; font: 700 15px/1 var(--font-display); letter-spacing: .02em; }
.rec__chi { flex: 1; min-width: 0; display: grid; gap: 2px; }
.rec__chi b { font-weight: 600; font-size: 15px; line-height: 1.25; color: var(--inchiostro); }
.rec__chi small { font-size: 12.5px; color: var(--inchiostro-2); }
.rec__segno { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; color: #A7B4C2; }
.rec__segno svg { width: 20px; height: 20px; stroke-width: 2; }
.rec__testo { color: var(--inchiostro-3); }
.rec__testo + .rec__testo { margin-top: 2px; }
.rec__testo b { color: var(--inchiostro); }
/* le schede grandi: al posto della foto, il risultato su nero acceso o arancione */
.rec--media { position: relative; isolation: isolate; align-content: end; min-height: 380px; padding: 22px; overflow: hidden; color: #fff; background: radial-gradient(70% 55% at 70% 20%, rgb(250 91 26 / .5), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgb(210 64 5 / .35), transparent 70%), linear-gradient(180deg, #1B1B1F, #070708); box-shadow: 0 30px 60px -34px rgb(0 0 0 / .6); }
.rec--arancio { background: radial-gradient(80% 50% at 30% 0%, rgb(255 210 180 / .85), transparent 70%), linear-gradient(170deg, #FFA06C 0%, #FA5B1A 48%, #B93503 100%); color: #140500; }
.rec__icona { --s: 44px; position: absolute; left: 18px; top: 18px; }
.rec__cifra { font: 800 clamp(2.8rem, 2.2rem + 2vw, 3.8rem)/1 var(--font-display); letter-spacing: -.05em; }
.rec__cifra small { display: block; margin-top: 6px; font: 600 13px/1.2 var(--font-testo); letter-spacing: .02em; opacity: .8; }
.rec__titolo { margin-top: 10px; font: 600 1.08rem/1.35 var(--font-display); letter-spacing: -.02em; }
.rec__firma { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 12.5px; }
.rec__firma b { display: block; font-size: 14px; }
.rec__firma small { opacity: .75; }
.rec__firma .rec__av { width: 44px; height: 44px; box-shadow: 0 0 0 2px rgb(255 255 255 / .9); }

/* ---------- per chi è: le persone che registrano col telefono ---------- */
.perchi__griglia { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.profilo { position: relative; isolation: isolate; aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; background: #0B0B0D; box-shadow: 0 0 0 1px rgb(255 214 190 / .12), 0 40px 80px -40px rgb(250 91 26 / .45); }
.profilo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--curva); }
.profilo:hover img { transform: scale(1.04); }
.profilo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgb(5 5 6 / .55) 62%, rgb(5 5 6 / .94) 100%); pointer-events: none; }
.profilo__testo { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: grid; gap: 8px; justify-items: start; padding: 22px; }
.profilo__chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--grad-arancio); color: #fff; font-size: 12px; font-weight: 600; box-shadow: 0 8px 20px -8px rgb(250 91 26 / .9); }
.profilo h3 { font-weight: 600; font-size: 1.45rem; letter-spacing: -.03em; }
.profilo p { font-size: var(--t-s); line-height: 1.5; color: #C9D2DB; }

/* ---------- landing page: solo testo, poi due esempi grandi ---------- */
.landing__testo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 48px); margin-top: 56px; }
.landing__voce { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-left: 22px; border-left: 1px solid rgb(220 232 245 / .16); }
.landing__tag { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--arancio-chiaro); }
.landing__voce h3 { font-weight: 600; font-size: 1.45rem; line-height: 1.15; letter-spacing: -.03em; }
.landing__voce > p:not(.landing__tag):not(.landing__ore) { color: var(--testo-2); font-size: var(--t-s); line-height: 1.6; }
.landing__voce--ore { border-left-color: rgb(250 91 26 / .6); }
.landing__voce--ore > p:not(.landing__ore) { color: #DDE4EC; font-size: var(--t-m); }
.landing__ore { display: flex; align-items: baseline; gap: 8px; font: 600 1.1rem/1 var(--font-display); color: #fff; }
.landing__ore b { font: 800 4.6rem/.85 var(--font-display); letter-spacing: -.06em; background-image: var(--grad-arancio-v); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 24px rgb(250 91 26 / .4)); }
.landing__voce--ore .bottone { margin-top: 6px; }
.vetrina { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; margin-top: 48px; }
.sito { display: grid; gap: 16px; align-content: start; }
.sito__cornice { border-radius: 24px; overflow: hidden; background: #0E0E0F; border: 1px solid rgb(220 232 245 / .12); box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 40px 90px -40px #000, 0 30px 80px -50px rgb(250 91 26 / .45); }
.browser__barra { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--bordo); font-size: 12px; color: var(--testo-2); }
.browser__barra i { width: 9px; height: 9px; border-radius: 50%; background: #26272A; }
.browser__barra i:first-child { background: var(--arancio); box-shadow: 0 0 6px var(--arancio); }
.browser__barra span { flex: 1; margin: 0 8% 0 12px; padding: 3px 12px; border-radius: 999px; background: #171719; text-align: center; }
.browser__vista { position: relative; overflow: hidden; background: #000; height: clamp(400px, 38vw, 580px); }
.browser__vista img { width: 100%; height: auto; will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .scorre.in-vista .scorre__img { animation: scorri-pagina var(--dur, 24s) cubic-bezier(.45, 0, .55, 1) infinite alternate; }
  .scorre:hover .scorre__img { animation-play-state: paused; }
}
@keyframes scorri-pagina { 0%, 6% { transform: translateY(0); } 94%, 100% { transform: translateY(var(--dist, 0px)); } }
.sito__info { display: grid; gap: 4px; }
.sito__info h3 { font-weight: 600; font-size: 1.25rem; letter-spacing: -.03em; }
.sito__info p { color: var(--testo-2); font-size: var(--t-s); }
.sito__info a { justify-self: start; margin-top: 4px; font-weight: 600; font-size: var(--t-s); color: var(--arancio-chiaro); text-underline-offset: 4px; }

/* ---------- chi c'è dietro: tutta ice white, con qualche riflesso scuro, il ritratto sul gradiente arancione ---------- */
.chi { position: relative; isolation: isolate; margin: var(--sezione) var(--cornice) 0; padding: clamp(64px, 8vw, 112px) var(--margine); border-radius: 40px; overflow: hidden; color: var(--inchiostro); color-scheme: light;
  background: radial-gradient(55% 45% at 75% 0%, #fff, transparent 70%), linear-gradient(180deg, #F8FBFD 0%, #EEF3F8 55%, #E3EBF3 100%);
  box-shadow: inset 0 1px 0 #fff, 0 60px 140px -60px rgb(200 225 255 / .25); }
/* i riflessi scuri: ombre lucide come su una superficie nera vicina */
.chi__riflesso { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; }
.chi__riflesso--a { right: -14%; top: -30%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgb(8 10 14 / .2), rgb(8 10 14 / .07) 55%, transparent); }
.chi__riflesso--b { left: -18%; bottom: -40%; width: 64%; aspect-ratio: 1; background: radial-gradient(closest-side, rgb(8 10 14 / .16), rgb(8 10 14 / .05) 55%, transparent); }
.chi::after { content: ""; position: absolute; z-index: -1; inset: -20% -10%; background: linear-gradient(115deg, transparent 40%, rgb(10 12 16 / .06) 47%, rgb(255 255 255 / .55) 50%, rgb(10 12 16 / .05) 53%, transparent 60%); pointer-events: none; }
.chi__dentro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; max-width: var(--guscio); margin: 0 auto; }
/* il ritratto sta in alto, con aria attorno; le etichette stanno sulla maglia, mai sul viso */
.persona { position: relative; width: min(100%, 410px); margin: 6px auto 0; }
.persona__cornice { aspect-ratio: 4 / 5; border-radius: 36px; overflow: hidden; background: #2A0D02; box-shadow: 0 0 0 1px rgb(10 12 16 / .06), 0 50px 90px -40px rgb(210 64 5 / .7), 0 20px 40px -24px rgb(10 12 16 / .5); }
.persona__cornice img { width: 100%; height: 100%; object-fit: cover; }
/* il vetro nero: il riflesso scuro che spezza il bianco */
.vetro-nero { position: absolute; z-index: 1; overflow: hidden; color: #fff; background: var(--grad-vetro-nero); box-shadow: inset 0 1px 0 rgb(255 255 255 / .3), inset 0 0 0 1px rgb(255 255 255 / .1), 0 24px 40px -18px rgb(10 12 16 / .7); }
.vetro-nero::after { content: ""; position: absolute; inset: -50% -30%; background: linear-gradient(115deg, transparent 42%, rgb(255 255 255 / .2) 50%, transparent 58%); transform: translateX(-40%); animation: riflesso 9s ease-in-out infinite; pointer-events: none; }
.persona__marchio { left: -22px; top: -22px; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; animation: galleggia 6s ease-in-out infinite; }
.persona__marchio svg { width: 40px; height: 25px; fill: #fff; stroke: none; }
.persona__chip { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 12px; border-radius: 999px; white-space: nowrap; animation: galleggia 6.5s ease-in-out infinite; }
.persona__chip small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.persona__chip b { font: 600 16px/1.2 var(--font-display); letter-spacing: -.02em; }
.persona__chip--a { right: -26px; bottom: 21%; padding: 8px 20px 8px 8px; animation-delay: -2s; }
.persona__ic { --s: 42px; position: relative; }
.persona__chip--b { left: -24px; bottom: 5%; padding: 9px 9px 9px 20px; background: #fff; color: var(--inchiostro); box-shadow: 0 24px 40px -18px rgb(10 12 16 / .4); animation-delay: -4s; }
.pila { display: flex; }
.pila img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -10px; }
@keyframes galleggia { 50% { transform: translateY(-8px); } }
.chi__testo { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 8px; }
.chi .occhiello { color: var(--inchiostro-2); }
.chi__testo h2 { font-weight: 600; font-size: var(--t-sezione); line-height: 1.07; letter-spacing: -.045em; }
.chi__testo h2 .accento { display: inline; filter: drop-shadow(0 0 18px rgb(250 91 26 / .25)); }
.chi__grande { font: 500 var(--t-l)/1.35 var(--font-display); letter-spacing: -.025em; color: var(--inchiostro); }
.chi__testo > p:not(.occhiello):not(.chi__grande) { color: var(--inchiostro-2); max-width: 56ch; }
.competenze { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.competenze li { padding: 9px 15px; border-radius: 999px; background: var(--grad-vetro-nero); box-shadow: inset 0 1px 0 rgb(255 255 255 / .25), 0 10px 20px -12px rgb(10 12 16 / .6); font-size: var(--t-xs); font-weight: 500; color: #F2F6FA; }
.link-ig { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--inchiostro); }
.link-ig svg { width: 16px; height: 16px; stroke-width: 2.2; color: var(--arancio); transition: transform .3s var(--curva); }
.link-ig:hover svg { transform: translate(2px, -2px); }

/* ---------- la call: il pannello scuro, largo come il piede, che si apre nel modulo chiaro e alto ---------- */
.prenota-sezione { padding-bottom: 0; }
.chiamata { position: relative; isolation: isolate; display: grid; border-radius: 36px; overflow: hidden; color: var(--testo);
  background: radial-gradient(55% 90% at 50% 125%, rgb(250 91 26 / .62), rgb(210 64 5 / .2) 45%, transparent 75%), radial-gradient(40% 60% at 0% 0%, rgb(255 160 108 / .1), transparent 70%), var(--grad-notte);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), inset 0 0 0 1px rgb(220 232 245 / .07), 0 50px 120px -50px rgb(250 91 26 / .55); }
/* la lastra chiara che arriva quando il modulo si apre */
.chiamata__chiaro { position: absolute; inset: 0; z-index: 0; opacity: 0; pointer-events: none; transition: opacity .38s ease;
  background: radial-gradient(60% 40% at 80% 0%, #fff, transparent 70%), linear-gradient(180deg, #F8FBFD 0%, #EEF3F8 100%); }
.chiamata.aperta .chiamata__chiaro { opacity: 1; }
.chiamata__invito, .modulo-cf, .chiamata__fatto { position: relative; z-index: 1; grid-area: 1 / 1; }
.chiamata__invito { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: clamp(48px, 6vw, 88px) 24px; text-align: center; }
.chiamata__invito[hidden], .chiamata__fatto[hidden] { display: none; }
.chiamata__volti { display: flex; align-items: center; margin-bottom: 6px; }
.chiamata__volti img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid #FA5B1A; box-shadow: 0 0 0 4px rgb(250 91 26 / .2), 0 12px 28px -8px rgb(250 91 26 / .7); }
.chiamata__tel { --s: 56px; position: relative; margin-left: -14px; }
.chiamata__tel svg { animation: squilla 2.6s ease-in-out infinite; }
@keyframes squilla { 0%, 60%, 100% { transform: rotate(0); } 64%, 72%, 80% { transform: rotate(-14deg); } 68%, 76% { transform: rotate(14deg); } }
.chiamata h2 { font-weight: 600; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.3rem); line-height: 1.06; letter-spacing: -.045em; }
.chiamata__invito > p:not(.chiamata__nota) { max-width: 52ch; font-size: var(--t-m); color: #C7D0DA; }
.chiamata__apri { margin-top: 10px; }
.chiamata__nota { font-size: var(--t-xs); color: var(--testo-3); }

/* il modulo: grande, chiaro, quasi quadrato, con i passi a sinistra */
.modulo-cf { display: grid; grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); min-height: 660px; padding: clamp(14px, 2vw, 22px); color: var(--inchiostro); color-scheme: light; }
.modulo-cf[hidden] { display: none; }
.modulo-cf__lato { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 28px; padding: 30px 26px; border-radius: 26px; color: var(--testo);
  background: radial-gradient(80% 60% at 0% 100%, rgb(250 91 26 / .45), transparent 70%), var(--grad-notte); box-shadow: inset 0 1px 0 rgb(255 255 255 / .14); }
.modulo-cf__titolo { font: 600 1.45rem/1.15 var(--font-display); letter-spacing: -.035em; }
.modulo-cf__tappe { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.modulo-cf__tappe li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; font-size: var(--t-s); font-weight: 500; color: var(--testo-3); transition: background-color .3s, color .3s; }
.modulo-cf__tappe i { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; font: 600 12.5px/1 var(--font-testo); font-style: normal; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .18); transition: background .3s, box-shadow .3s; }
.modulo-cf__tappe li.ora { color: #fff; background: rgb(255 255 255 / .06); }
.modulo-cf__tappe li.ora i, .modulo-cf__tappe li.fatta i { background: var(--grad-arancio); box-shadow: 0 0 14px -2px rgb(250 91 26 / .9); color: #fff; }
.modulo-cf__tappe li.fatta { color: #DCE4EC; }
.modulo-cf__chi { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: var(--t-xs); color: var(--testo-2); }
.modulo-cf__chi img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--arancio); }
.modulo-cf__chi b { display: block; color: #fff; font-size: var(--t-s); }
.modulo-cf__corpo { display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: clamp(10px, 1.6vw, 22px) clamp(4px, 1vw, 14px) clamp(10px, 1.4vw, 18px) 0; }
.modulo-cf__testa { display: flex; align-items: center; gap: 16px; }
.modulo-cf__passo { font-size: var(--t-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--inchiostro-2); white-space: nowrap; }
.modulo-cf__barra { display: grid; grid-template-columns: repeat(4, 40px); gap: 6px; }
.modulo-cf__barra i { position: relative; height: 5px; border-radius: 3px; background: rgb(10 12 16 / .1); overflow: hidden; }
.modulo-cf__barra i::after { content: ""; position: absolute; inset: 0; background: var(--grad-arancio); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--curva); }
.modulo-cf__barra i.fatta::after { transform: none; }
.modulo-cf__chiudi { display: grid; place-items: center; width: 42px; height: 42px; margin-left: auto; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--inchiostro); box-shadow: inset 0 0 0 1px rgb(10 12 16 / .1), 0 6px 14px -8px rgb(10 12 16 / .4); cursor: pointer; transition: transform .3s var(--curva); }
.modulo-cf__chiudi:hover { transform: rotate(90deg); }
.modulo-cf__chiudi svg { width: 17px; height: 17px; stroke-width: 2.2; }
/* il passo sta al centro dello spazio, il bottone in fondo */
.mc-slide { display: grid; gap: 18px; margin: auto 0; }
.mc-slide[hidden] { display: none; }
.mc-slide h3 { font-weight: 600; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.08; letter-spacing: -.045em; }
.mc-slide h3:focus { outline: none; }
.mc-sotto { font-size: var(--t-m); color: var(--inchiostro-2); margin-top: -6px; }
.mc-sotto b { color: var(--inchiostro); }
.mc-doppio { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mc-campo { display: grid; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--inchiostro-3); }
.mc-campo input, .mc-campo textarea { width: 100%; height: 62px; padding: 0 18px; border-radius: 16px; border: 1.5px solid var(--ghiaccio-3); background: #fff; color: var(--inchiostro); font: 400 17px/1.4 var(--font-testo); transition: border-color .2s, box-shadow .2s; }
.mc-campo textarea { height: auto; min-height: 118px; padding: 16px 18px; resize: vertical; }
.mc-campo textarea::placeholder { color: #93A0AE; }
.mc-campo input:hover, .mc-campo textarea:hover { border-color: #BFCCD9; }
.mc-campo input:focus, .mc-campo textarea:focus { outline: none; border-color: var(--arancio); box-shadow: 0 0 0 4px rgb(250 91 26 / .16); }
.mc-campo [aria-invalid="true"] { border-color: #D6334F; }
.mc-scelte { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.mc-scelte legend { width: 100%; margin-bottom: 10px; padding: 0; font-size: 1.02rem; font-weight: 600; color: var(--inchiostro); }
.mc-scelte label { position: relative; cursor: pointer; }
.mc-scelte input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mc-scelte span { display: inline-flex; align-items: center; min-height: 56px; padding: 12px 20px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ghiaccio-3); font-size: 1rem; font-weight: 500; color: var(--inchiostro); transition: background .2s, color .2s, box-shadow .2s, transform .2s var(--curva); }
@media (hover: hover) { .mc-scelte label:hover span { box-shadow: inset 0 0 0 1.5px #F7A57B; } }
.mc-scelte input:checked + span { background: var(--grad-arancio); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 10px 24px -12px rgb(250 91 26 / .95); }
.mc-scelte input:active + span { transform: scale(.98); }
.mc-scelte input:focus-visible + span { outline: 2px solid var(--arancio); outline-offset: 2px; }
.mc-scelte.errore span { box-shadow: inset 0 0 0 1.5px #D6334F; }
.mc-scelte + .mc-scelte { margin-top: 8px; }
.mc-consenso { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: var(--t-s); color: var(--inchiostro-2); cursor: pointer; }
.mc-consenso input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--arancio); }
.mc-consenso a { color: var(--inchiostro); font-weight: 600; }
.mc-consenso input[aria-invalid="true"] { outline: 2px solid #D6334F; outline-offset: 2px; }
.mc-errore { padding: 12px 16px; border-radius: 14px; background: rgb(214 51 79 / .1); color: #A3122E; font-size: var(--t-s); }
.mc-errore[hidden] { display: none; }
.mc-azioni { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.mc-indietro { padding: 10px 4px; border: 0; background: none; font: inherit; font-size: var(--t-s); font-weight: 500; color: var(--inchiostro-2); cursor: pointer; }
.mc-indietro:hover { color: var(--inchiostro); }
.mc-indietro[hidden] { display: block; visibility: hidden; }
.mc-avanti { margin-left: auto; }
.mc-avanti[hidden] { display: none; }
/* il passo 4: il nostro calendario, dentro il modulo (gli orari liberi arrivano dal calendario collegato) */
.mc-slide--cal { margin: 0; gap: 14px; }
.agenda { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; padding: 20px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ghiaccio-3), 0 20px 40px -30px rgb(10 12 16 / .3); }
.agenda__testa { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.agenda__nome { font: 600 1.06rem/1 var(--font-testo); color: var(--inchiostro); text-transform: capitalize; }
.agenda__freccia { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: #F1F5F9; color: var(--inchiostro); cursor: pointer; transition: background-color .2s, opacity .2s; }
.agenda__freccia:hover { background: #E6ECF2; }
.agenda__freccia:disabled { opacity: .3; cursor: default; }
.agenda__freccia svg { width: 16px; height: 16px; stroke-width: 2.4; }
.agenda__sett, .agenda__giorni { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; }
.agenda__sett { margin-bottom: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8A96A3; }
.agenda__giorni { gap: 4px; transition: opacity .25s; }
.agenda.carica .agenda__giorni { opacity: .35; }
.giorno { position: relative; aspect-ratio: 1; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: none; font: 500 14px/1 var(--font-testo); color: #B8C2CD; font-variant-numeric: tabular-nums; }
.giorno.libero { color: var(--inchiostro); font-weight: 600; background: #FFF1E8; cursor: pointer; transition: background-color .2s, transform .2s var(--curva); }
.giorno.libero::after { content: ""; position: absolute; left: 50%; bottom: 14%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--arancio); }
@media (hover: hover) { .giorno.libero:hover { background: #FFE0CC; } }
.giorno.scelto { color: #fff; background: var(--grad-arancio); box-shadow: 0 0 0 4px rgb(250 91 26 / .15), 0 10px 22px -8px rgb(250 91 26 / .9); }
.giorno.scelto::after { background: #fff; }
.giorno:focus-visible, .orario:focus-visible { outline: 2px solid var(--arancio); outline-offset: 2px; }
.agenda__orari { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding-left: 22px; border-left: 1px solid var(--ghiaccio-3); }
.agenda__giorno { font: 600 1rem/1.3 var(--font-testo); color: var(--inchiostro); }
.agenda__giorno::first-letter { text-transform: uppercase; }
.agenda__lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-content: start; max-height: 268px; overflow-y: auto; padding: 2px 4px 2px 2px; overscroll-behavior: contain; }
.orario { height: 46px; padding: 0; border: 0; border-radius: 13px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ghiaccio-3); font: 600 15px/1 var(--font-testo); color: var(--inchiostro); font-variant-numeric: tabular-nums; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s, transform .2s var(--curva); }
@media (hover: hover) { .orario:hover { box-shadow: inset 0 0 0 1.5px #F7A57B; } }
.orario.scelto { background: var(--grad-arancio); color: #fff; box-shadow: 0 10px 22px -10px rgb(250 91 26 / .95); }
.orario:active { transform: scale(.97); }
.agenda__vuoto { grid-column: 1 / -1; padding: 14px; border-radius: 13px; background: #F6F8FB; font-size: var(--t-s); color: var(--inchiostro-2); }
.agenda__info { display: flex; align-items: center; gap: 8px; margin-top: auto; font-size: 12px; color: var(--inchiostro-2); }
.agenda__nota { padding: 10px 14px; border-radius: 12px; background: #FFF4EC; color: #8A3A0E; font-size: var(--t-xs); }
.agenda__nota[hidden], .agenda__riserva[hidden] { display: none; }
.agenda__riserva { font-size: var(--t-xs); color: var(--inchiostro-2); }
.agenda__riserva a { color: var(--arancio-scuro); font-weight: 600; }
/* lo scheletro mentre arrivano gli orari */
.agenda.carica .agenda__lista::before { content: ""; grid-column: 1 / -1; height: 150px; border-radius: 13px; background: linear-gradient(90deg, #F1F5F9 25%, #FAFBFC 50%, #F1F5F9 75%); background-size: 200% 100%; animation: luccica-agenda 1.1s linear infinite; }
@keyframes luccica-agenda { to { background-position: -200% 0; } }

/* la conferma: il modulo si chiude e la call risulta prenotata */
.chiamata__fatto { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: clamp(52px, 6vw, 84px) 24px; text-align: center; }
.chiamata.fatta { box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), inset 0 0 0 1px rgb(250 91 26 / .3), 0 60px 140px -50px rgb(250 91 26 / .8); }
.fatto__segno { position: relative; display: grid; place-items: center; width: 108px; height: 108px; margin-bottom: 8px; }
.fatto__segno svg { position: relative; width: 108px; height: 108px; }
.fatto__cerchio { fill: rgb(250 91 26 / .12); stroke: url(#arancio); stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: 26px 26px; filter: drop-shadow(0 0 6px rgb(250 91 26 / .8)); }
.fatto__spunta { fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.chiamata__fatto.vai .fatto__cerchio { animation: traccia .7s cubic-bezier(.65, 0, .35, 1) .1s forwards; }
.chiamata__fatto.vai .fatto__spunta { animation: traccia .5s cubic-bezier(.65, 0, .35, 1) .65s forwards; }
@keyframes traccia { to { stroke-dashoffset: 0; } }
.fatto__onda { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px rgb(250 91 26 / .6); opacity: 0; }
.chiamata__fatto.vai .fatto__onda { animation: onde 1.6s ease-out 1s 2; }
.fatto__scintille { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.fatto__scintille i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-arancio); box-shadow: 0 0 10px rgb(250 91 26 / .9); opacity: 0; }
.fatto__scintille i:nth-child(even) { width: 5px; height: 5px; left: -2.5px; top: -2.5px; background: #FFD2B4; }
.chiamata__fatto.vai .fatto__scintille i { animation: scintilla 1.1s cubic-bezier(.15, .8, .3, 1) 1s forwards; }
@keyframes scintilla { 0% { opacity: 1; transform: rotate(var(--a)) translateX(30px) scale(1); } 100% { opacity: 0; transform: rotate(var(--a)) translateX(var(--d, 92px)) scale(.4); } }
.fatto__scintille i:nth-child(1) { --a: 0deg; } .fatto__scintille i:nth-child(2) { --a: 30deg; --d: 74px; } .fatto__scintille i:nth-child(3) { --a: 60deg; }
.fatto__scintille i:nth-child(4) { --a: 90deg; --d: 80px; } .fatto__scintille i:nth-child(5) { --a: 120deg; } .fatto__scintille i:nth-child(6) { --a: 150deg; --d: 70px; }
.fatto__scintille i:nth-child(7) { --a: 180deg; } .fatto__scintille i:nth-child(8) { --a: 210deg; --d: 78px; } .fatto__scintille i:nth-child(9) { --a: 240deg; }
.fatto__scintille i:nth-child(10) { --a: 270deg; --d: 72px; } .fatto__scintille i:nth-child(11) { --a: 300deg; } .fatto__scintille i:nth-child(12) { --a: 330deg; --d: 84px; }
.chiamata__fatto h2:focus { outline: none; }
.fatto__quando { font: 600 1.25rem/1.3 var(--font-display); letter-spacing: -.02em; background-image: var(--grad-arancio-testo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fatto__quando[hidden] { display: none; }
.fatto__testo { max-width: 50ch; color: #C7D0DA; }
.fatto__azioni { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.bottone--whatsapp { background: linear-gradient(180deg, #2BE26F, #1FB457); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 12px 30px -12px rgb(37 211 102 / .8); }
.bottone--whatsapp:hover { filter: brightness(1.06); }
.bottone--whatsapp .marca { width: 22px; height: 22px; }
.bottone--vetro { background: rgb(255 255 255 / .08); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); }
.bottone--vetro:hover { background: rgb(255 255 255 / .14); }
.bottone--vetro svg { width: 19px; height: 19px; }
.bottone .icona--mini { --s: 28px; margin-left: -10px; }
.bottone .icona--mini svg { width: 58%; height: 58%; }
.bottone[hidden], .fatto__ics[hidden], .fatto__nota[hidden] { display: none; }
.fatto__ics { font-size: var(--t-xs); color: var(--testo-2); text-underline-offset: 4px; }
.fatto__nota { font-size: var(--t-xs); color: var(--testo-3); }

/* ---------- domande: sotto il modulo ---------- */
.domande { padding-bottom: clamp(20px, 4vw, 40px); }
.domande__elenco { display: grid; gap: 10px; max-width: 840px; margin: 48px auto 0; }
.domande details { border-radius: 20px; transition: box-shadow .3s; }
.domande details[open] { background: radial-gradient(90% 60% at 50% 0%, rgb(250 91 26 / .08), transparent 70%) padding-box, var(--grad-notte) padding-box, linear-gradient(180deg, rgb(255 160 108 / .55), rgb(250 91 26 / .12) 60%, rgb(250 91 26 / .3)) border-box; }
.domande summary { position: relative; list-style: none; padding: 22px 66px 22px 24px; font: 500 var(--t-m)/1.35 var(--font-testo); cursor: pointer; }
.domande summary::-webkit-details-marker { display: none; }
.domande summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--grad-arancio) ; -webkit-mask: none; transition: transform .3s var(--curva); }
.domande summary::before { content: ""; position: absolute; z-index: 1; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center / 15px no-repeat; transition: transform .3s var(--curva); }
.domande details[open] summary::before { transform: rotate(45deg); }
.domande details p { padding: 0 24px 22px; color: var(--testo-2); }
.domande details.muove { overflow: hidden; }

/* ---------- il piede: una lastra di vetro liquido sopra luci arancioni che si muovono ---------- */
.piede { position: relative; isolation: isolate; overflow: hidden; padding: clamp(60px, 8vw, 110px) var(--margine) max(36px, env(safe-area-inset-bottom, 0px)); }
.piede__luci { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.piede__luci span { position: absolute; width: 52vw; max-width: 680px; aspect-ratio: 1; border-radius: 50%; }
.piede__luci span:nth-child(1) { left: 2%; top: 4%; background: radial-gradient(closest-side, rgb(250 91 26 / .34), transparent); animation: luce-a 14s ease-in-out infinite alternate; }
.piede__luci span:nth-child(2) { right: 0; top: 24%; background: radial-gradient(closest-side, rgb(255 160 108 / .2), transparent); animation: luce-b 18s ease-in-out infinite alternate; }
.piede__luci span:nth-child(3) { left: 34%; bottom: -30%; background: radial-gradient(closest-side, rgb(190 215 255 / .12), transparent); animation: luce-a 22s ease-in-out infinite alternate-reverse; }
@keyframes luce-a { to { transform: translate(20%, 12%) scale(1.15); } }
@keyframes luce-b { to { transform: translate(-24%, -10%) scale(.9); } }
.piede__vetro { position: relative; isolation: isolate; max-width: var(--guscio); margin: 0 auto; padding: 26px clamp(20px, 3vw, 36px) 20px; border-radius: 30px; overflow: hidden;
  background: linear-gradient(160deg, rgb(255 255 255 / .12), rgb(255 255 255 / .04) 40%, rgb(255 255 255 / .07));
  backdrop-filter: blur(26px) saturate(1.5); -webkit-backdrop-filter: blur(26px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), inset 0 0 0 1px rgb(255 255 255 / .14), inset 0 -24px 48px -24px rgb(255 255 255 / .08), 0 40px 100px -40px #000; }
/* il riflesso liquido che ogni tanto attraversa il vetro */
.piede__vetro::after { content: ""; position: absolute; z-index: -1; inset: -40% -20%; background: linear-gradient(105deg, transparent 42%, rgb(255 255 255 / .1) 50%, transparent 58%); transform: translateX(-60%); animation: riflesso 10s ease-in-out infinite; pointer-events: none; }
@keyframes riflesso { 0%, 55% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.piede__alto { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid rgb(255 255 255 / .14); }
.piede__logo { color: #fff; }
.piede__logo .marchio { width: 46px; height: 29px; }
.piede__cta { display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 22px; border-radius: 999px; font: 500 13px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: #fff; background: var(--grad-arancio); box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 12px 30px -12px rgb(250 91 26 / .9); transition: filter .3s; }
.piede__cta:hover { filter: brightness(1.08); }
.piede__cta svg { width: 18px; height: 18px; stroke-width: 2; }
.piede__colonne { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 30px 0 46px; }
.piede__colonne p { margin-bottom: 18px; font: 400 12.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--testo-3); }
.piede__colonne a { display: block; width: fit-content; padding: 9px 0; font: 500 13.5px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: #F1F4F7; transition: color .2s, translate .3s var(--curva); }
.piede__colonne a:hover { color: var(--arancio-chiaro); translate: 4px 0; }
.piede__basso { padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .14); font: 400 11.5px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--testo-3); }

/* i puntini sotto i caroselli (solo quando la fila si scorre) */
.puntini { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.puntini[hidden] { display: none; }
.puntini i { width: 7px; height: 7px; border-radius: 99px; background: rgb(255 255 255 / .22); cursor: pointer; transition: width .35s var(--curva), background .35s; }
.puntini i.on { width: 22px; background: var(--arancio); box-shadow: 0 0 10px rgb(250 91 26 / .6); }
.lastra .puntini i { background: rgb(10 12 16 / .16); }
.lastra .puntini i.on { background: var(--arancio); }

/* ---------- schermi medi ---------- */
@media (max-width: 1080px) {
  .servizi__griglia { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "montaggio montaggio" "faceless strategia" "faceless pubblica" "motion motion"; }
  .fasi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fase { min-height: 400px; }
  .agenda { grid-template-columns: minmax(0, 1fr); }
  .agenda__orari { padding-left: 0; padding-top: 18px; border-left: 0; border-top: 1px solid var(--ghiaccio-3); }
  .modulo-cf { grid-template-columns: minmax(220px, 260px) minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .nav__link { display: none; }
  .nav__dentro { grid-template-columns: 1fr auto; }
  .nav.sotto { padding-inline: calc(var(--margine) + 14px); }
  .servizio--motion { flex-direction: column; align-items: stretch; padding: 16px 16px 22px; }
  .servizio--motion .servizio__widget { flex: none; }
  .servizio--motion .servizio__testo { margin-top: 18px; }
  .sette__pannello { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .sette__orologio { width: min(72%, 300px); }
  /* caroselli che si scorrono col dito; sotto c'è spazio, così ombre e bagliori sfumano invece di essere tagliati */
  .muro, .perchi__griglia { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .muro::-webkit-scrollbar, .perchi__griglia::-webkit-scrollbar, .fasi::-webkit-scrollbar { display: none; }
  .muro { --lato: clamp(16px, 4vw, 72px); margin: 40px calc(-1 * var(--lato)) -30px; padding: 6px var(--lato) 44px; scroll-padding-inline: var(--lato); }
  .muro__col { display: contents; }
  .muro__col:nth-child(2) { margin-top: 0; }
  /* le recensioni: tutte della stessa misura; nelle schede di testo il risultato sta in basso, come nelle schede grandi */
  .rec { flex: 0 0 min(80%, 320px); height: 320px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; }
  .rec__testa { margin-bottom: 0; }
  .rec:not(.rec--media) p.rec__testo:first-of-type { margin-top: auto; }
  .rec:not(.rec--media) .rec__testo { font: 500 16.5px/1.42 var(--font-display); letter-spacing: -.015em; color: var(--inchiostro); }
  .rec--media { justify-content: flex-end; min-height: 0; }
  .perchi__griglia { margin: 40px calc(-1 * var(--margine)) -62px; padding: 4px var(--margine) 76px; scroll-padding-inline: var(--margine); }
  .profilo { flex: 0 0 min(80%, 320px); scroll-snap-align: start; }
  .landing__testo { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .chi__dentro { grid-template-columns: minmax(0, 1fr); }
  .modulo-cf { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .modulo-cf__lato { display: none; }
  .modulo-cf__corpo { padding: 8px 6px 6px; }
  .piede__colonne { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .piede__colonne nav:last-child { grid-column: 1 / -1; }
}

/* ---------- telefono ---------- */
@media (max-width: 640px) {
  .nav__dentro { height: 56px; padding-left: 18px; }
  .nav.sotto .nav__dentro { height: 50px; padding-left: 16px; }
  .marchio { width: 34px; height: 21px; }
  .eroe { --cima: 116px; }
  .eroe__sotto { margin-top: 18px; font-size: 1rem; }
  .eroe__azioni { margin-top: 26px; gap: 10px; }
  .eroe__punti { margin-top: 20px; gap: 6px; }
  .eroe__punti li { padding: 7px 11px 7px 8px; font-size: 12px; }
  .bottone--super { height: 58px; font-size: 1rem; }
  .giostra { --w: clamp(136px, 40vw, 170px); margin-top: 36px; }
  .servizi__griglia { grid-template-columns: minmax(0, 1fr); grid-template-areas: "montaggio" "faceless" "strategia" "pubblica" "motion"; margin-top: 40px; }
  .servizio { min-height: 0; padding: 16px 16px 22px; border-radius: 24px; }
  .lastra--servizi { padding-inline: 12px; }
  .servizio--montaggio { padding: 18px 16px 22px; }
  .montaggio { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .montaggio__testo { align-items: flex-start; width: 100%; }
  .eroe { border-radius: 0 0 30px 30px; }
  .scheda3d { --ry: 8deg; }
  .scheda3d--grande { width: min(64vw, 240px); }
  .senzavolto .scheda3d { --ry: -8deg; width: min(56vw, 210px); }
  .agenda { padding: 14px; }
  .agenda__lista { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: none; }
  .orario { height: 44px; font-size: 14px; }
  .inclusi { gap: 8px; }
  .inclusi li { padding: 8px 9px; font-size: 12.5px; gap: 8px; }
  .inclusi span { --s: 34px; }
  .cal { max-width: 330px; }
  .sette__pannello { padding: 28px 18px; border-radius: 28px; gap: 24px; }
  .promesse li { padding: 14px; gap: 12px; }
  .promesse__ic { --s: 38px; }
  /* i 4 passi: un carosello come le recensioni, così il sito è più corto */
  .fasi { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 40px calc(-1 * var(--margine)) -60px; padding: 4px var(--margine) 76px; scroll-padding-inline: var(--margine); perspective: none; }
  .fase { flex: 0 0 min(80%, 320px); scroll-snap-align: start; min-height: 380px; padding: 24px 22px 26px; border-radius: 26px; gap: 14px; }
  .fase__icona { --s: 88px; }
  .fase__icona > .fase__spunta { width: 46px; height: 46px; }
  .fase__icona--rec i { right: 15px; top: 17px; width: 12px; height: 12px; }
  .lastra { border-radius: 30px; }
  .profilo { border-radius: 26px; }
  .landing__ore b { font-size: 3.8rem; }
  .vetrina { grid-template-columns: minmax(0, 1fr); }
  .browser__vista { height: 440px; }
  .chi { border-radius: 30px; padding-top: 56px; }
  .persona { width: calc(100% - 24px); max-width: 340px; }
  .persona__marchio { width: 60px; height: 60px; left: -12px; top: -12px; }
  .persona__chip b { font-size: 14px; }
  .persona__chip--a { right: -12px; padding-right: 14px; }
  .persona__ic { --s: 36px; }
  .persona__chip--b { left: -12px; padding-left: 14px; }
  .pila img { width: 30px; height: 30px; }
  .chiamata { border-radius: 28px; }
  .chiamata__invito { padding: 44px 18px; }
  .modulo-cf { padding: 12px; }
  .modulo-cf__testa { gap: 12px; }
  .modulo-cf__barra { grid-template-columns: repeat(4, 22px); gap: 4px; }
  .mc-doppio { grid-template-columns: minmax(0, 1fr); }
  .mc-campo input { height: 56px; }
  .mc-scelte span { min-height: 50px; padding: 11px 16px; font-size: .95rem; }
  .mc-avanti { flex: 1; }
  .chiamata__fatto { padding: 48px 18px; }
  .fatto__azioni { flex-direction: column; align-items: stretch; width: 100%; }
  .domande summary { padding: 20px 62px 20px 20px; }
  .piede__vetro { border-radius: 24px; }
  .piede__alto { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .carica, .js .parola { opacity: 1; transform: none; filter: none; }
  .browser__vista { overflow: auto; }
}

/* ---------- la pagina della prenotazione (resta come riserva) ---------- */
.pagina-logo { position: absolute; z-index: 2; left: 50%; top: max(26px, env(safe-area-inset-top, 0px)); translate: -50% 0; color: #fff; }
.pagina-logo .logotipo { height: 20px; width: 144px; }
.pagina-logo .marchio { width: 46px; height: 29px; }
.prenota { position: relative; isolation: isolate; min-height: 100svh; padding: clamp(84px, 8vw, 110px) var(--margine) clamp(40px, 6vw, 80px); overflow: hidden; }
.prenota__luce { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 45% at 30% 0%, rgb(250 91 26 / .2), transparent 70%), radial-gradient(50% 50% at 90% 100%, rgb(250 91 26 / .1), transparent 70%), linear-gradient(180deg, #0F0A08 0%, #070606 50%, #050506 100%); }
.prenota__dentro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); align-items: start; max-width: var(--guscio); margin: 0 auto; }
.prenota__foto { position: relative; border-radius: 40px; overflow: hidden; aspect-ratio: 4 / 5; background: #000; box-shadow: 0 0 0 1px rgb(255 214 190 / .14), 0 60px 120px -40px rgb(250 91 26 / .45); }
.prenota__foto video, .prenota__foto img { width: 100%; height: 100%; object-fit: cover; }
.prenota__foto figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 4px; padding: 16px 18px; border-radius: 20px; background: rgb(8 8 9 / .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: var(--t-s); color: var(--testo-2); }
.prenota__foto figcaption b { color: #fff; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -.02em; }
.carta { padding: clamp(24px, 4vw, 44px); border-radius: 32px; border: 1px solid transparent; background: linear-gradient(180deg, rgb(26 24 24 / .92), rgb(10 10 11 / .92)) padding-box, var(--luce-bordo) border-box; box-shadow: 0 40px 100px -40px #000; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.carta h1, .carta h2 { margin-top: 14px; font-weight: 600; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); line-height: 1.08; letter-spacing: -.045em; }
.carta__sotto { margin-top: 12px; color: var(--testo-2); }
.passi-pagina { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.passi__barra { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; flex: none; width: 120px; }
.passi__barra i { position: relative; height: 4px; border-radius: 2px; background: rgb(255 255 255 / .14); overflow: hidden; }
.passi__barra i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--grad-arancio); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--curva); }
.passi__barra i.fatta::after { transform: none; }
.modulo { display: grid; gap: 14px; margin-top: 24px; }
.modulo__doppio { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.slide { display: grid; gap: 14px; min-width: 0; }
.slide[hidden] { display: none; }
.campo { display: grid; gap: 6px; font-size: var(--t-xs); color: var(--testo-2); }
.campo em { font-style: normal; color: var(--testo-3); }
.campo input, .campo textarea { width: 100%; height: 54px; padding: 0 16px; border-radius: 14px; border: 1px solid rgb(255 255 255 / .12); background: rgb(255 255 255 / .04); color: #fff; font: 400 16px var(--font-testo); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.campo textarea { height: auto; min-height: 110px; padding: 14px 16px; resize: vertical; line-height: 1.45; }
.campo input::placeholder, .campo textarea::placeholder { color: var(--testo-3); }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--arancio); background: rgb(255 255 255 / .06); box-shadow: 0 0 0 4px rgb(250 91 26 / .18); }
.campo [aria-invalid="true"] { border-color: #FF6B81; }
.scelte { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.scelte legend { padding: 0; margin-bottom: 6px; font-size: var(--t-xs); color: var(--testo-2); }
.scelte label { position: relative; display: block; cursor: pointer; }
.scelte input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.scelte label > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 18px; border-radius: 16px; border: 1px solid rgb(255 255 255 / .14); background: rgb(255 255 255 / .03); font-size: 1rem; line-height: 1.3; color: #fff; transition: background-color .2s, border-color .2s, color .2s; }
.scelte small { display: block; margin-top: 2px; font-size: var(--t-xs); color: var(--testo-3); }
.scelte label > span::after { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .32); transition: background-color .2s, border-color .2s, box-shadow .2s; }
@media (hover: hover) { .scelte label:hover > span { background: rgb(255 255 255 / .07); } }
.scelte input:checked + span { background: var(--grad-arancio); border-color: transparent; color: #fff; }
.scelte input:checked + span small { color: rgb(255 255 255 / .8); }
.scelte.errore label > span { border-color: #FF6B81; }
.scelte input:checked + span::after { border-color: #fff; background: #fff; box-shadow: inset 0 0 0 5px var(--arancio); }
.scelte input:focus-visible + span { outline: 2px solid var(--arancio-chiaro); outline-offset: 2px; }
.consenso { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: var(--t-xs); color: var(--testo-2); cursor: pointer; }
.consenso input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--arancio); }
.consenso a { color: #fff; }
.consenso input[aria-invalid="true"] { outline: 2px solid #FF6B81; outline-offset: 2px; }
.modulo__errore { padding: 10px 14px; border-radius: 12px; background: rgb(255 107 129 / .12); color: #FFB8C3; font-size: var(--t-s); }
.modulo__errore[hidden] { display: none; }
.modulo__nota { text-align: center; font-size: var(--t-xs); color: var(--testo-3); }
.modulo .bottone { height: 56px; width: 100%; }
.indietro { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: center; font: inherit; font-size: var(--t-xs); color: var(--testo-2); cursor: pointer; }
.indietro[hidden] { display: none; }
.riepilogo { padding: 12px 14px; border-radius: 14px; background: rgb(255 255 255 / .05); font-size: var(--t-s); color: var(--testo-2); }
.riepilogo b { color: #fff; }
.calendario { min-height: 560px; border-radius: 18px; overflow: auto; background: #0E0E0F; border: 1px solid rgb(255 255 255 / .08); }
.calendario.link { min-height: 0; display: grid; gap: 12px; padding: 22px; text-align: center; }
.calendario.link p { color: var(--testo-2); font-size: var(--t-s); }
.cal-riserva { font-size: var(--t-xs); color: var(--testo-3); text-align: center; }
.cal-riserva a { color: #fff; }
.prenotata { display: grid; gap: 10px; padding: 28px 22px; border-radius: 20px; background: rgb(255 255 255 / .06); text-align: center; }
.prenotata h2 { margin: 0; font-size: 1.6rem; }
.prenotata p { color: var(--testo-2); }
@media (max-width: 860px) {
  .prenota__dentro { grid-template-columns: minmax(0, 1fr); max-width: 580px; }
  .prenota__foto { display: none; }
}
@media (max-width: 640px) {
  .prenota { padding: calc(max(12px, env(safe-area-inset-top, 0px)) + 54px) 12px 24px; }
  .pagina-logo { top: max(16px, env(safe-area-inset-top, 0px)); }
  .carta { padding: 20px 16px; border-radius: 24px; }
  .modulo__doppio { grid-template-columns: minmax(0, 1fr); }
  .calendario { min-height: 640px; }
}

/* ---------- privacy ---------- */
.testo-legale { max-width: 760px; margin: 0 auto; padding: clamp(110px, 12vw, 150px) var(--margine) 80px; }
.testo-legale h1 { font-weight: 600; font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); letter-spacing: -.045em; line-height: 1.1; }
.testo-legale h2 { margin-top: 36px; font-weight: 600; font-size: 1.3rem; letter-spacing: -.03em; }
.testo-legale p, .testo-legale li { margin-top: 12px; color: var(--testo-2); }
.testo-legale mark { background: rgb(250 91 26 / .2); color: #fff; padding: 0 4px; border-radius: 4px; }
