/* ============================================================
   Walk Around Florence — Landing V3 (ottimizzata per il web)
   Stessa identità: Glassmorphism · viola / oro / ciano
   ============================================================ */

/* ---- Font self-hosted (subset latin, variabili) ---- */
@font-face {
  font-family: 'Cinzel'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('assets/fonts/cinzel-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
}

:root {
  --violet:        #7B3FB5;
  --violet-bright: #9B5DE5;
  --violet-deep:   #2A1454;
  --bg-1:          #15092e;
  --bg-2:          #1d0d3d;
  --gold:          #F2C94C;
  --gold-soft:     #E8B84B;
  --cyan:          #38D6F0;
  --cyan-deep:     #1FB8D4;
  --ink:           #F4EEFF;
  --muted:         #C7B9E6;

  --glass-bg:     rgba(255, 255, 255, 0.08);
  --glass-bg-2:   rgba(255, 255, 255, 0.12);
  --glass-brd:    rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px rgba(10, 2, 30, 0.45);
  --blur:         18px;

  --radius:   22px;
  --radius-lg: 30px;
  --maxw:     1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  position: relative;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg-1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- Background statua + immagini melt (riuso identità) ---- */
.page-statue {
  position: absolute; top: 84px; left: 0; right: 0; height: calc(100vh - 84px);
  z-index: -1; pointer-events: none;
  background: url('assets/img/david.webp') center 30% / contain no-repeat;
  opacity: 0.17; filter: blur(2.5px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
}
.page-twilight {
  position: absolute; top: 76vh; left: 0; right: 0; bottom: 46%;
  z-index: -2; pointer-events: none;
  background: url('assets/img/citynight.webp') center center / cover no-repeat fixed;
  opacity: 0.22; filter: blur(3px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 76%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 76%, transparent 100%);
}
.page-signoria {
  position: absolute; top: 44%; left: 0; right: 0; bottom: 10%;
  z-index: -2; pointer-events: none;
  background: url('assets/img/signoria-bg.webp') center center / cover no-repeat fixed;
  opacity: 0.22; filter: blur(3px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 58%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 58%, transparent 100%);
}
.page-sampietrini {
  position: absolute; top: 72%; left: 0; right: 0; bottom: 0;
  z-index: -2; pointer-events: none;
  background: url('assets/img/sampietrini.webp') center center / cover no-repeat fixed;
  opacity: 0.22; filter: blur(3px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 42%, #000 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 42%, #000 100%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.gold { color: var(--gold); }

.bg-layer {
  position: absolute; top: 0; left: 0; right: 0; height: 115vh; z-index: -2; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 100%);
}
.bg-image {
  position: absolute; inset: 0;
  background: url('assets/img/hero.webp') center top/cover no-repeat;
  filter: saturate(1.08) brightness(0.6);
}
.bg-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 700px at 75% -5%, rgba(123, 63, 181, 0.38), transparent 60%),
    radial-gradient(900px 600px at 10% 100%, rgba(56, 214, 240, 0.15), transparent 60%),
    linear-gradient(180deg, rgba(21, 9, 46, 0.72) 0%, rgba(21, 9, 46, 0.84) 55%, var(--bg-1) 100%);
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.55; z-index: -1;
  animation: float 18s ease-in-out infinite;
}
.blob-1 { width: 480px; height: 480px; top: -120px; right: -80px;  background: var(--violet-bright); }
.blob-2 { width: 420px; height: 420px; top: 38%;     left: -140px; background: var(--cyan-deep); animation-delay: -6s; }
.blob-3 { width: 380px; height: 380px; bottom: -120px; right: 20%; background: var(--gold-soft); opacity: 0.28; animation-delay: -11s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(30px, -40px) scale(1.08); }
}

/* ---- Glass ---- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--glass-shadow);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; cursor: pointer;
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-cyan { background: linear-gradient(135deg, var(--cyan), var(--cyan-deep)); color: #06283a; box-shadow: 0 8px 24px rgba(56, 214, 240, 0.35); }
.btn-gold { background: linear-gradient(135deg, #ffd86b, var(--gold-soft)); color: #3a2a00; box-shadow: 0 8px 24px rgba(242, 201, 76, 0.35); }
.btn-ghost { background: var(--glass-bg); border: 1px solid var(--glass-brd); color: var(--ink); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--glass-bg-2); }
.btn-play svg { color: var(--gold); }
.btn-gplay {
  background: linear-gradient(135deg, var(--violet-bright), var(--violet));
  color: #fff; box-shadow: 0 10px 28px rgba(123, 63, 181, 0.45);
  padding: 12px 26px; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}
.btn-gplay span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn-gplay small { font-size: 0.62rem; font-weight: 500; opacity: 0.85; text-transform: uppercase; letter-spacing: .5px; }
.btn-gplay span > :last-child, .btn-gplay span { font-weight: 700; }
.btn-lg { padding: 16px 34px; font-size: 1.1rem; }
.btn.is-soon { cursor: default; }
.btn.is-soon:hover { transform: none; }

/* ---- Nav ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 32px;
  background: rgba(21, 9, 46, 0.78);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-brand {
  display: flex; align-items: center; gap: 15px; white-space: nowrap;
  font-family: 'Cinzel', serif; font-weight: 500; font-size: 1.7rem; letter-spacing: .4px;
}
.nav-brand img { width: 62px; height: 62px; border-radius: 15px; }
.nav-brand strong { color: var(--gold); font-weight: inherit; }
.nav-links { display: flex; gap: 26px; font-weight: 600; font-size: 0.94rem; }
.nav-links a { color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 10px 22px; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; padding: 8px 11px; border-radius: 999px;
  font-family: inherit; font-weight: 700; font-size: 0.9rem; cursor: pointer;
  color: var(--ink); background: var(--glass-bg); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(10px); transition: background .15s, transform .15s;
}
.lang-toggle:hover { background: var(--glass-bg-2); transform: translateY(-1px); }
.lang-switch { display: inline-flex; gap: 6px; }

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: 132px 24px 70px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
.hero-content { position: relative; }
.hero-giglio {
  width: 88px; opacity: 0.95; margin-bottom: 18px; transform-origin: center;
  animation: giglio-pop 3.4s ease-in-out infinite;
}
@keyframes giglio-pop {
  0%   { transform: scale(0.92); filter: drop-shadow(0 0 4px rgba(242,201,76,0.2)) drop-shadow(0 4px 12px rgba(155,93,229,0.45)); }
  55%  { transform: scale(1.12); filter: drop-shadow(0 0 26px rgba(242,201,76,0.9)) drop-shadow(0 0 46px rgba(255,216,107,0.6)); }
  100% { transform: scale(0.92); filter: drop-shadow(0 0 4px rgba(242,201,76,0.2)) drop-shadow(0 4px 12px rgba(155,93,229,0.45)); }
}
.hero-badge {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 22px;
}
.hero-badge svg { width: 18px; height: 18px; color: var(--gold); position: relative; z-index: 1; }
.hero-badge > span { position: relative; z-index: 1; }
.hero-badge::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
  transform: skewX(-20deg); pointer-events: none; animation: shine 5s ease-in-out infinite;
}
.hero-title {
  font-family: 'Cinzel', serif; font-weight: 700;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.12;
  letter-spacing: .3px; margin-bottom: 18px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.hero-title .gold {
  background: linear-gradient(180deg, #ffe89a 0%, var(--gold) 45%, #c79a2b 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 1.12rem; color: var(--muted); max-width: 540px; margin-bottom: 22px; }

.hero-perks {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 28px; max-width: 560px;
}
.hero-perks li {
  position: relative; padding-left: 26px; font-size: 0.96rem; font-weight: 600; color: var(--ink);
}
.hero-perks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  background-color: var(--cyan);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-trust { font-size: 0.86rem; color: var(--muted); opacity: 0.9; }

.hero-phone { display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; padding: 12px; border-radius: 44px;
  background: linear-gradient(160deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
  border: 1px solid var(--glass-brd);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), 0 40px 90px rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(0,0,0,0.3);
  backdrop-filter: blur(8px); animation: float-phone 7s ease-in-out infinite;
}
.phone img { border-radius: 32px; }
@keyframes float-phone {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-16px) rotate(1deg); }
}
.phone-sm {
  border-radius: 30px; padding: 8px;
  background: linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03));
  border: 1px solid var(--glass-brd); box-shadow: 0 20px 50px rgba(10, 2, 30, 0.5);
}
.phone-sm img { border-radius: 22px; }

/* ============================================================
   SECTIONS base
   ============================================================ */
.section { max-width: var(--maxw); margin: 0 auto; padding: 80px 24px; }
.section-title {
  font-family: 'Cinzel', serif; font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.9rem); text-align: center; line-height: 1.15; color: var(--gold);
}
.section-lead { text-align: center; color: var(--muted); font-size: 1.1rem; margin: 14px auto 0; max-width: 620px; }

@keyframes shine { 0% { left: -60%; } 55% { left: 130%; } 100% { left: 130%; } }

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   2. VIDEO
   ============================================================ */
.demo { text-align: center; padding-top: 64px; padding-bottom: 96px; }
.demo-wrap {
  display: inline-block; margin: 28px auto 0; max-width: 100%;
  border-radius: var(--radius-lg); padding: 12px;
}
.demo-wrap video {
  display: block;
  /* lascia spazio a nav + titolo + lead + padding, così l'intero telefono (e il play) entra in viewport */
  max-height: 62vh;
  max-height: min(62vh, calc(100dvh - 360px));
  max-width: 100%; width: auto; height: auto; aspect-ratio: 540 / 936; border-radius: 20px;
}

/* ============================================================
   3. PERCHÉ
   ============================================================ */
.why-grid { margin-top: 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-row {
  display: flex; align-items: center; gap: 18px;
  border-radius: var(--radius); padding: 22px 24px; transition: transform .2s ease, background .2s ease;
}
.why-row:hover { transform: translateY(-4px); background: var(--glass-bg-2); }
.why-ico {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(155,93,229,0.35), rgba(56,214,240,0.22));
  border: 1px solid var(--glass-brd);
}
.why-ico svg { width: 28px; height: 28px; color: #e6d7ff; }
.why-row:hover .why-ico svg { color: var(--cyan); }
.why-row h3 { font-size: 1.18rem; color: var(--gold); margin-bottom: 4px; }
.why-row p { color: var(--muted); font-size: 0.96rem; }

/* ============================================================
   4. COME FUNZIONA
   ============================================================ */
.steps {
  margin-top: 52px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px; align-items: center;
}
.step { text-align: center; }
.step-num {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.5rem; color: #fff;
  background: linear-gradient(135deg, var(--violet-bright), var(--violet));
  box-shadow: 0 6px 18px rgba(123,63,181,0.5); border: 2px solid rgba(255,255,255,0.3);
}
.step h3 { font-size: 1.35rem; margin-bottom: 8px; color: var(--ink); }
.step p { color: var(--muted); font-size: 0.97rem; max-width: 280px; margin: 0 auto; }
.step-arrow {
  font-size: 1.8rem; color: var(--gold); transform: rotate(-90deg); opacity: 0.8;
}

/* ============================================================
   5. FUNZIONALITÀ
   ============================================================ */
.cards { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { border-radius: var(--radius); padding: 30px 26px; transition: transform .2s ease, background .2s ease; }
.card:hover { transform: translateY(-6px); background: var(--glass-bg-2); }
.card-ico {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(155,93,229,0.35), rgba(56,214,240,0.22)); border: 1px solid var(--glass-brd);
}
.card-ico svg { width: 30px; height: 30px; color: #e6d7ff; }
.card:hover .card-ico svg { color: var(--cyan); }
.card h3 { font-size: 1.22rem; margin-bottom: 8px; color: var(--gold); }
.card p { color: var(--muted); font-size: 0.97rem; }

/* ============================================================
   6. CHI È QUESTA APP
   ============================================================ */
.who-grid { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.who-card {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius);
  transition: transform .2s ease, background .2s ease;
}
.who-card:hover { transform: translateY(-4px); background: var(--glass-bg-2); }
.who-ico {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(155,93,229,0.35), rgba(56,214,240,0.22));
  border: 1px solid var(--glass-brd);
}
.who-ico svg { width: 24px; height: 24px; color: #e6d7ff; }
.who-card:hover .who-ico svg { color: var(--cyan); }
.who-card p { font-weight: 600; font-size: 1rem; color: var(--ink); }

/* ============================================================
   7. TOUR / ESPERIENZE
   ============================================================ */
.exp-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.exp-card {
  border-radius: var(--radius-lg); padding: 22px; display: flex; gap: 22px; align-items: center;
  background: linear-gradient(135deg, rgba(155,93,229,0.18), rgba(255,255,255,0.05));
  border: 1px solid var(--glass-brd); transition: transform .2s ease;
}
.exp-card:hover { transform: translateY(-5px); }
.exp-premium { border: 1px solid rgba(242, 201, 76, 0.35); background: linear-gradient(135deg, rgba(242,201,76,0.12), rgba(155,93,229,0.16)); }
.exp-shot { width: 140px; flex-shrink: 0; }
.exp-body { flex: 1; }
.exp-tag {
  display: inline-block; padding: 5px 13px; border-radius: 999px; font-size: 0.76rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .4px; margin-bottom: 12px;
}
.tag-free { background: rgba(56,214,240,0.22); color: var(--cyan); border: 1px solid rgba(56,214,240,0.4); }
.tag-cyan { background: rgba(155,93,229,0.3); color: #e6d7ff; border: 1px solid var(--glass-brd); }
.tag-gold { background: linear-gradient(135deg, #ffd86b, var(--gold-soft)); color: #3a2a00; }
.exp-body h3 { font-size: 1.3rem; color: var(--gold); margin-bottom: 8px; line-height: 1.2; }
.exp-body p { color: var(--muted); font-size: 0.95rem; }
.exp-wide { grid-column: 1 / -1; position: relative; overflow: hidden; gap: 30px; padding: 26px 30px; }
.exp-wide .exp-shot { width: 168px; }
.exp-wide .exp-body { position: relative; z-index: 2; max-width: 640px; }
.exp-btn { margin-top: 18px; padding: 11px 24px; font-size: 0.94rem; }

/* ============================================================
   8. GALLERIA
   ============================================================ */
.gallery-layout {
  margin-top: 48px; display: grid; grid-template-columns: minmax(300px, 380px) 1fr;
  gap: 40px; align-items: center;
}
.gallery-panel {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: 32px 30px;
  display: flex; flex-direction: column;
  background: linear-gradient(135deg, rgba(242,201,76,0.12), rgba(155,93,229,0.20));
  border: 1px solid rgba(242, 201, 76, 0.35);
}
.gal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; position: relative; z-index: 2; }
.gal-badge {
  display: inline-block; padding: 5px 13px; border-radius: 999px;
  font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .4px;
  background: rgba(56,214,240,0.22); color: var(--cyan); border: 1px solid rgba(56,214,240,0.4);
}
.gal-price { font-family: 'Cinzel', serif; font-size: 2.1rem; font-weight: 700; color: var(--gold); line-height: 1; }
.gallery-panel h3 { font-size: 1.42rem; line-height: 1.25; color: var(--ink); margin-bottom: 20px; position: relative; z-index: 2; }
.gal-feat { list-style: none; display: grid; gap: 12px; margin-bottom: 26px; flex-grow: 1; position: relative; z-index: 2; }
.gal-feat li { position: relative; padding-left: 27px; font-size: 0.95rem; color: var(--muted); }
.gal-feat li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 15px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  box-shadow: inset 0 0 0 3px rgba(21, 9, 46, 0.85);
}
.gal-btn { width: 100%; justify-content: center; position: relative; z-index: 2; }
.gal-note { margin-top: 14px; font-size: 0.82rem; color: var(--muted); text-align: center; position: relative; z-index: 2; }

/* ---- Visore: slideshow automatico delle schermate ---- */
.gallery-viewer {
  min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.viewer-phone { width: clamp(220px, 26vw, 300px); }
.viewer-frames {
  position: relative; aspect-ratio: 720 / 1260; border-radius: 22px; overflow: hidden;
  background: rgba(10, 2, 30, 0.5);
}
.vframe {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; z-index: 1;
}
/* la schermata uscente resta piena sotto: la nuova sfuma sopra, senza cali di luce */
.vframe.is-prev { opacity: 1; }
.vframe.is-active { opacity: 1; z-index: 2; transition: opacity .45s ease; }

.viewer-caps { position: relative; width: 100%; min-height: 2.9em; }
.vcap {
  position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center;
  text-align: center; font-size: 0.98rem; font-weight: 600; color: var(--ink); line-height: 1.4;
  opacity: 0; transition: opacity .18s ease;
}
.vcap.is-active { opacity: 1; transition: opacity .22s ease .16s; }

.viewer-dots { display: flex; gap: 2px; }
.vdot {
  width: 36px; height: 36px; padding: 0; cursor: pointer;
  display: grid; place-items: center;
  background: transparent; border: 0; border-radius: 50%;
}
.vdot::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.24);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.vdot:hover::before { background: rgba(255,255,255,0.45); }
.vdot:focus-visible { outline: 2px solid var(--gold); outline-offset: -6px; }
.vdot.is-active::before {
  background: linear-gradient(135deg, #ffd86b, var(--gold-soft));
  transform: scale(1.45); box-shadow: 0 0 12px rgba(242, 201, 76, 0.55);
}

.gal-tags {
  margin-top: 26px; text-align: center; font-size: 0.88rem; color: var(--muted);
  max-width: 860px; margin-left: auto; margin-right: auto; opacity: 0.9;
}

/* ---- Lightbox screenshot ---- */
img[data-full] { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 32px; background: rgba(10, 2, 26, 0.9); backdrop-filter: blur(10px);
  animation: lb-in .18s ease;
}
.lightbox[hidden] { display: none; }
.lb-img {
  max-width: min(420px, 92vw); max-height: 90vh; width: auto; height: auto;
  border-radius: 26px; box-shadow: 0 30px 80px rgba(0,0,0,0.7); border: 1px solid var(--glass-brd);
}
.lb-close {
  position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%;
  font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--ink);
  background: var(--glass-bg); border: 1px solid var(--glass-brd); backdrop-filter: blur(10px);
  transition: background .15s ease;
}
.lb-close:hover { background: var(--glass-bg-2); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   9. PREZZI
   ============================================================ */
.price-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  position: relative; border-radius: var(--radius); padding: 30px 26px;
  display: flex; flex-direction: column; transition: transform .2s ease, background .2s ease;
}
.price-card:hover { transform: translateY(-6px); background: var(--glass-bg-2); }
.price-tag {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 5px 13px; border-radius: 999px; font-size: 0.78rem; font-weight: 700;
  background: rgba(155,93,229,0.3); border: 1px solid var(--glass-brd); margin-bottom: 14px; color: var(--ink);
}
.price-tag.gold-tag { background: linear-gradient(135deg, #ffd86b, var(--gold-soft)); color: #3a2a00; border: none; }
.price-card h3 { font-size: 1.2rem; line-height: 1.25; margin-bottom: 14px; color: var(--ink); }
.price { margin-bottom: 22px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .from { font-size: 0.9rem; color: var(--muted); }
.price .amount { font-family: 'Cinzel', serif; font-size: 2.4rem; font-weight: 700; color: var(--gold); }
.price .was { font-size: 1rem; color: var(--muted); text-decoration: line-through; }
.price-feat { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; flex-grow: 1; }
.price-feat li { position: relative; padding-left: 26px; font-size: 0.94rem; color: var(--muted); }
.price-feat li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px;
  background-color: var(--cyan);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.price-feat strong { color: var(--ink); }
.price-btn { width: 100%; justify-content: center; }
.price-best {
  background: linear-gradient(160deg, rgba(242,201,76,0.18), rgba(155,93,229,0.16));
  border: 1px solid rgba(242, 201, 76, 0.5);
  box-shadow: 0 12px 40px rgba(242, 201, 76, 0.18), var(--glass-shadow);
}
.price-best-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  white-space: nowrap; padding: 6px 16px; border-radius: 999px; overflow: hidden;
  background: linear-gradient(135deg, #ffd86b, var(--gold-soft)); color: #3a2a00;
  font-weight: 800; font-size: 0.78rem; box-shadow: 0 6px 18px rgba(242,201,76,0.45); z-index: 2;
}
.price-best-flag::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
  transform: skewX(-20deg); pointer-events: none; animation: shine 5s ease-in-out infinite;
}
.card-shine { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; z-index: 1; }
.card-shine::after {
  content: ""; position: absolute; top: -25%; left: -70%; width: 60%; height: 150%;
  background: linear-gradient(115deg, transparent 15%, rgba(255,255,255,0.16) 50%, transparent 85%);
  transform: skewX(-20deg); filter: blur(10px); animation: shine 5s ease-in-out infinite;
}
.price-note { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 28px; }

/* ============================================================
   10. RICORDI (espandibile)
   ============================================================ */
.memories-card {
  border-radius: var(--radius-lg); padding: 48px 40px; text-align: center;
  background: linear-gradient(135deg, rgba(56,214,240,0.10), rgba(155,93,229,0.18));
  border: 1px solid var(--glass-brd);
}
.memories-soon {
  display: inline-block; padding: 6px 16px; border-radius: 999px; margin-bottom: 16px;
  font-weight: 800; font-size: 0.76rem; text-transform: uppercase; letter-spacing: .5px;
  background: rgba(56,214,240,0.2); color: var(--cyan); border: 1px solid rgba(56,214,240,0.4);
}
.memories-card .section-title { text-align: center; }
.memories-lead { color: var(--muted); font-size: 1.1rem; max-width: 620px; margin: 14px auto 0; }
.memories-grid {
  margin-top: 38px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.mem-feat {
  padding: 24px 16px; border-radius: var(--radius);
  background: var(--glass-bg); border: 1px solid var(--glass-brd);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.mem-ico {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(155,93,229,0.35), rgba(56,214,240,0.22));
  border: 1px solid var(--glass-brd);
}
.mem-ico svg { width: 27px; height: 27px; color: var(--gold); }
.mem-feat p { color: var(--ink); font-weight: 600; font-size: 0.95rem; }

/* ============================================================
   11. FAQ
   ============================================================ */
.faq-list { margin: 44px auto 0; max-width: 820px; display: grid; gap: 14px; }
.faq-item { border-radius: var(--radius); padding: 0; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; min-height: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.08rem; line-height: 1.35; color: var(--ink); font-weight: 700; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.35rem; line-height: 1; color: var(--gold);
  border: 1px solid var(--glass-brd); transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover h3 { color: var(--gold); }
.faq-item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: var(--radius); }
.faq-item p { padding: 0 24px 22px; color: var(--muted); font-size: 0.98rem; max-width: 70ch; }

/* ============================================================
   12. CTA FINALE
   ============================================================ */
.download { padding-bottom: 32px; }
.download-card {
  border-radius: var(--radius-lg); padding: 52px 40px; text-align: center;
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  background: linear-gradient(135deg, rgba(155,93,229,0.25), rgba(56,214,240,0.12));
}
.download-icon { width: 130px; height: 130px; border-radius: 30px; margin: 0 0 24px; box-shadow: 0 16px 44px rgba(0,0,0,0.45); }
.download-card h2 { font-family: 'Cinzel', serif; font-size: clamp(1.7rem, 3.3vw, 2.4rem); line-height: 1.2; margin: 0 0 14px; color: var(--gold); }
.download-card > p { color: var(--muted); font-size: 1.1rem; max-width: 500px; margin: 0 0 30px; }
.download-card .btn { margin: 0; }
.download-note { margin: 18px 0 0; font-size: 0.85rem; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; margin-top: 24px; overflow: hidden; }
.footer-skyline {
  display: block; width: min(1040px, 94%); margin: 0 auto; opacity: 1; pointer-events: none;
  filter:
    drop-shadow(1px 0 0 #0a0414) drop-shadow(-1px 0 0 #0a0414)
    drop-shadow(0 1px 0 #0a0414) drop-shadow(0 -1px 0 #0a0414)
    drop-shadow(1px 1px 0 #0a0414) drop-shadow(-1px 1px 0 #0a0414)
    drop-shadow(1px -1px 0 #0a0414) drop-shadow(-1px -1px 0 #0a0414)
    drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55));
}
.footer-inner {
  border-top: 1px solid var(--glass-brd);
  max-width: var(--maxw); margin: 18px auto 0; padding: 30px 24px 36px;
  display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 600; }
.footer-brand img { width: 42px; filter: drop-shadow(0 2px 8px rgba(155,93,229,0.6)); }
.footer-brand strong { color: var(--gold); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); font-weight: 600; font-size: 0.92rem; transition: color .15s; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { color: var(--muted); font-size: 0.85rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1250px) {
  .nav-brand { font-size: 1.32rem; gap: 11px; }
  .nav-brand img { width: 48px; height: 48px; }
  .nav-links { gap: 18px; font-size: 0.9rem; }
}

@media (max-width: 1040px) {
  .nav-brand { font-size: 1.12rem; gap: 9px; }
  .nav-brand img { width: 42px; height: 42px; }
  .nav-links { gap: 14px; font-size: 0.86rem; }
  .nav-cta { padding: 9px 17px; font-size: 0.9rem; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav { padding: 10px 18px; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 110px; }
  .hero-content { order: 1; }
  .hero-phone { order: 2; }
  .hero-giglio, .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-sub, .hero-perks { margin-left: auto; margin-right: auto; }
  .hero-perks { justify-content: center; }
  .hero-actions { justify-content: center; }
  .why-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { transform: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .exp-grid { grid-template-columns: 1fr; }
  .exp-wide { flex-direction: row; padding: 22px; gap: 22px; }
  .exp-wide .exp-shot { width: 140px; }
  .gallery-layout { grid-template-columns: 1fr; gap: 32px; }
  .gallery-panel { max-width: 520px; margin: 0 auto; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .memories-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 56px 18px; }
  .cards { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .exp-card { flex-direction: column; text-align: center; }
  .exp-shot { width: 160px; }
  .exp-tag { align-self: center; }
  .exp-wide { flex-direction: column; padding: 22px; }
  .exp-wide .exp-shot { width: 160px; }
  .gallery-panel { padding: 28px 22px; }
  .viewer-phone { width: min(260px, 72vw); }
  .gal-price { font-size: 1.8rem; }
  .memories-grid { grid-template-columns: 1fr 1fr; }
  .memories-card { padding: 34px 22px; }
  .download-card { padding: 34px 22px; }
  html { scroll-padding-top: 68px; }
  .nav { padding: 8px 12px; gap: 8px; }
  .nav-brand { font-size: clamp(0.62rem, 2.5vw, 0.9rem); gap: 8px; }
  .nav-brand img { width: 34px; height: 34px; border-radius: 10px; }
  .nav-right { gap: 7px; }
  .lang-toggle { min-width: 40px; min-height: 40px; padding: 6px 8px; font-size: 0.8rem; }
  .nav-cta { padding: 10px 13px; font-size: 0.82rem; }
  .hero { padding-top: 92px; }
}

/* ---- Performance su smartphone e tablet ---- */
@media (max-width: 900px), (hover: none) {
  .page-twilight, .page-signoria, .page-sampietrini { background-attachment: scroll; }
  .blob { animation: none; filter: blur(60px); }
  .glass, .btn-ghost, .lang-toggle, .phone, .lb-close { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(21, 9, 46, 0.94); }
  .phone { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .blob, .phone, .hero-giglio { animation: none; }
  .hero-badge::after, .price-best-flag::after, .card-shine::after { animation: none; display: none; }
  .lightbox { animation: none; }
  .vframe, .vcap, .vdot::before { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto; }
}
