/* =================================================================
   MASSIMILIANO DI VANNI — Stylesheet
   Palette: nero · antracite · bianco · oro caldo · blu notte
   Approccio: Mobile First · CSS moderno · variabili
   ================================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Colori */
  --black:        #0b0a09;   /* near-black caldo (fondo base) */
  --anthracite:   #1c1813;   /* charcoal caldo — superfici / card */
  --anthracite-2: #241f18;
  --charcoal:     #141210;   /* fondo sezioni scure (caldo, non blu) */
  --night:        #17244a;   /* blu notte: SOLO come sfumatura/accento, mai riempimento */
  --night-soft:   #1d2c55;
  --white:        #f7f6f2;
  --grey:         #a8a39a;   /* grigio caldo (era freddo/violaceo) */
  --grey-dim:     #757068;
  --gold:         #d9b25f;
  --gold-bright:  #f0cd82;
  --gold-deep:    #b8923f;

  /* Superfici */
  --bg:           var(--black);
  --surface:      var(--anthracite);
  --surface-2:    var(--anthracite-2);
  --line:         rgba(255, 255, 255, 0.09);

  /* Tipografia */
  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Manrope", system-ui, -apple-system, sans-serif;

  /* Spaziatura fluida */
  --space-section: clamp(4.5rem, 10vw, 9rem);
  --container:     1200px;
  --gutter:        clamp(1.25rem, 5vw, 2.5rem);

  /* Effetti */
  --radius:     18px;
  --radius-sm:  12px;
  --shadow:     0 24px 60px -20px rgba(0, 0, 0, 0.65);
  --shadow-gold: 0 18px 45px -18px rgba(217, 178, 95, 0.45);
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.28s var(--ease);   /* hover/microinterazioni: 150–300ms (linea guida UX) */
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;   /* ritaglia il drawer off-canvas (evita overflow orizzontale) */
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--gold); color: var(--black); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  background: var(--gold);
  color: var(--black);
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  font-weight: 700;
  z-index: 2000;
  transition: top 0.3s;
}
.skip-link:focus { top: 1rem; }

/* ---------- 3. Tipografia ---------- */
.section-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.section-lead {
  color: var(--grey);
  max-width: 60ch;
  margin-top: 1.2rem;
  font-size: 1.05rem;
}

.section-head.center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.section-head.center .section-lead { margin-inline: auto; }

.section { padding-block: var(--space-section); }
.section-dark {
  background:
    radial-gradient(130% 90% at 50% -10%, rgba(23, 36, 74, 0.30), transparent 55%),
    var(--charcoal);
}
.gold { color: var(--gold); }
em { font-style: italic; }

/* ---------- 4. Bottoni ---------- */
.btn {
  --btn-pad-y: 0.85rem;
  --btn-pad-x: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  will-change: transform;
}
.btn-lg { --btn-pad-y: 1.05rem; --btn-pad-x: 2rem; font-size: 1rem; }
.btn-sm { --btn-pad-y: 0.6rem; --btn-pad-x: 1.2rem; font-size: 0.85rem; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #241a06;
  box-shadow: var(--shadow-gold);
}
.btn-gold::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.55) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 24px 55px -16px rgba(217,178,95,0.6); }
.btn-gold:hover::after { transform: translateX(120%); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-3px);
}
.play-icon { font-size: 0.7rem; }

:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 4px; }

/* ---------- 4b. Icone SVG ---------- */
.icon {
  width: 1.15em; height: 1.15em;
  flex-shrink: 0;
  vertical-align: -0.15em;
}
.btn .icon { width: 1.1em; height: 1.1em; }
/* icona nelle card servizi */
.service-svg { width: 30px; height: 30px; }
/* icone accanto ai contatti nel footer */
.footer-col .ic {
  width: 16px; height: 16px;
  color: var(--gold);
  vertical-align: -0.22em;
  margin-right: 0.5rem;
  flex-shrink: 0;
}
/* icone meta negli eventi */
.meta-ic {
  width: 15px; height: 15px;
  color: var(--gold);
  vertical-align: -0.18em;
  margin-right: 0.2rem;
}
/* triangolo play nelle card video */
.play-svg { width: 24px; height: 24px; }

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding-block: 1.15rem;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 12, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  padding-block: 0.7rem;
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px -20px rgba(0,0,0,0.9);
}
/* Il backdrop-filter dell'header, dopo lo scroll, creerebbe un "containing block"
   per il menu mobile (position: fixed), tagliandolo alla riquadratura dell'header.
   Mentre il menu è aperto lo disattiviamo, così il menu torna full-screen. */
body.menu-open .site-header {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  padding: 0.2rem 0.5rem;
  line-height: 1;
}
.brand-dot { color: var(--white); font-size: 0.7em; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.brand-name em { color: var(--gold); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; gap: 1.6rem; }
.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--grey);
  position: relative;
  padding-block: 0.3rem;
  transition: color 0.3s;
}
.nav-link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s, background 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--black) 4%, rgba(10,10,12,0.35) 45%, rgba(10,10,12,0.55) 100%),
    linear-gradient(to right, rgba(10,10,12,0.85) 0%, rgba(10,10,12,0.25) 60%, transparent 100%);
}
.hero-glow {
  position: absolute;
  top: -10%; right: -5%;
  width: 60vw; height: 60vw;
  max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(217,178,95,0.28), transparent 62%);
  filter: blur(20px);
  animation: glowPulse 7s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes glowPulse { from { opacity: 0.55; transform: scale(0.92); } to { opacity: 1; transform: scale(1.05); } }

.hero-content { position: relative; padding-top: 6rem; max-width: 780px; min-width: 0; }
.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 8.4vw, 5.8rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 1.4rem;
  text-shadow: 0 4px 44px rgba(0,0,0,0.65);
}
.hero-title .gold {
  font-style: italic;
  font-weight: 600;
  color: var(--gold-bright);
}
.hero-sub {
  font-size: clamp(1.02rem, 2.2vw, 1.25rem);
  color: rgba(247,246,242,0.9);
  max-width: 56ch;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.scroll-cue {
  position: absolute;
  bottom: 1.8rem; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  display: grid; place-items: start center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* --- FIRMA: follow-spot che segue il puntatore (luce da palco) --- */
.hero-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 40vmax at var(--mx, 72%) var(--my, 26%),
    rgba(243, 212, 132, 0.22),
    rgba(243, 212, 132, 0.06) 34%,
    transparent 60%);
  mix-blend-mode: screen;
  opacity: 0;
  animation: spotlightIn 1.6s 0.35s var(--ease) forwards;
  transition: background 0.14s linear;
}
@keyframes spotlightIn { to { opacity: 1; } }

/* Eyebrow come "cue" da palco: un trattino di luce che precede */
.hero-eyebrow .cue,
.section-eyebrow .cue {
  display: inline-block;
  width: 28px; height: 2px;
  vertical-align: middle;
  margin-right: 0.7rem;
  background: linear-gradient(90deg, transparent, var(--gold));
  transform-origin: left;
}

/* Trust line (sostituisce i riquadri "numerone + etichetta") */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  color: var(--grey);
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.hero-trust strong { color: var(--white); font-weight: 700; }
.hero-trust .dot { color: var(--gold); }


/* --- Fascia repertorio scorrevole --- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, var(--charcoal), var(--black) 50%, var(--charcoal));
  padding-block: 1.1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 2.6rem;
  will-change: transform;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  color: var(--grey);
  transition: color 0.3s;
}
.marquee-sep { color: var(--gold); font-size: 0.7em; font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 7. Chi sono ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 70% 28%;
  box-shadow: var(--shadow);
}
.about-media::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.5;
}
.about-badge {
  position: absolute;
  bottom: -20px; right: -10px;
  background: var(--gold);
  color: var(--black);
  padding: 0.9rem 1.3rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-gold);
  text-align: center;
}
.about-badge-num { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1; }
.about-badge-txt { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; margin-top: 0.2rem; }

.about-text p { color: var(--grey); margin-bottom: 1.1rem; }
.about-text p strong { color: var(--white); font-weight: 700; }
.about-text .section-title { margin-bottom: 1.5rem; }
.about-list { margin: 1.6rem 0 2rem; display: grid; gap: 0.8rem; }
.about-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--white);
  font-weight: 500;
}
.about-list li::before {
  content: "♪";
  position: absolute; left: 0; top: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- 8. Servizi ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.service-card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217,178,95,0.4);
  box-shadow: var(--shadow);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(217,178,95,0.12);
  color: var(--gold-bright);
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  transition: transform var(--transition), background var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); background: rgba(217,178,95,0.2); }
.service-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; margin-bottom: 0.5rem; }
.service-card p { color: var(--grey); font-size: 0.94rem; }

/* ---------- 9. Galleria (griglia quadrata uniforme) ---------- */
.masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
.masonry-item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  touch-action: manipulation;
}
.masonry-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
/* piccola lente in hover per suggerire l'apertura */
.masonry-item::before {
  content: "";
  position: absolute; z-index: 2;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  transform: translate(-50%, -50%) scale(0.8);
  border-radius: 50%;
  background: rgba(11,10,9,0.55) center / 20px 20px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0cd82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3M11 8v6M8 11h6'/%3E%3C/svg%3E");
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.35s, transform 0.35s var(--ease);
  pointer-events: none;
}
.masonry-item:hover::before,
.masonry-item:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s;
  filter: saturate(0.95);
}
.masonry-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,12,0.5), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
}
.masonry-item:hover img { transform: scale(1.06); filter: saturate(1.1); }
.masonry-item:hover::after { opacity: 1; }

/* Locandina evento (poster ricreato) */
.poster-card {
  aspect-ratio: 1 / 1;
  container-type: inline-size;
  border: 1px solid rgba(217, 178, 95, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.poster-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;
}
.poster-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(102deg,
      #0e0c0a 0%, #0e0c0a 46%,
      rgba(14, 12, 10, 0.92) 56%,
      rgba(14, 12, 10, 0.25) 78%, transparent 100%),
    linear-gradient(to bottom, rgba(14, 12, 10, 0.35), rgba(11, 10, 9, 0.5));
}
.poster-content {
  position: absolute; inset: 0;
  z-index: 2;
  padding: 8cqw 7cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5cqw;
}
.poster-kicker {
  font-size: 3.1cqw;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
}
.poster-names {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15cqw;
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-block: 1cqw;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}
.poster-when {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 6cqw;
  color: var(--gold-bright);
  line-height: 1.05;
}
.poster-time {
  font-weight: 700;
  font-size: 5cqw;
  letter-spacing: 0.04em;
  color: var(--white);
}
.poster-staff {
  width: 62%;
  height: auto;
  margin-top: 3cqw;
  color: var(--gold);
  opacity: 0.9;
}
/* La foto del cocktail zooma delicatamente all'hover come le altre */
.poster-card:hover .poster-bg { transform: scale(1.05); }

/* ---------- 10. Video ---------- */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.video-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}
.video-card:hover { transform: translateY(-5px); border-color: rgba(217,178,95,0.4); }
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  overflow: hidden;
  touch-action: manipulation;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(10,10,12,0.25);
  transition: background 0.4s;
}
.video-card:hover .video-play { background: rgba(10,10,12,0.1); }
.video-play span {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  display: grid; place-items: center;
  font-size: 1.3rem;
  padding-left: 4px;
  box-shadow: var(--shadow-gold);
  transition: transform 0.4s var(--ease);
}
.video-card:hover .video-play span { transform: scale(1.12); }
.video-thumb iframe { width: 100%; height: 100%; border: 0; }

/* Video locale (mp4): contain su fondo nero → nessun taglio, qualsiasi orientamento */
.video-thumb--local { background: #000; }
.video-thumb--local video {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s var(--ease);
}
.video-card:hover .video-thumb--local:not(.is-playing) video { transform: scale(1.03); }
.video-thumb--local.is-playing { cursor: pointer; }
.video-thumb--local.is-playing .video-play { display: none; }
.video-info { padding: 1.1rem 1.3rem 1.4rem; }
.video-info h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; margin-bottom: 0.3rem; }
.video-info p { color: var(--grey); font-size: 0.88rem; }

/* ---------- 11. Eventi ---------- */
.events-list { display: grid; gap: 1rem; max-width: 860px; margin-inline: auto; }
.event-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.event-item:hover { transform: translateX(6px); border-color: rgba(217,178,95,0.4); background: var(--surface-2); }
.event-date {
  text-align: center;
  background: rgba(217,178,95,0.12);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  min-width: 78px;
}
.event-day { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; color: var(--gold-bright); line-height: 1; }
.event-month { display: block; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-top: 0.25rem; }
.event-info h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; margin-bottom: 0.25rem; }
.event-meta { color: var(--grey); font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
.events-empty { text-align: center; margin-top: 2.2rem; color: var(--grey); }
.events-empty a { color: var(--gold); font-weight: 600; }
.events-empty a:hover { color: var(--gold-bright); }

/* ---------- 12. Recensioni (slider) ---------- */
.slider { max-width: 820px; margin-inline: auto; position: relative; }
.slider-track {
  display: flex;
  transition: transform 0.6s var(--ease);
}
.review-slide {
  min-width: 100%;
  padding: 0 clamp(0.5rem, 3vw, 2rem);
  text-align: center;
}
.review-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 1.8rem;
  position: relative;
}
.review-quote::before {
  content: "\201C";
  display: block;
  font-size: 4rem;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 1.2rem;
}
.review-stars { color: var(--gold); letter-spacing: 0.2em; margin-bottom: 0.7rem; }
.review-author { font-weight: 700; font-size: 1rem; }
.review-role { color: var(--grey); font-size: 0.88rem; }

.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 2.5rem; }
.slider-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  display: grid; place-items: center;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}
.slider-btn:hover { background: var(--gold); color: var(--black); border-color: var(--gold); transform: scale(1.08); }
.slider-dots { display: flex; gap: 0.15rem; }
/* Area tap ampia (24px) con puntino visivo piccolo dentro */
.slider-dots button {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: transparent;
  position: relative;
}
.slider-dots button::before {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 9px; height: 9px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  transition: background 0.3s, width 0.3s, border-radius 0.3s;
}
.slider-dots button.active::before { background: var(--gold); width: 22px; border-radius: 6px; }

/* ---------- 13. CTA finale ---------- */
.cta-final {
  position: relative;
  padding-block: clamp(5rem, 12vw, 9rem);
  text-align: center;
  overflow: hidden;
}
.cta-media { position: absolute; inset: 0; z-index: -1; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11,10,9,0.92), rgba(20,17,14,0.88));
}
.cta-content { max-width: 720px; position: relative; }
.cta-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1.2rem;
}
.cta-sub { color: rgba(247,246,242,0.85); font-size: 1.08rem; margin-bottom: 2.2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--anthracite); border-top: 1px solid var(--line); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: clamp(3rem, 7vw, 5rem);
}
.footer-brand .brand-mark { display: inline-block; margin-bottom: 1rem; }
.footer-brand h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; margin-bottom: 0.6rem; }
.footer-brand p { color: var(--grey); font-size: 0.94rem; }
.footer-col h4 { font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a:not(.btn), .footer-col span { color: var(--grey); font-size: 0.95rem; transition: color 0.3s; }
.footer-col li a, .footer-col li span { display: inline-flex; align-items: center; }
.footer-col a:not(.btn):hover { color: var(--gold-bright); }

.socials { display: flex; gap: 0.7rem; margin-bottom: 1.4rem; }
.social {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(217, 178, 95, 0.4);
  display: grid; place-items: center;
  font-size: 1rem;
  color: var(--gold);
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}
.social:hover { background: var(--gold); color: var(--black); border-color: var(--gold); transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; }

/* Social in evidenza nella sezione finale "Prenota ora" */
.cta-socials {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}
.cta-socials-label {
  color: var(--grey);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-right: 0.15rem;
}
.cta-social {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(217, 178, 95, 0.45);
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.cta-social svg { width: 20px; height: 20px; color: var(--gold); transition: color var(--transition); }
.cta-social:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.cta-social:hover svg { color: var(--black); }
@media (max-width: 640px) {
  .cta-socials { margin-top: 1.6rem; }
}
.footer-cta { margin-top: 0.3rem; }

.footer-bottom { border-top: 1px solid var(--line); padding-block: 1.5rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }
.footer-bottom p { color: var(--grey-dim); font-size: 0.85rem; }
.footer-bottom .credit {
  color: var(--grey-dim);
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.02em;
}
.credit-mark {
  color: var(--gold);
  font-size: 0.9em;
  display: inline-block;
  animation: creditPulse 2.6s ease-in-out infinite;
}
@keyframes creditPulse {
  0%, 100% { transform: scale(0.85) rotate(0);   opacity: 0.55; }
  50%      { transform: scale(1.1) rotate(90deg); opacity: 1; }
}
.credit-link {
  position: relative;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02em;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: filter 0.35s var(--ease);
}
.credit-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1.5px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.credit-link:hover { filter: drop-shadow(0 0 10px rgba(217, 178, 95, 0.55)); }
.credit-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- 14b. Elementi solo-mobile (nascosti su desktop) ---------- */
.mobile-bar { display: none; }
.nav-contact { display: none; }

/* ---------- 15. Animazioni scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }
/* Stagger per gruppi */
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.4s; }

/* ---------- 16. Responsive ---------- */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { grid-template-columns: repeat(3, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.9fr 1.1fr; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

/* ---- Menu mobile ---- */
@media (max-width: 899px) {
  .hamburger { display: flex; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(84vw, 360px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    background: linear-gradient(160deg, var(--anthracite), var(--black));
    padding: 5rem 2.5rem 2.5rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    box-shadow: -30px 0 80px -30px rgba(0,0,0,0.9);
    border-left: 1px solid var(--line);
  }
  .nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; gap: 1.4rem; width: 100%; }
  .nav-link { font-size: 1.3rem; color: var(--white); font-family: var(--font-display); padding-block: 0.5rem; }
  .nav-cta { width: 100%; justify-content: center; min-height: 48px; }

  /* Riga contatti rapidi nel drawer */
  .nav-contact { display: flex; gap: 0.6rem; width: 100%; margin-top: 0.4rem; }
  .nav-contact-link {
    flex: 1;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    min-height: 48px;
    border: 1px solid var(--line); border-radius: 12px;
    color: var(--white); font-weight: 600; font-size: 0.9rem;
    background: rgba(255,255,255,0.04);
  }
  .nav-contact-link .ic { width: 17px; height: 17px; color: var(--gold); }

  /* Ingresso scaglionato delle voci quando il menu si apre */
  .nav .nav-list li,
  .nav .nav-cta,
  .nav .nav-contact {
    opacity: 0; transform: translateX(24px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  }
  .nav.open .nav-list li,
  .nav.open .nav-cta,
  .nav.open .nav-contact { opacity: 1; transform: none; }
  .nav.open .nav-list li:nth-child(1) { transition-delay: 0.10s; }
  .nav.open .nav-list li:nth-child(2) { transition-delay: 0.15s; }
  .nav.open .nav-list li:nth-child(3) { transition-delay: 0.20s; }
  .nav.open .nav-list li:nth-child(4) { transition-delay: 0.25s; }
  .nav.open .nav-list li:nth-child(5) { transition-delay: 0.30s; }
  .nav.open .nav-list li:nth-child(6) { transition-delay: 0.35s; }
  .nav.open .nav-cta { transition-delay: 0.42s; }
  .nav.open .nav-contact { transition-delay: 0.48s; }

  /* Overlay dietro il menu */
  body.menu-open::before {
    content: "";
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    z-index: 999;
    animation: fadeIn 0.4s;
  }
  body.menu-open { overflow: hidden; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Su smartphone il menu diventa a schermo intero e centrato (più pulito del drawer) */
@media (max-width: 600px) {
  .nav {
    width: 100%;
    max-width: none;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    padding: 5.5rem 1.5rem calc(2.5rem + env(safe-area-inset-bottom, 0px));
    border-left: 0;
  }
  .nav-list { align-items: center; text-align: center; gap: 1.15rem; }
  .nav-link { font-size: 1.6rem; }
  .nav-cta { width: 100%; max-width: 320px; margin-inline: auto; }
  .nav-contact { width: 100%; max-width: 320px; margin-inline: auto; }
  .nav-contact-link { min-width: 0; }
}

/* ---- Barra azioni fissa + rifiniture mobile ---- */
@media (max-width: 900px) {
  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 950;
    padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: rgba(14, 12, 10, 0.92);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    border-top: 1px solid var(--line);
  }
  .mobile-bar-btn {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 3px;
    min-height: 52px;
    border-radius: 12px;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em;
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    transition: transform 0.15s var(--ease);
  }
  .mobile-bar-btn svg { width: 20px; height: 20px; }
  .mobile-bar-btn.primary {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
    color: #241a06; border-color: transparent;
  }
  .mobile-bar-btn:active { transform: scale(0.96); }

  /* spazio per non coprire l'ultimo contenuto */
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  /* niente barra mentre il menu è aperto */
  body.menu-open .mobile-bar { display: none; }
  /* lo scroll-cue starebbe dietro la barra: via su mobile */
  .scroll-cue { display: none; }
}

/* Hero: prima schermata perfetta su smartphone */
@media (max-width: 640px) {
  .hero-content { padding-top: 5.5rem; padding-bottom: 1.5rem; }
  .hero-title { font-size: clamp(1.8rem, 8.4vw, 3.1rem); line-height: 1.06; }
  .hero-eyebrow { letter-spacing: 0.18em; font-size: 0.78rem; }
  .hero-sub { margin-bottom: 1.6rem; font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.7rem; margin-bottom: 2rem; }
  .hero-actions .btn { width: 100%; justify-content: center; min-height: 50px; }
  .hero-trust { font-size: 0.92rem; gap: 0.35rem 0.8rem; }

  /* badge "Gaeta" senza sbordare */
  .about-badge { right: 0; bottom: -16px; padding: 0.7rem 1rem; }
}

/* ---------- 17. Preferenze utente ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Bottone "Torna su" ---------- */
.to-top {
  position: fixed;
  right: clamp(1rem, 4vw, 2rem);
  bottom: clamp(1rem, 4vw, 2rem);
  z-index: 940;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #241a06;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  border: none;
  box-shadow: var(--shadow-gold), 0 10px 26px -10px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  touch-action: manipulation;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.25s;
}
.to-top svg { width: 24px; height: 24px; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
/* hover solo con mouse: su touch il primo tap non deve "sprecarsi" sull'hover */
@media (hover: hover) {
  .to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px -12px rgba(217, 178, 95, 0.6);
  }
}
.to-top:active { transform: scale(0.94); }
.to-top:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* su mobile sta sopra la barra azioni fissa */
@media (max-width: 900px) {
  .to-top { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- 18. Lightbox galleria ---------- */
/* La locandina non è cliccabile: niente lente né cursore mano */
.poster-card { cursor: default; }
.poster-card::before { display: none !important; }

.lightbox {
  position: fixed; inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(8, 7, 6, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: lbFade 0.3s var(--ease);
  /* evita il doppio-tap-zoom del browser toccando velocemente le frecce */
  touch-action: manipulation;
}
.lightbox[hidden] { display: none; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
body.lb-open { overflow: hidden; }

.lb-stage {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img {
  max-width: 100%;
  max-height: 82vh;
  width: auto; height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.9);
  animation: lbZoom 0.35s var(--ease);
}
@keyframes lbZoom { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

/* Bottoni */
.lb-close, .lb-nav {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(8,7,6,0.6);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.lb-close svg, .lb-nav svg { width: 55%; height: 55%; }
.lb-close:hover, .lb-nav:hover {
  background: rgba(217,178,95,0.2);
  border-color: var(--gold);
  color: var(--gold-bright);
}
.lb-close:active, .lb-nav:active { transform: scale(0.92); }
.lb-close:focus-visible, .lb-nav:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.lb-close {
  top: clamp(0.8rem, 3vw, 1.6rem);
  right: clamp(0.8rem, 3vw, 1.6rem);
  width: 46px; height: 46px;
}
.lb-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
}
.lb-nav:active { transform: translateY(-50%) scale(0.92); }
.lb-prev { left: clamp(0.5rem, 2.5vw, 1.6rem); }
.lb-next { right: clamp(0.5rem, 2.5vw, 1.6rem); }

.lb-counter {
  position: absolute;
  z-index: 3;
  bottom: clamp(0.8rem, 3vw, 1.6rem);
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(8,7,6,0.6);
  border: 1px solid rgba(255,255,255,0.18);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

@media (max-width: 640px) {
  /* Controlli ben visibili e comodi da toccare su smartphone */
  .lb-close { width: 44px; height: 44px; top: max(0.8rem, env(safe-area-inset-top)); right: 0.8rem; }
  .lb-nav   { width: 46px; height: 46px; }
  .lb-prev  { left: 0.6rem; }
  .lb-next  { right: 0.6rem; }
  /* immagine non coperta dai controlli laterali/contatore */
  .lb-img   { max-height: 74vh; }
  .lb-counter { bottom: max(0.9rem, env(safe-area-inset-bottom)); }
}
