:root {
  --notte: #14161A;
  --notte-2: #1B1E23;
  --notte-3: #23262C;
  --luce: #FFC93C;
  --luce-2: #FFD866;
  --calce: #F7F5F0;
  --muted: #A8A49A;
  --grigio: #8F8B82;
  --linea: rgba(247, 245, 240, .1);
  --linea-2: rgba(247, 245, 240, .18);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --r: 18px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--notte); color: var(--calce); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.has-panel { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 700; color: var(--luce); }
.hl { color: var(--notte); background: var(--luce); padding: 0 .16em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- sfondo vivo ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg__grid { position: absolute; inset: -2px; background-image: linear-gradient(var(--linea) 1px, transparent 1px), linear-gradient(90deg, var(--linea) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); opacity: .55; animation: gridmove 30s linear infinite; }
@keyframes gridmove { to { background-position: 64px 64px, 64px 64px; } }
.bg__glow { position: absolute; width: 60vmax; height: 60vmax; left: 55%; top: -25%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 201, 60, .22), transparent 60%); filter: blur(20px); animation: float1 18s ease-in-out infinite alternate; }
.bg__glow--2 { left: -20%; top: 40%; width: 50vmax; height: 50vmax; background: radial-gradient(circle, rgba(255, 201, 60, .1), transparent 60%); animation: float2 22s ease-in-out infinite alternate; }
@keyframes float1 { to { transform: translate(-18vw, 12vh) scale(1.15); } }
@keyframes float2 { to { transform: translate(14vw, -10vh) scale(.9); } }

/* ---------- header ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(18px, 4vw, 48px); background: linear-gradient(var(--notte) 30%, rgba(20,22,26,0)); }
.brand img { height: 50px; width: auto; transition: transform .4s var(--ease-out); }
.brand:hover img { transform: scale(1.06) rotate(-2deg); }
body.has-panel .top { opacity: 0; pointer-events: none; }
/* sotto un pannello aperto la home non si vede: fermiamo le animazioni infinite per risparmiare batteria */
body.has-panel .bg__grid, body.has-panel .bg__glow, body.has-panel .marquee__track, body.has-panel .btn--glow { animation-play-state: paused; }

/* ---------- bottoni ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--luce); color: var(--notte); font-weight: 700; text-decoration: none; padding: 15px 26px; border-radius: 999px; overflow: hidden; transition: transform .25s var(--ease-out), box-shadow .25s; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease-out); z-index: -1; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(255, 201, 60, .28); }
.btn:hover::after { transform: translateX(120%); }
.btn span { transition: transform .25s; }
.btn:hover span { transform: translateX(4px); }
.btn--small { padding: 10px 18px; font-size: 15px; }
.btn--xl { padding: 20px 36px; font-size: 19px; }
.btn--ghost { background: rgba(247,245,240,.04); color: var(--calce); border: 1.5px solid var(--linea-2); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--luce); box-shadow: none; }
.btn--glow { box-shadow: 0 0 0 0 rgba(255,201,60,.5); animation: glow 2.6s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 10px rgba(255,201,60,0), 0 10px 40px rgba(255,201,60,.25); } }
.link { color: var(--luce); font-weight: 700; text-decoration: none; display: inline-block; transition: transform .2s; }
.link:hover { transform: translateX(4px); }

/* ---------- testi ---------- */
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: 12.5px; font-weight: 700; color: var(--luce); margin: 0 0 16px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--luce); }
.note { font-size: 13.5px; color: var(--grigio); margin: 0; }

/* ---------- HOME ---------- */
.home { min-height: 100vh; padding: 120px clamp(18px, 5vw, 64px) 40px; max-width: 1280px; margin: 0 auto; }
.hero { padding: clamp(20px, 6vh, 70px) 0 30px; }
.hero__frame { position: relative; display: inline-block; padding: clamp(14px, 2vw, 26px) clamp(18px, 2.6vw, 34px); margin: 0 0 26px clamp(-18px, -2.6vw, -34px); }
.hero__title { font-size: clamp(42px, 7.4vw, 104px); line-height: 1; letter-spacing: -.04em; margin: 0; max-width: 1000px; font-weight: 800; }
.hero__title .w { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(10px); animation: wordin .9s var(--ease-out) forwards; animation-delay: calc(.25s + var(--wi) * .09s); }
@keyframes wordin { to { opacity: 1; transform: none; filter: blur(0); } }
.hero__sub { font-size: clamp(18px, 1.8vw, 21px); color: var(--muted); max-width: 640px; margin: 0 0 34px; }
.hero__sub strong { color: var(--calce); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 18px 54px; padding: 28px 0 0; margin: 50px 0 0; border-top: 1px solid var(--linea); }
.facts li { display: flex; align-items: baseline; gap: 10px; }
.facts strong { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--luce); }
.facts span { color: var(--muted); font-size: 14.5px; }
.anim-in { opacity: 0; transform: translateY(20px); animation: fadeup .9s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeup { to { opacity: 1; transform: none; } }

/* angoli del mirino */
.corner { position: absolute; width: clamp(22px, 3vw, 42px); height: clamp(22px, 3vw, 42px); border: 0 solid var(--luce); }
.corner--tl { top: 0; left: 0; border-top-width: 4px; border-left-width: 4px; }
.corner--tr { top: 0; right: 0; border-top-width: 4px; border-right-width: 4px; }
.corner--bl { bottom: 0; left: 0; border-bottom-width: 4px; border-left-width: 4px; }
.corner--br { bottom: 0; right: 0; border-bottom-width: 4px; border-right-width: 4px; }
.hero__frame .corner { opacity: 0; animation: cornerin 1s var(--ease-out) forwards; animation-delay: 1s; }
.hero__frame .corner--tl { --tx: -40px; --ty: -40px; } .hero__frame .corner--tr { --tx: 40px; --ty: -40px; }
.hero__frame .corner--bl { --tx: -40px; --ty: 40px; } .hero__frame .corner--br { --tx: 40px; --ty: 40px; }
@keyframes cornerin { from { opacity: 0; transform: translate(var(--tx), var(--ty)); } to { opacity: 1; transform: none; } }

/* striscia che scorre */
.marquee { overflow: hidden; border-block: 1px solid var(--linea); margin: 20px calc(-1 * clamp(18px, 5vw, 64px)) 50px; padding: 16px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 34s linear infinite; }
.marquee span { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: ""; width: 7px; height: 7px; background: var(--luce); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- TESSERE ---------- */
.tiles__label { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--grigio); margin: 0 0 18px; }
.tiles__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.tile { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 24px; border-radius: var(--r); text-decoration: none; background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border: 1px solid var(--linea); overflow: hidden; isolation: isolate; opacity: 0; transform: translateY(30px) scale(.98); animation: tilein .8s var(--ease-out) forwards; animation-delay: calc(1.7s + var(--i) * .08s); transition: border-color .3s, transform .35s var(--ease-out), background .3s; }
@keyframes tilein { to { opacity: 1; transform: none; } }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255,201,60,.16), transparent 45%); opacity: 0; transition: opacity .3s; }
.tile::after { content: ""; position: absolute; inset: 12px; border: 2px solid transparent; border-radius: 8px; --c: var(--luce); background: linear-gradient(var(--c), var(--c)) top left / 0 2px no-repeat, linear-gradient(var(--c), var(--c)) top left / 2px 0 no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 0 2px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 2px 0 no-repeat; transition: background-size .45s var(--ease-out); pointer-events: none; }
.tile:hover { border-color: rgba(255,201,60,.35); transform: translateY(-4px); }
.tile:hover::before { opacity: 1; }
.tile:hover::after { background-size: 28px 2px, 2px 28px, 28px 2px, 2px 28px; }
.tile--big { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, rgba(255,201,60,.12), rgba(255,255,255,.02) 60%); }
.tile--big h2 { font-size: clamp(30px, 3.4vw, 46px); }
.tile--accent { background: var(--luce); color: var(--notte); border-color: var(--luce); }
.tile.tile--accent p { color: rgba(20,22,26,.78); font-weight: 600; }
.tile.tile--accent .tile__n { color: rgba(20,22,26,.7); }
.tile--accent .tile__ico { stroke: var(--notte); }
.tile--accent::after { --c: var(--notte); }
.tile__n { position: absolute; top: 20px; left: 24px; font: 700 italic 16px var(--serif); color: var(--luce); }
.tile__ico { position: absolute; top: 20px; right: 22px; width: 44px; height: 44px; fill: none; stroke: var(--luce); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 200; stroke-dashoffset: 0; }
.tile:hover .tile__ico { animation: draw 1s var(--ease-out); }
@keyframes draw { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }
.tile--big .tile__ico { width: 70px; height: 70px; }
.tile h2 { margin: 0; font-size: 23px; letter-spacing: -.02em; line-height: 1.15; }
.tile p { margin: 0; font-size: 14.5px; color: var(--muted); max-width: 32ch; }
.tile__go { position: absolute; right: 22px; bottom: 20px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--linea-2); transition: transform .35s var(--ease-out), background .3s, color .3s; }
.tile:hover .tile__go { transform: rotate(-45deg); background: var(--luce); color: var(--notte); border-color: var(--luce); }
.tile--accent .tile__go { border-color: rgba(20,22,26,.3); }
.tile--accent:hover .tile__go { background: var(--notte); color: var(--luce); }

.foot { text-align: center; color: var(--grigio); font-size: 14px; padding: 40px 18px 100px; border-top: 1px solid var(--linea); max-width: 1280px; margin: 40px auto 0; }
.foot p { margin: 4px 0; }
.foot a { text-decoration: none; color: var(--muted); }
.foot a:hover { color: var(--luce); }

/* ---------- PANNELLI ---------- */
.panel { position: fixed; inset: 0; z-index: 50; overflow-y: auto; overscroll-behavior: contain; background: radial-gradient(ellipse 80% 60% at 80% 0%, rgba(255,201,60,.1), transparent 60%), var(--notte); visibility: hidden; clip-path: circle(0px at var(--cx, 50%) var(--cy, 50%)); transition: clip-path .85s var(--ease), visibility 0s .85s; }
.panel::before { content: ""; position: fixed; inset: 0; z-index: -1; background-image: linear-gradient(var(--linea) 1px, transparent 1px), linear-gradient(90deg, var(--linea) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000, transparent 75%); opacity: .5; }
.panel.is-open { visibility: visible; clip-path: circle(150vmax at var(--cx, 50%) var(--cy, 50%)); transition: clip-path .85s var(--ease), visibility 0s; }
.panel--accent { background: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(255,201,60,.28), transparent 65%), var(--notte); }
.panel__in { max-width: 1180px; margin: 0 auto; padding: 110px clamp(18px, 5vw, 64px) 120px; }
.panel__in--narrow { max-width: 860px; }
.ptitle { font-size: clamp(36px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 20px; font-weight: 800; }
.plead { font-size: clamp(18px, 1.7vw, 20px); color: var(--muted); max-width: 700px; margin: 0 0 40px; }
.st { opacity: 0; transform: translateY(34px); filter: blur(6px); }
.panel.is-in .st { animation: stin .9s var(--ease-out) forwards; animation-delay: calc(.15s + var(--s, 0) * .07s); }
@keyframes stin { to { opacity: 1; transform: none; filter: blur(0); } }

/* barra di navigazione del pannello */
.pbar { position: fixed; top: 16px; left: clamp(18px, 4vw, 48px); right: clamp(18px, 4vw, 48px); z-index: 60; display: flex; justify-content: space-between; align-items: center; opacity: 0; pointer-events: none; transform: translateY(-20px); transition: opacity .4s .3s, transform .5s .3s var(--ease-out); }
body.has-panel .pbar { opacity: 1; pointer-events: auto; transform: none; }
.pbar__n { font-size: 14px; color: var(--muted); letter-spacing: .12em; background: rgba(20,22,26,.7); backdrop-filter: blur(8px); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--linea); }
.pbar__n b { color: var(--luce); font-family: var(--serif); font-style: italic; font-size: 17px; }
.pbar__nav { display: flex; gap: 8px; }
.pbtn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--linea-2); background: rgba(20,22,26,.7); backdrop-filter: blur(8px); color: var(--calce); font-size: 18px; cursor: pointer; transition: background .25s, color .25s, transform .3s var(--ease-out); }
.pbtn:hover { background: var(--calce); color: var(--notte); }
.pbtn--close { background: var(--luce); color: var(--notte); border-color: var(--luce); }
.pbtn--close:hover { transform: rotate(90deg); background: var(--luce-2); }

/* ---------- PRIMA / DOPO ---------- */
.ba { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; user-select: none; touch-action: pan-y; border: 1px solid var(--linea-2); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.ba__art, .ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--luce); box-shadow: 0 0 22px rgba(255,201,60,.8); pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: var(--luce); box-shadow: 0 0 0 8px rgba(255,201,60,.18); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 16px rgba(255,201,60,0); } }
.ba__handle span::before, .ba__handle span::after { content: ""; position: absolute; top: 50%; border: 7px solid transparent; margin-top: -7px; }
.ba__handle span::before { left: 9px; border-right-color: var(--notte); }
.ba__handle span::after { right: 9px; border-left-color: var(--notte); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__tag { position: absolute; top: 16px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; pointer-events: none; background: rgba(20,22,26,.8); color: var(--calce); border: 1px solid var(--linea-2); }
.ba__tag--l { left: 16px; }
.ba__tag--r { right: 16px; background: var(--luce); color: var(--notte); border-color: var(--luce); }
.ba .draw path, .ba .draw ellipse, .ba .draw rect { stroke-dasharray: 900; stroke-dashoffset: 900; }
.panel.is-in .ba .draw > * { animation: drawart 2.4s var(--ease-out) forwards; }
.panel.is-in .ba .draw > *:nth-child(2) { animation-delay: .3s; } .panel.is-in .ba .draw > *:nth-child(3) { animation-delay: .5s; }
.panel.is-in .ba .draw > *:nth-child(4) { animation-delay: .7s; } .panel.is-in .ba .draw > *:nth-child(5) { animation-delay: .9s; }
.panel.is-in .ba .draw > *:nth-child(6) { animation-delay: 1.1s; } .panel.is-in .ba .draw > *:nth-child(7) { animation-delay: 1.3s; }
@keyframes drawart { to { stroke-dashoffset: 0; } }
.pd-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; }

/* ---------- SERVIZI ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.card { position: relative; padding: 28px; border-radius: var(--r); background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.015)); border: 1px solid var(--linea); overflow: hidden; transition: transform .35s var(--ease-out), border-color .3s; }
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--luce); transition: width .5s var(--ease-out); }
.card:hover { transform: translateY(-5px); border-color: rgba(255,201,60,.3); }
.card:hover::before { width: 100%; }
.card__n { font: 700 italic 26px var(--serif); color: var(--luce); }
.card h3 { margin: 10px 0 8px; font-size: 21px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 30px 0 18px; }
.plan { position: relative; padding: 30px; border-radius: var(--r); border: 1px solid var(--linea-2); }
.plan--main { background: var(--luce); color: var(--notte); border-color: var(--luce); }
.plan--main p { color: rgba(20,22,26,.75); }
.plan--main .link { color: var(--notte); }
.plan h3 { margin: 0 0 8px; font-size: 24px; }
.plan p { margin: 0 0 18px; color: var(--muted); }
.badge { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--notte); color: var(--luce); padding: 5px 10px; border-radius: 999px; }

/* ---------- PORTFOLIO ---------- */
/* palco: il video scelto al centro e piu' grande, gli altri due ai lati piu' piccoli */
.phones { --w: 330px; --off: 360px; --side: .66; position: relative; height: calc(var(--w) * 16 / 9 + 150px); max-width: 1100px; margin: 0 auto; overflow-x: clip; }
.work { position: absolute; top: 0; left: 50%; width: var(--w); margin: 0; transform-origin: 50% 40%;
  transition: transform .7s var(--ease-out), opacity .5s, filter .5s; transform: translateX(-50%); z-index: 3; }
.work.is-left { transform: translateX(calc(-50% - var(--off))) scale(var(--side)); z-index: 1; opacity: .62; filter: saturate(.7); cursor: pointer; }
.work.is-right { transform: translateX(calc(-50% + var(--off))) scale(var(--side)); z-index: 1; opacity: .62; filter: saturate(.7); cursor: pointer; }
.work.is-left:hover, .work.is-right:hover { opacity: .9; filter: none; }
.work.is-left:focus-visible, .work.is-right:focus-visible { outline: 2px solid var(--luce); outline-offset: 6px; border-radius: 30px; }
.work figcaption { display: grid; gap: 4px; margin-top: 18px; text-align: center; transition: opacity .4s; }
.work.is-left figcaption, .work.is-right figcaption { opacity: 0; }
.work.is-left .snd, .work.is-right .snd { opacity: 0; pointer-events: none; }
.work__tag { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--luce); }
.work figcaption strong { font-size: 18px; }
.work__line { font-size: 14px; color: var(--muted); line-height: 1.45; }
.phone__screen--video { aspect-ratio: 9 / 16; height: auto; animation: none; background: #000; }
.phone__screen--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.snd { position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(20,22,26,.6); backdrop-filter: blur(6px); color: var(--calce); display: grid; place-items: center; cursor: pointer; transition: transform .2s, background .2s; }
.snd:hover { transform: scale(1.08); }
.snd svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.snd .snd__spk { fill: currentColor; }
.snd .snd__on { display: none; }
.snd[aria-pressed="true"] { background: var(--luce); color: var(--notte); border-color: var(--luce); }
.snd[aria-pressed="true"] .snd__on { display: inline; }
.snd[aria-pressed="true"] .snd__off { display: none; }
.phone { aspect-ratio: auto; border-radius: 36px; padding: 10px; background: #0d0e10; border: 1px solid var(--linea-2); box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.phone__screen { position: relative; height: 100%; border-radius: 28px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(110deg, #1d2025 30%, #2a2d33 50%, #1d2025 70%); background-size: 250% 100%; animation: shimmer 2.4s linear infinite; color: var(--grigio); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }

/* ---------- COME LAVORO ---------- */
.steps { list-style: none; padding: 0; margin: 10px 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; left: 30px; right: 30px; height: 2px; background: linear-gradient(90deg, var(--luce), rgba(255,201,60,.2)); transform: scaleX(0); transform-origin: left; }
.panel.is-in .steps::before { animation: line 1.6s .5s var(--ease-out) forwards; }
@keyframes line { to { transform: scaleX(1); } }
.step { position: relative; padding-top: 80px; }
.step__n { position: absolute; top: 0; left: 0; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--notte); border: 2px solid var(--luce); font: 700 italic 26px var(--serif); color: var(--luce); box-shadow: 0 0 0 8px var(--notte); }
.step h3 { margin: 0 0 8px; font-size: 24px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- PERCHÉ ---------- */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.why__item { padding: 32px; border-radius: var(--r); border: 1px solid var(--linea); background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); position: relative; overflow: hidden; }
.why__k { position: absolute; right: 18px; top: -10px; font: 700 italic 110px/1 var(--serif); color: rgba(255,201,60,.08); }
.why__item h3 { margin: 0 0 10px; font-size: 23px; }
.why__item p { margin: 0; color: var(--muted); max-width: 46ch; }

/* ---------- CHI SONO ---------- */
.about { display: grid; grid-template-columns: minmax(260px, 430px) 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.about__photo { position: relative; margin: 0; padding: 18px; }
.about__photo img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; }
.about__text p { color: var(--muted); }
.about__text strong { color: var(--calce); }
.about__logo { width: 110px; margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 20px; padding: 22px 50px 22px 0; position: relative; transition: color .2s; }
.faq summary:hover { color: var(--luce); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; border: 1px solid var(--linea-2); display: grid; place-items: center; font-weight: 400; font-size: 22px; transition: transform .35s var(--ease-out), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--luce); color: var(--notte); border-color: var(--luce); }
.faq__a { overflow: hidden; }
.faq__a p { margin: 0 0 22px; color: var(--muted); }

/* ---------- CONTATTI ---------- */
.contact { text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact .eyebrow::before { display: none; }
.contact .plead { margin-inline: auto; }
.contact__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 40px; }
.contact__list a { text-decoration: none; color: var(--muted); padding-bottom: 2px; border-bottom: 1px solid var(--linea-2); transition: color .2s, border-color .2s; }
.contact__list a:hover { color: var(--luce); border-color: var(--luce); }

/* ---------- WhatsApp fisso ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .3s var(--ease-out); }
.wa-float:hover { transform: scale(1.08) rotate(-8deg); }

/* ---------- pagina privacy ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 130px clamp(18px, 5vw, 48px) 100px; }
.legal h2 { font-size: 22px; margin: 34px 0 8px; }
.legal p { color: var(--muted); }
.legal strong { color: var(--calce); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .tiles__grid { grid-template-columns: repeat(2, 1fr); }
  .tile--big { grid-column: span 2; grid-row: span 1; min-height: 240px; }
  .why { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .home { padding-top: 100px; }
  /* angoli del mirino staccati dal bordo dello schermo, titolo allineato al resto del testo */
  .hero__frame { padding: 12px 10px; margin-left: -10px; }
  .tiles__grid { gap: 12px; grid-auto-rows: minmax(170px, auto); }
  .tile { padding: 18px; }
  .tile h2 { font-size: 19px; }
  .tile p { font-size: 13.5px; }
  .tile__ico { width: 34px; height: 34px; top: 16px; right: 16px; }
  .tile__n { top: 16px; left: 18px; }
  .tile__go { width: 30px; height: 30px; right: 14px; bottom: 14px; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { top: 30px; bottom: 30px; left: 29px; right: auto; width: 2px; height: auto; transform: scaleY(0); transform-origin: top; background: linear-gradient(var(--luce), rgba(255,201,60,.2)); }
  @keyframes line { to { transform: scaleY(1); } }
  .step { padding: 0 0 0 84px; min-height: 70px; }
  .phones { --w: 58vw; --off: 40vw; --side: .58; height: calc(var(--w) * 16 / 9 + 170px); }
  .phone { border-radius: 22px; padding: 6px; }
  .phone__screen { border-radius: 17px; font-size: 10px; }
  .ba { aspect-ratio: 4 / 3; }
  .pbtn { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .st, .anim-in, .tile, .hero__title .w { opacity: 1 !important; transform: none !important; filter: none !important; }
  .ba .draw > * { stroke-dashoffset: 0 !important; }
}
