/* ============================================================
   SCULPTORIUM — liquid glass, nero e oro
   ============================================================ */
/* Font ospitati sul sito (niente richieste a Google): file variabili, sottoinsieme latino */
@font-face { font-family: "Inter"; src: url(fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url(fonts/intertight.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url(fonts/cinzel.woff2) format("woff2"); font-weight: 600 700; font-display: swap; }
:root {
  color-scheme: dark;
  --ink: #0a0a0b;
  --ink-2: #121214;
  --paper: #f2efe8;
  --muted: #a9a6a0;
  --gold: #d6b36a;
  --gold-hi: #f6e2a6;
  --gold-lo: #7a531f;
  --gold-metal: linear-gradient(112deg, #77501f 0%, #bd8738 15%, #f4dfa1 31%, #c08a35 45%, #f8e6ad 53%, #b57c2c 68%, #80551f 84%, #d7b165 100%);
  --glass-bg: rgba(255, 255, 255, 0.055);
  --glass-bg-strong: rgba(255, 255, 255, 0.09);
  --glass-border: rgba(255, 255, 255, 0.14);
  --radius: 28px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-emboss: "Cinzel", "Trajan Pro", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad-x: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.035em; line-height: 0.98; }
p { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }

/* ---------- Sfondo ---------- */
#bg-shader { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
body::before { /* fallback se WebGL manca */
  content: ""; position: fixed; inset: 0; z-index: -3;
  background: radial-gradient(60% 50% at 70% 20%, rgba(214,179,106,.18), transparent 70%),
              radial-gradient(50% 40% at 10% 80%, rgba(122,83,31,.22), transparent 70%), var(--ink);
}
.grain {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .07;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain { 0%,100%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} }

/* ---------- Liquid glass ---------- */
.glass {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.03) 45%, rgba(255,255,255,.06));
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -1px 0 rgba(255,255,255,.05),
    inset 0 0 22px rgba(255,255,255,.04),
    0 18px 50px -18px rgba(0,0,0,.65);
  isolation: isolate;
}
/* riflesso speculare che segue il mouse */
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(240px circle at var(--mx, 30%) var(--my, 0%), rgba(255,236,190,.16), transparent 60%);
  opacity: var(--glow, .6); transition: opacity .4s var(--ease);
}
/* bordo luminoso a gradiente */
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(255,255,255,.45), rgba(255,255,255,0) 30%, rgba(214,179,106,0) 70%, rgba(214,179,106,.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* ---------- Testo oro ---------- */
.gold-text {
  background: var(--gold-metal);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: sheen 9s linear infinite;
}
@keyframes sheen { to { background-position: -200% 0; } }

.emboss {
  font-family: var(--font-emboss);
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #fff1c4 0%, #e3bd6b 28%, #9a6a26 52%, #e6c272 70%, #fbe7b0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.6)) drop-shadow(0 0 24px rgba(214,179,106,.25));
}
.emboss-sm { font-family: var(--font-emboss); letter-spacing: .14em; font-size: 13px; color: var(--gold); }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 600 15px/1 var(--font); letter-spacing: -0.01em; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s;
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-gold {
  background: var(--gold-metal); background-size: 180% 100%; color: #17120a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 10px 30px -8px rgba(214,179,106,.55);
}
.btn-gold:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 16px 40px -8px rgba(214,179,106,.7); }
.btn-glass { color: var(--paper); }
.btn-glass:hover { transform: translateY(-2px); --glow: 1; }
.link-btn { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Nav ---------- */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 14px; pointer-events: none; }
.nav {
  pointer-events: auto; display: flex; align-items: center; gap: 18px;
  padding: 7px 7px 7px 16px; border-radius: 999px; max-width: 980px; width: 100%;
  transition: transform .5s var(--ease), background .4s;
}
.nav.is-hidden { transform: translateY(calc(-100% - 30px)); }
.nav-brand { display: flex; align-items: center; gap: 10px; font: 700 13px/1 var(--font-emboss); letter-spacing: .18em; }
.nav-brand img { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 9px 13px; border-radius: 999px; font-size: 14px; color: rgba(242,239,232,.78); transition: background .3s, color .3s; }
.nav-links a:hover, .nav-links a.is-active { background: rgba(255,255,255,.08); color: var(--paper); }

/* ---------- Layout ---------- */
.section { padding: clamp(80px, 12vw, 150px) var(--pad-x); max-width: 1320px; margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.eyebrow { font: 600 12px/1 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
h2 { font-size: clamp(42px, 7vw, 92px); font-weight: 700; }
.sub { margin-top: 22px; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 560px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 24px;
  padding: 120px var(--pad-x) 80px; max-width: 1400px; margin: 0 auto; position: relative;
}
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; margin-bottom: 28px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.hero h1 { font-size: clamp(44px, 5.4vw, 86px); font-weight: 800; }
.hero h1 .gold-text { display: inline-block; padding-bottom: .08em; }
.lead { margin-top: 26px; font-size: clamp(18px, 2vw, 23px); color: rgba(242,239,232,.82); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-tags { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags li { padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.hero-3d { position: relative; height: min(78vh, 680px); }
.hero-3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.hero-3d canvas:active { cursor: grabbing; }
.halo { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(214,179,106,.28), transparent 65%); filter: blur(30px); }
.hero-3d-fallback { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .6s; }
.hero-3d-fallback img { width: 46%; filter: drop-shadow(0 0 40px rgba(214,179,106,.4)); }
.hero-3d.no-webgl .hero-3d-fallback { opacity: 1; }
.drag-hint { position: absolute; bottom: 6%; left: 50%; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid rgba(214,179,106,.22); background: rgba(10,10,11,.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ticker-track { display: flex; width: max-content; gap: 34px; padding: 18px 0; animation: marquee 32s linear infinite; font: 600 14px/1 var(--font-emboss); letter-spacing: .24em; text-transform: uppercase; }
.ticker-track i { color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifesto (pietra + oro) ---------- */
.manifesto { height: 190vh; position: relative; }
.manifesto-sticky {
  position: sticky; top: 0; height: 100svh; display: grid; place-items: center; align-content: center; gap: 26px; overflow: hidden;
}
.stone {
  background:
    radial-gradient(70% 60% at 50% 45%, rgba(40,36,30,.55), rgba(5,5,6,.95) 75%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .03' numOctaves='5' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .11 0 0 0 0 .1 0 0 0 1.4 -.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E"),
    #0c0b0a;
  background-size: cover, 400px 400px, auto;
}
.manifesto-words { position: relative; width: 100%; height: clamp(120px, 20vw, 240px); display: grid; place-items: center; }
.manifesto-words h2 {
  position: absolute; font-size: clamp(36px, 13vw, 190px); text-align: center; max-width: 100%; line-height: 1;
  opacity: 0; transform: translateY(40px) scale(.96); filter: blur(10px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
}
.manifesto-words h2.is-on { opacity: 1; transform: none; filter: drop-shadow(0 2px 0 rgba(0,0,0,.6)) drop-shadow(0 0 24px rgba(214,179,106,.25)); }
.manifesto-words small { display: block; font-size: .17em; letter-spacing: .5em; margin-top: .5em; }
.manifesto-rule { width: min(560px, 70vw); height: 1px; background: rgba(214,179,106,.2); }
.manifesto-rule span { display: block; height: 100%; width: var(--p, 0%); background: var(--gold-metal); box-shadow: 0 0 12px rgba(214,179,106,.6); }
.manifesto-sign { font: 600 13px/1 var(--font-emboss); letter-spacing: .4em; color: var(--gold); opacity: .8; }

/* ---------- Foto cinematica ---------- */
.cinema { position: relative; height: 160vh; }
.cinema-frame { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.cinema-frame img {
  width: calc(100% * var(--s, .55)); height: calc(100% * var(--s, .55)); object-fit: cover;
  border-radius: calc(36px * (1 - var(--s, .55)) + 4px);
  filter: saturate(.9) contrast(1.05) brightness(.85);
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.9);
}
.cinema-caption { position: absolute; left: var(--pad-x); bottom: 12vh; max-width: 360px; padding: 22px 24px; border-radius: 24px; font-size: 18px; }
.cinema-caption .eyebrow { margin-bottom: 10px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; grid-auto-flow: dense; gap: 16px; }
.tile { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; transform-style: preserve-3d; transition: transform .5s var(--ease); }
.tile-tall { grid-row: span 2; }
.tile-wide { grid-column: span 2; }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); filter: brightness(.88) contrast(1.05); }
.tile-photo:hover img { transform: scale(1.06); }
.tile-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); pointer-events: none; }
.chip { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 9px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.tile-glass { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.big-num { font: 800 clamp(56px, 6vw, 84px)/1 var(--font-display); letter-spacing: -0.04em; }
.tile-glass p { color: rgba(242,239,232,.8); }
.tile-quote p { font-size: 20px; line-height: 1.3; }
.tile-quote strong { color: var(--gold-hi); }
.quote-star { font-size: 30px; }
.tile-quote .btn { align-self: flex-start; }

/* ---------- Cards pilastri ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { border-radius: var(--radius); padding: 28px; min-height: 340px; display: flex; flex-direction: column; transition: transform .5s var(--ease); }
.card-num { font: 600 12px/1 var(--font); letter-spacing: .2em; color: var(--muted); }
.card-icon { width: 58px; height: 58px; margin: 32px 0 auto; border-radius: 18px; display: grid; place-items: center; background: rgba(214,179,106,.12); border: 1px solid rgba(214,179,106,.3); }
.card-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--gold-hi); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 30px; margin: 28px 0 12px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Journal rail ---------- */
.journal { max-width: none; padding-right: 0; }
.journal .section-head { padding-right: var(--pad-x); max-width: 1320px; }
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--pad-x) 28px 0; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.jcard { flex: 0 0 clamp(270px, 30vw, 400px); aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; position: relative; scroll-snap-align: start; }
.jcard img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.8); transition: transform 1s var(--ease); }
.jcard:hover img { transform: scale(1.05); }
.jcard-body { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 20px; border-radius: 20px; }
.jcard-body h3 { font-size: 22px; margin: 10px 0 8px; letter-spacing: -0.02em; }
.jcard-body p { font-size: 14px; color: rgba(242,239,232,.78); }
.jtag { font: 600 11px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.rail-controls { display: flex; gap: 10px; padding-right: var(--pad-x); justify-content: flex-end; max-width: 1320px; }
.round { width: 48px; height: 48px; border-radius: 50%; color: var(--paper); font-size: 24px; cursor: pointer; display: grid; place-items: center; }

/* ---------- Steps ---------- */
.steps-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.steps-sticky { position: sticky; top: 140px; }
.steps-progress { margin-top: 40px; width: 100%; max-width: 320px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.steps-progress span { display: block; height: 100%; width: 0; background: var(--gold-metal); transition: width .2s linear; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.step { display: flex; gap: 24px; align-items: flex-start; padding: 32px; border-radius: var(--radius); min-height: 26vh; }
.step-n { font: 800 72px/0.8 var(--font-display); }
.step h3 { font-size: 28px; margin-bottom: 12px; }
.step p { color: var(--muted); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.coach { display: grid; grid-template-columns: auto 1fr; gap: 18px 20px; align-items: center; padding: 26px; border-radius: var(--radius); transition: transform .5s var(--ease); }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-metal); color: #17120a; font: 800 20px/1 var(--font-display); box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.coach h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; }
.coach p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.coach-ig { grid-column: 1 / -1; font-size: 13px; color: var(--gold); font-weight: 600; }

/* ---------- Prezzi ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; transition: transform .5s var(--ease); }
.plan h3 { font-size: 22px; letter-spacing: -0.02em; }
.price { font: 700 30px/1.1 var(--font-display); letter-spacing: -0.03em; color: rgba(242,239,232,.9); }
.plan-best .price { font-size: 56px; }
.per-day { color: var(--muted); font-size: 14px; margin-top: -6px; }
.per-day b { color: var(--gold-hi); }
.plan ul { list-style: none; padding: 0; margin: 6px 0 auto; display: grid; gap: 10px; font-size: 14px; color: rgba(242,239,232,.8); }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-metal); -webkit-mask: radial-gradient(circle, transparent 3px, #000 3.5px); mask: radial-gradient(circle, transparent 3px, #000 3.5px); }
.plan .btn { margin-top: 20px; }
.plan-best { background: linear-gradient(160deg, rgba(214,179,106,.22), rgba(255,255,255,.04) 55%); border-color: rgba(214,179,106,.45); }
.badge { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--gold-metal); color: #17120a; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Regole / FAQ ---------- */
.rules { display: grid; gap: 12px; max-width: 900px; }
.rule { border-radius: 22px; padding: 0; overflow: hidden; }
.rule summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font: 600 18px/1.3 var(--font-display); letter-spacing: -0.01em; position: relative; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.rule summary::-webkit-details-marker { display: none; }
.rule summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); font-size: 20px; font-weight: 400; transition: transform .25s var(--ease); }
.rule[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.rule p { padding: 0 24px 24px; color: var(--muted); max-width: 720px; }
.rule-time { font: 600 12px/1 var(--font); letter-spacing: .1em; padding: 7px 10px; border-radius: 999px; background: rgba(214,179,106,.14); color: var(--gold-hi); border: 1px solid rgba(214,179,106,.3); }

/* ---------- Prova ---------- */
.trial { border-radius: 36px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.trial-form { display: grid; gap: 14px; }
.trial-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.trial-form input, .trial-form select {
  appearance: none; width: 100%; min-height: 52px; padding: 0 18px; border-radius: 16px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.14); color: var(--paper); font: 500 16px var(--font);
  transition: border-color .3s, box-shadow .3s;
}
.trial-form select { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 17px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
.trial-form select option { background: #141414; }
.trial-form input:focus, .trial-form select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(214,179,106,.18); }
.trial-form .btn { margin-top: 8px; }
.form-note { font-size: 14px; color: var(--gold-hi); min-height: 1.4em; }

/* ---------- Contatti ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; }
.contact-list { display: grid; gap: 12px; }
.contact-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 20px 22px; border-radius: 22px; transition: transform .2s var(--ease); }
.contact-item:hover { transform: translateX(4px); --glow: 1; }
.ci-label { grid-column: 1; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-item b { grid-column: 1; font-weight: 600; font-size: 17px; }
.ci-go { grid-column: 2; grid-row: 1 / span 2; font-size: 13px; color: var(--gold); font-weight: 600; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; padding: 8px; }
.map iframe { width: 100%; height: 100%; min-height: 404px; border: 0; border-radius: 22px; filter: grayscale(1) invert(.92) contrast(.9) sepia(.25) hue-rotate(-10deg); }

/* ---------- Footer ---------- */
.footer { padding: 80px var(--pad-x) 140px; display: grid; justify-items: center; gap: 22px; text-align: center; border-top: 1px solid rgba(255,255,255,.08); }
.footer-claim { max-width: 620px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; font-size: 13px; color: var(--muted); }
.footer-links a:hover, .link-btn:hover { color: var(--paper); }

/* ---------- WhatsApp FAB ---------- */
.wa-fab { position: fixed; right: 20px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; transition: transform .4s var(--ease); }
.wa-fab svg { width: 28px; height: 28px; fill: #4ade80; }
.wa-fab:hover { transform: scale(1.08); }

/* ---------- Menu hamburger ---------- */
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); cursor: pointer; position: relative; flex: none; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--paper); transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 24px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.mobile-menu {
  pointer-events: auto; position: absolute; top: 66px; left: 14px; right: 14px; max-width: 520px; margin: 0 auto;
  border-radius: 28px; padding: 14px; display: grid; gap: 2px;
  background: linear-gradient(135deg, rgba(30,27,22,.82), rgba(12,12,13,.88));
  opacity: 0; transform: translateY(-10px) scale(.98); transform-origin: top center;
  transition: opacity .2s var(--ease), transform .25s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu a:not(.btn) { padding: 14px 16px; border-radius: 16px; font: 600 22px/1.1 var(--font-display); letter-spacing: -0.02em; transition: background .3s; }
.mobile-menu a:not(.btn):hover, .mobile-menu a.is-active { background: rgba(255,255,255,.07); color: var(--gold-hi); }
.mobile-menu .btn { margin-top: 10px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-brand { margin-right: auto; }
  .menu-btn { display: block; }
  .nav { gap: 10px; }
  .cards, .plans { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; text-align: left; }
  .hero-3d { order: -1; height: 42vh; margin: 0 -10px -20px; }
  .drag-hint { display: none; }
  .scroll-cue { display: none; }
  .steps-section, .trial, .contact { grid-template-columns: 1fr; }
  .steps-sticky { position: static; }
  .step { min-height: 0; }
  .team { grid-template-columns: 1fr; }
  .cinema-caption { right: var(--pad-x); bottom: 8vh; }
  .wa-fab { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 54px; height: 54px; }
}
@media (max-width: 560px) {
  .nav-cta { display: none; }
  .cards, .plans, .bento { grid-template-columns: 1fr; }
  .bento { grid-auto-rows: 300px; }
  .tile-tall { grid-row: span 1; }
  .tile-wide { grid-column: span 1; }
  .card { min-height: 0; }
  .hero h1 { font-size: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .manifesto { height: auto; }
  .manifesto-sticky { position: static; height: auto; padding: 100px 20px; }
  .manifesto-words { height: auto; display: grid; gap: 20px; }
  .manifesto-words h2 { position: static; opacity: 1; transform: none; filter: none; }
  .cinema { height: auto; }
  .cinema-frame { position: static; height: 80vh; }
  .cinema-frame img { --s: 1; }
}

/* ============================================================
   Aggiunte 16/11/2026: avvisi, coach, recensioni, azioni rapide, mappa al clic, form
   ============================================================ */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--paper); color: var(--ink); font-weight: 600; }
.skip:focus { top: 12px; }
.notice { pointer-events: auto; position: absolute; top: 66px; left: 50%; transform: translateX(-50%); width: min(720px, calc(100% - 28px)); padding: 12px 18px; border-radius: 18px; font-size: 14px; text-align: center; color: var(--gold-hi); }
.notice a { text-decoration: underline; text-underline-offset: 3px; }
.mobile-menu { z-index: 2; }
.dot-live.is-off { background: #f87171; animation: none; }
.role { color: var(--gold) !important; font-size: 12px !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 6px 0 2px !important; }
.team { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.coach { align-items: start; }
.coach > div { min-width: 0; overflow-wrap: anywhere; }
.coach-ig { display: inline-block; margin-top: 8px; }
.team-actions, .quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.quick { margin: 0 0 22px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { margin: 0; padding: 28px; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.review blockquote { margin: 0; font: 600 clamp(19px, 1.8vw, 23px)/1.3 var(--font-display); letter-spacing: -0.01em; }
.review figcaption { font-weight: 600; color: var(--gold-hi); }
.review figcaption span { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.reviews-cta { margin-top: 22px; }
.map { display: grid; }
.map-cover { display: grid; align-content: end; justify-items: start; gap: 12px; padding: 26px; border-radius: 22px; min-height: 404px;
  background: radial-gradient(120% 80% at 70% 20%, rgba(214,179,106,.18), transparent 60%), repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px), rgba(0,0,0,.25); }
.map-cover p:not(.eyebrow) { color: var(--muted); max-width: 360px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.trial-form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; letter-spacing: 0; line-height: 1.45; }
.trial-form .check input { appearance: auto; width: 22px; height: 22px; min-height: 0; flex: none; margin: 0; padding: 0; accent-color: var(--gold); }
.trial-form .check a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.legal { font-size: 13px; color: var(--muted); max-width: 720px; }
.plans.plans-few { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.plan h3, .plan .price { overflow-wrap: anywhere; }
.event-head { padding: 22px 24px 12px !important; color: var(--paper) !important; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.event-head strong { font: 600 18px/1.3 var(--font-display); }
.page { max-width: 820px; padding-top: 120px; }
.page h1 { font-size: clamp(40px, 6vw, 72px); margin: 32px 0 24px; }
.page h2 { font-size: 22px; letter-spacing: -0.01em; margin: 34px 0 10px; line-height: 1.2; }
.page p, .page li { color: rgba(242,239,232,.82); max-width: 70ch; }
.page ul { padding-left: 20px; }
.page a:not(.btn) { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1080px) { .reviews { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .map-cover { min-height: 280px; } .quick .btn { flex: 1 1 40%; } }
.notice { transition: opacity .4s var(--ease), transform .45s var(--ease); }
.nav-wrap:has(.nav.is-hidden) .notice { opacity: 0; transform: translate(-50%, -20px); pointer-events: none; }
.nav-wrap:has(.menu-btn[aria-expanded="true"]) .notice { display: none; }
/* Logo visibile finché il manubrio 3D non parte, poi dissolvenza */
.hero-3d-fallback { opacity: .5; }
.hero-3d canvas { opacity: 0; transition: opacity .9s var(--ease); }
.hero-3d.is-3d canvas { opacity: 1; }
.hero-3d.is-3d .hero-3d-fallback { opacity: 0; }
.hero-3d.no-webgl .hero-3d-fallback { opacity: 1; }
.hero-3d-fallback img { height: auto; }
/* I fondatori si distinguono dai PT */
.coach-lead { background: linear-gradient(160deg, rgba(214,179,106,.16), rgba(255,255,255,.04) 60%); border-color: rgba(214,179,106,.4); }
.card, .rule, .review, .notice { min-width: 0; overflow-wrap: anywhere; }
.plan li, .plan .btn { overflow-wrap: anywhere; }
.plan .btn { white-space: normal; text-align: center; }
.notice p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.past-top .notice { opacity: 0; transform: translate(-50%, -20px); pointer-events: none; }

/* ---------- Rifinitura tipografica e materiali (skill better-typography, apple-design) ---------- */
h1, h2, h3, .sub, .lead { text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }
h3 { line-height: 1.2; }
.price, .per-day, .big-num, .rule-time { font-variant-numeric: tabular-nums; }
.page p, .page li { line-height: 1.6; }
/* pressione immediata (100 ms), rilascio morbido */
.btn:not(:disabled):active, .round:active, .menu-btn:active { transform: scale(.96); transition: transform .15s ease-out; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.mobile-menu { transform-origin: top right; }
/* vetro più pieno se il browser non sfoca o se l'utente chiede meno trasparenza */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .mobile-menu { background: rgba(22,20,17,.94); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .mobile-menu, .notice { background: #16140f; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .grain { display: none; }
}
@media (prefers-contrast: more) {
  .glass { border-color: rgba(246,226,166,.7); }
  :root { --muted: #d4d0c8; }
}

/* ---------- Rifinitura UI (skill better-ui) ---------- */
a, button, summary { -webkit-tap-highlight-color: transparent; }
/* bordo sottile neutro sulle foto, così non si perdono sul fondo scuro */
.tile-photo img, .jcard img, .cinema-frame img { outline: 1px solid rgba(255,255,255,.1); outline-offset: -1px; }
/* su touch gli stati :hover restano "appiccicati" dopo il tocco: li azzero */
@media (hover: none) {
  .btn-gold:hover, .btn-glass:hover, .contact-item:hover, .wa-fab:hover { transform: none; }
  .tile-photo:hover img, .jcard:hover img { transform: none; }
  .btn-gold:hover { background-position: 0 0; }
}
.page-brand { margin-bottom: 40px; }
.price-ask { font-size: 20px; color: var(--muted); letter-spacing: -0.01em; }
.page a.page-brand:not(.btn) { text-decoration: none; color: var(--paper); }
/* link dentro il testo (rimandi alla sezione coaching online) */
.inline-link { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
/* Acqua e integratori sotto i pilastri */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 16px; }
/* Showcase macchinari (sezione nascosta finché non arrivano le foto) */
.machines { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-bottom: 16px; }
@media (min-width: 761px) { .machines .jcard { aspect-ratio: 1 / 1; } }
.machines .jcard { flex: none; background: rgba(255,255,255,.04); }

/* Fasce orarie: un solo colore, più pieno = più oro; il testo dice sempre il livello */
.fasce { border-radius: var(--radius); padding: clamp(12px, 3vw, 28px); max-width: 900px; }
.fasce table { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; font-size: clamp(12px, 3.2vw, 15px); }
.fasce th { font-weight: 600; color: var(--muted); padding: 6px 2px; text-align: center; }
.fasce thead th { font-size: clamp(10px, 2.7vw, 14px); hyphens: auto; overflow-wrap: anywhere; }
.fasce thead th:first-child, .fasce tbody th { width: 3.4em; text-align: left; }
.fasce th small { display: block; font-weight: 500; font-size: 11px; opacity: .8; }
.fasce abbr { text-decoration: none; color: var(--paper); }
.fasce td { text-align: center; padding: 12px 2px; border-radius: 10px; font-weight: 600; }
.fasce td[data-l="1"] { background: rgba(214,179,106,.08); color: var(--muted); }
.fasce td[data-l="2"] { background: rgba(214,179,106,.32); color: var(--paper); }
.fasce td[data-l="3"] { background: var(--gold); color: #17120a; }
.machines-featured { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.machines .badge { margin-bottom: 4px; }
/* Firma del sito */
/* contrasto #8b8882 su #0a0a0b = circa 5,5:1, sopra il minimo AA per testo piccolo */
.credit { font-size: 12px; color: #8b8882; letter-spacing: .01em; }
.credit a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(139,136,130,.45); }
.credit a:hover, .credit a:focus-visible { color: var(--paper); }

/* ---------- Tessera d'ingresso 3D (CSS, niente WebGL) ---------- */
.tessera-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px clamp(28px, 5vw, 64px); margin-top: clamp(40px, 6vw, 72px); }
.tessera { flex: none; width: min(420px, 100%); aspect-ratio: 85.6 / 54; padding: 0; border: 0; background: none; cursor: pointer; perspective: 1100px; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.tessera-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(calc(var(--ry, 0deg) + var(--flip, 0deg))); transition: transform .6s var(--ease); }
.tessera[aria-pressed="true"] { --flip: 180deg; }
.tessera:hover .tessera-inner { transition-duration: .15s; }
.tessera-face { position: absolute; inset: 0; overflow: hidden; border-radius: 3.7% / 5.9%; background: #faf9f6;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 28px 60px -24px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.12); }
.tessera-face img { width: 100%; height: 100%; }
/* riflesso che scorre con l'inclinazione */
.tessera-face::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 38%, rgba(255,255,255,.5) 50%, transparent 62%); transform: translateX(var(--sx, -70%)); transition: transform .6s var(--ease); }
.tessera-back { transform: rotateY(180deg); background: linear-gradient(135deg, #fbfaf7, #ecebe6); }
.tessera-name { position: absolute; left: 8%; right: 8%; bottom: 15.5%; text-align: center; font: 500 clamp(11px, 3vw, 15px)/1 var(--font); letter-spacing: .08em; color: #8d8a83; }
.tessera:focus-visible { outline: 2px solid var(--gold); outline-offset: 8px; border-radius: 18px; }
.tessera-copy { flex: 1 1 260px; max-width: 420px; font: 600 clamp(20px, 2.4vw, 28px)/1.3 var(--font-display); letter-spacing: -0.01em; }
@media (prefers-reduced-motion: reduce) { .tessera-inner, .tessera-face::after { transition: none !important; } }
.jcard img.img-top { object-position: center top; }
.machines .jtag { display: block; margin-top: 6px; }
.jcard-body .badge { display: table; margin-bottom: 4px; }
.cinema-frame img { object-position: 50% 55%; }

/* ---------- Pagina macchine ---------- */
.page.page-wide { max-width: 1200px; }
.cat { margin-top: 48px; }
.cat .machines { margin-top: 16px; }
.machines-more { text-align: center; margin-top: 8px; }

/* ---------- Moduli in più: due colonne, area di testo, scelta del metodo ---------- */
.trial-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trial-form textarea { width: 100%; padding: 14px 18px; border-radius: 16px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.14); color: var(--paper); font: 500 16px/1.4 var(--font); resize: vertical; }
.trial-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(214,179,106,.18); }
.pay-methods { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-methods legend { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; }
.trial-form .pay-opt { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.25); color: var(--paper); font-size: 15px; letter-spacing: 0; cursor: pointer; }
.trial-form .pay-opt:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214,179,106,.15); }
.trial-form .pay-opt input { appearance: auto; width: 20px; height: 20px; min-height: 0; padding: 0; margin: 0; flex: none; accent-color: var(--gold); }
.pay-sum { display: grid; gap: 10px; margin: 0; padding: 16px 18px; border-radius: 18px; font-size: 14px; }
.pay-sum div { display: flex; justify-content: space-between; gap: 16px; }
.pay-sum dt { color: var(--muted); }
.pay-sum dd { margin: 0; text-align: right; color: var(--paper); font-weight: 600; overflow-wrap: anywhere; }
.trial-form .btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Storia: tappe ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 900px; }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: baseline; padding: 18px 22px; border-radius: 20px; }
.tl-anno { font: 700 20px/1 var(--font-display); }
.timeline h3 { font-size: 18px; margin-bottom: 4px; }
.timeline p { color: var(--muted); font-size: 15px; }

@media (max-width: 900px) { .gift { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .trial-form .two, .pay-methods { grid-template-columns: 1fr; } .timeline li { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Servizi compresi ---------- */
.servizi { list-style: none; margin: 16px 0 0; padding: clamp(18px, 3vw, 28px); border-radius: var(--radius); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px 24px; }
.servizi li { display: flex; align-items: center; gap: 14px; }
.servizi svg { flex: none; width: 44px; height: 44px; padding: 9px; border-radius: 14px; background: rgba(214,179,106,.12); border: 1px solid rgba(214,179,106,.3); fill: none; stroke: var(--gold-hi); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.servizi b { display: block; font-size: 16px; }
.servizi span { color: var(--muted); font-size: 14px; }

/* ---------- Prezzi: prima iscrizione e totale ---------- */
.plan-first { font-size: 13px; color: var(--muted); margin-top: -4px; }
.plan-first b { color: var(--paper); }
.pay-sum .pay-tot { border-top: 1px solid rgba(255,255,255,.12); padding-top: 10px; font-size: 16px; }
.pay-sum .pay-tot dd { color: var(--gold-hi); }

/* ---------- Gift Card 3D (stessa meccanica della tessera) ---------- */
.gift { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.gift .trial-form { border-radius: 28px; padding: clamp(20px, 4vw, 36px); }
.gift-3d { justify-self: center; color: #17120a; }
.gift-3d .tessera-face { background: var(--gold-metal); }
.gift-card { padding: clamp(16px, 4vw, 28px); display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 4px; text-align: left; }
.gift-retro { transform: rotateY(180deg); grid-template-rows: auto 1fr auto; }
.gc-brand { font: 700 clamp(14px, 3.4vw, 18px)/1 var(--font-display); letter-spacing: .22em; }
.gc-tipo { font-size: 11px; font-weight: 700; letter-spacing: .3em; opacity: .7; }
.gc-valore { align-self: center; font: 800 clamp(28px, 7vw, 44px)/1.05 var(--font-display); letter-spacing: -0.02em; }
.gc-valore.is-abb { font-size: clamp(20px, 5vw, 30px); }
.gc-per { font-weight: 700; font-size: clamp(14px, 3.4vw, 17px); }
.gc-dedica { font-size: 13px; font-style: italic; opacity: .85; overflow-wrap: anywhere; }
.gc-da { position: absolute; right: clamp(16px, 4vw, 28px); top: clamp(16px, 4vw, 28px); font-size: 12px; font-weight: 600; opacity: .8; }
.gc-istr { align-self: center; font-size: 14px; font-weight: 600; line-height: 1.4; }
.gc-codice { font: 700 12px/1 ui-monospace, monospace; letter-spacing: .15em; opacity: .75; }
@media (max-width: 900px) { .gift { grid-template-columns: 1fr; } }

/* ---------- Pagina storia ---------- */
.storia-tl { margin-top: 32px; }
.storia-griglia { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin-top: 14px; }
.storia-foto { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; }
.storia-foto img { width: 100%; height: 100%; object-fit: cover; }
.page-cta { margin-top: 40px; }

/* ---------- Ordine registrato ---------- */
.pay-ok { display: grid; gap: 10px; padding: 18px; border-radius: 18px; border: 1px solid rgba(214,179,106,.4); }
.pay-ok p { font-size: 14px; color: var(--muted); }
.pay-ok dd { user-select: all; }
.storia-motto { margin: 8px 0 28px; font: 600 clamp(22px, 3.4vw, 34px)/1.25 var(--font-display); letter-spacing: -0.01em; max-width: 24ch; }
.storia-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
