/* Studio Spunto · versione 5 (2026-11-09)
   Home con il bivio "Più tempo / Più clienti", i sistemi da provare esposti su piedistalli di marmo, pagine per settore.
   Stessi colori del marmo di site.css: sfondo --bg, inchiostro --text, un solo accento oro --gold.
   Forme: bottoni 14px (come site.css), schede e immagini 22px, pillole e scelte rapide tonde, telefono 48px.
   Movimento: solo transform e opacity; con "riduci movimento" tutto è fermo e leggibile. */

:root {
  --h5-line: rgba(27, 26, 23, .14);
  --h5-paper: #f6f2ec;
  --h5-paper-2: #ece6de;
  --h5-wa: #dde7d3;
  --h5-glow: 201, 163, 90;
  --h5-shadow: 74, 56, 38;
  --h5-ease: cubic-bezier(.16, 1, .3, 1);
  --h5-gutter: max(20px, calc((100vw - var(--wrap)) / 2 + 24px));
}

@media (hover: none) { html { scroll-behavior: smooth; } }
#percorso { scroll-margin-top: 0; }

/* ================================================================ apertura: la mano che cade e forma la S (video a fotogrammi, solo con lo scroll) */
.hx { position: relative; height: 240vh; height: 240svh; background: var(--bg); }
.hx-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hx-media { position: absolute; inset: 0; background: #d7cec6; }
.hx-media img, .hx-cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 74% 50%; display: block; }
.hx-cv { opacity: 0; }
.hx.ready .hx-cv { opacity: 1; }
.hx-still { opacity: 0; transition: opacity .8s var(--h5-ease); }
.hx.done .hx-still, .hx.calm .hx-still, .no-js .hx-still { opacity: 1; }
.hx.calm, .no-js .hx { height: auto; }
.hx.calm .hx-stage, .no-js .hx-stage { position: relative; min-height: 100svh; }

.hx-copy { position: absolute; z-index: 2; left: var(--h5-gutter); top: calc(var(--nav-h) + 5vh); bottom: max(10vh, 116px); width: min(50vw, 680px);
  display: flex; flex-direction: column; justify-content: space-between; }
.hx-h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 6.1vw, 6.7rem); line-height: .95; letter-spacing: -.022em; color: var(--text); }
.hx-h1 em { font-style: italic; color: var(--gold); display: inline-block; padding: 0 .06em .1em 0; }
.hx-k { display: block; margin-bottom: 26px; font-family: var(--font); font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.hx-foot { display: flex; align-items: center; gap: 28px; }
.hx-foot .btn { flex: none; }
.hx-foot p { max-width: 36ch; font-size: 15px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.hx-badge { position: absolute; z-index: 2; right: var(--h5-gutter); top: calc(var(--nav-h) + 4vh); width: 104px; height: 104px; transform: rotate(var(--rot, 0deg)); }
.hx-badge text { font: 600 9.6px var(--font); letter-spacing: .2em; fill: var(--text); }
.hx-line { position: absolute; z-index: 2; left: 50%; bottom: 0; width: 1.5px; height: 18vh; margin-left: -.75px;
  background: linear-gradient(to bottom, rgba(140, 106, 44, 0), var(--gold)); box-shadow: 0 0 10px rgba(var(--h5-glow), .8);
  transform-origin: bottom; transform: scaleY(var(--lp, 0)); }
/* "Scorri" al primo fotogramma, con la lineetta che scende (come nella home di prima); sparisce appena si scorre */
.hx-hint { position: absolute; z-index: 3; left: 50%; bottom: 20px; translate: -50% 0; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); transition: opacity .4s; pointer-events: none; }
.hx-hint::after { content: ""; display: block; width: 1px; height: 26px; margin: 8px auto 0; background: currentColor; transform-origin: top; animation: h5hint 1.8s ease-in-out infinite; }
@keyframes h5hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hx.moved .hx-hint, .hx.calm .hx-hint { opacity: 0; }
body.quake { animation: h5quake .5s cubic-bezier(.36, .07, .19, .97) both; }
@keyframes h5quake { 10%, 90% { transform: translate3d(-1px, 1px, 0); } 20%, 80% { transform: translate3d(2px, -1px, 0); } 30%, 50%, 70% { transform: translate3d(-3px, 2px, 0); } 40%, 60% { transform: translate3d(3px, -1px, 0); } }

@media (max-width: 820px) {
  .hx { height: 200svh; }
  .hx-stage { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px; padding: calc(var(--nav-h) + 14px) 16px max(18px, env(safe-area-inset-bottom)); }
  .hx-copy { display: contents; }
  .hx-h1 { grid-row: 1; font-size: clamp(2.35rem, 10.6vw, 3.5rem); line-height: .98; }
  .hx-k { margin-bottom: 14px; font-size: 11.5px; letter-spacing: .12em; }
  .hx-media { position: relative; grid-row: 2; inset: auto; margin: 0 -16px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 88%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 88%, transparent); }
  .hx-media img, .hx-cv { object-position: 84% 50%; }
  .hx-foot { grid-row: 3; flex-direction: column; align-items: stretch; gap: 12px; }
  .hx-foot .btn { width: 100%; justify-content: center; }
  .hx-foot p { max-width: none; font-size: 14px; }
  .hx-badge, .hx-line { display: none; }
  .hx-hint { bottom: 13%; }
}
@media (max-width: 820px) and (max-height: 700px) { .hx-foot p { display: none; } }

/* ================================================================ il bivio */
.bv { position: relative; padding: clamp(84px, 12vh, 150px) 0 clamp(70px, 10vh, 120px); }
.bv-head { max-width: 980px; text-align: center; }
.bv-head .h2 { font-size: clamp(2.5rem, 5.6vw, 5.4rem); line-height: 1; text-wrap: balance; }
.bv-lead { max-width: 60ch; margin: 24px auto 0; font-size: 17px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.bv-fork { position: relative; height: 160px; margin-top: 28px; }
.bv-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bv-p { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 4px rgba(var(--h5-glow), .9)); transition: stroke-width .3s; }
.bv-h { fill: #fff8e6; opacity: 0; filter: drop-shadow(0 0 6px rgba(var(--h5-glow), 1)); }
.bv[data-hover="tempo"] .bv-p1, .bv[data-hover="clienti"] .bv-p2 { stroke-width: 2.6; }
.bv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.bv-door { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; border-radius: 24px; transition: opacity .45s, transform .6s var(--h5-ease); }
.bv-img { display: block; aspect-ratio: 4 / 3; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 86%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 86%, transparent); mask-composite: intersect; }
.bv-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--h5-ease); }
.bv-door:hover .bv-img img, .bv-door:focus-visible .bv-img img { transform: scale(1.045); }
@media (hover: hover) and (min-width: 900px) { .bv-grid:has(.bv-door:hover) .bv-door:not(:hover) { opacity: .5; } }
.bv-k { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--gold-ink); }
.bv-t { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: 1.04; letter-spacing: -.02em; padding-bottom: .06em; }
.bv-d { font-size: 17px; line-height: 1.55; color: var(--text-2); max-width: 44ch; text-wrap: pretty; }
.bv-go { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding-bottom: 3px; font-weight: 600; font-size: 15.5px; color: var(--text); border-bottom: 1px solid currentColor; }
.bv-go .i, .ex-more a .i, .who5-me a .i, .pc-end a .i, .end5 .i.go, .sx-honest a .i { width: 16px; height: 16px; transition: transform .3s var(--h5-ease); }
.bv-door:hover .bv-go .i, .ex-more a:hover .i, .who5-me a:hover .i, .pc-end a:hover .i, .sx-honest a:hover .i { transform: translateX(4px); }
.bv-door:focus-visible { outline: 2px solid var(--gold); outline-offset: 8px; }
.bv-foot { margin-top: 60px; display: grid; gap: 22px; justify-items: center; text-align: center; }
.bv-foot > p { font-size: 16px; color: var(--muted); }
.bv-sec { display: grid; gap: 12px; justify-items: center; }
.bv-sec span, .sx-other p { font-size: 14px; color: var(--muted); }
.bv-sec ul, .sx-pills { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bv-sec a, .sx-pills a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 17px; border-radius: 999px; border: 1px solid var(--h5-line);
  color: var(--text-2); font-size: 14.5px; text-decoration: none; transition: background .25s, color .25s, border-color .25s; }
.bv-sec a:hover, .sx-pills a:hover, .bv-sec a:focus-visible, .sx-pills a:focus-visible { background: var(--text); border-color: var(--text); color: var(--bg); }
.bv-seg { display: none; }
@media (max-width: 899px) {
  /* sul telefono il bivio diventa un mazzo di due carte in 3D: quella scelta sta davanti con la descrizione, l'altra dietro, più piccola */
  .bv { overflow-x: clip; }
  .bv-head { text-align: left; }
  .bv-head .h2 { font-size: clamp(2.1rem, 9vw, 2.7rem); }
  .bv-lead { margin-left: 0; font-size: 16px; }
  .bv-fork { height: 56px; }
  .bv-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: fit-content; margin: 0 auto 22px; padding: 4px; border-radius: 999px;
    background: rgba(255, 255, 255, .4); box-shadow: inset 0 0 0 1px rgba(27, 26, 23, .12); }
  .bv-seg button { position: relative; z-index: 1; min-width: 124px; min-height: 42px; border: 0; border-radius: 999px; background: none; font: 600 14.5px var(--font); color: var(--text-2); cursor: pointer; transition: color .3s; }
  .bv-seg button[aria-selected="true"] { color: var(--bg); }
  .bv-seg i { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--text); transition: transform .55s var(--h5-ease); }
  .bv[data-front="clienti"] .bv-seg i { transform: translateX(100%); }
  .bv-grid { display: grid; grid-template-columns: 1fr; gap: 0; perspective: 1100px; }
  .bv-door { grid-area: 1 / 1; width: 82%; justify-self: start; gap: 8px; padding-bottom: 20px; border-radius: 24px; background: var(--bg); overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(27, 26, 23, .07), 0 34px 50px -30px rgba(var(--h5-shadow), .6);
    transform-origin: 50% 40%; transition: transform .75s var(--h5-ease), opacity .55s, filter .55s; }
  .bv-door > :not(.bv-img) { margin-left: 18px; margin-right: 18px; }
  .bv-img { -webkit-mask-image: none; mask-image: none; }
  .bv-door .bv-k, .bv-door .bv-d, .bv-door .bv-go, .bv-door .bv-t { transition: opacity .4s; }
  .bv-door[data-pos="front"] { z-index: 2; transform: none; }
  .bv-door[data-pos="back"] { z-index: 1; transform: translate3d(32%, 0, -160px) rotateY(-16deg) scale(.84); filter: brightness(.94) saturate(.8); }
  .bv-door[data-pos="back"] .bv-k, .bv-door[data-pos="back"] .bv-d, .bv-door[data-pos="back"] .bv-go { opacity: 0; }
  .bv-t { font-size: clamp(2.2rem, 9vw, 2.8rem); }
  .bv-d { font-size: 16px; }
}

/* ================================================================ le due strade: interruttore e vetrine */
.pc { position: relative; padding-bottom: clamp(60px, 8vh, 100px); }
.pc-bar { position: sticky; top: calc(var(--nav-h) + 12px); z-index: 6; height: 0; display: flex; justify-content: center; align-items: flex-start; pointer-events: none; }
.pc-seg { pointer-events: auto; position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px;
  background: rgba(226, 219, 210, .8); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(27, 26, 23, .1), inset 0 1px 0 rgba(255, 255, 255, .5), 0 18px 40px -22px rgba(var(--h5-shadow), .6); }
.pc-seg button { position: relative; z-index: 1; min-width: 138px; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: none;
  font: 600 15px/1 var(--font); color: var(--text-2); cursor: pointer; transition: color .35s; }
.pc-seg button[aria-selected="true"] { color: var(--bg); }
.pc-seg button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pc-thumb { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--text); transition: transform .55s var(--h5-ease); }
.pc[data-path="clienti"] .pc-thumb { transform: translateX(100%); }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .pc-seg { background: #e2dbd2; } }
.pc-panel { padding-top: 120px; }
.pc-panel.enter { animation: h5in .7s var(--h5-ease) both; }
@keyframes h5in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.pc-intro .h2 { max-width: 15ch; font-size: clamp(2.6rem, 5.4vw, 5.2rem); line-height: 1; }
.pc-intro p { max-width: 62ch; margin-top: 24px; font-size: 17.5px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.pc-list { position: relative; display: grid; gap: clamp(100px, 15vh, 170px); padding-top: clamp(70px, 10vh, 120px); }
.pc-rail { position: absolute; left: -46px; top: clamp(70px, 10vh, 120px); bottom: 40px; width: 1px; background: rgba(27, 26, 23, .12); }
.pc-rail i { position: absolute; inset: 0; background: var(--gold); box-shadow: 0 0 8px rgba(var(--h5-glow), .9); transform-origin: top; transform: scaleY(var(--rp, 0)); }
.pc-end { margin-top: clamp(80px, 12vh, 140px); }
.pc-end p { max-width: 62ch; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.pc-end a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text); text-decoration: underline; text-decoration-color: rgba(140, 106, 44, .6); text-underline-offset: 4px; }
@media (max-width: 1360px) { .pc-rail, .ex-node { display: none; } }
@media (max-width: 820px) {
  /* sul telefono l'interruttore sta in basso, sotto il pollice, e compare solo dentro le due strade */
  .pc-bar { position: fixed; top: auto; bottom: max(14px, env(safe-area-inset-bottom)); left: 0; right: 0; height: auto; z-index: 30;
    transform: translateY(160%); transition: transform .5s var(--h5-ease); }
  .pc.float .pc-bar { transform: none; }
  .pc-seg { box-shadow: inset 0 0 0 1px rgba(27, 26, 23, .12), inset 0 1px 0 rgba(255, 255, 255, .5), 0 18px 40px -12px rgba(var(--h5-shadow), .7); }
  .pc-panel { padding-top: 70px; }
}
@media (max-width: 560px) { .pc-seg button { min-width: 0; padding: 0 20px; font-size: 14.5px; } }


/* senza JavaScript: tutte e due le strade visibili, l'interruttore non serve */
.no-js .pc-panel[hidden] { display: block; }
.no-js .pc-bar { display: none; }

/* ---------------------------------------------------------------- una vetrina: il testo e il sistema sul piedistallo */
.ex { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.ex--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ex--rev .ex-copy { order: 2; }
.ex--wide { grid-template-columns: 1fr; gap: 48px; }
.ex--wide .ex-copy { max-width: 760px; }
.ex-node { position: absolute; left: -52px; top: 50%; width: 13px; height: 13px; margin-top: -6px; border-radius: 50%; background: var(--bg);
  box-shadow: inset 0 0 0 1px rgba(27, 26, 23, .3); transition: background .5s, box-shadow .5s; }
.ex.on .ex-node { background: var(--gold); box-shadow: 0 0 0 5px rgba(var(--h5-glow), .2), 0 0 16px rgba(var(--h5-glow), .9); }
.ex-t { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 3.5vw, 3.4rem); line-height: 1.04; letter-spacing: -.015em; text-wrap: balance; padding-bottom: .04em; }
.ex-q { margin: 24px 0 0; padding: 2px 0 2px 18px; border-left: 2px solid var(--gold); }
.ex-q p { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.32; color: var(--text-2); text-wrap: pretty; }
.ex-d { margin-top: 20px; max-width: 54ch; font-size: 17px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.ex-proof { margin-top: 16px; max-width: 54ch; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.ex-proof a, .ex-d a, .sx-honest p a, .sx-price a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(140, 106, 44, .6); text-underline-offset: 3px; }
.ex-more { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.ex-more a { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 3px; font-weight: 600; font-size: 15.5px; color: var(--text); text-decoration: none; border-bottom: 1px solid rgba(27, 26, 23, .3); transition: border-color .25s; }
.ex-more a:hover { border-color: var(--text); }

.ex-stage { position: relative; margin: 0; display: grid; justify-items: center; align-content: start; }
.ex-obj { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: center; gap: 22px; }
.ex-plinth { position: relative; z-index: 1; width: min(420px, 100%); height: auto; margin-top: -16px; filter: drop-shadow(0 36px 28px rgba(var(--h5-shadow), .26)); pointer-events: none; user-select: none; }
.ex-ag .ex-plinth, .ex-sp .ex-plinth, .ex-zn .ex-plinth { width: min(1040px, 100%); height: 150px; margin-top: -22px; object-fit: cover; object-position: 50% 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.ex-or .ex-plinth, .ex-rv .ex-plinth { width: min(560px, 100%); }
.ex-zn .ex-plinth { width: min(680px, 100%); }
.ex-label { margin-top: 20px; display: grid; gap: 3px; justify-items: center; text-align: center; }
.ex-label b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 20px; color: var(--text); }
.ex-label span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 960px) {
  .ex, .ex--rev { grid-template-columns: 1fr; gap: 40px; }
  .ex--rev .ex-copy { order: 0; }
}

/* ---------------------------------------------------------------- il telefono */
.ph5 { position: relative; flex: none; width: 292px; height: 604px; padding: 9px; border-radius: 48px; background: linear-gradient(150deg, #2e2b28, #141311 60%);
  box-shadow: inset 0 0 0 1.5px #4d4944, inset 0 0 0 3px #1b1a17, 0 44px 70px -38px rgba(var(--h5-shadow), .8), 0 16px 30px -18px rgba(var(--h5-shadow), .55); }
.ph5-scr { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: var(--h5-paper); display: flex; flex-direction: column; color: var(--text); font-family: var(--font); }
.ph5-bar { position: relative; flex: none; height: 46px; display: flex; align-items: center; padding: 2px 24px 0 30px; font-size: 14px; }
.ph5-bar b { font-weight: 600; }
.ph5-isl { position: absolute; left: 50%; top: 10px; width: 94px; height: 27px; margin-left: -47px; border-radius: 20px; background: #0d0c0b; }
.ph5-sig { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; margin: 0 7px 0 auto; }
.ph5-sig i { width: 3px; border-radius: 1px; background: var(--text); }
.ph5-sig i:nth-child(1) { height: 4px; } .ph5-sig i:nth-child(2) { height: 6px; } .ph5-sig i:nth-child(3) { height: 8.5px; } .ph5-sig i:nth-child(4) { height: 11px; }
.ph5-bat { position: relative; width: 24px; height: 11.5px; border-radius: 3.5px; box-shadow: inset 0 0 0 1px rgba(27, 26, 23, .45); }
.ph5-bat::after { content: ""; position: absolute; inset: 2px 5px 2px 2px; border-radius: 1.5px; background: var(--text); }
.app-h { flex: none; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 8px 18px 12px; border-bottom: 1px solid rgba(27, 26, 23, .08); }
.app-h b { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.app-h span { font-size: 12.5px; color: var(--muted); }
.ex-stage button { -webkit-tap-highlight-color: transparent; }
.ex-stage button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 380px) { .ph5 { width: 270px; height: 560px; } }

/* ---------------------------------------------------------------- demo 1 · preventivo guidato */
.pv-bar { flex: none; height: 3px; margin: 0 18px; border-radius: 3px; background: rgba(27, 26, 23, .08); overflow: hidden; }
.pv-bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--pv, 0)); transition: transform .55s var(--h5-ease); }
.pv-n i { font-style: normal; }
.pv-picked { flex: none; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; padding: 12px 18px 0; min-height: 46px; }
.pv-picked span { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: rgba(140, 106, 44, .12); color: var(--gold-ink); animation: h5pop .45s var(--h5-ease) both; }
@keyframes h5pop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
.pv-body { position: relative; flex: 1; overflow: hidden; }
.pv-q, .pv-done { position: absolute; inset: 0; margin: 0; padding: 14px 18px 18px; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px;
  transition: transform .6s var(--h5-ease), opacity .45s; }
.pv-q { transform: translateX(105%); opacity: 0; }
.pv-q.cur { transform: none; opacity: 1; }
.pv-q.past { transform: translateX(-35%); opacity: 0; pointer-events: none; }
.pv-q legend { float: left; width: 100%; padding: 0; margin-bottom: 8px; font-size: 21px; font-weight: 650; line-height: 1.2; letter-spacing: -.015em; }
.pv-o { min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(27, 26, 23, .14); background: #fff; text-align: left;
  font: 500 15.5px/1.2 var(--font); color: var(--text); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s, transform .15s; }
.pv-o:hover { border-color: rgba(27, 26, 23, .42); }
.pv-o:active { transform: scale(.98); }
.pv-o.sel { border-color: var(--gold); background: #fbf6ec; box-shadow: inset 0 0 0 1px var(--gold); }
.pv-done { transform: translateY(24px); opacity: 0; pointer-events: none; gap: 12px; }
.ex-pv.fin .pv-done { transform: none; opacity: 1; pointer-events: auto; }
.pv-ok { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--gold-ink); }
.pv-ok .i { width: 17px; height: 17px; flex: none; }
.wa-b { position: relative; align-self: flex-end; max-width: 94%; padding: 10px 12px 20px; border-radius: 14px 14px 4px 14px; background: var(--h5-wa); font-size: 14px; line-height: 1.42; box-shadow: 0 1px 1px rgba(27, 26, 23, .08); }
.wa-b ul { list-style: none; margin: 5px 0; }
.wa-b li { font-weight: 600; }
.wa-b li::before { content: "· "; color: var(--gold-ink); }
.wa-meta { position: absolute; right: 10px; bottom: 4px; font-size: 10.5px; color: rgba(27, 26, 23, .5); }
.wa-meta i { font-style: normal; letter-spacing: -.12em; }
.pv-again { align-self: center; margin-top: auto; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(27, 26, 23, .2); background: none; font: 600 14px var(--font); color: var(--text); cursor: pointer; }
.pv-again:hover { background: var(--text); color: var(--bg); }

/* ---------------------------------------------------------------- demo 2 · assistente su WhatsApp */
.ph5.wa .ph5-scr { background: #ede6dd; }
.wa-h { flex: none; display: flex; align-items: center; gap: 10px; padding: 4px 14px 10px; background: var(--h5-paper); border-bottom: 1px solid rgba(27, 26, 23, .08); }
.wa-av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--bg); }
.wa-av .i { width: 18px; height: 18px; }
.wa-h b { display: block; font-size: 15px; font-weight: 650; }
.wa-h small { font-size: 12px; color: var(--muted); }
.wa-log { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 12px 12px 6px; }
.wa-day { align-self: center; margin-bottom: auto; font-size: 11.5px; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .72); color: var(--muted); }
.wa-m { position: relative; max-width: 84%; padding: 8px 11px 17px; border-radius: 12px; font-size: 13.5px; line-height: 1.38; box-shadow: 0 1px 1px rgba(27, 26, 23, .07); animation: h5msg .4s var(--h5-ease) both; }
.wa-m.c { align-self: flex-end; background: var(--h5-wa); border-bottom-right-radius: 4px; }
.wa-m.a { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.wa-m time { position: absolute; right: 9px; bottom: 3px; font-size: 10px; color: rgba(27, 26, 23, .45); }
@keyframes h5msg { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.wa-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 13px; border-radius: 12px; border-bottom-left-radius: 4px; background: #fff; animation: h5msg .3s var(--h5-ease) both; }
.wa-typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(27, 26, 23, .35); animation: h5dot 1s infinite ease-in-out; }
.wa-typing i:nth-child(2) { animation-delay: .15s; } .wa-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes h5dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.wa-in { flex: none; margin: 6px 10px 14px; min-height: 40px; padding: 0 14px; border-radius: 20px; background: #fff; display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--muted); }
.wa-in .i { width: 18px; height: 18px; color: var(--gold-ink); }
.as-chips { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 420px; }
.as-chips span, .mp-chips span { width: 100%; text-align: center; font-size: 13px; color: var(--muted); }
.as-chip, .mp-chip { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(27, 26, 23, .18); background: rgba(255, 255, 255, .35);
  font: 500 14px var(--font); color: var(--text); cursor: pointer; transition: background .25s, color .25s, border-color .25s, opacity .25s; }
.as-chip:hover, .mp-chip:hover { border-color: var(--text); }
.as-chip:disabled { opacity: .38; cursor: default; }
.mp-chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------------------------------------------------------------- demo 3 · prenotazioni e agenda */
.ag-win { position: relative; width: min(940px, calc(100vw - 40px)); display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; border-radius: 26px;
  background: var(--h5-paper); box-shadow: inset 0 0 0 1px rgba(27, 26, 23, .1), 0 0 0 10px #1d1c1a, 0 0 0 11px #4d4944, 0 46px 70px -40px rgba(var(--h5-shadow), .8); }
.ag-book, .ag-cal { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 16px; min-height: 380px; }
.ag-cal { background: var(--h5-paper-2); border-left: 1px solid rgba(27, 26, 23, .08); position: relative; }
.ag-h { display: grid; gap: 3px; }
.ag-h b { font-size: 18px; font-weight: 650; letter-spacing: -.01em; }
.ag-h span { font-size: 13px; color: var(--muted); }
.ag-days { display: flex; gap: 8px; }
.ag-day { flex: 1; min-height: 56px; display: grid; place-content: center; gap: 1px; border-radius: 14px; border: 1px solid rgba(27, 26, 23, .14); background: #fff; cursor: pointer; font-family: var(--font); color: var(--text); transition: background .2s, border-color .2s, color .2s; }
.ag-day small { font-size: 11.5px; color: var(--muted); }
.ag-day b { font-size: 18px; font-weight: 650; }
.ag-day.on { background: var(--text); border-color: var(--text); color: var(--bg); }
.ag-day.on small { color: rgba(226, 219, 210, .75); }
.ag-slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.ag-slot { min-height: 44px; border-radius: 12px; border: 1px solid rgba(27, 26, 23, .16); background: #fff; font: 600 14px var(--font); color: var(--text); cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .15s; font-variant-numeric: tabular-nums; }
.ag-slot:hover:not(:disabled) { border-color: var(--text); }
.ag-slot:active:not(:disabled) { transform: scale(.97); }
.ag-slot:disabled { background: transparent; border-style: dashed; color: rgba(27, 26, 23, .35); cursor: not-allowed; text-decoration: line-through; }
.ag-slot.sel { background: var(--gold); border-color: var(--gold); color: #fff; }
.ag-ok { min-height: 44px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.ag-ok b { color: var(--text); }
.ag-list { list-style: none; display: grid; gap: 8px; }
.ag-list li { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border-radius: 12px; background: rgba(255, 255, 255, .7); font-size: 14px; font-variant-numeric: tabular-nums; }
.ag-list li b { font-weight: 650; }
.ag-list li span { color: var(--text-2); }
.ag-list li.new { background: #fbf3e2; box-shadow: inset 0 0 0 1px var(--gold); animation: h5pop .5s var(--h5-ease) both; }
.ag-list li.new span::after { content: " · prenotato online"; color: var(--gold-ink); font-weight: 600; }
.ag-toast { position: absolute; left: 22px; right: 22px; bottom: 18px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--text); color: var(--bg); font-size: 13.5px;
  opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s var(--h5-ease); }
.ag-toast .i { width: 18px; height: 18px; flex: none; color: rgb(var(--h5-glow)); }
.ex-ag.fin .ag-toast { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .ag-win { grid-template-columns: 1fr; width: min(440px, calc(100vw - 32px)); box-shadow: inset 0 0 0 1px rgba(27, 26, 23, .1), 0 0 0 8px #1d1c1a, 0 0 0 9px #4d4944, 0 40px 60px -36px rgba(var(--h5-shadow), .8); }
  .ag-cal { border-left: 0; border-top: 1px solid rgba(27, 26, 23, .08); min-height: 300px; }
  .ag-book, .ag-cal { padding: 20px 18px; min-height: 0; }
  .ag-slots { grid-template-columns: repeat(4, 1fr); }
  .ag-cal { padding-bottom: 76px; }
}

/* ---------------------------------------------------------------- demo 4 · ordini dal tavolo e stampa in cucina */
.or-menu { list-style: none; flex: 1; overflow: hidden; padding: 6px 0; }
.or-menu li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px 10px 18px; border-bottom: 1px solid rgba(27, 26, 23, .06); }
.or-n { display: grid; gap: 1px; min-width: 0; }
.or-n b { font-size: 15px; font-weight: 650; }
.or-n small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.or-n em { font-style: normal; font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.or-q { flex: none; display: flex; align-items: center; gap: 4px; }
.or-q button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(27, 26, 23, .18); background: #fff; font: 600 18px/1 var(--font); color: var(--text); cursor: pointer; transition: background .2s, transform .15s; }
.or-q button:active { transform: scale(.92); }
.or-q .or-a { background: var(--text); color: var(--bg); border-color: var(--text); }
.or-q output { min-width: 18px; text-align: center; font-weight: 650; font-size: 15px; font-variant-numeric: tabular-nums; }
.or-foot { flex: none; display: grid; gap: 10px; padding: 12px 16px 18px; border-top: 1px solid rgba(27, 26, 23, .08); background: #fff; }
.or-foot > span { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-2); }
.or-tot { color: var(--text); font-variant-numeric: tabular-nums; }
.or-send { min-height: 48px; border: 0; border-radius: 14px; background: var(--text); color: var(--bg); font: 600 15.5px var(--font); cursor: pointer; transition: opacity .25s, transform .15s; }
.or-send:disabled { opacity: .32; cursor: default; }
.or-send:active:not(:disabled) { transform: scale(.98); }
.or-pr { position: relative; flex: none; width: 196px; display: flex; flex-direction: column; align-items: center; }
.or-mouth { position: relative; width: 150px; height: 292px; overflow: hidden; display: flex; align-items: flex-end; }
.or-paper { width: 100%; padding: 14px 13px 18px; background: #fbfaf6; box-shadow: 0 2px 10px rgba(var(--h5-shadow), .18); transform: translateY(101%); transition: transform 1.8s steps(14, end);
  background-image: linear-gradient(to bottom, rgba(27, 26, 23, .04), transparent 18%); -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 6px); mask-image: linear-gradient(to bottom, transparent 0, #000 6px); }
.ex-or.printed .or-paper { transform: none; }
.or-tk { margin: 0; font: 600 10.5px/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #2a2724; white-space: pre; overflow: hidden; }
.or-body { position: relative; width: 196px; height: 92px; margin-top: -2px; border-radius: 16px 16px 20px 20px; background: linear-gradient(170deg, #34312d, #191816 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -3px 0 rgba(0, 0, 0, .4), 0 30px 40px -26px rgba(var(--h5-shadow), .8); }
.or-slot { position: absolute; left: 18px; right: 18px; top: 8px; height: 6px; border-radius: 4px; background: #0b0a09; }
.or-led { position: absolute; right: 18px; bottom: 18px; width: 8px; height: 8px; border-radius: 50%; background: #5b5650; transition: background .3s, box-shadow .3s; }
.ex-or.printing .or-led { background: rgb(var(--h5-glow)); box-shadow: 0 0 10px rgba(var(--h5-glow), 1); }
.or-lb { position: absolute; left: 18px; bottom: 14px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(226, 219, 210, .6); }
.or-st { margin-top: 12px; min-height: 22px; font-size: 14px; font-weight: 600; color: var(--gold-ink); text-align: center; }
@media (max-width: 640px) {
  /* sul telefono: menu a sinistra, stampante piccola a destra, la comanda sale accanto al telefono senza coprire i bottoni */
  .ex-or .ex-obj { width: 100%; justify-content: flex-start; gap: 0; }
  .ex-or .ph5 { width: 252px; height: 566px; }
  .ex-or .or-n small { display: none; }
  .ex-or .or-n b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 112px; }
  .ex-or .or-pr { position: absolute; right: -4px; bottom: 0; transform: scale(.56); transform-origin: right bottom; }
}

/* ---------------------------------------------------------------- demo 5 · Google e Mappe, prima e dopo */
.seg2 { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 18px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .4); box-shadow: inset 0 0 0 1px rgba(27, 26, 23, .12); }
.seg2 button { position: relative; z-index: 1; min-width: 104px; min-height: 40px; border: 0; border-radius: 999px; background: none; font: 600 14px var(--font); color: var(--text-2); cursor: pointer; transition: color .3s; }
.seg2 button.on { color: var(--bg); }
.seg2 i { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--text); transition: transform .5s var(--h5-ease); }
.ex-mp.after .seg2 i { transform: translateX(100%); }
.ph5.g .ph5-scr { background: #fbfaf7; }
.g-top { flex: none; display: flex; align-items: center; gap: 10px; padding: 4px 14px 10px; }
.g-logo { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px rgba(27, 26, 23, .12); font: 700 14px var(--font); color: var(--text); }
.g-q { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 38px; padding: 0 12px 0 14px; border-radius: 20px; background: #fff; box-shadow: 0 1px 4px rgba(27, 26, 23, .12); font-size: 13px; }
.g-qt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-q .i { width: 16px; height: 16px; color: var(--muted); flex: none; }
.g-map { flex: none; height: 132px; position: relative; overflow: hidden; }
.g-svg { width: 100%; height: 100%; display: block; }
.g-land { fill: #ebe5dc; }
.g-water { fill: #d3d8d4; }
.g-road { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.g-road.big { stroke-width: 7; stroke: #f8f4ee; }
.g-pin path { fill: #8b8580; } .g-pin circle { fill: #fff; }
.g-pin.me path { fill: #b4aea8; transition: fill .4s; }
.ex-mp.after .g-pin.me path { fill: var(--gold); }
.ex-mp.after .g-pin.me { animation: h5pin .7s var(--h5-ease) both; }
@keyframes h5pin { 0% { transform: translate(132px, 78px) scale(1); } 40% { transform: translate(132px, 74px) scale(1.25); } 100% { transform: translate(132px, 78px) scale(1.15); } }
.g-list { position: relative; flex: 1; list-style: none; margin: 0; padding: 0; overflow: hidden; }
.g-r, .g-sep { position: absolute; left: 0; right: 0; top: 0; transform: translateY(calc(var(--pos, 0) * 66px)); transition: transform .8s var(--h5-ease), opacity .4s; }
.g-r { height: 66px; padding: 10px 16px; display: grid; align-content: center; gap: 3px; border-bottom: 1px solid rgba(27, 26, 23, .07); background: #fbfaf7; }
.g-n { font-size: 14.5px; font-weight: 650; }
.g-s { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-s b { color: var(--text); font-weight: 600; }
.g-st { font-style: normal; color: #c5953a; letter-spacing: -.05em; }
.g-r.me .g-n { color: var(--text); }
.g-r.me .g-after, .g-r.me .g-act { display: none; }
.ex-mp.after .g-r.me { height: 92px; background: #fbf4e6; box-shadow: inset 3px 0 0 var(--gold); }
.ex-mp.after .g-r.me .g-before { display: none; }
.ex-mp.after .g-r.me .g-after { display: block; }
.ex-mp.after .g-r.me .g-act { display: flex; gap: 6px; margin-top: 4px; }
.g-act span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(27, 26, 23, .14); font-size: 11.5px; font-weight: 600; }
.g-act .i { width: 12px; height: 12px; }
.g-r:not(.me) { opacity: 1; }
.ex-mp:not(.after) .g-r.me { opacity: .78; }
.g-sep { height: 30px; padding: 7px 16px 0; font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: .02em; background: #f3efe8; }
.mp-chips { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 420px; }

/* ---------------------------------------------------------------- demo 6 · il cronometro */
.sp-board { width: min(940px, calc(100vw - 40px)); padding: 28px clamp(20px, 3vw, 36px) 30px; border-radius: 26px; background: var(--h5-paper);
  box-shadow: inset 0 0 0 1px rgba(27, 26, 23, .1), 0 0 0 10px #1d1c1a, 0 0 0 11px #4d4944, 0 46px 70px -40px rgba(var(--h5-shadow), .8); }
.sp-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sp-clock { display: flex; align-items: baseline; gap: 10px; }
.sp-t { font-family: var(--serif); font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: .9; color: var(--text); font-variant-numeric: tabular-nums; min-width: 3.3ch; }
.sp-clock small { font-size: 14px; color: var(--muted); }
.sp-again { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 14px; border: 1px solid rgba(27, 26, 23, .18); background: #fff; font: 600 14.5px var(--font); color: var(--text); cursor: pointer; }
.sp-again .i { width: 17px; height: 17px; }
.sp-again:hover { background: var(--text); color: var(--bg); }
.sp-lanes { list-style: none; display: grid; gap: 4px; }
.sp-lanes li { display: grid; grid-template-columns: 150px 1fr 70px; align-items: center; gap: 16px; min-height: 52px; border-bottom: 1px solid rgba(27, 26, 23, .07); }
.sp-n { display: grid; font-weight: 650; font-size: 15.5px; }
.sp-n small { font-weight: 400; font-size: 12.5px; color: var(--muted); }
.sp-tr { position: relative; height: 10px; }
.sp-tr i { position: absolute; left: 0; top: 0; height: 10px; width: 100%; border-radius: 6px; background: linear-gradient(90deg, rgba(140, 106, 44, .55), var(--gold)); transform-origin: left; transform: scaleX(var(--w, 0)); }
.sp-lanes li.in .sp-tr i { box-shadow: 0 0 12px rgba(var(--h5-glow), .7); }
.sp-v { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; opacity: .25; transition: opacity .3s; }
.sp-lanes li.in .sp-v { opacity: 1; }
.sp-scale { position: relative; height: 26px; margin: 8px 86px 0 166px; }
.sp-scale span { position: absolute; left: calc(var(--x) * 100%); top: 6px; transform: translateX(-50%); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sp-scale .sp-lim { color: var(--gold-ink); font-weight: 650; }
.sp-scale .sp-lim::before { content: ""; position: absolute; left: 50%; bottom: 22px; height: 236px; border-left: 1.5px dashed rgba(140, 106, 44, .7); }
.sp-note { max-width: 70ch; margin-top: 16px; text-align: center; font-size: 13px; line-height: 1.5; color: var(--muted); }
@media (max-width: 700px) {
  .sp-lanes li { grid-template-columns: 1fr 64px; grid-template-areas: "n v" "t t"; gap: 6px 10px; padding: 8px 0; }
  .sp-n { grid-area: n; } .sp-v { grid-area: v; } .sp-tr { grid-area: t; }
  .sp-scale { margin: 6px 0 0; }
  .sp-scale .sp-lim::before { display: none; }
  .sp-top { align-items: center; }
  .sp-again { padding: 0 14px; }
}

/* ---------------------------------------------------------------- demo 7 · pubblicità in zona */
.zn-map { position: relative; width: min(560px, calc(100vw - 40px)); aspect-ratio: 400 / 260; overflow: hidden; border-radius: 26px; background: #ebe5dc;
  box-shadow: inset 0 0 0 1px rgba(27, 26, 23, .1), 0 0 0 10px #1d1c1a, 0 0 0 11px #4d4944, 0 46px 70px -40px rgba(var(--h5-shadow), .8); }
.zn-svg { width: 100%; height: 100%; display: block; }
.zn-road { fill: none; stroke: #f8f4ee; stroke-width: 5; stroke-linecap: round; }
.zn-road.big { stroke-width: 9; stroke: #fbf8f3; }
.zn-dots circle { fill: #a9a39c; transition: fill .5s, r .5s; }
.zn-dots circle.in { fill: var(--gold); }
.zn-ring { fill: rgba(var(--h5-glow), .14); stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 5 5; transition: r .9s var(--h5-ease); }
.zn-pin circle { fill: var(--text); }
.zn-pin .zn-pulse { fill: none; stroke: var(--gold); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: h5pulse 2.4s ease-out infinite; }
@keyframes h5pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.zn-km { position: absolute; left: 16px; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(251, 248, 243, .92); font-weight: 650; font-size: 14px; font-variant-numeric: tabular-nums; }
.zn-ctl { margin-top: 18px; width: min(460px, 100%); display: grid; gap: 10px; text-align: center; }
.zn-ctl label { font-size: 14px; font-weight: 600; }
.zn-ctl input[type="range"] { width: 100%; accent-color: var(--text); height: 32px; cursor: pointer; }
.zn-out { min-height: 44px; font-size: 14.5px; line-height: 1.45; color: var(--text-2); }
.zn-proof { margin-top: 10px; display: flex; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--text-2); }
.zn-proof b { font-family: var(--serif); font-weight: 400; font-size: 2rem; color: var(--gold); }

/* ---------------------------------------------------------------- demo 8 · recensioni con la card NFC */
.rv-card { position: relative; flex: none; width: 210px; height: 132px; margin-bottom: 26px; padding: 16px 18px; border: 0; border-radius: 16px; display: grid; align-content: space-between; justify-items: start; gap: 2px;
  background: linear-gradient(140deg, #2b2825, #121110 70%); color: #efe8dd; cursor: pointer; text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 26px 34px -20px rgba(var(--h5-shadow), .8); transition: transform .4s var(--h5-ease); }
.rv-card img { width: 30px; height: 30px; filter: invert(1) brightness(1.6) sepia(.4); }
.rv-cl { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1; color: #e7cf9c; }
.rv-cs { font-size: 12px; color: rgba(239, 232, 221, .75); }
.rv-card .i { position: absolute; right: 16px; top: 16px; width: 22px; height: 22px; color: rgba(239, 232, 221, .8); }
.rv-card::before { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; }
.rv-card:hover { transform: translateY(-3px); }
.ph5.rv-ph { width: 236px; height: 486px; border-radius: 40px; transition: transform 1s var(--h5-ease); }
.ph5.rv-ph .ph5-scr { border-radius: 32px; background: #e9e3da; }
.ex-rv.near .ph5.rv-ph { transform: translateX(-46px) rotate(-6deg); }
.rv-lock, .rv-sheet { position: absolute; inset: 46px 0 0; padding: 22px 18px; display: flex; flex-direction: column; transition: opacity .5s, transform .6s var(--h5-ease); }
.rv-lock { align-items: center; text-align: center; gap: 12px; }
.rv-time { font-family: var(--serif); font-size: 54px; line-height: 1; color: var(--text); margin-top: 18px; }
.rv-hint { font-size: 13px; color: var(--muted); }
.rv-lock .i { width: 30px; height: 30px; color: var(--gold-ink); margin-top: 18px; }
.rv-sheet { gap: 10px; background: #fff; border-radius: 22px 22px 0 0; inset: 120px 0 0; box-shadow: 0 -10px 30px rgba(27, 26, 23, .12); opacity: 0; transform: translateY(60px); }
.ex-rv.fin .rv-sheet { opacity: 1; transform: none; }
.ex-rv.fin .rv-lock { opacity: .2; }
.rv-g { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; }
.rv-g .g-logo { width: 22px; height: 22px; font-size: 12px; }
.rv-biz { font-size: 12.5px; color: var(--muted); }
.rv-stars { display: flex; gap: 4px; font-size: 28px; line-height: 1; }
.rv-stars i { font-style: normal; color: rgba(27, 26, 23, .18); transition: color .3s; transition-delay: calc(var(--k) * .12s + .3s); }
.ex-rv.fin .rv-stars i { color: #c5953a; }
.rv-txt { min-height: 54px; padding: 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(27, 26, 23, .14); font-size: 13px; color: var(--muted); }
.rv-pub { align-self: flex-end; padding: 8px 16px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 13px; font-weight: 600; }
.rv-wave { position: absolute; left: calc(50% - 130px); bottom: 150px; width: 70px; height: 70px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; pointer-events: none; }
.ex-rv.tap .rv-wave { animation: h5wave 1s ease-out 2; }
@keyframes h5wave { from { transform: scale(.4); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
.ex-rv .ex-obj { gap: 0; align-items: flex-end; }
.ex-rv .rv-card { margin-right: -30px; z-index: 2; }
@media (max-width: 520px) { .rv-card { width: 172px; height: 112px; padding: 13px 14px; } .rv-cl { font-size: 18px; } .ph5.rv-ph { width: 214px; height: 440px; } .ex-rv.near .ph5.rv-ph { transform: translateX(-30px) rotate(-6deg); } }

/* ================================================================ chi c'è dietro */
.who5 { position: relative; padding: clamp(90px, 13vh, 160px) 0; }
.who5-g { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.who5-art { position: relative; margin: 0; justify-self: center; width: min(100%, 460px); }
.who5-art img { width: 100%; height: auto; filter: drop-shadow(0 40px 40px rgba(var(--h5-shadow), .28)); }
.who5 .eyebrow { margin-bottom: 18px; }
.who5 .h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: 1.02; text-wrap: balance; }
.who5-lead { margin-top: 24px; max-width: 56ch; font-size: 17.5px; line-height: 1.6; color: var(--text-2); }
.who5-pledge { margin-top: 22px; max-width: 56ch; padding: 20px 22px; border-radius: 22px; background: rgba(255, 255, 255, .32); box-shadow: inset 0 0 0 1px rgba(27, 26, 23, .08);
  font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.4; color: var(--text); }
.who5-facts { list-style: none; margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; max-width: 620px; }
.who5-facts li { display: grid; gap: 2px; padding-left: 14px; border-left: 1.5px solid var(--gold); }
.who5-facts b { font-size: 15.5px; font-weight: 650; }
.who5-facts span { font-size: 14px; color: var(--muted); }
.who5-me { margin-top: 30px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.who5-me img { width: 56px; height: 56px; border-radius: 18px; object-fit: cover; }
.who5-me p { display: grid; font-size: 14px; color: var(--muted); }
.who5-me p b { font-size: 16px; color: var(--text); }
.who5-me a { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--text); text-decoration: none; border-bottom: 1px solid rgba(27, 26, 23, .3); padding-bottom: 2px; }
@media (max-width: 900px) {
  .who5-g { grid-template-columns: 1fr; }
  .who5-art { width: min(64%, 300px); }
  .who5-facts { grid-template-columns: 1fr; }
  .who5-me a { margin-left: 0; }
}

/* ================================================================ fascia finale con la mano che indica */
.end5 { position: relative; padding: clamp(90px, 13vh, 150px) 0 clamp(80px, 11vh, 130px); overflow: hidden; }
.end5-g { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 20px; }
.end5 .h2 { font-size: clamp(2.6rem, 5.4vw, 5.2rem); line-height: 1; text-wrap: balance; }
.end5-copy > p { margin-top: 22px; max-width: 52ch; font-size: 17.5px; line-height: 1.6; color: var(--text-2); }
.end5-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.end5-wa { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 15.5px; color: var(--text); text-decoration: none; border-bottom: 1px solid rgba(27, 26, 23, .3); }
.end5-wa .i { width: 18px; height: 18px; }
.end5-z { margin-top: 30px !important; font-size: 13.5px !important; color: var(--muted) !important; }
.end5-hand { width: 100%; max-width: 520px; height: auto; justify-self: end; transform: translateX(var(--hx, 0)) rotate(var(--hr, 0deg)); filter: drop-shadow(0 30px 30px rgba(var(--h5-shadow), .22)); }
@media (max-width: 860px) {
  .end5-g { grid-template-columns: 1fr; }
  .end5-hand { position: absolute; right: -60px; top: -110px; width: 62%; max-width: 300px; opacity: .9; z-index: -1; }
  .end5 { padding-top: 160px; }
}

/* ================================================================ pagine per settore */
.sx-hero { position: relative; min-height: min(88svh, 900px); display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 40px) 0 clamp(50px, 8vh, 90px); overflow: hidden; }
.sx-art { position: absolute; inset: 0; }
.sx-art img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.sx-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(213, 203, 195, .92) 0%, rgba(213, 203, 195, .7) 38%, rgba(213, 203, 195, 0) 62%); }
.sx-copy { position: relative; z-index: 1; width: 100%; }
.sx-copy .crumbs { margin-bottom: 26px; }
.sx-h1 { max-width: 15ch; font-family: var(--serif); font-weight: 400; font-size: clamp(2.7rem, 5.6vw, 5.6rem); line-height: .98; letter-spacing: -.02em; text-wrap: balance; padding-bottom: .05em; }
.sx-lead { margin-top: 24px; max-width: 56ch; font-size: 18px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.sx-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
@media (max-width: 860px) {
  .sx-hero { min-height: 0; display: block; padding-top: calc(var(--nav-h) + 16px); }
  .sx-art { position: relative; inset: auto; height: 46vw; min-height: 210px; margin-bottom: 8px; }
  .sx-art img { object-position: 82% 50%; }
  .sx-art::after { background: linear-gradient(to bottom, rgba(213, 203, 195, 0) 60%, rgba(213, 203, 195, 1)); }
  .sx-h1 { max-width: none; }
}
.sx-pains { padding: clamp(80px, 11vh, 130px) 0 clamp(40px, 6vh, 70px); }
.sx-pains ul { list-style: none; margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--h5-line); }
.sx-pains li { padding: 26px 26px 6px 0; }
.sx-pains li + li { padding-left: 26px; border-left: 1px solid var(--h5-line); }
.sx-pains li p { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.3; color: var(--text); }
@media (max-width: 860px) { .sx-pains ul { grid-template-columns: 1fr; } .sx-pains li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--h5-line); } .sx-pains li { padding: 22px 0; } }
.sx-roads { padding: clamp(50px, 8vh, 90px) 0; }
.sx-roads-g { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
.sx-road > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; height: auto; border-radius: 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.sx-road-t { margin-top: -10px; font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1.04; letter-spacing: -.02em; padding-bottom: .05em; }
.sx-road ul { list-style: none; margin-top: 18px; display: grid; gap: 18px; }
.sx-road li h3 { font-size: 17.5px; font-weight: 650; letter-spacing: -.01em; }
.sx-road li p { margin-top: 4px; font-size: 16px; line-height: 1.55; color: var(--text-2); max-width: 52ch; }
@media (max-width: 860px) { .sx-roads-g { grid-template-columns: 1fr; gap: 60px; } }
.sx-demo { padding: clamp(70px, 10vh, 120px) 0; }
.sx-demo .h2, .sx-cases .h2, .sx-faq .h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: 1.02; text-wrap: balance; }
.sx-stage { margin-top: 44px; }
.sx-cases { padding: clamp(60px, 9vh, 110px) 0; }
.sx-case-g { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.sx-case-g.one { grid-template-columns: minmax(0, 760px); }
.sx-case { display: grid; gap: 16px; }
.sx-case img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 22px; box-shadow: 0 30px 50px -34px rgba(var(--h5-shadow), .7); }
.sx-case-m { font-size: 13.5px; color: var(--gold-ink); font-weight: 600; }
.sx-case h3 { margin-top: 2px; font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.05; }
.sx-case p:not(.sx-case-m) { margin-top: 6px; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.sx-case a, .sx-soon { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; font-size: 15px; color: var(--text); text-decoration: none; border-bottom: 1px solid rgba(27, 26, 23, .3); }
.sx-case a .i { width: 15px; height: 15px; }
.sx-soon { border: 0; color: var(--muted); }
.sx-honest { max-width: 820px; }
.sx-honest p { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.sx-honest a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.sx-price { padding: clamp(60px, 9vh, 110px) 0; }
.sx-price-g { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.sx-price .h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: 1.02; }
.sx-price-g > div > p { margin-top: 18px; font-size: 16px; line-height: 1.55; color: var(--text-2); max-width: 44ch; }
.sx-svc { list-style: none; margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.sx-svc a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--h5-line); font-size: 14px; color: var(--text-2); text-decoration: none; transition: background .25s, color .25s; }
.sx-svc a .i { width: 14px; height: 14px; }
.sx-svc a:hover { background: var(--text); color: var(--bg); }
.sx-plist { list-style: none; border-top: 1px solid var(--h5-line); }
.sx-plist li { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--h5-line); }
.sx-plist span { font-size: 16.5px; color: var(--text-2); }
.sx-plist b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.7rem); color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .sx-price-g { grid-template-columns: 1fr; } .sx-plist li { flex-direction: column; gap: 2px; } .sx-plist b { text-align: left; } }
.sx-faq { padding: clamp(60px, 9vh, 110px) 0; }
.sx-faq-g { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 56px; }
.sx-q h3 { font-size: 18px; font-weight: 650; line-height: 1.35; letter-spacing: -.01em; }
.sx-q p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
@media (max-width: 860px) { .sx-faq-g { grid-template-columns: 1fr; } }
.sx-other { padding: 30px 0 10px; }
.sx-other .wrap { display: grid; gap: 14px; justify-items: center; text-align: center; }
.sx-other .sx-honest { justify-items: start; text-align: left; }

/* pagina "Settori" */
.st-hero { padding: calc(var(--nav-h) + 56px) 0 30px; }
.st-hero .crumbs { margin-bottom: 26px; }
.st-hero .sx-h1 { max-width: 16ch; }
.st-grid-s { padding: 40px 0 70px; }
.st-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px 30px; }
.st-card { display: grid; gap: 10px; color: inherit; text-decoration: none; }
.st-card:nth-child(3n + 2) { margin-top: 60px; }
.st-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 22px; }
.st-img img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; transition: transform 1.1s var(--h5-ease); }
.st-card:hover .st-img img { transform: scale(1.05); }
.st-card h2 { margin-top: 6px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2.1rem); line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
.st-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--text-2); }
.st-go .i { width: 15px; height: 15px; transition: transform .3s var(--h5-ease); }
.st-card:hover .st-go .i { transform: translateX(4px); }
@media (max-width: 960px) { .st-grid { grid-template-columns: 1fr 1fr; } .st-card:nth-child(3n + 2) { margin-top: 0; } .st-card:nth-child(2n) { margin-top: 50px; } }
@media (max-width: 600px) { .st-grid { grid-template-columns: 1fr; } .st-card:nth-child(2n) { margin-top: 0; } }



/* ================================================================ recensioni vere da Google */
.rv5 { padding: clamp(70px, 10vh, 120px) 0; }
.rv5-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 14px 30px; }
.rv5 .h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: 1.02; }
.rv5-score { display: inline-flex; align-items: baseline; gap: 10px; font-size: 15.5px; color: var(--text-2); }
.rv5-score b { font-family: var(--serif); font-weight: 400; font-size: 2rem; color: var(--text); }
.rv5-stars { color: var(--gold); letter-spacing: .06em; font-size: 15px; }
.rv5-g { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.rv5-q { margin: 0; display: grid; gap: 12px; }
.rv5-q blockquote { margin: 0; }
.rv5-q blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.38; color: var(--text); text-wrap: pretty; }
.rv5-feat blockquote p { font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.22; }
.rv5-q figcaption { display: grid; gap: 1px; }
.rv5-q figcaption b { font-size: 15.5px; font-weight: 650; }
.rv5-q figcaption span { font-size: 13.5px; color: var(--muted); }
.rv5-side { display: grid; gap: 34px; }
.rv5-side .rv5-q { padding-left: 18px; border-left: 2px solid var(--gold); }
.rv5-more { margin-top: 36px; }
.rv5-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15.5px; color: var(--text); text-decoration: none; border-bottom: 1px solid rgba(27, 26, 23, .3); padding-bottom: 2px; }
.rv5-more a .i { width: 15px; height: 15px; }
.rv5-sx { padding-top: 0; }
.rv5-row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
@media (max-width: 860px) {
  .rv5-g { grid-template-columns: 1fr; }
  .rv5 .h2 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .rv5-feat blockquote p { font-size: 1.45rem; }
  .rv5-q blockquote p { font-size: 1.15rem; }
}

/* ================================================================ telefono: oggetti delle demo e testi più piccoli (Damian, 2026-11-10) */
@media (max-width: 640px) {
  .ex-obj { zoom: .8; }
  .ex-plinth { width: min(300px, 82%); margin-top: -12px; }
  .ex-or .ex-plinth, .ex-rv .ex-plinth { width: min(380px, 92%); }
  .ex-ag .ex-plinth, .ex-sp .ex-plinth, .ex-zn .ex-plinth { width: 100%; height: 110px; }
  .ex-t { font-size: clamp(1.75rem, 7.4vw, 2.1rem); }
  .ex-q p { font-size: 1.15rem; }
  .ex-d { font-size: 16px; }
  .ex-label b { font-size: 18px; }
  .pc-intro .h2 { font-size: clamp(2.1rem, 9vw, 2.7rem); }
  .pc-intro p, .pc-end p { font-size: 16px; }
  .pc-list { gap: 90px; }
  .who5 .h2, .end5 .h2, .sx-demo .h2, .sx-cases .h2, .sx-faq .h2, .sx-price .h2 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .sx-h1 { font-size: clamp(2.2rem, 9.6vw, 2.9rem); }
  .sx-lead, .who5-lead, .end5-copy > p { font-size: 16px; }
}

/* galleria dei lavori: le frecce accanto a "Trascina di lato" si vedono e funzionano */
.gallery .g-hint { gap: 14px; }
.g-hint-b { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(27, 26, 23, .2); background: rgba(255, 255, 255, .35); color: var(--text); cursor: pointer; }
.g-hint-b svg { width: 18px; height: 18px; }
.g-hint-b[data-dir="prev"] svg { animation: h5nudgeL 1.8s ease-in-out infinite; }
.g-hint-b[data-dir="next"] svg { animation: h5nudgeR 1.8s ease-in-out infinite; }
@keyframes h5nudgeL { 0%, 60%, 100% { transform: none; } 30% { transform: translateX(-4px); } }
@keyframes h5nudgeR { 0%, 60%, 100% { transform: none; } 30% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .g-hint-b svg { animation: none !important; } .bv-door { transition: none !important; } }

/* ================================================================ chi preferisce meno movimento: tutto fermo e leggibile */
@media (prefers-reduced-motion: reduce) {
  .hx { height: auto; }
  .hx-stage { position: relative; min-height: 100svh; }
  .hx-still { opacity: 1; transition: none; }
  .bv-p { stroke-dashoffset: 0; }
  .pv-q, .pv-done, .pc-thumb, .seg2 i, .g-r, .g-sep, .or-paper, .rv-sheet, .ph5.rv-ph, .zn-ring, .ag-toast, .bv-img img, .st-img img { transition: none !important; }
  .wa-m, .wa-typing, .pv-picked span, .ag-list li.new, .pc-panel.enter, .zn-pin .zn-pulse, .ex-mp.after .g-pin.me { animation: none !important; }
  body.quake { animation: none; }
  .hx-hint::after { animation: none; }
}

/* ================================================================ farsi trovare dagli assistenti AI (fascia breve in home, 2026-11-10) */
.geo5 { padding: clamp(70px, 10vh, 120px) 0; }
.geo5-g { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.geo5-copy { order: -1; }
.geo5 .h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: 1.02; text-wrap: balance; }
.geo5-copy > p { margin-top: 20px; max-width: 50ch; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.geo5-copy .geo5-p { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--h5-line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 26px; color: var(--text); }
.geo5-p b { font-weight: 650; }
.geo5-p a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.geo5-p a .i { width: 17px; height: 17px; }
.geo5-chat { margin: 0; display: grid; gap: 12px; justify-items: start; transform: rotate(-1.4deg); }
.geo5-q { justify-self: end; max-width: 82%; padding: 13px 18px; border-radius: 20px 20px 6px 20px; background: var(--text); color: var(--bg); font-size: 16px; line-height: 1.4; box-shadow: 0 18px 30px -18px rgba(var(--h5-shadow), .6); }
.geo5-a { position: relative; width: min(100%, 440px); padding: 18px 20px 16px; border-radius: 20px 20px 20px 6px; background: var(--h5-paper); box-shadow: 0 26px 46px -26px rgba(var(--h5-shadow), .55), 0 1px 0 rgba(255, 255, 255, .6) inset; font-size: 15.5px; line-height: 1.45; color: var(--text-2); }
.geo5-a ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: g; }
.geo5-a li { counter-increment: g; display: flex; gap: 12px; align-items: center; min-height: 40px; padding: 9px 14px; border-radius: 12px; background: rgba(27, 26, 23, .045); }
.geo5-a li::before { content: counter(g); flex: none; width: 12px; font-weight: 650; color: var(--muted); }
.geo5-a li div { display: grid; gap: 1px; }
.geo5-a li.me { background: rgba(var(--h5-glow), .26); box-shadow: inset 0 0 0 1px rgba(var(--h5-glow), .7); }
.geo5-a li b { color: var(--text); font-weight: 650; }
.geo5-a li span { font-size: 13.5px; color: var(--muted); }
.geo5-a li i { display: block; flex: none; height: 10px; width: 62%; border-radius: 5px; background: rgba(27, 26, 23, .1); }
.geo5-a li:last-child i { width: 46%; }
.geo5-src { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.geo5-src b { color: var(--gold-ink); font-weight: 600; }
.geo5-chat figcaption { margin-top: 4px; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) {
  .geo5-g { grid-template-columns: 1fr; }
  .geo5-chat { transform: none; }
}
