/* ==========================================================
   ZOMBI VS S.T.A.R.S. — Landing page
   Stile ispirato al tema "Exit Game" (dark, rosso, Fjalla One)
   ========================================================== */

:root {
  --bg: #0b0a08;
  --bg-2: #141210;
  --bg-3: #1c1916;
  --line: rgba(255, 255, 255, .08);
  --text: #a5a5a5;
  --white: #ffffff;
  --red: #ec3f3a;
  --red-dark: #b8231f;
  --font-head: "Fjalla One", "Arial Narrow", sans-serif;
  --font-body: "Averia Serif Libre", Georgia, serif;
  --font-type: "Special Elite", "Courier New", monospace;
  --container: 1200px;
  /* angoli smussati (stesso taglio dei pulsanti): alto-sx e basso-dx */
  --chamfer: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.1;
  margin: 0 0 .5em;
}
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 22px; }
strong { color: var(--white); font-weight: 700; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.kicker {
  font-family: var(--font-type);
  color: var(--red);
  font-size: 17px;
  margin: 0 0 12px;
}

.center { text-align: center; margin-top: 48px; }

/* ---------- Bottoni (stile tattico / biohazard) ----------
   Angoli smussati, segnalino a rombo, strisce di pericolo che
   scorrono al passaggio del mouse e un breve "glitch" sul testo. */
.btn {
  --cut: 12px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  color: var(--white);
  background: var(--red);
  padding: 18px 30px 18px 26px;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background .25s, color .25s, transform .15s;
}
/* segnalino a rombo */
.btn::after {
  content: "";
  order: -1;
  flex: none;
  width: 7px;
  height: 7px;
  background: currentColor;
  transform: rotate(45deg);
  transition: transform .3s;
}
/* strisce di pericolo */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,.28) 0 8px, transparent 8px 16px);
  background-size: 22.6px 22.6px;
  opacity: 0;
  transition: opacity .25s;
}
.btn:hover,
.btn:focus-visible {
  color: var(--white);
  background: var(--red-dark);
}
.btn:hover::before,
.btn:focus-visible::before {
  opacity: 1;
  animation: hazard .6s linear infinite;
}
.btn:hover::after { transform: rotate(225deg); }
.btn:hover { animation: glitch .35s steps(2) 1; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--white); }

@keyframes hazard {
  from { background-position: 0 0; }
  to   { background-position: 22.6px 0; }
}
@keyframes glitch {
  0%   { text-shadow: 2px 0 rgba(0,255,255,.7), -2px 0 rgba(255,0,60,.7); transform: translateX(-1px); }
  50%  { text-shadow: -2px 0 rgba(0,255,255,.7), 2px 0 rgba(255,0,60,.7); transform: translateX(1px); }
  100% { text-shadow: none; transform: none; }
}

/* variante a contorno: il bordo è il fondo del pulsante, l'interno un livello sopra */
.btn--ghost {
  background: rgba(255,255,255,.7);
}
.btn--ghost::before {
  inset: 1px;
  opacity: 1;
  background: rgba(11,10,8,.94);
  clip-path: polygon(calc(var(--cut) - .5px) 0, 100% 0, 100% calc(100% - var(--cut) + .5px), calc(100% - var(--cut) + .5px) 100%, 0 100%, 0 calc(var(--cut) - .5px));
  transition: background .25s;
}
.btn--ghost::after { background: var(--red); }
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--red);
  color: var(--white);
}
.btn--ghost:hover::before,
.btn--ghost:focus-visible::before {
  animation: none;
  background:
    repeating-linear-gradient(-45deg, rgba(236,63,58,.18) 0 8px, transparent 8px 16px),
    rgba(11,10,8,.88);
}
.btn--ghost:hover::after { background: var(--white); }

.btn--sm {
  --cut: 8px;
  padding: 11px 18px 11px 16px;
  font-size: 12px;
  gap: 9px;
}
.btn--sm::after { width: 5px; height: 5px; }

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:hover::before { animation: none; }
}

/* ---------- Top bar ---------- */
.topbar {
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
}
.topbar__social { display: flex; gap: 24px; }
.topbar__social a { white-space: nowrap; }
.topbar__info {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.topbar__short { display: none; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 10, 8, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 84px;
}
.header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header__mark {
  --cut: 10px;
  width: 58px;
  height: 58px;
  object-fit: cover;
  clip-path: var(--chamfer);
}
.header__brandtext {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.header__brandtext strong {
  font-family: var(--font-head);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 18px;
}
.header__by {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-family: var(--font-type);
  font-size: 12px;
  color: var(--text);
}
.header__by img { height: 13px; width: auto; opacity: .8; }
.header__nav {
  display: flex;
  gap: 8px;
  margin-left: auto;
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--white);
}
@media (max-width: 1100px) { .header__nav a { padding: 10px 8px; } .header__inner { gap: 18px; } }
/* voci del menu: la voce della sezione in vista ha dietro le barre di pericolo animate */
.header__nav a {
  --cut: 6px;
  position: relative;
  isolation: isolate;
  padding: 10px 12px;
  white-space: nowrap;
}
.header__nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(-45deg, var(--red) 0 7px, #14100e 7px 14px);
  background-size: 19.8px 19.8px;
  clip-path: var(--chamfer);
  opacity: 0;
  transform: scaleX(.6);
  transition: opacity .25s, transform .25s;
}
.header__nav a::after {
  content: "";
  position: absolute;
  inset: 3px 4px;
  z-index: -1;
  background: rgba(11,10,8,.7);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
  opacity: 0;
  transition: opacity .25s;
}
.header__nav a.is-active { color: var(--white); }
.header__nav a.is-active::after,
.header__nav a:hover::after { opacity: 1; }
.header__nav a.is-active::before {
  opacity: 1;
  transform: none;
  animation: hazard-nav .8s linear infinite;
}
.header__nav a:hover::before { opacity: .45; transform: none; }
.header__nav a.is-active:hover::before { opacity: 1; }
@keyframes hazard-nav {
  from { background-position: 0 0; }
  to   { background-position: 19.8px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .header__nav a.is-active::before { animation: none; }
}
.header__burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.header__burger span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

/* ---------- Hero 3D parallasse ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hero {
  position: relative;
  height: calc(100vh - 124px);
  min-height: 600px;
  overflow: hidden;
  background: #05070b;
  perspective: 1200px;
  display: flex;
  align-items: flex-end;
  text-align: center;
  --hero-fade: 0;
}
.hero__scene {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.hero__layer {
  position: absolute;
  inset: -60px;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  will-change: transform;
  pointer-events: none;
}
.hero__layer--bg     { background-image: url("assets/hero/bg.jpg"); filter: brightness(.85) saturate(1.05); }
.hero__layer--zombie { background-image: url("assets/hero/zombie.webp"); }
.hero__layer--sx     { background-image: url("assets/hero/soldati-sx.webp"); filter: drop-shadow(0 20px 30px rgba(0,0,0,.6)); }
.hero__layer--dx     { background-image: url("assets/hero/soldati-dx.webp"); filter: drop-shadow(0 20px 30px rgba(0,0,0,.6)); }

/* nebbia che scorre */
.hero__layer--fog {
  background:
    radial-gradient(ellipse 60% 25% at 30% 78%, rgba(170,190,210,.22), transparent 70%),
    radial-gradient(ellipse 50% 20% at 75% 82%, rgba(170,190,210,.18), transparent 70%);
  animation: fogDrift 18s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
.hero__layer--fog2 {
  background:
    radial-gradient(ellipse 45% 18% at 60% 88%, rgba(200,210,225,.2), transparent 70%),
    radial-gradient(ellipse 35% 14% at 15% 92%, rgba(236,63,58,.18), transparent 70%);
  animation-duration: 24s;
  animation-direction: alternate-reverse;
}
@keyframes fogDrift {
  from { background-position: -80px 0, 60px 0; }
  to   { background-position: 80px -10px, -60px 10px; }
}

/* titolo fra lo zombi e i soldati */
.hero__layer--title {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: calc(60px + 175px);
}
.hero__titlebox { opacity: calc(1 - var(--hero-fade)); }
.hero__title {
  margin: 0;
  font-family: var(--font-head);
  text-transform: uppercase;
  color: var(--white);
  font-size: clamp(40px, 5.6vw, 86px);
  line-height: .95;
  white-space: nowrap;
  letter-spacing: .02em;
  text-shadow: 0 6px 40px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.9);
}
.hero__title span { color: var(--red); }
.hero__br { display: none; }

/* particelle (cenere e braci) disegnate su canvas */
.hero__particles {
  top: -60px; left: -60px; right: auto; bottom: auto;
  width: calc(100% + 120px);
  height: calc(100% + 120px);
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 45%, rgba(5,7,11,.75) 100%),
    linear-gradient(to bottom, rgba(11,10,8,.55) 0%, transparent 18%, transparent 55%, rgba(11,10,8,.92) 88%, var(--bg) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
}
.hero__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.hero .countdown { margin-top: 0; }
.hero .kicker {
  display: inline-block;
  font-size: 15px;
  padding: 4px 12px;
  margin-bottom: 12px;
  background: rgba(5,7,11,.7);
  text-shadow: none;
}
.hero__lead {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 18px;
  color: #dcdcdc;
  text-shadow: 0 2px 12px rgba(0,0,0,.9);
}
.hero__actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 18px;
  width: 24px; height: 38px;
  margin-left: -12px;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 14px;
}
.hero__scroll span {
  position: absolute;
  left: 50%; top: 7px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--red);
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}
/* pulsante per il giroscopio su iPhone (compare solo lì) */
.hero__gyro {
  position: absolute;
  z-index: 3;
  right: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(5,7,11,.7);
  border: 1px solid rgba(255,255,255,.35);
  cursor: pointer;
}
.hero__gyro::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(236,63,58,.7);
  animation: gyroPulse 1.6s infinite;
}
.hero__gyro[hidden] { display: none; }
@keyframes gyroPulse {
  70% { box-shadow: 0 0 0 8px rgba(236,63,58,0); }
  100% { box-shadow: 0 0 0 0 rgba(236,63,58,0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__layer--fog, .hero__scroll span { animation: none; }
}

.countdown {
  display: inline-flex;
  align-items: flex-start;
  margin-top: 36px;
}
.countdown div {
  position: relative;
  min-width: 92px;
  padding: 0 14px;
}
/* due punti fra i numeri, nello stesso carattere */
.countdown div + div::before {
  content: ":";
  position: absolute;
  left: -6px;
  top: 2px;
  font-family: "Creepster", var(--font-head);
  font-size: 44px;
  line-height: 1;
  color: var(--red);
}
.countdown strong {
  display: block;
  font-family: "Creepster", var(--font-head);
  font-weight: 400;
  font-size: 60px;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--white);
  text-shadow: 0 0 18px rgba(236,63,58,.55), 0 3px 0 rgba(120,10,10,.9);
}
.countdown span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-type);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--red);
}

/* ---------- Strip ---------- */
.strip {
  background: var(--red);
  color: rgba(255,255,255,.8);
}
.strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip__inner div {
  padding: 26px 20px;
  border-right: 1px solid rgba(255,255,255,.25);
}
.strip__inner div:last-child { border-right: 0; }
.strip span {
  display: block;
  font-family: var(--font-type);
  font-size: 14px;
}
.strip strong {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 22px;
  text-transform: uppercase;
}

/* ---------- Sezioni ---------- */
.section { padding: 120px 0; position: relative; }
.section__head { text-align: center; margin-bottom: 56px; }

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.about__media {
  position: relative;
}
.about__media::after {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid var(--red);
  z-index: -1;
}
.about__media img { width: 100%; filter: contrast(1.05); }
.numbered {
  list-style: none;
  padding: 0;
  margin: 32px 0;
}
.numbered li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.numbered li:first-child { border-top: 1px solid var(--line); }
.numbered__n {
  font-family: var(--font-type);
  font-size: 44px;
  color: var(--red);
  line-height: 1;
}
.numbered p { margin: 0; }
.about__question {
  font-family: var(--font-head);
  text-transform: uppercase;
  color: var(--red);
  font-size: 24px;
  letter-spacing: .03em;
  margin: 0;
}

/* Fazioni */
.factions { background: var(--bg-2); }
.factions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.faction {
  --cut: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 1px;                       /* il fondo del box fa da bordo */
  background: rgba(255,255,255,.1);
  clip-path: var(--chamfer);
  transition: transform .3s, background .3s;
}
.faction::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  z-index: 2;
  width: 100%; height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.faction:hover { transform: translateY(-6px); background: rgba(236,63,58,.75); }
.faction:hover::before { transform: scaleX(1); }
.faction__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e9e6e1;
  clip-path: polygon(calc(var(--cut) - .5px) 0, 100% 0, 100% 100%, 0 100%, 0 calc(var(--cut) - .5px));
}
.faction__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.faction:hover .faction__media img { transform: scale(1.05); }
.faction__body {
  position: relative;
  flex: 1;
  padding: 26px 24px 30px;
  background: var(--bg-3);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut) + .5px), calc(100% - var(--cut) + .5px) 100%, 0 100%);
}
.faction__n {
  position: absolute;
  right: 14px; top: 6px;
  font-family: var(--font-head);
  font-size: 64px;
  color: rgba(255,255,255,.05);
  line-height: 1;
}
.faction h3 { font-size: 26px; margin-bottom: 4px; position: relative; }
.faction__sub {
  margin: 0 0 12px;
  font-family: var(--font-type);
  color: var(--red);
  font-size: 14px;
  line-height: 1.4;
}
.faction__text { margin: 0; font-size: 15px; line-height: 1.6; }

/* Scheda */
.sheet { overflow: hidden; }
.sheet__digits {
  position: absolute;
  z-index: 1;
  left: -2%; bottom: 6%; width: 38%;
  font-family: var(--font-type);
  color: var(--red);
  opacity: .12;
  font-size: 46px;
  letter-spacing: .3em;
  line-height: 1.2;
  pointer-events: none;
  user-select: none;
}
.sheet__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.alert {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 32px;
  padding: 20px 24px;
  border-left: 3px solid var(--red);
  background: var(--bg-2);
}
.alert__icon {
  flex: none;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-family: var(--font-head);
  font-size: 22px;
}
.alert p { margin: 0; }
.sheet__list {
  margin: 0;
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.sheet__list div {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sheet__list dt {
  font-family: var(--font-type);
  color: var(--red);
  font-size: 14px;
}
.sheet__list dd {
  margin: 4px 0 0;
  font-family: var(--font-head);
  color: var(--white);
  text-transform: uppercase;
  font-size: 22px;
}

/* Costi */
.costs { background: var(--bg-2); }
.costs__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
}
.price {
  text-align: center;
  padding: 56px 40px;
  background: var(--bg-3);
  border: 1px solid var(--red);
}
.price__label {
  display: block;
  font-family: var(--font-type);
  color: var(--red);
}
.price__value {
  display: block;
  font-family: var(--font-head);
  color: var(--white);
  font-size: 96px;
  line-height: 1.1;
}
.price__per {
  display: block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
}
.price__note { margin: 24px 0 32px; }
.docs { display: flex; flex-direction: column; gap: 20px; }
.doc {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 28px;
  background: var(--bg-3);
  border: 1px solid var(--line);
}
.doc__icon {
  flex: none;
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--white);
  font-size: 28px;
}
.doc h3 { margin: 0; }
.doc p { margin: 0; font-family: var(--font-type); color: var(--red); }
.docs__note { margin: 4px 0 0; font-style: italic; }

/* Dove */
.where__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: center;
}
.where__addr { font-size: 18px; margin-bottom: 32px; }
.where__map {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
}
.where__map iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(1) invert(.92) contrast(.9);
}

/* Organizzatore */
.org { background: var(--bg-2); }
.org__main {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
}
.org__logo {
  --cut: 26px;
  padding: 2px;
  background: var(--red);
  clip-path: var(--chamfer);
}
.org__logo img {
  width: 100%;
  clip-path: polygon(calc(var(--cut) - 1px) 0, 100% 0, 100% calc(100% - var(--cut) + 1px), calc(100% - var(--cut) + 1px) 100%, 0 100%, 0 calc(var(--cut) - 1px));
}
.partners {
  margin-top: 96px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.partners__title {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--white);
  margin: 0 0 32px;
}
.partners__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 56px;
}
.partners__row img {
  height: 120px;
  width: auto;
  object-fit: contain;
  opacity: .85;
  transition: transform .3s, opacity .3s;
}
.partners__row img:hover { opacity: 1; transform: scale(1.04); }
.partners__row .partners__is { height: 36px; }

/* CTA */
.cta {
  position: relative;
  padding: 96px 0;
  background:
    linear-gradient(rgba(236,63,58,.88), rgba(150,25,22,.94)),
    url("assets/foto/operatori-controluce.jpg") center/cover;
  color: rgba(255,255,255,.9);
}
.cta .kicker { color: var(--white); opacity: .85; }
.cta__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta__inner p { margin: 0; font-size: 18px; }
.cta__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
  align-items: center;
}
.cta__badges img { height: 52px; width: auto; display: block; }
/* il PNG di Google Play ha margini trasparenti sopra e sotto (il riquadro nero
   è circa il 75% dell'altezza): lo si ingrandisce e si recuperano i margini,
   così il riquadro visibile è alto 52px come quello di App Store */
.cta__badges img[src*="google-play"] { height: 69px; margin: -8.5px 0; }
.cta__web {
  flex-basis: 100%;
  text-align: right;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--white);
}
.cta__web:hover { color: var(--bg); }

/* Footer */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__logo { height: 26px; width: auto; }
.footer p { margin: 0; }
.footer nav { margin-left: auto; display: flex; gap: 24px; }


/* ---------- Fascia "Survival game" (foto fissa, effetto finestra) ---------- */
.band {
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  text-align: center;
}
.band__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: grayscale(.4) contrast(1.1) brightness(.55);
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--bg) 0%, transparent 25%, transparent 75%, var(--bg) 100%),
    radial-gradient(ellipse at center, rgba(236,63,58,.18), transparent 70%);
}
.band__inner { position: relative; z-index: 1; }
.band__title {
  margin: 0 auto 16px;
  max-width: 820px;
  font-family: var(--font-head);
  text-transform: uppercase;
  color: var(--white);
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.05;
  text-shadow: 0 4px 30px rgba(0,0,0,.8);
}
.band__text {
  max-width: 560px;
  margin: 0 auto;
  font-size: 19px;
  color: #e2e2e2;
}
@media (hover: none) { .band__bg { background-attachment: scroll; } }

/* ---------- Scheda: foto d'azione sfumata a destra ---------- */
.sheet__photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 55%;
  background-size: cover;
  background-position: center;
  opacity: .28;
  -webkit-mask-image: linear-gradient(to left, #000 30%, transparent);
          mask-image: linear-gradient(to left, #000 30%, transparent);
  pointer-events: none;
}

/* ---------- Il campo: galleria ---------- */
.campo__intro { max-width: 620px; margin: 0 auto; }
.campo__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 14px;
}
.campo__item {
  --cut: 16px;
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--bg-3);
  clip-path: var(--chamfer);
}
.campo__item img,
.campo__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.8) contrast(1.05);
  transition: transform .6s, filter .4s;
}
a.campo__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,10,8,.55), transparent 50%);
  transition: opacity .3s;
}
a.campo__item:hover img { transform: scale(1.06); filter: saturate(1) contrast(1.1); }
a.campo__item:hover::after { opacity: .3; }
.campo__item--video { grid-column: span 2; grid-row: span 2; }
.campo__item--tall { grid-row: span 2; }
.campo__item--wide { grid-column: span 2; }
.campo__item figcaption {
  position: absolute;
  left: 18px; bottom: 14px;
  font-family: var(--font-type);
  color: var(--white);
  font-size: 14px;
  text-shadow: 0 1px 6px #000;
}
.campo__item figcaption::before {
  content: "● REC  ";
  color: var(--red);
  animation: rec 1.4s steps(1) infinite;
}
@keyframes rec { 50% { opacity: .2; } }

.lightbox {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: 92vw;
  max-height: 90vh;
}
.lightbox::backdrop { background: rgba(5,4,3,.92); }
.lightbox img { max-width: 92vw; max-height: 90vh; display: block; }
.lightbox__close {
  position: fixed;
  top: 16px; right: 20px;
  width: 44px; height: 44px;
  font-size: 32px;
  line-height: 1;
  color: var(--white);
  background: var(--red);
  border: 0;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
@media (max-width: 860px), (pointer: coarse) {
  .hero .hero__scroll { display: none !important; }
}
@media (max-width: 860px) {
  .campo__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .sheet__photo { width: 100%; opacity: .15; }
  .band { padding: 100px 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .factions__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .sheet__grid, .where__grid, .costs__grid, .cta__inner { grid-template-columns: 1fr; gap: 48px; }
  .cta__badges { justify-content: flex-start; }
  .cta__web { text-align: left; }
  .about__media { max-width: 480px; }
}

@media (max-width: 860px) {
  .header__burger { display: block; margin-left: auto; }
  .header .btn--sm { display: none; }
  .header__nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .header__nav.is-open { display: flex; }
  .header__nav a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .strip__inner div:nth-child(2) { border-right: 0; }
  .strip__inner div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.25); }
  .org__main { grid-template-columns: 1fr; }
  .org__logo { max-width: 260px; }
}

@media (max-width: 560px) {
  .section { padding: 80px 0; }
  .topbar__inner { gap: 12px; font-size: 12px; }
  .topbar__long { display: none; }
  .topbar__short { display: inline; }
  .hero { min-height: 640px; }
  .hero__layer { background-position: center 30%; }
  .hero__layer--title { padding: 0 16px calc(60px + 235px); }
  .hero__title { white-space: normal; font-size: 46px; }
  .hero__br { display: inline; }
  .hero .kicker { font-size: 13px; }
  .hero__bar { gap: 20px; }
  .hero__actions { gap: 12px; flex-wrap: nowrap; }
  .hero__actions .btn { padding: 13px 12px; font-size: 11px; letter-spacing: .08em; gap: 8px; }
  .hero__content { padding-bottom: 60px; }
  .topbar__social a:first-child { display: none; }
  .sheet__list { grid-template-columns: 1fr; }
  .factions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .faction { --cut: 14px; }
  .faction__body { padding: 14px 12px 16px; }
  .faction h3 { font-size: 17px; overflow-wrap: anywhere; }
  .faction__sub { font-size: 11px; margin-bottom: 8px; }
  .faction__text { font-size: 13px; line-height: 1.5; }
  .faction__n { font-size: 40px; right: 8px; }
  .countdown div { min-width: 70px; padding: 0 8px; }
  .countdown strong { font-size: 42px; }
  .countdown div + div::before { font-size: 32px; left: -5px; }
  .partners__row { gap: 32px; }
  .partners__row img { height: 84px; }
  .footer nav { margin-left: 0; }
}
