/* Layout di base ricavato dalla struttura originale (valori di larghezza e breakpoint).
   Colori, font e stile grafico sono volutamente neutri: da personalizzare. */

:root {
  --container: 1199px;
  --bg-alt: #f4f4f6;
  --gap: 2rem;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, sans-serif; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1rem; }

/* Header / footer */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem; }
.brand-logo { height: 40px; width: auto; }

/* Hero */
.hero { position: relative; }
.hero picture { display: block; }
.hero-image { width: 100%; height: auto; object-fit: cover; }
.hero-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  max-width: var(--container); margin: 0 auto; padding: 0 1rem;
}
.hero-inner h1 { max-width: 50%; margin: 0; }

/* Sezioni */
.section { padding: 2.5rem 0; }
.section--alt { background: var(--bg-alt); }

/* Due colonne (flex, senza a capo su desktop) */
.columns { display: flex; flex-wrap: nowrap; gap: var(--gap); }
.column { flex: 1 1 0; min-width: 0; }
.column--center { align-self: center; }

/* Video 16:9 */
.video-embed { position: relative; aspect-ratio: 16 / 9; }
.video-embed video { width: 100%; height: 100%; display: block; object-fit: cover; }

.image--center { margin: 2rem auto; text-align: center; }
.list { padding-left: 1.25rem; }

.legal-bar {
  background: #101e50;
  padding: 1rem;
  margin-top: 2rem;
}
.legal-bar__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--container);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 0;
}
.legal-bar__item {
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}
.legal-bar__item:first-child { border-left: 0; }
.legal-bar__item img { display: block; height: 40px; width: auto; }

.legal-bar__item--text span,
.legal-bar__item--gad span {
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.3;
  text-transform: uppercase;
  text-align: center;
}
.legal-bar__item--gad span {
  font-weight: 700;
  font-size: 0.9rem;
}

/* Mobile: colonne impilate, hero con immagine di sfondo e titolo centrato */
@media (max-width: 781px) {
  .columns { flex-direction: column; }
  .hero-inner { position: static; padding: 1rem; }
  .hero-inner h1 { max-width: none; text-align: center; }
  h2 { text-align: center; }
  .hero-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: 50% 0;
  }
    .legal-bar__item { border-left: 0; padding: 0 0.75rem; }
}