/* Evermont · template v2 (11 nov 2026): editoriale, ad alto contrasto, pensato per far prenotare.
   Colori dal file cliente (:root in index.html). Titoli: Archivo stretto e pesante. Testi: Inter. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--ink);
  line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

:root {
  --strip: 34px;
  --pad: clamp(18px, 5vw, 80px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --muted: color-mix(in srgb, var(--ink) 64%, transparent);
  --accent-hi: color-mix(in srgb, var(--accent), #fff 32%);   /* accento leggibile su fondo scuro (contrasto ≥ 4,5) */
  --line: color-mix(in srgb, var(--ink) 14%, transparent);
}

h1, h2, h3 { font-family: var(--display); font-stretch: 72%; font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: -.005em; }
h2 { font-size: clamp(40px, 7.4vw, 104px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
section { padding: clamp(76px, 11vw, 150px) var(--pad); }
.head { max-width: var(--max); margin: 0 auto clamp(36px, 5vw, 64px); }
.label { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.label::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); }
.center { text-align: center; margin-top: clamp(36px, 5vw, 56px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font: 700 15px/1 Inter, sans-serif; letter-spacing: .01em; text-decoration: none;
  padding: 16px 26px; border-radius: 999px; border: 2px solid transparent; text-align: center; line-height: 1.15;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-lg { padding: 19px 30px; font-size: 16px; }
.btn-xl { padding: 23px 40px; font-size: 18px; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 40%, transparent); }
.btn-accent:hover { box-shadow: 0 18px 44px color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-2px); }
.btn-accent svg { transition: transform .25s var(--ease); }
.btn-accent:hover svg { transform: translateX(4px); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-line { border-color: currentColor; color: inherit; }
.btn-line:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn-nav { padding: 12px 20px; font-size: 14px; background: var(--accent); color: #fff; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: var(--strip) 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--pad); color: #fff; transition: background .35s, color .35s, padding .35s, box-shadow .35s;
}
.nav.solid { background: var(--bg); color: var(--ink); padding-top: 10px; padding-bottom: 10px; box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 15px; min-width: 0; }
.brand span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand .mono { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 2px solid currentColor; font: 800 15px/1 var(--display); font-stretch: 80%; }
.brand img { height: 46px; width: auto; max-width: min(56vw, 300px); object-fit: contain; object-position: left center; }
.nav:not(.solid) .brand img { filter: drop-shadow(0 2px 10px rgba(0,0,0,.35)); }
.nav-links { display: flex; gap: 34px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 600; opacity: .9; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 130px var(--pad) clamp(40px, 7vw, 90px); color: #fff; overflow: hidden; isolation: isolate; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { animation: kenburns 9s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,.25) 48%, rgba(0,0,0,.86) 100%); }
.hero-in { width: 100%; max-width: var(--max); margin: 0 auto; }
.kicker { max-width: 100%; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); margin-bottom: 22px; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 0%, transparent); } }
.js .hero-title:not(.split-done) { visibility: hidden; }
.hero-title { font-size: clamp(54px, 11.5vw, 176px); line-height: .86; max-width: 14ch; text-wrap: balance; }
.hero-title .ln { display: block; overflow: hidden; padding: .16em 0 .04em; margin: -.16em 0 -.04em; }
.hero-title .ln > span { display: block; transform: translateY(105%); animation: lineUp 1s var(--ease) forwards; animation-delay: var(--d, .2s); }
@keyframes lineUp { to { transform: none; } }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); max-width: 560px; margin: 24px 0 30px; color: rgba(255,255,255,.86); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.anim { opacity: 0; transform: translateY(18px); animation: fadeUp .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.btn[data-ico]::before, .dock-sec::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
[data-ico="tel"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2Z'/%3E%3C/svg%3E"); }
[data-ico="map"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E"); }

/* ---------- offer band ---------- */
.offer-band { display: flex; align-items: center; gap: 18px; padding: 20px var(--pad); background: var(--accent); color: #fff; text-decoration: none; }
.ob-label { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; padding: 7px 12px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 999px; }
.ob-title { font: 800 clamp(20px, 2.6vw, 32px)/1 var(--display); font-stretch: 75%; text-transform: uppercase; flex: 1; }
.ob-go { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; transition: transform .3s var(--ease); }
.offer-band:hover .ob-go { transform: translateX(6px); }

/* ---------- facts ---------- */
.facts { background: var(--ink); color: var(--bg); padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(48px, 7vw, 90px); }
.fact-list { list-style: none; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); }
.fact-list li { border-top: 2px solid color-mix(in srgb, var(--bg) 22%, transparent); padding-top: 18px; }
.fact-list b { display: block; font: 800 clamp(52px, 8vw, 120px)/.9 var(--display); font-stretch: 70%; color: var(--accent); }
.fact-list span { display: block; margin-top: 10px; font-size: 15px; color: color-mix(in srgb, var(--bg) 75%, transparent); max-width: 24ch; }

/* ---------- services ---------- */
.rows { list-style: none; max-width: var(--max); margin: 0 auto; border-top: 2px solid var(--ink); }
.row { display: grid; grid-template-columns: 120px 1fr auto; gap: clamp(16px, 3vw, 40px); align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); position: relative; }
.row img { width: 120px; height: 90px; border-radius: 14px; transition: transform .5s var(--ease); }
.row h3 { margin-bottom: 6px; transition: color .25s; }
.row p { color: var(--muted); font-size: 15px; }
.row-n { font: 800 clamp(26px, 3vw, 40px)/1 var(--display); font-stretch: 70%; color: color-mix(in srgb, var(--ink) 20%, transparent); transition: color .25s; }
.row:hover h3, .row:hover .row-n { color: var(--accent); }
.row:hover img { transform: scale(1.06) rotate(-1.5deg); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 100px); align-items: center; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; }
.about-img { aspect-ratio: 4/5; border-radius: 28px; overflow: hidden; }
.about-text h2 { margin-bottom: 26px; }

/* ---------- offer ---------- */
.offer { padding-top: 0; }
.offer-card { position: relative; overflow: hidden; isolation: isolate; max-width: var(--max); margin: 0 auto; background: var(--ink); color: var(--bg); border-radius: 32px; padding: clamp(36px, 7vw, 96px); }
.offer-card::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -20%; top: -45%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 70%, transparent), transparent 65%); filter: blur(10px); }
.offer-card .label { color: var(--accent); }
.offer-card h2 { font-size: clamp(42px, 7vw, 100px); max-width: 15ch; }
.offer-card p:not(.label) { max-width: 560px; margin: 22px 0 32px; color: color-mix(in srgb, var(--bg) 78%, transparent); font-size: 17px; }

/* ---------- gallery ---------- */
.gallery { padding-left: 0; padding-right: 0; background: var(--soft); }
.gallery .head { padding: 0 var(--pad); }
.g-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
.g-track::-webkit-scrollbar { display: none; }
.g-item { flex: 0 0 clamp(250px, 30vw, 420px); aspect-ratio: 4/5; border-radius: 22px; overflow: hidden; scroll-snap-align: start; }
.g-item img { pointer-events: none; }

/* ---------- steps ---------- */
.step-list { list-style: none; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-list li { background: var(--soft); border-radius: 24px; padding: 30px 28px 34px; }
.step-list .n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; font: 800 24px/1 var(--display); margin-bottom: 26px; }
.step-list h3 { margin-bottom: 10px; }
.step-list p { color: var(--muted); }

/* ---------- reviews ---------- */
.reviews { background: var(--soft); }
.review-list { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { background: var(--bg); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.review .stars { color: var(--accent); letter-spacing: 3px; }
.review blockquote { font-size: 18px; line-height: 1.45; font-weight: 500; }
.review cite { font-style: normal; font-size: 13px; font-weight: 700; margin-top: auto; }

/* ---------- faq ---------- */
.faq-list { max-width: 920px; margin: 0 auto; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-weight: 500; font-size: 22px; transition: transform .35s var(--ease), background .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq details p { padding: 0 52px 24px 0; color: var(--muted); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; }
.contact-card { background: var(--ink); color: var(--bg); border-radius: 28px; padding: clamp(30px, 5vw, 60px); }
.contact-card h2 { font-size: clamp(36px, 5vw, 68px); }
.contact-list { list-style: none; margin: 28px 0 32px; display: grid; gap: 18px; }
.contact-list small { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 2px; }
.contact-list li { font-size: 16px; color: color-mix(in srgb, var(--bg) 88%, transparent); }
.contact-list a { text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--bg) 35%, transparent); }
.contact-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.map { border-radius: 28px; overflow: hidden; min-height: 360px; background: var(--soft); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(1) contrast(1.05); }

/* ---------- final ---------- */
.final { background: var(--accent); color: #fff; text-align: center; display: grid; justify-items: center; gap: 40px; }
.final-title { font-size: clamp(54px, 11vw, 170px); max-width: 12ch; text-wrap: balance; }
.final-title em { color: var(--ink); }
.final .btn-accent { background: var(--ink); color: var(--bg); box-shadow: 0 18px 40px rgba(0,0,0,.25); }

.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px var(--pad) 30px; font-size: 13px; background: var(--ink); color: color-mix(in srgb, var(--bg) 60%, transparent); }

/* ---------- dock (mobile) + demo pill ---------- */
.dock { display: none; }
.demo-pill {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--strip); display: flex; align-items: center; justify-content: center; gap: 12px;
  background: #0d0d0c; color: rgba(255,255,255,.86); font-size: 12px; padding: 0 44px; white-space: nowrap; overflow: hidden;
}
.demo-pill span { overflow: hidden; text-overflow: ellipsis; }
.demo-pill b { color: var(--accent); }
.demo-pill a { color: inherit; text-underline-offset: 3px; }
.demo-pill button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.14); color: inherit; border: 0; width: 24px; height: 24px; border-radius: 50%; cursor: pointer; font-size: 15px; line-height: 1; }
.shot .demo-pill { display: none !important; }
.shot, .no-pill { --strip: 0px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(12% 6% 12% 6% round 28px); transition: clip-path 1.2s var(--ease); }
.js .reveal-img img { transform: scale(1.15); transition: transform 1.6s var(--ease); }
.js .reveal-img.in { clip-path: inset(0 0 0 0 round 28px); }
.js .reveal-img.in img { transform: none; }
.shot .reveal, .shot .anim { opacity: 1 !important; transform: none !important; animation: none !important; }
.shot .hero-title .ln > span { transform: none !important; animation: none !important; }
.shot .reveal-img, .shot .reveal-img img { clip-path: none !important; transform: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .about, .contact { grid-template-columns: 1fr; }
  .step-list, .review-list { grid-template-columns: 1fr; }
  .about-img { aspect-ratio: 4/3; }
}
@media (max-width: 640px) {
  body { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .btn-nav { display: none; }
  .hero { min-height: 92svh; padding-top: 130px; }
  .kicker { font-size: 10.5px; letter-spacing: .14em; padding: 8px 13px; }
  .demo-pill { font-size: 11px; justify-content: flex-start; padding-left: 14px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .offer-band { padding-top: 16px; padding-bottom: 16px; gap: 12px; flex-wrap: wrap; }
  .ob-title { flex: 1 1 60%; }
  .ob-go { width: 40px; height: 40px; }
  .fact-list { grid-template-columns: 1fr; gap: 22px; }
  .fact-list li { display: flex; align-items: baseline; gap: 16px; }
  .fact-list b { font-size: 64px; flex: none; min-width: 2.2ch; }
  .fact-list span { margin-top: 0; }
  .row { grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; }
  .row img { width: 76px; height: 76px; border-radius: 12px; }
  .row-n { display: none; }
  .row p { font-size: 14px; line-height: 1.45; }
  .center .btn, .final .btn { width: 100%; }
  .offer-card { border-radius: 24px; }
  .offer-card .btn { width: 100%; }
  .g-item { flex-basis: 76vw; }
  .faq details p { padding-right: 0; }
  .contact-cta .btn { flex: 1 1 100%; }
  .map, .map iframe { min-height: 300px; }
  .dock {
    display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55;
    transform: translateY(160%); transition: transform .5s var(--ease);
  }
  .dock.show { transform: none; }
  .dock-main { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; padding: 17px; border-radius: 999px; box-shadow: 0 14px 34px rgba(0,0,0,.28); }
  .dock-main svg { width: 20px; height: 20px; }
  .dock-sec { flex: none; width: 58px; display: grid; place-items: center; background: var(--ink); color: var(--bg); border-radius: 50%; box-shadow: 0 14px 34px rgba(0,0,0,.28); }
  .dock-sec::before { width: 22px; height: 22px; }
}
@media (hover: none) {
  .btn-ghost, .kicker { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(0,0,0,.28); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .anim { opacity: 1; transform: none; }
  .hero-title .ln > span { transform: none; }
  .reveal-img, .reveal-img img { clip-path: none; transform: none; }
}

/* ---------- struttura a 9 blocchi (dal video "la struttura di ogni landing") ---------- */
.problem { background: var(--ink); color: var(--bg); }
.problem h2 { max-width: 16ch; }
.problem-list { list-style: none; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.problem-list li { border: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); border-radius: 22px; padding: 26px 24px; display: grid; gap: 16px; align-content: start; }
.problem-list .x { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); font-weight: 800; }
.problem-list p { font-size: 17px; color: color-mix(in srgb, var(--bg) 84%, transparent); }

.offer { padding-top: clamp(76px, 11vw, 150px); scroll-margin-top: 70px; }
.offer-card { max-width: 860px; text-align: left; }
.offer-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.offer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.offer-brand .mono { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 2px solid currentColor; font: 800 15px/1 var(--display); }
.offer-brand img { height: 40px; width: auto; max-width: 200px; object-fit: contain; background: var(--bg); border-radius: 10px; padding: 4px 8px; }
.offer-tag { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 8px 14px; border-radius: 999px; }
.offer-text { max-width: 600px; margin: 20px 0 22px; color: color-mix(in srgb, var(--bg) 80%, transparent); font-size: 17px; }
.inclusi { list-style: none; display: grid; gap: 12px; margin: 0 0 32px; padding: 22px 0; border-top: 1px solid color-mix(in srgb, var(--bg) 16%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--bg) 16%, transparent); }
.inclusi li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; font-weight: 500; }
.inclusi .ok { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 1px; }
.offer-btn { width: 100%; }
.offer-btn .wa { fill: currentColor; stroke: none; width: 22px; height: 22px; }
.offer-nota { margin-top: 14px; font-size: 13px; text-align: center; color: color-mix(in srgb, var(--bg) 60%, transparent); }
.offer-nota:empty { display: none; }

.usp-list { list-style: none; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.usp-list li { background: var(--soft); border-radius: 24px; padding: 30px 28px; }
.usp-list b { display: block; font: 800 clamp(40px, 5vw, 64px)/.95 var(--display); font-stretch: 72%; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.usp-list b em { font-style: normal; color: var(--accent); }
.usp-list p { color: var(--muted); font-size: 16px; }

.services { background: var(--soft); }
.objections h2 { max-width: 16ch; }
.obj-list { list-style: none; max-width: 980px; margin: 0 auto; display: grid; gap: 14px; }
.obj-list li { border-left: 4px solid var(--accent); background: var(--soft); border-radius: 0 22px 22px 0; padding: 24px 26px; }
.dubbio { font: 800 clamp(22px, 2.6vw, 32px)/1.05 var(--display); font-stretch: 75%; text-transform: uppercase; margin-bottom: 10px; }
.risposta { color: var(--muted); font-size: 17px; }
.risposta b { color: var(--accent); }

@media (max-width: 980px) {
  .problem-list, .usp-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .problem-list li { grid-template-columns: 38px 1fr; align-items: center; padding: 18px; gap: 14px; }
  .problem-list p { font-size: 16px; }
  .offer-card { padding: 28px 22px 26px; }
  .btn-xl { padding: 20px 22px; font-size: 17px; }
  .offer-btn { white-space: nowrap; }
  .usp-list li { padding: 24px 22px; }
  .dock.hide { transform: translateY(160%); }
}

/* ---------- qualità (checklist UI UX Pro Max, 11 nov 2026) ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, .g-track:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 12px; }
.hero a:focus-visible, .problem a:focus-visible, .offer-card a:focus-visible, .contact-card a:focus-visible, .final a:focus-visible, .dock a:focus-visible { outline-color: #fff; }
.hero-title em, .problem h2 em, .demo-pill b, .contact-list small, .contact-card .label, .offer-card .label { color: var(--accent-hi); }
.problem .label { color: var(--accent-hi); }
.problem-list .x { color: var(--accent-hi); }
.problem-list .x svg { width: 18px; height: 18px; stroke-width: 2.6; }
.inclusi .ok svg { width: 14px; height: 14px; stroke-width: 3; }
.demo-pill button { width: 32px; height: 32px; right: 4px; }
.demo-pill button::after { content: ""; position: absolute; inset: -6px; }
.btn, .dock a, summary, .demo-pill button { cursor: pointer; }
@media (hover: hover) { .row:hover { cursor: default; } }
/* telefono in orizzontale: hero più compatto, il titolo non copre tutto lo schermo */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: 110px; padding-bottom: 36px; }
  .hero-title { font-size: clamp(40px, 13vh, 72px); max-width: none; }
  .hero-sub { margin: 14px 0 18px; max-width: 640px; }
  .hero-cta .btn { flex: 0 0 auto; }
}

/* ---------- effetti premium (skill UI UX Pro Max: glassmorphism, aurora, kinetic type) ---------- */
/* vetro nell'hero: i numeri chiave, leggibili sopra la foto */
.glass-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.glass-facts li { display: flex; align-items: baseline; gap: 8px; padding: 12px 16px; border-radius: 16px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.26);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 30px rgba(0,0,0,.18); }
.glass-facts b { font: 800 26px/1 var(--display); font-stretch: 72%; color: #fff; }
.glass-facts span { font-size: 13px; color: rgba(255,255,255,.88); line-height: 1.25; max-width: 16ch; }

/* aurora: gradiente vivo e lento dietro l'offerta e la chiamata finale */
.offer, .final { position: relative; isolation: isolate; overflow: hidden; }
.aurora { position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.aurora i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; animation: drift 11s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: var(--accent); top: -30vmax; left: -20vmax; }
.aurora i:nth-child(2) { background: var(--sage); bottom: -35vmax; right: -25vmax; animation-duration: 13s; animation-delay: -4s; }
.aurora i:nth-child(3) { background: var(--soft); top: 20%; left: 35%; width: 45vmax; height: 45vmax; opacity: .8; animation-duration: 9s; animation-delay: -2s; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(6vmax,4vmax,0) scale(1.12); } }
.aurora-final { background: var(--accent); }
.aurora-final i:nth-child(1) { background: color-mix(in srgb, var(--accent), #000 25%); opacity: .7; }
.aurora-final i:nth-child(2) { background: color-mix(in srgb, var(--accent), #fff 18%); opacity: .6; }
.aurora-final i:nth-child(3) { background: var(--sage); opacity: .35; }
.final { background: transparent; }

/* la card dell'offerta diventa vetro scuro sopra l'aurora */
.offer-card { background: rgba(21,18,15,.78); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 40px 90px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.12); }
.offer-card::before { display: none; }
.offer-card::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 0%), color-mix(in srgb, var(--accent) 35%, transparent), transparent 60%); transition: opacity .3s; }

/* testo con riflesso che passa una volta (titoli chiave) */
.sheen { background: linear-gradient(100deg, currentColor 40%, color-mix(in srgb, var(--accent-hi), #fff 40%) 50%, currentColor 60%) 0 0 / 250% 100% no-repeat; -webkit-background-clip: text; background-clip: text; color: var(--bg); -webkit-text-fill-color: transparent; }
.js .sheen { background-position: 100% 0; }
.js .in .sheen, .js .in.sheen { animation: sheen 1.6s .4s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
.hero-title em { position: relative; }

/* liste che entrano una dopo l'altra con una leggera molla */
.js .problem-list li.reveal, .js .usp-list li.reveal, .js .obj-list li.reveal { transform: translateY(14px) scale(.97); transition-timing-function: cubic-bezier(.34,1.56,.64,1); }
.js .problem-list li.reveal.in, .js .usp-list li.reveal.in, .js .obj-list li.reveal.in { transform: none; }
.usp-list li { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
@media (hover: hover) { .usp-list li:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); } }

@media (max-width: 640px) {
  .glass-facts { gap: 8px; }
  .glass-facts li { padding: 10px 12px; flex: 1 1 calc(50% - 8px); }
  .glass-facts li:first-child { flex-basis: 100%; }
  .glass-facts b { font-size: 22px; }
  .aurora i { filter: blur(50px); }
}
@media (max-height: 520px) and (orientation: landscape) { .glass-facts { display: none; } }
@media (prefers-reduced-motion: reduce) { .aurora i { animation: none; } .sheen { background-position: 0 0 !important; } }
.shot .sheen { background-position: 0 0; animation: none; }
/* rifinitura 11 nov: offerta su aurora scura (vetro più profondo), numeri dell'hero su una riga */
.offer .aurora { background: var(--ink); }
.offer .aurora i:nth-child(1) { opacity: .75; }
.offer .aurora i:nth-child(2) { opacity: .55; }
.offer .aurora i:nth-child(3) { background: color-mix(in srgb, var(--accent), var(--ink) 55%); opacity: .7; }
.offer-card { background: rgba(18,15,12,.52); border-color: rgba(255,255,255,.18); }
.offer .head, .offer .label { color: var(--bg); }
.glass-facts b { white-space: nowrap; }
@media (max-width: 640px) {
  .glass-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .glass-facts li, .glass-facts li:first-child { flex-direction: column; gap: 4px; padding: 11px 12px; align-items: flex-start; }
  .glass-facts span { font-size: 11.5px; max-width: none; }
}

/* ---------- livello wow (11 nov) ---------- */
/* barra di avanzamento */
.progress { position: fixed; left: 0; right: 0; top: var(--strip); height: 3px; z-index: 61; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-hi)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* grana da pellicola sull'hero */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* parola chiave dell'hero con gradiente che scorre */
.hero-title em { background: linear-gradient(90deg, var(--accent-hi) 0%, var(--accent-hi) 30%, color-mix(in srgb, var(--accent-hi), #fff 50%) 50%, var(--accent-hi) 70%, var(--accent-hi) 100%) 0 0 / 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: flow 6s linear infinite; }
@keyframes flow { to { background-position: -200% 0; } }

/* sezioni che salgono sopra la precedente, con angoli arrotondati */
main > section:not(.hero) { position: relative; border-radius: 34px 34px 0 0; margin-top: -34px; background-color: var(--bg); box-shadow: 0 -18px 40px rgba(0,0,0,.08); }
main > section.problem, main > section.contact { background-color: var(--ink); }
main > section.services { background-color: var(--soft); }
main > section.contact { background-color: var(--bg); }
main > section.offer, main > section.final { background-color: transparent; }
.footer { position: relative; }

/* "perché noi" su telefono: card che si impilano mentre scorri */
@media (max-width: 980px) {
  .usp-list { gap: 18px; }
  .usp-list li { position: sticky; top: calc(var(--strip) + 84px); box-shadow: 0 -10px 30px rgba(0,0,0,.08); border: 1px solid var(--line); }
  .usp-list li:nth-child(2) { top: calc(var(--strip) + 100px); }
  .usp-list li:nth-child(3) { top: calc(var(--strip) + 116px); }
  .usp-list li:nth-child(4) { top: calc(var(--strip) + 132px); }
}

/* paragrafo che si "accende" parola per parola mentre lo leggi */
.scroll-lit .wd { transition: color .25s linear; color: color-mix(in srgb, var(--ink) 22%, transparent); }
.scroll-lit .wd.on { color: var(--ink); }

/* foto che segue il mouse sulle lezioni (solo computer) */
.cursor-img { position: fixed; top: 0; left: 0; z-index: 40; width: 300px; height: 380px; border-radius: 22px; overflow: hidden; pointer-events: none;
  opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.85); transition: opacity .35s var(--ease), scale .35s var(--ease); box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.cursor-img.on { opacity: 1; scale: 1.18; }
@media (hover: none), (max-width: 980px) { .cursor-img { display: none; } }

/* pulsanti magnetici (solo i due principali, solo con il mouse) */
.magnetic { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .hero-title em { animation: none; }
  .scroll-lit .wd { color: inherit !important; }
  .usp-list li { position: static !important; }
}
.shot .scroll-lit .wd { color: var(--ink); }

/* ---------- componenti 21st.dev riscritti in HTML/CSS (11 nov 2026) ---------- */
/* Border Beam (appica-dev): scia di luce che gira attorno alla card dell'offerta */
@property --beam-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.offer-card .beam { position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--beam-angle), transparent 0%, var(--accent-hi) 16%, #fff 18%, transparent 24%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude;
  animation: beam 5s linear infinite; }
@keyframes beam { to { --beam-angle: 360deg; } }

/* Background Gradient Shader (nikolas-sapa): sfondo WebGL al posto delle macchie CSS, se il browser lo supporta */
.aurora canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.aurora.tide-on i { display: none; }

@media (prefers-reduced-motion: reduce) { .offer-card .beam { animation: none; display: none; } }

/* ---------- font dei titoli per cliente (font_display nel file cliente) ---------- */
h1, h2, h3, .ob-title, .dubbio, .usp-list b, .glass-facts b, .row-n { font-weight: var(--display-weight, 800); }
.titoli-normali h1, .titoli-normali h2, .titoli-normali h3, .titoli-normali .dubbio, .titoli-normali .usp-list b { text-transform: none; font-stretch: normal; letter-spacing: -.015em; line-height: 1.02; }
.titoli-normali .hero-title { line-height: .98; }
.titoli-normali .glass-facts b, .titoli-normali .row-n, .titoli-normali .step-list .n { font-stretch: normal; }

/* foto dell'hero molto chiare o con fuoco: ombra più forte e parola chiave piena, per restare leggibile */
.ombra-forte .hero-shade { background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.38) 32%, rgba(0,0,0,.58) 58%, rgba(0,0,0,.92) 100%); }
.ombra-forte .hero-title em { background: none; -webkit-text-fill-color: currentColor; color: #FFC29E; animation: none; }

/* ---------- apertura "scena" che si muove con lo scorrimento (dal video Neu Web Studio, 11 nov) ---------- */
.hero-pin { display: contents; }
.scene-word, .scene-chip, .scene-cta, .scene-hint { display: none; }
.con-scena .hero { display: block; height: 240vh; min-height: 0; padding: 0; background: var(--bg); overflow: visible; }
.con-scena .hero::after { display: none; }
.con-scena .hero-pin { display: block; position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.con-scena .hero-bg { clip-path: circle(var(--r, 24vmin) at 50% 52%); will-change: clip-path; }
.con-scena .hero-bg img { animation: none; transform: scale(var(--z, 1.25)); will-change: transform; }
.con-scena .hero-shade { opacity: var(--sh, 0); }
.con-scena .hero-in { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--pad) clamp(34px, 6vw, 80px); max-width: none; opacity: var(--c, 0); transform: translateY(calc((1 - var(--c, 0)) * 34px)); pointer-events: none; z-index: 3; }
.con-scena .hero-in > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.con-scena .hero-in .hero-title { margin-left: auto; margin-right: auto; }
.con-scena.scene-copy-on .hero-in { pointer-events: auto; }
.con-scena .hero-in .anim { opacity: 1; transform: none; animation: none; }
.con-scena .hero-title .ln > span { animation: none; transform: translateY(105%); transition: transform 1s cubic-bezier(.16,1,.3,1); transition-delay: var(--d, 0s); }
.con-scena .hero-title.go .ln > span { transform: none; }
.con-scena .hero-in > * { max-width: min(var(--max), 100%); }

.con-scena .scene-word { display: block; position: absolute; z-index: 2; top: 52%; font: var(--display-weight, 800) clamp(56px, 8.6vw, 170px)/.86 var(--display); font-stretch: 72%;
  color: var(--ink); white-space: nowrap; will-change: transform, opacity; pointer-events: none; }
.con-scena .sw1 { right: calc(50% + 27vmin); transform: translateY(-50%); }
.con-scena .sw2 { left: calc(50% + 27vmin); transform: translateY(-50%); color: var(--accent); }
.titoli-normali.con-scena .scene-word { font-stretch: normal; letter-spacing: -.03em; }

.con-scena .scene-chip { display: block; position: absolute; z-index: 1; top: 52%; left: 50%; width: clamp(64px, 11vmin, 130px); aspect-ratio: 1; margin: calc(clamp(64px, 11vmin, 130px) / -2) 0 0 calc(clamp(64px, 11vmin, 130px) / -2);
  border-radius: 50%; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.25); border: 3px solid var(--bg); will-change: transform, opacity; }

.con-scena .scene-cta { display: inline-flex; position: absolute; z-index: 4; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); transform: translateX(-50%); opacity: var(--m, 1); white-space: nowrap; }
.con-scena.scene-copy-on .scene-cta { pointer-events: none; }
.con-scena .scene-hint { display: flex; flex-direction: column; align-items: center; gap: 8px; position: absolute; z-index: 4; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); opacity: var(--hint, 1); }
.con-scena .scene-hint i { width: 2px; height: 34px; background: linear-gradient(var(--accent), transparent); animation: hint 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* nav: scura sul fondo chiaro della scena, bianca quando la foto riempie lo schermo */
.con-scena .nav:not(.solid):not(.on-photo) { color: var(--ink); }

@media (max-width: 900px) {
  .con-scena .hero { height: 220vh; }
  .con-scena .hero-bg { clip-path: circle(var(--r, 34vw) at 50% 50%); }
  .con-scena .scene-word { font-size: clamp(54px, 19vw, 120px); left: 50%; right: auto; top: auto; text-align: center; }
  .con-scena .sw1 { bottom: calc(50% + 36vw); transform: translateX(-50%); }
  .con-scena .sw2 { top: calc(50% + 36vw); transform: translateX(-50%); }
  .con-scena .scene-chip { top: 50%; }
  .con-scena .hero-in .glass-facts { display: none; }
  .con-scena .scene-hint { display: none; }
}
/* senza movimento, anteprime e senza JavaScript: la scena si mostra già "aperta" */
@media (prefers-reduced-motion: reduce) {
  .con-scena .hero { height: auto; }
  .con-scena .hero-pin { position: relative; }
}
.shot.con-scena .hero, html:not(.js) .con-scena .hero { height: auto; }
.shot.con-scena .hero-pin, html:not(.js) .con-scena .hero-pin { position: relative; }
.shot.con-scena .hero-bg, html:not(.js) .con-scena .hero-bg { clip-path: none; }
.shot.con-scena .hero-bg img, html:not(.js) .con-scena .hero-bg img { transform: none; }
.shot.con-scena .hero-shade, html:not(.js) .con-scena .hero-shade { opacity: 1; }
.shot.con-scena .hero-in, html:not(.js) .con-scena .hero-in { opacity: 1; transform: none; pointer-events: auto; }
.shot.con-scena .hero-title .ln > span { transform: none; }
.shot.con-scena .scene-word, .shot.con-scena .scene-chip, .shot.con-scena .scene-cta, .shot.con-scena .scene-hint,
html:not(.js) .con-scena .scene-word, html:not(.js) .con-scena .scene-chip, html:not(.js) .con-scena .scene-cta, html:not(.js) .con-scena .scene-hint { display: none; }

.con-scena .hero-in .hero-title { font-size: clamp(50px, min(8vw, 13vh), 132px); }
@media (max-width: 900px) { .con-scena .hero-in .hero-title { font-size: clamp(44px, 12.5vw, 72px); } .con-scena .sw1 { bottom: calc(50% + 38vw); } .con-scena .sw2 { top: calc(50% + 38vw); } }

/* ── menù che gira con lo scorrimento (pizze in orbita) ───────────────────── */
@property --orb-a { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
@property --tint { syntax: "<color>"; inherits: true; initial-value: #f3b49c; }
.orbit { position: relative; padding: 0; height: calc(100svh * (1 + (var(--n) - 1) * .8)); background: var(--ink); color: var(--bg); transition: --tint 1.1s ease; }
.orbit-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 5vw, 90px); padding: 96px var(--pad) 64px calc(var(--pad) + 40px); isolation: isolate; }
.orbit-pin::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 28% 52%, color-mix(in srgb, var(--tint) 26%, transparent), transparent 70%); transition: background 1s; }
.orbit-label { position: absolute; top: 92px; left: calc(var(--pad) + 40px); margin: 0; color: var(--accent-hi); }
.orbit-plates { --rot: 0deg; position: relative; width: min(42vw, 64svh); aspect-ratio: 1; justify-self: center; touch-action: pan-y; }
.orbit-ring { position: absolute; inset: -13%; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from var(--orb-a), transparent 0 8%, var(--tint) 14% 38%, transparent 46% 100%);
  -webkit-mask: radial-gradient(closest-side, transparent 80%, #000 81% 96%, transparent 97%); mask: radial-gradient(closest-side, transparent 80%, #000 81% 96%, transparent 97%);
  opacity: .55; transition: --orb-a 1.3s cubic-bezier(.22,1,.36,1); }
.orbit-p { position: absolute; inset: 0; opacity: 0; transform-origin: 50% -115%; transition: transform .95s cubic-bezier(.22,1,.36,1) .28s; will-change: transform; }
.orbit-p img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 50%; transform: rotate(var(--rot)); filter: drop-shadow(0 34px 44px rgba(0,0,0,.55)) drop-shadow(0 6px 10px rgba(0,0,0,.35)); user-select: none; -webkit-user-drag: none; }
.orbit-p.on { opacity: 1; transform: rotate(0deg); }
.orbit-p.go-out { opacity: 1; transform: rotate(calc(var(--d, 1) * 58deg)); transition: transform .62s cubic-bezier(.55,0,.75,.2); }
.orbit-text { max-width: 520px; }
.orbit-heads, .orbit-bodies { display: grid; }
.orbit-hd, .orbit-bd { grid-area: 1 / 1; }
.orbit-eye { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: color-mix(in srgb, var(--bg) 62%, transparent); margin-bottom: 14px; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.orbit-hd h2 { margin: 0; }
.orbit-hd .t1, .orbit-hd .t2 { display: block; white-space: nowrap; }
.orbit-hd .t1 { font: 300 clamp(22px, 2.6vw, 38px)/1.1 "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--tint); clip-path: inset(0 0 0 100%); transition: clip-path .42s cubic-bezier(.55,0,.75,.2), color 1s; }
.orbit-hd .t2 { font-size: clamp(54px, 7.4vw, 118px); line-height: .95; margin-top: 8px; clip-path: inset(0 100% 0 0); transition: clip-path .42s cubic-bezier(.55,0,.75,.2) .06s; }
.orbit-hd.on .orbit-eye { opacity: 1; transform: none; transition: opacity .4s .55s, transform .4s .55s; }
.orbit-hd.on .t1 { clip-path: inset(0 0 0 0); transition: clip-path .7s cubic-bezier(.22,1,.36,1) .55s, color 1s; }
.orbit-hd.on .t2 { clip-path: inset(0 0 0 0); transition: clip-path .7s cubic-bezier(.22,1,.36,1) .62s; }
.orbit-bd { opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .3s, transform .3s, visibility 0s .3s; }
.orbit-bd.on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s .45s, transform .5s .45s, visibility 0s; }
.orbit-bd p { margin: 22px 0 18px; font-size: 17px; line-height: 1.55; color: color-mix(in srgb, var(--bg) 82%, transparent); }
.orbit-bd ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.orbit-bd li { font-size: 13px; padding: 7px 13px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--bg) 22%, transparent); background: color-mix(in srgb, var(--bg) 6%, transparent); }
.orbit-cta { margin-top: 30px; }
.orbit-dots { position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.orbit-dots button { appearance: none; border: 0; background: none; padding: 6px 10px; cursor: pointer; display: grid; place-items: center; }
.orbit-dots button i { display: block; width: 4px; height: 4px; border-radius: 4px; background: var(--bg); opacity: .4; transition: height .45s cubic-bezier(.3,.7,.2,1), opacity .3s, background .6s; }
.orbit-dots button[aria-current] i { height: 28px; opacity: 1; background: var(--tint); }
.orbit-dots button:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; border-radius: 8px; }
.orbit-hint { position: absolute; right: var(--pad); bottom: 30px; display: flex; align-items: center; gap: 10px; margin: 0; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, var(--bg) 55%, transparent); }
.orbit-hint i { width: 1px; height: 26px; background: currentColor; transform-origin: top; animation: orbHint 1.6s ease-in-out infinite; }
@keyframes orbHint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 900px) {
  .orbit-pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; justify-items: center; text-align: center; gap: 0; padding: 112px 20px 96px; }
  .orbit-label { top: 76px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .orbit-plates { width: min(66vw, 36svh); margin-top: 10px; }
  .orbit-text { margin-top: clamp(22px, 5svh, 44px); }
  .orbit-label::before { display: none; }
  .orbit-hd .t2 { font-size: clamp(44px, 13vw, 72px); }
  .orbit-eye { margin-bottom: 8px; font-size: 12px; }
  .orbit-bd p { margin: 14px auto 14px; font-size: 15.5px; max-width: 36ch; }
  .orbit-bd ul { justify-content: center; }
  .orbit-cta, .orbit-hint { display: none; }
  .orbit-dots { left: 50%; top: auto; bottom: 86px; transform: translateX(-50%); flex-direction: row; }
  .orbit-dots button i { width: 4px; height: 4px; transition: width .45s cubic-bezier(.3,.7,.2,1), opacity .3s, background .6s; }
  .orbit-dots button[aria-current] i { width: 26px; height: 4px; }
}
@media (max-width: 900px) and (max-height: 720px) { .orbit-bd ul { display: none; } .orbit-pin { padding-top: 104px; } }
@media (max-height: 520px) and (orientation: landscape) {
  .orbit-pin { grid-template-columns: auto 1fr; grid-template-rows: none; text-align: left; justify-items: start; padding: 64px var(--pad) 24px calc(var(--pad) + 40px); gap: 32px; }
  .orbit-plates { width: 62svh; margin: 0; }
  .orbit-label { display: none; }
  .orbit-text { margin: 0; }
  .orbit-hd .t2 { font-size: 46px; }
  .orbit-bd p { margin: 10px 0; font-size: 14px; }
  .orbit-bd ul { display: none; }
  .orbit-dots { left: var(--pad); top: 50%; bottom: auto; transform: translateY(-50%); flex-direction: column; }
  .orbit-dots button[aria-current] i { width: 4px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit, .orbit-ring, .orbit-p, .orbit-p.go-out, .orbit-hd .t1, .orbit-hd .t2, .orbit-hd.on .t1, .orbit-hd.on .t2, .orbit-eye, .orbit-hd.on .orbit-eye, .orbit-bd, .orbit-bd.on { transition: none !important; }
  .orbit-hint i { animation: none; }
}
main > section.orbit { background-color: var(--ink); }
.orbit-label { top: 112px; }
@media (max-width: 900px) { .orbit-label { top: 96px; } .orbit-pin { padding-top: 128px; } }
@media (max-width: 900px) and (max-height: 720px) { .orbit-pin { padding-top: 120px; } .orbit-plates { width: min(60vw, 33svh); } .orbit-label { top: 90px; } }
.orbit-hd .t2 { white-space: normal; text-wrap: balance; }
@media (min-width: 901px) { .orbit-hd .t2 { font-size: clamp(54px, 6.4vw, 104px); } }
@media (max-width: 900px) {
  .orbit-pin { grid-template-rows: auto auto auto; }
  .orbit-dots { position: relative; left: auto; bottom: auto; top: auto; transform: none; margin-top: 14px; }
}
@media (max-width: 900px) and (max-height: 720px) and (orientation: portrait) { .orbit-dots { display: none; } }
@media (max-height: 520px) and (orientation: landscape) {
  .orbit-pin { grid-template-rows: none; padding-top: 72px; }
  .orbit-plates { width: 60svh; margin: 0 0 0 24px; }
  .orbit-dots { position: absolute; left: var(--pad); top: 55%; transform: translateY(-50%); margin: 0; flex-direction: column; }
  .orbit-dots button i { width: 4px; height: 4px; }
  .orbit-dots button[aria-current] i { width: 4px; height: 24px; }
}
@media (max-height: 520px) and (orientation: landscape) { .orbit-pin { padding-top: 92px; padding-bottom: 16px; } .orbit-plates { width: 52svh; } }
.orbit-text { position: relative; z-index: 2; } .orbit-label, .orbit-dots, .orbit-hint { z-index: 2; }

/* ── 3D: menù su piatto girevole (menu.stile = "anello") ─────────────────── */
.orbit-table { position: absolute; inset: 0; }
.orbit.anello .orbit-plates { width: min(48vw, 78svh); aspect-ratio: 1 / .78; perspective: 1500px; perspective-origin: 50% 18%; }
.orbit.anello .orbit-table { --ry: 0deg; --nudge: 0deg; transform-style: preserve-3d; transform: rotateX(60deg) rotateZ(calc(var(--ry) + var(--nudge))); transition: transform 1.25s cubic-bezier(.22,1,.36,1); }
.orbit.anello .orbit-table::before { content: ""; position: absolute; left: 50%; top: 50%; width: 112%; aspect-ratio: 1; transform: translate(-50%, -50%) translateZ(-2px); border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--bg) 10%, transparent) 0 62%, color-mix(in srgb, var(--tint) 30%, transparent) 63% 64%, color-mix(in srgb, var(--bg) 5%, transparent) 65% 97%, color-mix(in srgb, var(--tint) 55%, transparent) 98% 100%);
  box-shadow: 0 60px 120px rgba(0,0,0,.6); transition: background 1s; }
.orbit.anello .orbit-ring { inset: auto; left: 50%; top: 50%; width: 124%; aspect-ratio: 1; transform: translate(-50%, -50%) translateZ(-1px); opacity: .7; }
.orbit.anello .orbit-p { --R: 82%; inset: auto; left: 50%; top: 50%; width: 40%; aspect-ratio: 1; margin: -20% 0 0 -20%; opacity: 1; transform-origin: 50% 50%; transform-style: preserve-3d;
  transform: rotateZ(var(--a)) translateY(var(--R)) translateZ(2px); transition: transform 1s cubic-bezier(.22,1,.36,1), filter .8s; filter: brightness(.62) saturate(.8); }
.orbit.anello .orbit-p.on { transform: rotateZ(var(--a)) translateY(var(--R)) translateZ(70px) rotateX(-34deg) scale(1.28); filter: none; }
.orbit.anello .orbit-p img { filter: none; box-shadow: 0 26px 30px rgba(0,0,0,.55), 0 4px 8px rgba(0,0,0,.4); }
.orbit.anello .orbit-p.go-out { transform: rotateZ(var(--a)) translateY(var(--R)) translateZ(2px); transition: transform 1s cubic-bezier(.22,1,.36,1), filter .8s; }
@media (max-width: 900px) {
  .orbit.anello .orbit-plates { width: min(92vw, 60svh); margin-top: 0; }
  .orbit.anello .orbit-text { margin-top: clamp(4px, 2svh, 22px); }
}
@media (max-width: 900px) and (max-height: 720px) and (orientation: portrait) { .orbit.anello .orbit-plates { width: min(84vw, 52svh); } }
@media (max-height: 520px) and (orientation: landscape) { .orbit.anello .orbit-plates { width: 82svh; } }
@media (prefers-reduced-motion: reduce) { .orbit.anello .orbit-table, .orbit.anello .orbit-p { transition: none !important; } }

/* ── 3D: profondità nello scorrimento (effetto_3d) ───────────────────────── */
.prof-3d .hero { perspective: 900px; }
.prof-3d .hero-bg img { transform: scale(calc(1.02 + var(--hp, 0) * .32)) translateY(calc(var(--hp, 0) * 6%)); transform-origin: 50% 60%; }
.prof-3d .hero-in { transform: translateZ(calc(var(--hp, 0) * 260px)) translateY(calc(var(--hp, 0) * -60px)) rotateX(calc(var(--hp, 0) * 8deg)); opacity: calc(1 - var(--hp, 0) * 1.5); transform-origin: 50% 100%; }
.prof-3d main > .rise { transform: perspective(1400px) translateY(calc((1 - var(--e, 1)) * 90px)) rotateX(calc((1 - var(--e, 1)) * 18deg)) scale(calc(.9 + var(--e, 1) * .1)); transform-origin: 50% 0; }
.prof-3d main > .rise.moving { will-change: transform; }
.prof-3d .usp-list li, .prof-3d .obj-list li, .prof-3d .inclusi li { transform-style: preserve-3d; }
.prof-3d .usp-list { perspective: 1000px; }
.prof-3d .usp-list li.reveal { transform: rotateY(-28deg) translateZ(-80px); transition: transform 1s cubic-bezier(.22,1,.36,1), opacity .8s, box-shadow .3s; }
.prof-3d .usp-list li.reveal.in, .prof-3d .usp-list li.reveal.visible, .prof-3d .usp-list li.reveal.is-in { transform: none; }
@media (prefers-reduced-motion: reduce) { .prof-3d .hero-bg img, .prof-3d .hero-in, .prof-3d main > .rise, .prof-3d .usp-list li.reveal { transform: none !important; opacity: 1 !important; } }
html.js, .js body { overflow-x: clip; } .prof-3d .hero { overflow: clip; }
.orbit.anello .orbit-p { --lift: 9.5vw; }
.orbit.anello .orbit-p.on { transform: rotateZ(var(--a)) translateY(var(--R)) translateZ(var(--lift)) rotateX(-34deg) scale(1.22); }
@media (max-width: 900px) { .orbit.anello .orbit-plates { width: min(84vw, 56svh); } .orbit.anello .orbit-p { --lift: 15vw; } }
@media (max-width: 900px) and (max-height: 720px) and (orientation: portrait) { .orbit.anello .orbit-plates { width: min(80vw, 50svh); } .orbit.anello .orbit-p { --lift: 14vw; } }
@media (max-height: 520px) and (orientation: landscape) { .orbit.anello .orbit-p { --lift: 9vw; } }

/* ── 3D: lezioni su un cilindro che gira (servizi_stile = "cilindro") ────── */
.cyl { position: relative; padding: 0; height: calc(100svh * (1 + (var(--n) - 1) * .42)); }
main > section.cyl { background-color: var(--soft); }
.cyl-pin { position: sticky; top: 0; height: 100svh; overflow: clip; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 24px; padding: 90px var(--pad) 40px; }
.cyl-head h2 { margin-bottom: 18px; }
.cyl-hint { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 55%, transparent); }
.cyl-stage { --W: min(26vw, 40svh); position: relative; height: calc(var(--W) * 1.6); perspective: 1600px; perspective-origin: 50% 40%; }
.cyl-drum { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(calc(var(--W) * -1.15)) rotateX(-7deg) rotateY(var(--ry, 0deg)); }
.cyl-card { --f: 1; position: absolute; left: 50%; top: 50%; width: var(--W); aspect-ratio: 3 / 4.1; margin: calc(var(--W) * -.683) 0 0 calc(var(--W) * -.5); border-radius: 22px; overflow: hidden; background: var(--ink);
  transform: rotateY(calc(var(--i) * 360deg / var(--n))) translateZ(calc(var(--W) * 1.15)); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.cyl-card img { width: 100%; height: 100%; object-fit: cover; filter: brightness(calc(.45 + var(--f) * .55)) saturate(calc(.6 + var(--f) * .4)); }
.cyl-card figcaption { position: absolute; inset: auto 0 0; padding: 18px 18px 20px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.78)); opacity: calc(var(--f) * 1.6 - .6); }
.cyl-card .n { font: 800 13px/1 var(--display); letter-spacing: .1em; color: var(--accent-hi); }
.cyl-card h3 { font-size: clamp(22px, 2.2vw, 30px); margin: 8px 0 6px; }
.cyl-card p { font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.86); margin: 0; }
@media (max-width: 900px) {
  .cyl-pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; text-align: center; padding-top: 96px; gap: 0; }
  .cyl-head .label { justify-content: center; }
  .cyl-head h2 { margin-bottom: 6px; }
  .cyl-stage { --W: min(56vw, 34svh); margin-top: 3svh; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .cyl-pin { grid-template-columns: .8fr 1.2fr; grid-template-rows: none; text-align: left; padding-top: 70px; }
  .cyl-head .label { justify-content: flex-start; }
  .cyl-stage { --W: 30svh; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .cyl { height: auto; } .cyl-pin { position: relative; height: auto; } }

/* ── 3D: le sezioni si coricano all'indietro quando le lasci (effetto_3d = "esce") ── */
.prof-esce main > .tilt { transform: perspective(1300px) rotateX(calc(var(--x, 0) * 16deg)) scale(calc(1 - var(--x, 0) * .1)); transform-origin: 50% 100%; opacity: calc(1 - var(--x, 0) * .55); }
.prof-esce main > .tilt.moving { will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) { .prof-esce main > .tilt { transform: none !important; opacity: 1 !important; } }
.cyl-stage { --W: min(27vw, 50svh); perspective: 1150px; }
.cyl-card figcaption { padding: calc(var(--W) * .07); }
.cyl-card h3 { font-size: clamp(15px, calc(var(--W) * .088), 30px); }
.cyl-card p { font-size: clamp(11px, calc(var(--W) * .045), 14px); }
@media (max-width: 900px) {
  .cyl-pin { padding-bottom: 92px; }
  .cyl-stage { --W: min(54vw, 32svh); align-self: center; margin-top: 0; }
}
@media (max-height: 520px) and (orientation: landscape) { .cyl-pin { padding-bottom: 20px; } .cyl-stage { --W: 46svh; align-self: center; } }
@media (max-width: 900px) and (orientation: portrait) { .cyl-stage { align-self: start; margin-top: 5svh; } }
@media (max-height: 520px) and (orientation: landscape) { .cyl-stage { --W: 36svh; } .cyl-pin { padding-top: 84px; } }
