/* NOVA Service, versione 2: stile "agenzia eventi" (ispirato al template Wix Q Productions).
   Colori NOVA: nero #0B0B0B e giallo #FFD600.
   Forme: tutto squadrato. Titoli Poppins (maiuscoli i grandi), testo Nunito Sans leggero. */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("../fonts/space-mono-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --bg-2: #121212;
  --panel: #161616;
  --line: rgb(255 255 255 / 0.12);
  --ink: #ffffff;
  --text: #d9d6cf;
  --muted: #a6a39b;
  --accent: #ffd600;
  --accent-ink: #0b0b0b;

  --f-head: "Poppins", system-ui, sans-serif;
  --f-body: "Nunito Sans", system-ui, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 96px;

  --z-nav: 20;
}
@media (max-width: 767px) { :root { --nav-h: 68px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-weight: 300; font-size: 1.0625rem; line-height: 1.7;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.2em; height: 1.2em; flex: none; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.da-compilare { background: #c4231a; color: #fff; font-family: var(--f-mono); font-size: 0.8em; padding: 0 6px; }

/* ---------- Titoli ---------- */
.h2 {
  font-family: var(--f-head); font-weight: 600; color: var(--accent);
  font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.12; letter-spacing: -0.01em;
  text-align: center; margin: 0 auto clamp(32px, 5vw, 56px); max-width: 22ch;
}
em { font-style: normal; color: var(--accent); }

/* ---------- Bottoni: rettangolari, come nel template ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 34px; border-radius: 0;
  font-family: var(--f-body); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.02em;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.btn .icon { width: 1.05em; height: 1.05em; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #fff; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--accent-ink); }

/* ---------- Barra in alto: nera, logo in un riquadro giallo ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  height: var(--nav-h); background: #000;
  transition: height 0.35s var(--ease), box-shadow 0.35s;
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav__pill { display: flex; align-items: stretch; height: 100%; padding-right: var(--gutter); }
/* Logo intero nei suoi colori (scritta bianca, orbite gialle) direttamente sulla barra nera */
.nav__pill { padding-left: var(--gutter); }
.nav__logo { display: flex; align-items: center; flex: none; height: 100%; }
.nav__logo img { height: calc(var(--nav-h) * 0.68); width: auto; }
/* leggero zoom del logo al passaggio del mouse */
.nav__logo img { transition: transform 0.45s var(--ease); }
@media (hover: hover) { .nav__logo:hover img { transform: scale(1.08); } }
.nav__logo:focus-visible img { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { .nav__logo img { transition: none; } }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); margin-left: auto; }
.nav__links a {
  font-family: var(--f-body); font-weight: 400; font-size: 1rem; color: var(--ink); text-decoration: none;
  transition: color 0.25s;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--accent); }

.nav__menu { display: none; }
.nav__menu summary {
  list-style: none; cursor: pointer; display: grid; place-items: center;
  height: 40px; padding: 0 18px; border-radius: 0;
  font-family: var(--f-body); font-weight: 700; font-size: 0.95rem; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.nav__menu summary::-webkit-details-marker { display: none; }
.nav__menu-close, .nav__menu[open] .nav__menu-open { display: none; }
.nav__menu[open] .nav__menu-close { display: inline; }
.nav__menu[open] summary { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.nav__drawer {
  position: absolute; left: 0; right: 0; top: var(--nav-h);
  display: grid; padding: 8px var(--gutter) 20px; background: #000;
  border-top: 1px solid var(--line);
}
.nav__drawer a {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-head); font-weight: 600; font-size: 1.2rem; color: var(--ink); text-decoration: none;
}
.nav__drawer a[aria-current="page"] { color: var(--accent); }
@media (max-width: 899px) {
  .nav__links { display: none; }
  .nav__menu { display: flex; align-items: center; margin-left: auto; }
}

/* ---------- Home: prima schermata con video ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100dvh; display: grid; place-items: center;
  padding: calc(var(--nav-h) + 40px) 0 72px; text-align: center;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgb(0 0 0 / 0.62), rgb(0 0 0 / 0.8)); }
.hero__copy { display: grid; justify-items: center; }
/* Logo animato (assets/js/logo-anim.js): la scena è nelle misure del logo originale 800×654 */
.logo-stage { position: relative; width: min(340px, 66vw); aspect-ratio: 800 / 654; margin-bottom: 14px; }
.logo-stage__static { width: 100%; height: 100%; object-fit: contain; }
.logo-stage.is-live .logo-stage__static { display: none; }
.logo-stage__fly { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform, opacity; }

/* La scena è disegnata nelle misure del logo originale (800×654) e poi scalata. */
.logo-art {
  position: absolute; left: 0; top: 0; width: 800px; height: 654px;
  transform-origin: 0 0;
  scale: calc(var(--fit, 1) * var(--punch, 1));
}
.logo-art > * { position: absolute; }
.logo-art__orbits { left: 0; top: 0; overflow: visible; }
/* Le scintille fuori scena vengono parcheggiate a (-99, -99): il ritaglio le nasconde senza toccare le orbite. */
.logo-art__orbits { clip-path: inset(-50px); }
.logo-art__word { left: 83px; top: 234px; width: 672px; height: 186px; transform-origin: 265px 90px; }
.logo-art__sheen {
  left: 83px; top: 234px; width: 672px; height: 186px; pointer-events: none;
  -webkit-mask-image: url("../img/logo-word.webp"); -webkit-mask-size: 100% 100%;
  mask-image: url("../img/logo-word.webp"); mask-size: 100% 100%;
}
.logo-art__halo {
  left: 348px; top: 324px; width: 1500px; height: 1500px; translate: -50% -50%; pointer-events: none;
  background: radial-gradient(circle, rgb(255 214 0 / 0.22) 0%, rgb(42 36 0 / 0.25) 30%, rgb(11 11 11 / 0) 62%);
}
.logo-art__flash {
  left: 348px; top: 324px; width: 2400px; height: 2400px; translate: -50% -50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, #fff 0%, rgb(255 244 200 / 0.8) 10%, rgb(255 214 0 / 0.22) 32%, rgb(255 214 0 / 0) 60%);
}
.logo-art__shock {
  border-radius: 50%; border: 2px solid var(--accent); opacity: 0;
  box-shadow: 0 0 30px var(--accent), inset 0 0 24px rgb(255 214 0 / 0.5);
}
.logo-art__particle { left: 0; top: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff3b0; opacity: 0; }
.logo-art__particle.is-yellow { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.flare { left: 348px; top: 324px; width: 0; height: 0; opacity: 0; pointer-events: none; }
.flare__core {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgb(255 230 120 / 0.9) 12%, rgb(255 214 0 / 0.35) 35%, rgb(255 214 0 / 0) 70%);
}
.flare__ray {
  position: absolute; border-radius: 99px;
  background: linear-gradient(90deg, rgb(255 214 0 / 0) 0%, rgb(255 240 170 / 0.95) 45%, #fff 50%, rgb(255 240 170 / 0.95) 55%, rgb(255 214 0 / 0) 100%);
}

.hero__title {
  font-family: var(--f-head); font-weight: 600; text-transform: uppercase; color: var(--ink);
  font-size: clamp(2.6rem, 7.4vw, 5.6rem); line-height: 1.05; letter-spacing: 0.01em;
}
.hero__title br { display: none; }
.hero__sub { margin-top: 22px; max-width: 46ch; font-size: 1.1rem; color: #ece9e2; }
.hero__cta { margin-top: 34px; }

/* ---------- Sottopagine: fascia fotografica con titolo grande ---------- */
.page-head {
  position: relative; isolation: isolate; text-align: center;
  padding: calc(var(--nav-h) + clamp(64px, 10vw, 120px)) 0 clamp(64px, 9vw, 110px);
  background:
    linear-gradient(rgb(0 0 0 / 0.66), rgb(0 0 0 / 0.8)),
    url("../img/console-dj-1200.webp") center 40% / cover;
}
/* una foto diversa per ogni pagina (la pagina Contatti tiene le consolle NOVA) */
.page-head--servizi { background-image: linear-gradient(rgb(0 0 0 / 0.62), rgb(0 0 0 / 0.8)), url("../img/dj-pioneer-1200.webp"); background-position: center 60%; }
.page-head--eventi { background-image: linear-gradient(rgb(0 0 0 / 0.62), rgb(0 0 0 / 0.8)), url("../img/testata-eventi.webp"); background-position: center 50%; }
.page-head--pacchetti { background-image: linear-gradient(rgb(0 0 0 / 0.66), rgb(0 0 0 / 0.82)), url("../img/testata-pacchetti.webp"); background-position: center 45%; }
.page-head--chi-siamo { background-image: linear-gradient(rgb(0 0 0 / 0.62), rgb(0 0 0 / 0.8)), url("../img/testata-chi-siamo.webp"); background-position: center 45%; }
.page-head__title {
  font-family: var(--f-head); font-weight: 600; text-transform: uppercase; color: var(--ink);
  font-size: clamp(2.6rem, 8vw, 5.4rem); line-height: 1.05; letter-spacing: 0.01em;
}
.page-head__lead { margin: 20px auto 0; max-width: 52ch; font-size: 1.1rem; color: #e6e3dc; }

/* ---------- Sezioni ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section__more { display: flex; width: max-content; margin: 40px auto 0; }

/* ---------- Servizi in home: griglia di foto con titolo giallo e testo sotto ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.6vw, 34px); }
.cell { position: relative; text-align: center; }
.cell__photo {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 22px;
}
.cell__photo--dj { object-position: 40% 60%; }
.cell__video { object-position: 50% 55%; }
.cell__shade, .cell > .icon { display: none; }
.cell h3, .cell .h2 {
  font-family: var(--f-head); font-weight: 400; color: var(--accent);
  font-size: 1.35rem; line-height: 1.3; margin: 0 0 10px; max-width: none;
}
.cell p { color: var(--text); font-size: 0.98rem; max-width: 34ch; margin-inline: auto; }
.cell__photo { transition: filter 0.5s; }
@media (hover: hover) { .cell:hover .cell__photo { filter: brightness(1.12); } }

/* Pulsante del video sul telefono */
.cell__play { display: none; }
@media (hover: none) {
  .cell__play {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    display: inline-flex; align-items: center; height: 34px; padding: 0 12px;
    font-family: var(--f-mono); font-weight: 700; font-size: 0.78rem; color: var(--accent-ink);
    background: var(--accent);
  }
  .cell__play > span { display: inline-flex; align-items: center; gap: 6px; }
  .cell__play .icon { width: 12px; height: 12px; }
  .cell__play-off, .is-playing .cell__play-on { display: none !important; }
  .is-playing .cell__play-off { display: inline-flex !important; }
  .cell--spark { cursor: pointer; }
}
@media (max-width: 999px) { .bento { grid-template-columns: repeat(2, 1fr); row-gap: 48px; } }
@media (max-width: 559px) { .bento { grid-template-columns: 1fr; } }

/* ---------- "Non solo feste private" ---------- */
.grandi { background: var(--bg-2); padding: clamp(72px, 9vw, 120px) 0 !important; }
.grandi__card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.grandi__title { text-align: left; margin: 0 0 20px; }
.grandi__sub { font-size: 1.1rem; max-width: 46ch; margin-bottom: 30px; }
.scala { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 14px; height: clamp(260px, 30vw, 360px); }
.scala__step { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; height: 100%; cursor: default; }
/* Le barrette partono tutte uguali e grigie; al passaggio del mouse (o al tocco) si alzano e diventano gialle. */
.scala__bar {
  position: relative; display: block; width: 100%; height: 30%;
  background: #262626; transition: height 0.7s var(--ease), background-color 0.4s;
}
/* al passaggio del mouse tutte e tre salgono alla stessa altezza */
.scala__step { --h: 92%; }
.scala__label { font-family: var(--f-head); font-weight: 400; font-size: 0.95rem; line-height: 1.3; min-height: 2.6em; color: var(--ink); transition: color 0.4s; }
.scala__step.is-on .scala__bar { height: var(--h); background: var(--accent); }
.scala__step.is-on .scala__label { color: var(--accent); }
@media (hover: hover) {
  .scala__step:hover .scala__bar { height: var(--h); background: var(--accent); }
  .scala__step:hover .scala__label { color: var(--accent); }
}
@media (max-width: 899px) {
  .grandi__card { grid-template-columns: 1fr; }
  .scala { height: 220px; }
}

/* ---------- Home: rimandi a Pacchetti e Chi siamo ---------- */
.links2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(32px, 5vw, 72px); }
.linkcard {
  display: flex; flex-direction: column; gap: 12px; padding: 32px 0 0;
  text-decoration: none; border-top: 1px solid var(--line);
  transition: border-color 0.35s;
}
.linkcard__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.linkcard__top > .icon { width: 34px; height: 34px; color: var(--accent); }
.linkcard__freccia .icon { width: 26px; height: 26px; color: var(--ink); transition: transform 0.4s var(--ease); }
.linkcard__title { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; color: var(--ink); transition: color 0.3s; }
.linkcard__text { max-width: 40ch; }
.linkcard__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
@media (hover: hover) {
  .linkcard:hover { border-top-color: var(--accent); }
  .linkcard:hover .linkcard__title { color: var(--accent); }
  .linkcard:hover .linkcard__freccia .icon { transform: translate(3px, -3px); color: var(--accent); }
}
@media (max-width: 767px) { .links2 { grid-template-columns: 1fr; } }

/* ---------- Etichette ----------
   Sono informazioni, non pulsanti: testo semplice con un quadratino giallo davanti,
   senza bordo né fondo, e il cursore normale. */
.chips { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 0;
  font-family: var(--f-body); font-weight: 400; font-size: 1rem;
  color: var(--ink); cursor: default;
}
.chip::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--accent); }
.chip--base { color: var(--muted); }
.chip--base::before { background: var(--muted); }
.chip--plus { color: var(--accent); }
.chip--plus:has(.icon)::before { display: none; }
.chip--plus .icon { width: 0.95em; height: 0.95em; }

/* ---------- Nastro eventi: fascia gialla ---------- */
.marquee { overflow: hidden; background: var(--accent); color: var(--accent-ink); padding: 22px 0; }
.marquee__track { display: flex; width: max-content; }
.marquee__list { display: flex; flex: none; }
.marquee__list li {
  display: flex; align-items: center; white-space: nowrap; padding-right: 0.9em;
  font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: 0.02em;
}
.marquee__list .icon { width: 0.5em; height: 0.5em; margin-left: 0.9em; }
.js .marquee__track { animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Contatti ---------- */
.contatti__title {
  font-family: var(--f-head); font-weight: 600; color: var(--accent); text-align: center;
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1;
}
.contatti__title br { display: none; }
.contatti__sub { text-align: center; margin: 16px auto 0; max-width: 46ch; font-size: 1.1rem; }
.canali { margin-top: clamp(40px, 5vw, 60px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.canale {
  --px: 50%; --py: 0%;
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; justify-items: center; align-content: center; gap: 10px; text-align: center;
  min-height: 150px; padding: 28px 20px;
  border-top: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  /* in uscita il testo torna bianco solo quando il giallo si è ritirato */
  transition: color 0.3s 0.9s;
}
.canale::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: var(--px); top: var(--py); width: 240%; aspect-ratio: 1; border-radius: 50%;
  background: var(--accent); transform: translate(-50%, -50%) scale(0);
  transition: transform 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.canale__tipo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 400; font-size: 1.15rem; color: var(--accent); transition: color 0.3s 0.9s; }
.canale__valore { font-family: var(--f-body); font-weight: 400; font-size: clamp(1rem, 1.6vw, 1.15rem); overflow-wrap: anywhere; }
.canale__freccia { display: none; }
.canale:focus-visible::before { transform: translate(-50%, -50%) scale(1); }
.canale:focus-visible, .canale:focus-visible .canale__tipo { color: var(--accent-ink); }
@media (hover: hover) {
  .canale:hover::before { transform: translate(-50%, -50%) scale(1); }
  /* in entrata il testo diventa nero subito */
  .canale:hover, .canale:hover .canale__tipo { color: var(--accent-ink); transition: color 0.2s; }
}
.contatti__privacy { margin-top: 28px; text-align: center; font-size: 0.92rem; color: var(--muted); }
.contatti__privacy a { color: var(--ink); }
.contatti--page { padding-top: clamp(64px, 8vw, 100px); }
.contatti--page .canali { margin-top: 0; }
@media (max-width: 767px) { .canali { grid-template-columns: 1fr; } .canale { min-height: 130px; } }

/* ---------- Fascia finale gialla ---------- */
.cta-band {
  display: grid; justify-items: center; gap: 30px; text-align: center;
  padding: clamp(56px, 8vw, 96px) var(--gutter); background: var(--accent);
}
.cta-band .h2 {
  margin: 0; color: var(--accent-ink); text-transform: uppercase;
  font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1.05; max-width: 16ch;
}
.cta-band .btn--accent { background: var(--accent-ink); color: var(--ink); }
.cta-band .btn--accent:hover { background: #2a2a2a; }
/* la fascia gialla va da bordo a bordo */
.section:has(> .wrap > .cta-band) { padding: 0; }
.section > .wrap:has(> .cta-band) { max-width: none; padding: 0; }

/* ---------- Footer ---------- */
.footer { background: #000; padding: 56px var(--gutter) 40px; font-size: 0.92rem; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto auto; gap: 40px 64px; align-items: start; max-width: calc(var(--wrap) - 2 * var(--gutter)); margin-inline: auto; }
.footer__logo { width: 120px; }
.footer__nome { color: var(--ink); font-weight: 700; }
.footer__nav, .footer__legal { display: grid; gap: 6px; align-content: start; }
.footer__nav a { color: var(--ink); text-decoration: none; }
.footer__nav a:hover { color: var(--accent); }
.footer__legal { justify-items: end; }
.footer__legal a { color: var(--ink); }
@media (max-width: 767px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer__logo, .footer__dati { grid-column: 1 / -1; }
  .footer__legal { justify-items: start; }
}

/* ---------- Pagina Servizi ---------- */
.svc-section { padding-block: clamp(56px, 7vw, 96px) !important; }
.svc-section:nth-of-type(odd) { background: var(--bg-2); }
.svc { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.svc--reverse .svc__media { order: 2; }
.svc__media { aspect-ratio: 4 / 3; overflow: hidden; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.svc__media--dj img { object-position: 45% 60%; }
.svc__text > .icon, .svc-card > .icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: 14px; }
.svc__text .h2, .svc-card .h2 { text-align: left; margin: 0 0 16px; }
.svc__text p, .svc-card p { font-size: 1.1rem; max-width: 46ch; margin-bottom: 24px; }
.svc-card { max-width: 760px; margin-inline: auto; text-align: center; }
.svc-card .h2 { text-align: center; }
.svc-card > .icon { margin-inline: auto; }
.svc-card p { margin-inline: auto; }
/* Effetti speciali: video grande con testo sotto */
.cell--wide { max-width: 980px; margin-inline: auto; }
.cell--wide .cell__photo { aspect-ratio: 16 / 9; }
.cell--wide .h2 { font-family: var(--f-head); font-weight: 600; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.cell--wide p { font-size: 1.1rem; max-width: 52ch; }
@media (max-width: 899px) {
  .svc { grid-template-columns: 1fr; }
  .svc--reverse .svc__media { order: 0; }
}

/* ---------- Pagina Eventi ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 48px clamp(32px, 5vw, 72px); }
.duo__card { display: flex; flex-direction: column; gap: 24px; padding: 32px 0 0; border-top: 1px solid var(--line); }
.duo__card--accent { border-top-color: var(--accent); }
.duo__card .btn { align-self: flex-start; margin-top: auto; }
.duo__title { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; color: var(--ink); }
.duo__list { display: grid; gap: 20px; }
.duo__list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.duo__list .icon { width: 12px; height: 12px; margin-top: 8px; color: var(--accent); }
.duo__list strong { display: block; font-family: var(--f-head); font-weight: 400; font-size: 1.15rem; color: var(--accent); }
@media (max-width: 899px) { .duo { grid-template-columns: 1fr; } }

/* ---------- Pagina Pacchetti: tre colonne ---------- */
.stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px clamp(28px, 4vw, 56px); }
.tier__card {
  height: 100%; display: flex; flex-direction: column; gap: 22px;
  padding: 28px 0 0; border-top: 1px solid var(--line);
}
.tier--top .tier__card { border-top: 2px solid var(--accent); }
.tier__name { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; color: var(--ink); }
.tier--top .tier__name { color: var(--accent); }
.note { margin: 32px auto 0; max-width: 56ch; text-align: center; font-size: 1.08rem; }
@media (max-width: 899px) { .stack { grid-template-columns: 1fr; } }

.kit { max-width: 980px; margin-inline: auto; text-align: center; }
.kit .h2 { margin-bottom: 12px; }
.kit__lead { font-size: 1.1rem; margin-bottom: 36px; }
.kit__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 40px; text-align: left; }
.kit__list li { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 400; color: var(--ink); }
.kit__list .icon { width: 20px; height: 20px; color: var(--accent); }

/* ---------- Pagina Chi siamo ---------- */
.about__statement { background: var(--bg-2); padding: clamp(72px, 9vw, 120px) 0 !important; }
.statement {
  max-width: 26ch; margin-inline: auto; text-align: center;
  font-family: var(--f-head); font-weight: 600; text-transform: uppercase; color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.18;
}
.valori { display: grid; grid-template-columns: 1fr 1fr; gap: 48px clamp(32px, 5vw, 72px); }
.valore { padding: 28px 0 0; border-top: 1px solid var(--line); }
.valore .icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 14px; }
.valore h3 { font-family: var(--f-head); font-weight: 400; font-size: 1.35rem; color: var(--accent); margin-bottom: 8px; }
.rotta { max-width: 820px; margin-inline: auto; text-align: center; }
.rotta__text { font-size: 1.12rem; max-width: 56ch; margin-inline: auto; }
.team { text-align: center; }
.team > .icon { width: 40px; height: 40px; color: var(--accent); margin: 0 auto 14px; display: block; }
.team__text { font-size: 1.1rem; max-width: 56ch; margin-inline: auto; }
.soci { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); margin-top: 40px; }
.socio { display: grid; justify-items: center; align-content: start; gap: 10px; padding: 8px 0; }
.socio__iniziale {
  display: grid; place-items: center; width: 72px; height: 72px;
  font-family: var(--f-head); font-weight: 600; font-size: 2rem; color: var(--accent-ink); background: var(--accent);
}
.socio__nome { font-family: var(--f-head); font-weight: 400; font-size: 1.3rem; color: var(--ink); }
.socio__ruolo { font-size: 0.92rem; line-height: 1.5; color: var(--muted); text-align: center; max-width: 24ch; }
@media (max-width: 699px) { .valori { grid-template-columns: 1fr; } .soci { grid-template-columns: 1fr 1fr; } }

/* ---------- Pagine legali ---------- */
.legal { padding: calc(var(--nav-h) + 72px) 0 96px; }
.legal__body { max-width: 72ch; }
.legal h1 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; color: var(--ink); font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.05; }
.legal .agg { margin-top: 12px; color: var(--muted); font-family: var(--f-mono); font-size: 0.85rem; }
.legal .intro { margin-top: 28px; font-size: 1.12rem; }
.legal h2 { margin-top: 48px; font-family: var(--f-head); font-weight: 400; font-size: 1.4rem; line-height: 1.25; color: var(--accent); }
.legal h2 + p, .legal p + p, .legal p + ul, .legal ul + p { margin-top: 14px; }
.legal ul { display: grid; gap: 10px; margin-top: 14px; padding-left: 1.2em; list-style: square; }
.legal li::marker { color: var(--accent); }
.legal .box { margin-top: 28px; padding: 20px 0; border-top: 1px solid var(--accent); border-bottom: 1px solid var(--line); }
.legal a { color: var(--ink); }

/* ---------- Comparse ---------- */
.js [data-fade], .js [data-split], .js .bento .cell, .js .stack .tier, .js .canali .canale,
.js .links2 .linkcard, .js .valori .valore {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .is-in { opacity: 1 !important; transform: none !important; }
/* i riquadri contatto hanno già le loro transizioni: aggiungo la comparsa senza perderle */
.js .canali .canale { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), color 0.3s 0.9s; }
@media (hover: hover) { .js .canali .canale.is-in:hover { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), color 0.2s; } }
.js .hero [data-fade] { transition-duration: 1.1s; }
.js .hero .hero__sub { transition-delay: 0.15s; }
.js .hero .hero__cta { transition-delay: 0.3s; }

/* ---------- Telefono ---------- */
@media (max-width: 559px) {
  .section { padding: 64px 0; }
  .h2 { font-size: clamp(1.8rem, 8vw, 2.3rem); margin-bottom: 28px; }
  .hero__title { font-size: clamp(2.3rem, 11vw, 3rem); }
  .hero__sub, .page-head__lead { font-size: 1.02rem; }
  .page-head__title { font-size: clamp(2.3rem, 12vw, 3.2rem); }
  .btn { min-height: 48px; padding: 0 26px; }
  .marquee { padding: 16px 0; }
  .cta-band .h2 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .grandi__sub, .svc__text p, .svc-card p, .rotta__text, .team__text, .kit__lead, .contatti__sub { font-size: 1.02rem; }
  .scala { height: 190px; gap: 8px; }
  .scala__label { font-size: 0.82rem; }
  .kit__list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .marquee__list { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .canale, .canale::before, .canale__tipo, .scala__bar, .scala__label { transition: none; }
}

/* ---------- Fascia clienti sotto la prima schermata (si riempie da build.py) ---------- */
.clienti {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 40px);
  padding: 30px var(--gutter); background: #000; border-bottom: 1px solid var(--line);
}
.clienti__label { flex: none; font-family: var(--f-head); font-weight: 300; font-size: 1.05rem; letter-spacing: 0.01em; color: var(--text); }
.clienti__viewport { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.clienti__track { display: flex; width: max-content; }
.clienti__list { display: flex; align-items: center; gap: clamp(64px, 9vw, 120px); padding-right: clamp(64px, 9vw, 120px); }
/* tutti i loghi bianchi e della stessa altezza, per una fascia ordinata */
.cliente img { height: 78px; width: auto; max-width: 230px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.7; transition: opacity 0.3s; }
.cliente img:hover { opacity: 1; }
.js .clienti:not(.clienti--fermi) .clienti__track { animation: marquee 35s linear infinite; }
.clienti:hover .clienti__track { animation-play-state: paused; }
.clienti--fermi .clienti__viewport { -webkit-mask-image: none; mask-image: none; }
.clienti--fermi .clienti__track { width: auto; justify-content: center; }
.clienti--fermi .clienti__list { flex-wrap: wrap; justify-content: center; padding-right: 0; row-gap: 20px; }
@media (max-width: 767px) {
  .clienti { flex-direction: column; gap: 14px; padding-block: 20px; }
  .clienti__viewport { width: 100%; }
  .cliente img { height: 58px; max-width: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  .clienti__track { animation: none !important; width: auto; }
  .clienti__list[aria-hidden="true"] { display: none; }
  .clienti__list { flex-wrap: wrap; justify-content: center; row-gap: 20px; }
}

/* ---------- Tabella cookie (pagine legali) ---------- */
.legal .tabella { margin-top: 18px; overflow-x: auto; }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 700; color: var(--accent); }

/* ---------- Entrata laterale: etichette ed elenchi scorrono da sinistra uno dopo l'altro ---------- */
.js .chips .chip, .js .linkcard__chips .chip, .js .duo__list li, .js .kit__list li {
  opacity: 0; transform: translateX(-28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms + 120ms);
}
.js .chips.is-in .chip, .js .linkcard__chips.is-in .chip, .js .duo__list.is-in li, .js .kit__list.is-in li { opacity: 1; transform: none; }

/* ---------- Servizi: le tre aree in apertura, una di fianco all'altra ---------- */
.aree-section { padding-bottom: 0 !important; }
.aree { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px clamp(28px, 4vw, 56px); }
.area { padding-top: 28px; border-top: 2px solid var(--accent); }
.area > .icon { width: 38px; height: 38px; color: var(--accent); margin-bottom: 18px; }
.area__title { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; color: var(--ink); font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.1; }
.area__sub { margin: 6px 0 14px; font-family: var(--f-head); font-weight: 300; color: var(--accent); font-size: 1.05rem; }
.area p:last-child { font-size: 1.02rem; }
@media (max-width: 899px) { .aree { grid-template-columns: 1fr; } }

/* ---------- Servizi: invito a lasciare una recensione su Google ---------- */
.recensione__box { max-width: 760px; text-align: center; }
.recensione__stelle { display: flex; justify-content: center; gap: 6px; margin-bottom: 18px; color: var(--accent); }
.recensione__stelle .icon { width: 26px; height: 26px; }
.recensione__box .h2 { margin-bottom: 14px; }
.recensione__box p { font-size: 1.1rem; max-width: 52ch; margin: 0 auto 28px; }
.recensione__box .btn .icon { width: 1.15em; height: 1.15em; }

/* ---------- Contatti: righe orizzontali, valore grande, freccia a destra ---------- */
.canali--righe { display: block; border-top: 1px solid var(--line); }
.canali--righe .canale {
  display: grid; grid-template-columns: minmax(150px, 220px) 1fr auto; align-items: center;
  justify-items: start; text-align: left; gap: 12px 28px;
  min-height: 0; padding: clamp(26px, 3.4vw, 40px) clamp(8px, 1.4vw, 20px);
  border-top: none; border-bottom: 1px solid var(--line);
}
.canali--righe .canale__tipo { font-size: 1.05rem; }
.canali--righe .canale__valore { font-family: var(--f-head); font-weight: 600; font-size: clamp(1.35rem, 3.4vw, 2.6rem); letter-spacing: -0.01em; line-height: 1.15; }
.canali--righe .canale__freccia {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-strong, rgb(255 255 255 / 0.2));
  transition: transform 0.9s var(--ease), box-shadow 0.4s;
}
.canali--righe .canale__freccia .icon { width: 22px; height: 22px; }
@media (hover: hover) {
  .canali--righe .canale:hover .canale__freccia { transform: rotate(45deg); box-shadow: inset 0 0 0 1px var(--accent-ink); }
}
@media (max-width: 699px) {
  .canali--righe .canale { grid-template-columns: minmax(0, 1fr) auto; }
  .canali--righe .canale__tipo { grid-column: 1; grid-row: 1; }
  .canali--righe .canale__valore { grid-column: 1; grid-row: 2; font-size: clamp(1rem, 4.9vw, 1.25rem); overflow-wrap: normal; min-width: 0; }
  .canali--righe .canale__freccia { grid-column: 2; grid-row: 1 / span 2; width: 46px; height: 46px; }
}

/* ---------- Servizi: le tre aree sono collegamenti alle rispettive pagine ---------- */
a.area { display: block; text-decoration: none; color: inherit; transition: border-color 0.3s; }
.area__vai { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 700; color: var(--accent); }
.area__vai .icon { width: 1.05em; height: 1.05em; transition: transform 0.4s var(--ease); }
@media (hover: hover) {
  a.area:hover .area__title { color: var(--accent); }
  a.area:hover .area__vai .icon { transform: translateX(6px); }
}
.area__title { transition: color 0.3s; }
.aree-section { padding-bottom: clamp(72px, 9vw, 120px) !important; }

/* testate delle sottopagine dei servizi */
.page-head--audio-luci { background-image: linear-gradient(rgb(0 0 0 / 0.66), rgb(0 0 0 / 0.8)), url("../img/testata-audio-luci.webp"); background-position: center 50%; }
.page-head--ledwall { background-image: linear-gradient(rgb(0 0 0 / 0.62), rgb(0 0 0 / 0.8)), url("../img/testata-ledwall.webp"); background-position: center 50%; }
.page-head--palchi-strutture { background-image: linear-gradient(rgb(0 0 0 / 0.62), rgb(0 0 0 / 0.8)), url("../img/testata-palchi.webp"); background-position: center 50%; }

/* testo introduttivo delle sottopagine */
.intro { max-width: 860px; text-align: center; }
.intro__testo { font-family: var(--f-head); font-weight: 300; font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.5; color: var(--ink); }

/* collegamenti agli altri servizi in fondo alle sottopagine */
.altri__lista { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 4vw, 56px); border-top: 1px solid var(--line); }
.altro {
  display: flex; align-items: center; gap: 16px; padding: 26px 4px;
  border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
  font-family: var(--f-head); font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  transition: color 0.3s;
}
.altro .icon { width: 30px; height: 30px; color: var(--accent); }
.altro .icon:last-child { width: 22px; height: 22px; margin-left: auto; color: var(--ink); transition: transform 0.4s var(--ease), color 0.3s; }
@media (hover: hover) {
  .altro:hover { color: var(--accent); }
  .altro:hover .icon:last-child { transform: translateX(6px); color: var(--accent); }
}
@media (max-width: 699px) { .altri__lista { grid-template-columns: 1fr; } }

/* foto in testa alle tre aree di Servizi */
.area--link { padding-top: 0; border-top: none; }
.area__foto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 22px; border-bottom: 2px solid var(--accent); transition: filter 0.5s; }
.area--link > .icon { display: none; }
@media (hover: hover) { a.area:hover .area__foto { filter: brightness(1.12); } }

/* Audio e luci: fila di tre foto */
.galleria-section { padding-bottom: 0 !important; }
.galleria { display: grid; grid-template-columns: 1.3fr 0.8fr 1.3fr; gap: clamp(12px, 1.6vw, 20px); }
.galleria img { width: 100%; height: clamp(220px, 28vw, 380px); object-fit: cover; }
@media (max-width: 699px) {
  .galleria { grid-template-columns: 1fr 1fr; }
  .galleria img { height: 180px; }
  .galleria img:first-child { grid-column: 1 / -1; height: 220px; }
}
