/* ==========================================================================
   IL PERSICONE — Restyling 2026
   Palette: notte calda, oro, bordeaux (dal logo) + accenti natalizi
   ========================================================================== */
:root {
  --bg: #0e0b0a;
  --bg-2: #15110f;
  --bg-3: #1d1714;
  --card: rgba(255, 248, 238, 0.035);
  --line: rgba(201, 169, 110, 0.22);
  --gold: #c9a96e;
  --gold-l: #e6cf9c;
  --gold-d: #9c7f4c;
  --wine: #6d1a22;
  --wine-l: #8e2530;
  --xmas: #a3202b;
  --cream: #f4ede3;
  --muted: rgba(244, 237, 227, 0.72);
  --soft: rgba(244, 237, 227, 0.5);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Outfit', 'Segoe UI', Roboto, sans-serif;
  --script: 'Great Vibes', 'Playfair Display', cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
  --header-h: 84px;
  --wrap: 1220px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold-l); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 3000; background: var(--gold); color: var(--bg); padding: 8px 16px; border-radius: 6px; }
.skip-link:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Grana fotografica leggera su tutto il sito */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 2;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: .78rem; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before, .eyebrow.both::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.h-display {
  font-family: var(--serif); font-weight: 400; line-height: 1.12;
  font-size: clamp(2.2rem, 4.6vw, 4rem); letter-spacing: -.01em;
}
.h-section { font-family: var(--serif); font-weight: 400; line-height: 1.2; font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.h-display em, .h-section em { font-style: italic; color: var(--gold-l); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.gold { color: var(--gold); }
.ornament { display: block; width: 120px; height: 18px; margin: 22px auto; color: var(--gold); opacity: .85; }

/* ---------- Pulsanti ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px; border-radius: 999px; overflow: hidden;
  font-size: .8rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  border: 1px solid var(--gold); color: var(--gold-l);
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
  isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: translateY(0); }
.btn--solid { background: var(--gold); color: var(--bg); }
.btn--solid::before { background: var(--gold-l); }
.btn--wine { border-color: var(--xmas); background: var(--xmas); color: #fff; }
.btn--wine::before { background: var(--wine-l); }
.btn--wine:hover { color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Barra natalizia in alto ---------- */
.xmas-bar {
  position: relative; z-index: 1001;
  background: linear-gradient(90deg, #5d0f17, var(--xmas) 50%, #5d0f17);
  color: #fff; text-align: center; font-size: .92rem; letter-spacing: .02em;
  padding: 9px 48px; line-height: 1.4;
}
.xmas-bar a { display: inline-flex; align-items: center; gap: 10px; }
.xmas-bar strong { font-weight: 500; }
.xmas-bar .star { color: var(--gold-l); }
.xmas-bar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px;
  background: radial-gradient(circle at 6px 0, rgba(230, 207, 156, .9) 2px, transparent 2.5px) 0 0 / 22px 6px repeat-x;
  opacity: .8;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; left: 0; right: 0; top: var(--bar-h, 0px); z-index: 1000;
  height: var(--header-h);
  transition: background .5s var(--ease), top .4s var(--ease), box-shadow .5s var(--ease), height .4s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 6, 5, .75), rgba(8, 6, 5, 0));
  transition: opacity .5s;
}
.site-header.scrolled {
  top: 0; height: 70px;
  background: rgba(14, 11, 10, .86);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line), 0 12px 40px rgba(0, 0, 0, .35);
}
.site-header.scrolled::before { opacity: 0; }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 52px; width: auto; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .45)); transition: height .4s var(--ease); }
.scrolled .brand img { height: 44px; }

.menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.menu a {
  position: relative; display: block; padding: 10px 14px;
  font-size: .78rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--cream);
  transition: color .3s;
}
.menu a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.menu a:hover, .menu a[aria-current="page"] { color: var(--gold-l); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu .menu-xmas a { color: var(--gold-l); }
.menu .menu-xmas a::before { content: "✦ "; color: var(--xmas); }
.menu-cta { margin-left: 10px; }
.menu-cta .btn { padding: 11px 22px; font-size: .72rem; }
.menu-cta .btn::after { display: none; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); position: relative; z-index: 1102; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--cream); transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero slider (Home) ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: #000; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.4s var(--ease), visibility 1.4s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide-bg { position: absolute; inset: -2%; background-size: cover; background-position: center; transform: scale(1.12); }
.slide.is-active .slide-bg { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12) translate3d(0, 0, 0); } to { transform: scale(1.02) translate3d(-1%, -1%, 0); } }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 60%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .05) 55%, rgba(14, 11, 10, .9) 100%);
}
.slide-content {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(110px, 17vh, 190px);
}
.slide-content .wrap > * { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.slide.is-active .slide-content .wrap > * { opacity: 1; transform: none; }
.slide.is-active .slide-content .wrap > *:nth-child(2) { transition-delay: .15s; }
.slide.is-active .slide-content .wrap > *:nth-child(3) { transition-delay: .3s; }
.slide.is-active .slide-content .wrap > *:nth-child(4) { transition-delay: .45s; }
.slide-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 7vw, 6rem); line-height: 1.02; margin: 14px 0 18px; text-shadow: 0 6px 40px rgba(0, 0, 0, .45); }
.slide-text { font-size: clamp(1.05rem, 1.6vw, 1.35rem); max-width: 46ch; color: #fff; margin-bottom: 30px; font-family: var(--serif); font-style: italic; text-shadow: 0 2px 18px rgba(0, 0, 0, .7); }

.hero-ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: 36px; }
.hero-ui .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dots { display: flex; gap: 10px; align-items: center; }
.dots button { width: 38px; height: 22px; position: relative; }
.dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: rgba(255, 255, 255, .28); }
.dots button::after { content: ""; position: absolute; left: 0; top: 10px; height: 2px; width: 0; background: var(--gold-l); }
.dots button.is-active::after { animation: dotfill 7s linear forwards; }
@keyframes dotfill { to { width: 100%; } }
.slide-counter { font-family: var(--serif); font-size: 1.05rem; color: var(--muted); letter-spacing: .1em; }
.slide-counter b { color: var(--gold-l); font-weight: 400; font-size: 1.5rem; }
.scroll-cue { display: flex; align-items: center; gap: 12px; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Parole animate (ex "Animated Headlines") */
.headline-chip {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 20px 9px 12px; border-radius: 999px;
  background: rgba(14, 11, 10, .45); border: 1px solid rgba(230, 207, 156, .35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream);
  transition: border-color .3s, background .3s;
}
.headline-chip:hover { border-color: var(--gold-l); background: rgba(109, 26, 34, .55); }
.headline-chip .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--xmas); box-shadow: 0 0 0 0 rgba(163, 32, 43, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(163, 32, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(163, 32, 43, 0); } }
.rotator { position: relative; display: inline-grid; color: var(--gold-l); font-weight: 500; }
.rotator b { grid-area: 1 / 1; font-weight: 500; opacity: 0; transform: translateY(60%); transition: opacity .6s var(--ease), transform .6s var(--ease); white-space: nowrap; }
.rotator b.is-visible { opacity: 1; transform: none; }
.rotator b.is-out { opacity: 0; transform: translateY(-60%); }

/* ---------- Sezioni ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section--alt { background: var(--bg-2); }
.section-head { margin-bottom: clamp(40px, 6vw, 70px); }
.section-head .h-section { margin-top: 14px; }

/* Rivelazione allo scroll */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; }

/* ---------- Natale: sezione in evidenza ---------- */
.xmas-section {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(163, 32, 43, .35), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(201, 169, 110, .16), transparent 50%),
    var(--bg-2);
}
.xmas-section::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(230, 207, 156, .5) 1px, transparent 1.5px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.stefano {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(18px, 3vw, 36px);
  padding: clamp(26px, 3.5vw, 40px) clamp(24px, 4vw, 52px);
  margin-bottom: clamp(40px, 6vw, 64px);
  border-radius: var(--radius);
  background: linear-gradient(120deg, #6b121b 0%, var(--xmas) 55%, #7b1620 100%);
  box-shadow: 0 30px 80px -30px rgba(163, 32, 43, .7), inset 0 0 0 1px rgba(230, 207, 156, .35);
  overflow: hidden;
}
.stefano::before {
  content: ""; position: absolute; inset: 7px; border-radius: calc(var(--radius) - 6px);
  border: 1px dashed rgba(230, 207, 156, .45); pointer-events: none;
}
.stefano::after {
  content: ""; position: absolute; top: -60%; left: -30%; width: 40%; height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
  transform: rotate(20deg); animation: shine 6s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -40%; } 100% { left: 130%; } }
.stefano-date {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: var(--cream); color: var(--xmas); box-shadow: 0 0 0 6px rgba(255, 255, 255, .12);
  font-family: var(--serif); line-height: 1;
}
.stefano-date b { font-size: 2.4rem; font-weight: 600; }
.stefano-date small { font-family: var(--sans); font-size: .62rem; letter-spacing: .25em; text-transform: uppercase; margin-top: 4px; }
.stefano-text { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 2.15rem); line-height: 1.3; color: #fff; }
.stefano-text strong { color: var(--gold-l); font-weight: 600; }
.stefano .btn { border-color: rgba(255, 255, 255, .7); color: #fff; }
.stefano .btn::before { background: #fff; }
.stefano .btn:hover { color: var(--xmas); }

.xmas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.xmas-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 460px; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s;
}
.xmas-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.xmas-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 15%, rgba(10, 6, 5, .55) 50%, rgba(10, 6, 5, .95)); }
.xmas-card img.pos-top { top: -78%; height: 178%; }
.xmas-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.xmas-card:hover img { transform: scale(1.07); }
.xmas-card-body { padding: 30px; }
.xmas-card h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.15; margin: 8px 0 6px; }
.xmas-card p { color: var(--muted); font-size: .98rem; }
.xmas-card .more { display: inline-flex; gap: 10px; align-items: center; margin-top: 18px; font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-l); }
.xmas-card .more::after { content: "→"; transition: transform .4s var(--ease); }
.xmas-card:hover .more::after { transform: translateX(6px); }
.xmas-card .tag {
  position: absolute; top: 20px; left: 20px; padding: 6px 14px; border-radius: 999px;
  background: rgba(163, 32, 43, .9); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
}

/* ---------- Intro / Anime della casa ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.intro-visual { position: relative; display: grid; place-items: center; }
.intro-visual::before {
  content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, .22), transparent 65%);
}
.intro-visual img { position: relative; width: min(420px, 90%); filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6)); }
.intro-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.2; margin: 18px 0 28px; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; }
.social {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--gold-l);
  transition: background .35s, color .35s, transform .35s var(--ease), border-color .35s;
}
.social:hover { background: var(--gold); color: var(--bg); transform: translateY(-3px); border-color: var(--gold); }
.social svg { width: 20px; height: 20px; }
.social--wa:hover { background: #25d366; border-color: #25d366; color: #fff; }

/* Le anime: tessere Home */
.souls { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.soul {
  position: relative; grid-column: span 2; min-height: 380px; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; border: 1px solid rgba(255, 255, 255, .06);
}
.soul:nth-child(1), .soul:nth-child(2) { grid-column: span 3; min-height: 440px; }
.soul img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease), filter .8s; filter: saturate(.92); }
.soul::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(8, 6, 5, .9)); transition: background .6s; }
.soul:hover img { transform: scale(1.08); filter: saturate(1.1); }
.soul h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.1; }
.soul p { color: var(--muted); font-family: var(--serif); font-style: italic; margin-top: 6px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s var(--ease), opacity .7s var(--ease); }
.soul:hover p, .soul:focus-visible p { max-height: 140px; opacity: 1; }
.soul .more { margin-top: 14px; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-l); display: inline-flex; gap: 10px; }
.soul .more::after { content: "→"; transition: transform .4s var(--ease); }
.soul:hover .more::after { transform: translateX(6px); }
.soul .num { position: absolute; top: 22px; right: 26px; font-family: var(--serif); font-size: .95rem; color: var(--gold-l); opacity: .8; }

/* ---------- Film ---------- */
.film-section { padding-top: 0; }
.film {
  position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; background: #000;
  aspect-ratio: 16 / 9; box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .9), 0 0 0 1px var(--line);
}
.film video { width: 100%; height: 100%; object-fit: cover; }
.film-cover {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  background: center / cover no-repeat; transition: opacity .7s var(--ease), visibility .7s;
}
.film-cover::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(0, 0, 0, .15), rgba(0, 0, 0, .65)); }
.film.playing .film-cover { opacity: 0; visibility: hidden; }
.play {
  position: relative; width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(14, 11, 10, .35); border: 1px solid rgba(230, 207, 156, .7); color: var(--gold-l);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .5s var(--ease), background .5s;
}
.play::before, .play::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(230, 207, 156, .35); animation: ring 2.6s var(--ease) infinite; }
.play::after { animation-delay: 1.3s; }
@keyframes ring { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.play svg { width: 34px; height: 34px; margin-left: 6px; }
.film-cover:hover .play { transform: scale(1.08); background: rgba(201, 169, 110, .3); }
.film-label { position: relative; margin-top: 22px; font-size: .75rem; letter-spacing: .32em; text-transform: uppercase; color: var(--cream); }

/* ---------- Testi Home (ex righe testo) ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.pillar {
  position: relative; padding: clamp(32px, 4vw, 56px); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 248, 238, .05), rgba(255, 248, 238, .01));
  border: 1px solid var(--line); overflow: hidden;
}
.pillar::before { content: "“"; position: absolute; top: -30px; right: 20px; font-family: var(--serif); font-size: 12rem; line-height: 1; color: var(--gold); opacity: .12; }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.25; margin-bottom: 12px; }
.pillar p { color: var(--muted); }

/* ---------- Galleria ---------- */
.gallery { columns: 4 260px; column-gap: 14px; }
.gallery a {
  position: relative; display: block; margin-bottom: 14px; border-radius: 12px; overflow: hidden; break-inside: avoid; cursor: zoom-in;
  background: var(--bg-3);
}
.gallery img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .6s; }
.gallery a::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .55));
  opacity: 0; transition: opacity .5s;
}
.gallery a:hover img { transform: scale(1.06); }
.gallery a:hover::after { opacity: 1; }
.gallery .zoom { position: absolute; z-index: 2; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(14, 11, 10, .6); color: var(--gold-l); opacity: 0; transform: translateY(8px); transition: .45s var(--ease); }
.gallery a:hover .zoom { opacity: 1; transform: none; }
.gallery .zoom svg { width: 18px; height: 18px; }
.gallery-more { text-align: center; margin-top: 36px; }
.gallery.is-collapsed a:nth-child(n+13) { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center; background: rgba(6, 4, 3, .95); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { max-width: 92vw; max-height: 86vh; display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 40px 100px rgba(0, 0, 0, .7); transition: opacity .35s; }
.lightbox img.loading { opacity: .2; }
.lb-btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold-l); background: rgba(14, 11, 10, .6); transition: background .3s, color .3s; }
.lb-btn:hover { background: var(--gold); color: var(--bg); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; translate: 0 -50%; }
.lb-next { right: 22px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; font-family: var(--serif); color: var(--muted); letter-spacing: .1em; }

/* ---------- Pagine interne ---------- */
.page-hero { position: relative; height: 78svh; min-height: 520px; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); animation: heroIn 2.4s var(--ease) forwards; will-change: transform; }
@keyframes heroIn { to { transform: scale(1); } }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .1) 40%, var(--bg) 100%); }
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(50px, 9vh, 100px); }
.page-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 8vw, 6.4rem); line-height: 1; margin-top: 14px; text-shadow: 0 8px 50px rgba(0, 0, 0, .5); }
.page-hero .sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--gold-l); margin-top: 12px; }
.crumbs { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--gold-l); }

.story { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.story-text p { color: var(--muted); font-size: 1.12rem; margin-bottom: 1.1em; }
.story-text p.big { font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.4; color: var(--cream); }
.story-text p.big::first-letter { font-size: 3.6em; float: left; line-height: .82; margin: .06em .1em 0 0; color: var(--gold); font-family: var(--serif); }
.story-text p.big.no-cap::first-letter { font-size: inherit; float: none; margin: 0; color: inherit; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / 1.05; }
.mosaic figure { position: relative; border-radius: 14px; overflow: hidden; }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic figure:hover img { transform: scale(1.06); }
.mosaic::before { content: ""; position: absolute; }

.feature-band { position: relative; padding: clamp(70px, 10vw, 130px) 0; text-align: center; overflow: hidden; }
.feature-band .bg { position: absolute; inset: -10% 0; background-size: cover; background-position: center; opacity: .28; }
.feature-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(14, 11, 10, .3), var(--bg) 80%); }
.feature-band .wrap { position: relative; z-index: 1; }
.feature-band p { font-family: var(--serif); font-size: clamp(1.4rem, 2.8vw, 2.3rem); line-height: 1.4; max-width: 30ch; margin-inline: auto; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.chip { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--gold-l); font-size: .9rem; }

/* ---------- Pagine evento (Natale / San Silvestro) ---------- */
.event-hero .page-hero-bg { filter: saturate(1.05); }
.menu-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.menu-card {
  position: relative; padding: clamp(36px, 5vw, 64px) clamp(26px, 4.5vw, 60px); border-radius: 22px; text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(201, 169, 110, .12), transparent 60%),
    linear-gradient(180deg, #1b1512, #120e0c);
  border: 1px solid var(--line);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .9);
}
.menu-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201, 169, 110, .18); border-radius: 16px; pointer-events: none; }
.menu-card .script { font-family: var(--script); font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; color: var(--gold-l); }
.menu-card .script small { display: block; font-family: var(--serif); font-style: italic; font-size: .32em; color: var(--gold); margin-bottom: 4px; letter-spacing: .04em; }
.menu-card h2.title-caps { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-l); line-height: 1.2; }
.menu-course { margin-top: 34px; }
.menu-course h3 { display: flex; align-items: center; justify-content: center; gap: 16px; font-family: var(--sans); font-weight: 500; font-size: .8rem; letter-spacing: .38em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.menu-course h3::before, .menu-course h3::after { content: ""; flex: 0 1 60px; height: 1px; background: var(--line); }
.menu-course p { font-family: var(--serif); font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.45; margin-bottom: 12px; color: var(--cream); }
.menu-intro { font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 22px auto 0; max-width: 46ch; line-height: 1.6; }
.menu-highlight { margin: 34px 0 8px; padding: 22px 18px; border-block: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--gold-l); text-transform: uppercase; letter-spacing: .05em; line-height: 1.4; }
.menu-price { margin-top: 36px; padding: 24px; border-radius: 14px; background: rgba(201, 169, 110, .08); border: 1px solid var(--line); }
.menu-price .amount { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold-l); line-height: 1.1; }
.menu-price p { color: var(--muted); margin-top: 6px; }
.menu-sign { margin-top: 30px; font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.2rem; }
.menu-sign b { display: block; font-style: normal; letter-spacing: .2em; font-weight: 400; color: var(--cream); font-size: .95rem; }
.menu-side { position: sticky; top: 100px; display: grid; gap: 22px; }
.menu-image { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; position: relative; }
.menu-image img { width: 100%; transition: transform 1s var(--ease); }
.menu-image:hover img { transform: scale(1.03); }
.menu-image .zoom-hint { position: absolute; right: 14px; top: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(14, 11, 10, .75); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); }

/* ---------- Box Prenotazione ---------- */
.booking { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.channels { display: grid; gap: 14px; margin-top: 28px; }
.channel {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.channel:hover { transform: translateX(6px); border-color: var(--gold); background: rgba(201, 169, 110, .08); }
.channel .ico { width: 50px; height: 50px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(201, 169, 110, .12); color: var(--gold-l); }
.channel .ico svg { width: 22px; height: 22px; }
.channel--wa .ico { background: rgba(37, 211, 102, .14); color: #3ee07c; }
.channel--wa:hover { border-color: #25d366; }
.channel small { display: block; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--soft); }
.channel span { font-family: var(--serif); font-size: 1.25rem; color: var(--cream); }

.form-card { padding: clamp(28px, 4vw, 48px); border-radius: 22px; background: linear-gradient(160deg, rgba(255, 248, 238, .06), rgba(255, 248, 238, .015)); border: 1px solid var(--line); }
.form-card h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.form-card h3 img { width: 54px; opacity: .9; filter: invert(1) sepia(1) saturate(2) hue-rotate(5deg) brightness(.85); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 22px 18px 10px; border-radius: 12px;
  background: rgba(0, 0, 0, .25); border: 1px solid rgba(244, 237, 227, .14); color: var(--cream);
  font: inherit; font-size: 1rem; transition: border-color .3s, background .3s; outline: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field label { position: absolute; left: 18px; top: 16px; font-size: 1rem; color: var(--soft); pointer-events: none; transition: .25s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--gold); background: rgba(0, 0, 0, .35); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 6px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.field.invalid input, .field.invalid textarea { border-color: #e05a5a; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); }
.consent a { color: var(--gold-l); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-status { font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: #7fd8a0; }
.form-status.err { color: #f08a8a; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 56px); align-items: stretch; }
.map { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); min-height: 460px; background: var(--bg-3); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.map-fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: 16px; text-align: center; padding: 30px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #090706; border-top: 1px solid var(--line); padding: clamp(60px, 8vw, 100px) 0 30px; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 50%; top: 0; translate: -50% -50%; width: 900px; height: 300px; background: radial-gradient(ellipse, rgba(201, 169, 110, .12), transparent 70%); pointer-events: none; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 20px; }
.footer-brand h4 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; letter-spacing: .04em; }
.footer-brand p, .footer-col p { color: var(--muted); font-size: .98rem; line-height: 1.8; }
.footer-col h5 { font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 500; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: var(--muted); transition: color .3s; }
.footer-col a:hover { color: var(--gold-l); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(244, 237, 227, .08); display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--soft); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom a:hover { color: var(--gold-l); }

/* ---------- WhatsApp flottante ---------- */
.wa-float {
  position: fixed; left: 22px; bottom: 22px; z-index: 1500;
  display: flex; align-items: center; gap: 0; height: 60px; padding: 0 17px; border-radius: 999px;
  background: #25d366; color: #fff; box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .6), 0 4px 12px rgba(0, 0, 0, .3);
  transition: gap .45s var(--ease), padding .45s var(--ease), transform .3s;
  overflow: hidden;
}
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float span { max-width: 0; opacity: 0; white-space: nowrap; font-weight: 500; font-size: .95rem; transition: max-width .45s var(--ease), opacity .3s; }
.wa-float:hover { gap: 10px; padding-right: 24px; transform: translateY(-2px); }
.wa-float:hover span { max-width: 200px; opacity: 1; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: waPulse 2.6s infinite; }
@keyframes waPulse { 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

.to-top { position: fixed; right: 22px; bottom: 90px; z-index: 1400; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(14, 11, 10, .8); border: 1px solid var(--line); color: var(--gold-l); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .4s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--bg); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Popup Santo Stefano ---------- */
.ss-modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 20px; visibility: hidden; pointer-events: none; }
.ss-modal.open { visibility: visible; pointer-events: auto; }
.ss-backdrop { position: absolute; inset: 0; background: rgba(6, 3, 3, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .5s var(--ease); }
.ss-modal.open .ss-backdrop { opacity: 1; }
.ss-dialog {
  position: relative; width: min(500px, 100%); text-align: center; overflow: hidden; isolation: isolate;
  padding: 46px clamp(22px, 5vw, 44px) 34px; border-radius: 26px;
  background: radial-gradient(ellipse at top, #8e1c27 0%, #5c0f17 55%, #3a0a0f 100%);
  border: 1px solid rgba(230, 207, 156, .45);
  box-shadow: 0 50px 120px rgba(0, 0, 0, .7), 0 0 0 8px rgba(163, 32, 43, .18), inset 0 1px 0 rgba(255, 255, 255, .12);
  opacity: 0; transform: perspective(900px) rotateX(18deg) translateY(60px) scale(.86);
  transition: opacity .55s var(--ease), transform .8s cubic-bezier(.18, 1.25, .4, 1);
}
.ss-modal.open .ss-dialog { opacity: 1; transform: none; }
.ss-dialog::before { content: ""; position: absolute; inset: 9px; border-radius: 19px; border: 1px dashed rgba(230, 207, 156, .4); pointer-events: none; }
.ss-dialog::after { content: ""; position: absolute; top: -50%; left: -60%; width: 45%; height: 200%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent); transform: rotate(18deg); }
.ss-modal.open .ss-dialog::after { animation: ssShine 1.6s var(--ease) .5s; }
@keyframes ssShine { to { left: 130%; } }
.ss-glow { position: absolute; z-index: -1; width: 340px; height: 340px; left: 50%; top: -170px; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle, rgba(230, 207, 156, .35), transparent 65%); animation: ssGlow 4s ease-in-out infinite; }
@keyframes ssGlow { 50% { transform: scale(1.15); opacity: .7; } }
.ss-spark { position: absolute; color: var(--gold-l); opacity: 0; font-size: 14px; pointer-events: none; }
.ss-modal.open .ss-spark { animation: ssSpark 3s ease-in-out infinite; }
.ss-spark.s1 { top: 16%; left: 9%; animation-delay: .3s !important; }
.ss-spark.s2 { top: 30%; right: 10%; font-size: 10px; animation-delay: 1.1s !important; }
.ss-spark.s3 { bottom: 26%; left: 12%; font-size: 9px; animation-delay: 1.8s !important; }
.ss-spark.s4 { bottom: 14%; right: 14%; animation-delay: .8s !important; }
.ss-spark.s5 { top: 8%; right: 30%; font-size: 8px; animation-delay: 2.3s !important; }
@keyframes ssSpark { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1.2) rotate(90deg); } }
.ss-x { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, .25); border: 1px solid rgba(230, 207, 156, .35); transition: transform .4s var(--ease), background .3s; z-index: 2; }
.ss-x:hover { transform: rotate(90deg); background: rgba(0, 0, 0, .45); }
.ss-x svg { width: 18px; height: 18px; }
.ss-date { width: 110px; height: 110px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-content: center; background: var(--cream); color: var(--xmas); box-shadow: 0 0 0 7px rgba(255, 255, 255, .1), 0 18px 40px rgba(0, 0, 0, .4); font-family: var(--serif); line-height: 1; }
.ss-num { display: flex; justify-content: center; perspective: 300px; }
.ss-num b { font-size: 2.9rem; font-weight: 600; display: inline-block; transform: rotateX(-90deg); opacity: 0; }
.ss-modal.open .ss-num b { animation: ssFlip .7s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.ss-modal.open .ss-num b:nth-child(1) { animation-delay: .35s; }
.ss-modal.open .ss-num b:nth-child(2) { animation-delay: .5s; }
@keyframes ssFlip { to { transform: none; opacity: 1; } }
.ss-date small { font-family: var(--sans); font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; margin-top: 4px; }
.ss-eyebrow { font-size: .74rem; letter-spacing: .4em; text-transform: uppercase; color: var(--gold-l); }
.ss-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 7vw, 3.1rem); line-height: 1.1; color: #fff; margin: 6px 0 20px; }
.ss-list { list-style: none; display: grid; gap: 10px; margin: 0 auto 28px; max-width: 360px; text-align: left; }
.ss-list li { display: flex; gap: 12px; align-items: center; padding: 11px 16px; border-radius: 12px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(230, 207, 156, .18); color: #fff; font-size: 1.02rem; opacity: 0; transform: translateX(-16px); }
.ss-list li span { color: var(--gold-l); }
.ss-modal.open .ss-list li { animation: ssItem .6s var(--ease) forwards; }
.ss-modal.open .ss-list li:nth-child(1) { animation-delay: .55s; }
.ss-modal.open .ss-list li:nth-child(2) { animation-delay: .7s; }
.ss-modal.open .ss-list li:nth-child(3) { animation-delay: .85s; }
@keyframes ssItem { to { opacity: 1; transform: none; } }
.ss-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ss-actions .btn { min-width: 150px; }
.ss-actions .btn:not(.btn--solid) { border-color: rgba(255, 255, 255, .6); color: #fff; }
.ss-actions .btn:not(.btn--solid)::before { background: #fff; }
.ss-actions .btn:not(.btn--solid):hover { color: var(--xmas); }
html.ss-open, html.ss-open body { overflow: hidden; }
.form-card.flash { animation: formFlash 1.6s var(--ease); }
@keyframes formFlash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 3px var(--gold), 0 0 60px rgba(201, 169, 110, .4); } }

/* ---------- Neve ---------- */
#snow { position: fixed; inset: 0; z-index: 1950; pointer-events: none; }

/* ---------- INTRO di benvenuto ---------- */
html.intro-open, html.intro-open body { overflow: hidden; }
.intro {
  position: fixed; inset: 0; z-index: 1900; display: flex; flex-direction: column;
  background: #000; color: var(--cream);
  transition: opacity 1.1s var(--ease), visibility 1.1s, transform 1.4s var(--ease);
}
.intro.leaving { opacity: 0; visibility: hidden; transform: scale(1.04); }
.intro-media { position: absolute; inset: 0; overflow: hidden; }
.intro-video, .intro-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro-fallback { background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s; animation: kenburns 14s linear infinite alternate; }
.intro.no-video .intro-fallback { opacity: 1; }
.intro.no-video .intro-video { display: none; }
.intro-video { animation: introZoom 22s ease-in-out infinite alternate; }
@keyframes introZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.intro-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(8, 6, 5, .15) 0%, rgba(8, 6, 5, .55) 60%, rgba(8, 6, 5, .92) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 30%, transparent 70%, rgba(0, 0, 0, .6));
}
.intro::before { /* dissolvenza dal nero all'apertura */
  content: ""; position: absolute; inset: 0; z-index: 5; background: #000; pointer-events: none;
  animation: introBlack 1.6s var(--ease) forwards;
}
@keyframes introBlack { to { opacity: 0; } }
.intro-center { position: relative; z-index: 2; flex: 1; display: grid; place-items: center; padding: 30px 20px 10px; }
.intro-card {
  position: relative; width: min(600px, 100%); text-align: center;
  padding: clamp(36px, 6vh, 60px) clamp(24px, 5vw, 54px);
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(20, 15, 13, .55), rgba(10, 8, 7, .35));
  border: 1px solid rgba(201, 169, 110, .28);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
  opacity: 0; transform: translateY(34px);
  animation: introCard 1.4s var(--ease) .5s forwards, introFloat 7s ease-in-out 2s infinite;
}
@keyframes introCard { to { opacity: 1; transform: none; } }
@keyframes introFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.intro-corner { position: absolute; width: 26px; height: 26px; border-color: var(--gold); border-style: solid; opacity: .8; }
.intro-corner.tl { top: 12px; left: 12px; border-width: 1px 0 0 1px; border-top-left-radius: 12px; }
.intro-corner.tr { top: 12px; right: 12px; border-width: 1px 1px 0 0; border-top-right-radius: 12px; }
.intro-corner.bl { bottom: 12px; left: 12px; border-width: 0 0 1px 1px; border-bottom-left-radius: 12px; }
.intro-corner.br { bottom: 12px; right: 12px; border-width: 0 1px 1px 0; border-bottom-right-radius: 12px; }
.intro-logo { width: min(270px, 70%); margin: 0 auto 26px; filter: drop-shadow(0 10px 26px rgba(0, 0, 0, .55)); transition: transform .6s var(--ease); }
.intro-logo:hover { transform: scale(1.03) rotate(-.6deg); }
.intro-words { position: relative; height: clamp(54px, 8vh, 72px); }
.intro-title {
  position: absolute; inset: 0; font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1.2; letter-spacing: .02em; color: var(--cream);
  text-shadow: 0 4px 24px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(14px) scale(.98); filter: blur(4px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
}
.intro-title.is-on { opacity: 1; transform: none; filter: none; }
.intro-sub { font-family: var(--serif); font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--gold-l); margin-top: 6px; }
.intro-kinds { margin-top: 14px; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.intro-kinds i { font-style: normal; color: var(--gold); margin: 0 4px; }
.intro-enter {
  position: relative; display: inline-flex; align-items: center; gap: 14px; margin-top: 32px;
  padding: 17px 44px; border-radius: 999px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--gold); color: var(--cream);
  font-size: .85rem; font-weight: 500; letter-spacing: .34em; text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: color .45s var(--ease), transform .45s var(--ease), box-shadow .45s;
}
.intro-enter::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, var(--gold-d), var(--gold), var(--gold-l)); transform: translateY(101%); transition: transform .5s var(--ease); }
.intro-enter::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); animation: enterShine 4s ease-in-out 2.5s infinite; }
@keyframes enterShine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.intro-enter:hover { color: var(--bg); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(201, 169, 110, .35); }
.intro-enter:hover::before { transform: none; }
.intro-enter svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.intro-enter:hover svg { transform: translateX(5px); }
.intro-xmas { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(201, 169, 110, .18); }
.intro-stefano {
  display: inline-block; padding: 10px 18px; border-radius: 14px; line-height: 1.45;
  background: linear-gradient(120deg, #6b121b, var(--xmas)); color: #fff; font-size: .92rem;
  box-shadow: 0 10px 30px -10px rgba(163, 32, 43, .8), inset 0 0 0 1px rgba(230, 207, 156, .35);
}
.intro-stefano strong { color: var(--gold-l); font-weight: 500; }
.intro-stefano span { color: var(--gold-l); }
.intro-xmas-links { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.intro-xmas-links a { padding: 7px 18px; border-radius: 999px; border: 1px solid rgba(230, 207, 156, .35); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-l); transition: background .3s, color .3s; }
.intro-xmas-links a::before { content: "✦ "; color: var(--xmas); }
.intro-xmas-links a:hover { background: var(--gold); color: var(--bg); }
.intro-foot { position: relative; z-index: 2; text-align: center; padding: 10px 20px 22px; display: grid; gap: 10px; justify-items: center; }
.intro-foot p { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.intro-social { display: flex; gap: 8px; }
.intro-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--cream); border: 1px solid rgba(244, 237, 227, .18); transition: .3s; }
.intro-social a:hover { color: var(--bg); background: var(--gold); border-color: var(--gold); }
.intro-social svg { width: 17px; height: 17px; }
.intro-legal { font-size: .66rem !important; }
.intro-legal i { font-style: normal; color: var(--gold); margin: 0 6px; }
.intro-legal a:hover { color: var(--gold-l); }
.intro .iubenda-embed { background: none !important; color: inherit !important; padding: 0 !important; box-shadow: none !important; font: inherit !important; border: 0 !important; }
html.intro-open .wa-float, html.intro-open .to-top { opacity: 0; pointer-events: none; }
@media (max-height: 700px) {
  .intro-logo { width: 190px; margin-bottom: 14px; }
  .intro-kinds { display: none; }
  .intro-enter { margin-top: 20px; }
  .intro-xmas { margin-top: 18px; padding-top: 14px; }
}
@media (max-width: 640px) {
  .intro-card { padding: 34px 20px 28px; }
  .intro-kinds { font-size: .62rem; letter-spacing: .18em; }
  .intro-stefano { font-size: .84rem; }
  .intro-foot p:first-child { font-size: .64rem; letter-spacing: .08em; }
  .intro-foot { padding: 6px 64px 18px; }
}

/* ---------- Iubenda link (bianco) ---------- */
.iubenda-embed.legal-link { background: none !important; padding: 0 !important; color: inherit !important; font: inherit !important; box-shadow: none !important; }

.only-mobile { display: none; }
.footer-bottom .iubenda-embed { background: none !important; color: inherit !important; padding: 0 !important; box-shadow: none !important; border: 0 !important; font: inherit !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .menu a { padding: 10px 9px; letter-spacing: .12em; font-size: .74rem; }
}
@media (max-width: 1024px) {
  .only-mobile { display: block; }
  .burger { display: block; }
  .menu {
    position: fixed; inset: 0; z-index: 1101; flex-direction: column; justify-content: center; gap: 6px;
    background: rgba(10, 8, 7, .97); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  }
  .menu-open .menu { opacity: 1; visibility: visible; }
  .menu { overflow-y: auto; justify-content: flex-start; padding-block: 96px 40px; }
  .menu li:first-child { margin-top: auto; } .menu li:last-child { margin-bottom: auto; }
  .menu a { font-family: var(--serif); text-transform: none; letter-spacing: .02em; font-size: 1.9rem; padding: 8px 20px; }
  .menu a::after { display: none; }
  .menu-cta { margin: 18px 0 0; }
  .menu-cta .btn { font-family: var(--sans); font-size: .8rem; padding: 14px 30px; }
  .menu li { opacity: 0; transform: translateY(16px); transition: .5s var(--ease); }
  .menu-open .menu li { opacity: 1; transform: none; }
  .menu-open .menu li:nth-child(2) { transition-delay: .04s; } .menu-open .menu li:nth-child(3) { transition-delay: .08s; }
  .menu-open .menu li:nth-child(4) { transition-delay: .12s; } .menu-open .menu li:nth-child(5) { transition-delay: .16s; }
  .menu-open .menu li:nth-child(6) { transition-delay: .2s; } .menu-open .menu li:nth-child(7) { transition-delay: .24s; }
  .menu-open .menu li:nth-child(8) { transition-delay: .28s; } .menu-open .menu li:nth-child(9) { transition-delay: .32s; }
  .menu-open .menu li:nth-child(10) { transition-delay: .36s; }
  .xmas-grid { grid-template-columns: 1fr 1fr; }
  .xmas-grid .xmas-card:last-child { grid-column: 1 / -1; min-height: 360px; }
  .souls { grid-template-columns: 1fr 1fr; }
  .soul, .soul:nth-child(1), .soul:nth-child(2) { grid-column: span 1; min-height: 360px; }
  .soul p { max-height: 140px; opacity: 1; }
  .menu-layout, .booking { grid-template-columns: 1fr; }
  .menu-side { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .intro-grid, .story, .contact-grid, .pillars { grid-template-columns: 1fr; }
  .story .mosaic { order: -1; }
  .stefano { grid-template-columns: auto 1fr; }
  .stefano .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --header-h: 72px; }
  .wrap { width: calc(100% - 36px); }
  .brand img { height: 42px; }
  .xmas-bar { font-size: .82rem; padding: 8px 14px; }
  .hero { min-height: 600px; }
  .slide-content { bottom: 120px; }
  .scroll-cue, .slide-counter { display: none; }
  .xmas-grid, .souls { grid-template-columns: 1fr; }
  .xmas-grid .xmas-card:last-child { grid-column: auto; }
  .xmas-card { min-height: 380px; }
  .stefano { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .stefano .btn { justify-self: center; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .gallery a { margin-bottom: 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; translate: none; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
  .wa-float { left: 16px; bottom: 16px; height: 56px; padding: 0 15px; }
  .page-hero { height: 64svh; min-height: 440px; }
  .map { min-height: 340px; }
  .site-footer { padding-bottom: 100px; }
  .to-top { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
