/* =========================================================================
   Green Steel Vision 2026 — Stylesheet v3
   Palette campionata dal banner ufficiale (teal + lime).
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Colors — campionati dal banner SVG26 */
  --c-teal: #266F73;          /* Teal scuro brand (sfondo dominante del banner) */
  --c-teal-light: #3B848A;    /* Teal più chiaro (banda alta del banner) */
  --c-teal-dark: #1B555A;     /* Teal molto scuro */
  --c-lime: #C2D843;          /* Lime accent (STEEL block + titolo banner) */
  --c-lime-dark: #A8BC34;     /* Lime hover */
  --c-dark: #1A2024;          /* Slate near-black (banda VISION) */
  --c-dark-soft: #232C32;     /* Slate softer */

  --c-white: #FFFFFF;
  --c-cloud: #F4F7F6;         /* Background sezioni alt — leggera dominante teal */
  --c-mist: #E0E6E5;          /* Bordi/divisori */
  --c-cement: #94A3B8;        /* Testo secondario */
  --c-graphite: #475569;      /* Body alt */
  --c-amber: #F59E0B;

  /* Typography */
  --ff-display: 'Inter Tight', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Spacing — 4px grid */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* Layout */
  --container: 1180px;
  --container-narrow: 760px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.08), 0 4px 8px rgba(15, 23, 42, 0.04);
  --shadow-teal: 0 8px 24px rgba(38, 111, 115, 0.25);
  --shadow-lime: 0 8px 24px rgba(194, 216, 67, 0.35);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-dark);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-teal); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-teal-dark); }
ul { padding-left: 1.25rem; margin: 0 0 var(--s-4); }
ul li { margin-bottom: var(--s-2); }
p { margin: 0 0 var(--s-4); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--c-dark);
  margin: 0 0 var(--s-4);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.375rem, 2vw, 1.625rem); }
h4 {
  font-size: 1.125rem;
  font-weight: 600;
  font-family: var(--ff-body);
  letter-spacing: -0.01em;
}
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-teal);
  display: inline-block;
  margin-bottom: var(--s-3);
}
.lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--c-graphite);
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}
.container--narrow { max-width: var(--container-narrow); }
.section { padding: var(--s-9) 0; }
.section--sm { padding: var(--s-7) 0; }
.section--alt { background: var(--c-cloud); }
.section--dark { background: var(--c-dark); color: var(--c-white); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--c-white); }
.section--dark p { color: rgba(255, 255, 255, 0.78); }
.section--dark .eyebrow { color: var(--c-lime); }
.text-center { text-align: center; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-mist);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-3) 0;
  min-height: 72px;
}
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 48px;
}
.nav__logo img {
  height: 100%;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}
.nav__menu {
  display: flex;
  gap: var(--s-6);
  list-style: none;
  margin: 0; padding: 0;
  flex-grow: 1;
  justify-content: center;
}
.nav__menu li { margin: 0; }
.nav__menu a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--c-dark);
  position: relative;
  padding: var(--s-2) 0;
}
.nav__menu a:hover, .nav__menu a.is-active { color: var(--c-teal); }
.nav__menu a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 3px; background: var(--c-lime); border-radius: 2px;
}
.nav__lang { flex-shrink: 0; display: flex; align-items: center; }

/* Language switcher — custom dropdown animato */
.lang-switch {
  position: relative;
}
.lang-switch__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--c-dark);
  background: var(--c-white);
  border: 1px solid var(--c-mist);
  border-radius: 100px;
  padding: 7px 10px 7px 14px;
  cursor: pointer;
  transition: all .2s ease;
}
.lang-switch__button:hover,
.lang-switch__button[aria-expanded="true"] {
  border-color: var(--c-teal);
  color: var(--c-teal);
  background: var(--c-cloud);
}
.lang-switch__button::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-lime);
  margin-right: 4px;
  box-shadow: 0 0 0 2px rgba(194, 216, 67, 0.3);
}
.lang-switch__arrow {
  width: 10px; height: 10px;
  transition: transform .25s ease;
}
.lang-switch__button[aria-expanded="true"] .lang-switch__arrow {
  transform: rotate(180deg);
}
.lang-switch__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  background: var(--c-white);
  border: 1px solid var(--c-mist);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  list-style: none;
  margin: 0;
  padding: 6px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: opacity .22s ease, transform .22s cubic-bezier(.16,1,.3,1), visibility 0s .22s;
}
.lang-switch__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}
.lang-switch__menu li { margin: 0; }
.lang-switch__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-dark);
  transition: background .18s ease;
}
.lang-switch__menu a:hover {
  background: var(--c-cloud);
  color: var(--c-teal);
}
.lang-switch__menu a.is-current {
  background: var(--c-teal);
  color: var(--c-white);
  font-weight: 600;
  cursor: default;
}
.lang-switch__menu a.is-current:hover {
  background: var(--c-teal);
  color: var(--c-white);
}
.lang-switch__code {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.6;
}
.lang-switch__menu a.is-current .lang-switch__code { opacity: 1; }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 0; color: var(--c-dark);
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.nav__toggle svg { width: 24px; height: 24px; display: block; }
.nav__toggle svg line {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  transform-origin: center;
  transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .25s ease;
}
.nav__toggle[aria-expanded="true"] svg line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] svg line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle[aria-expanded="true"] svg line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  font-family: var(--ff-body);
  font-weight: 600; font-size: 0.9375rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
/* Primary = teal — colore brand, solido, autorevole */
.btn--primary {
  background: var(--c-teal);
  color: var(--c-white);
  box-shadow: var(--shadow-teal);
}
.btn--primary:hover {
  background: var(--c-teal-dark);
  color: var(--c-white);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(38, 111, 115, 0.32);
}
/* Accent = lime — alta visibilità, per CTA "energetiche" */
.btn--accent {
  background: var(--c-lime);
  color: var(--c-dark);
  box-shadow: var(--shadow-lime);
}
.btn--accent:hover {
  background: var(--c-lime-dark);
  color: var(--c-dark);
  transform: translateY(-1px);
}
.btn--secondary {
  background: transparent;
  color: var(--c-teal);
  border-color: var(--c-teal);
}
.btn--secondary:hover {
  background: var(--c-teal);
  color: var(--c-white);
}
.btn--light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}
.btn--light:hover {
  background: var(--c-white);
  color: var(--c-teal-dark);
  border-color: var(--c-white);
}

/* ---------- Hero ---------- */
/* IMPORTANT: il banner viene mostrato INTERO senza crop, su qualunque viewport */
.hero {
  position: relative;
  background: var(--c-teal);
}
.hero__banner {
  width: 100%;
  height: auto;
  display: block;
  /* nessun object-fit, nessun max-height: l'immagine si scala mantenendo l'aspect */
}
.hero__intro {
  background: var(--c-cloud);
  padding: var(--s-7) 0;
  border-bottom: 1px solid var(--c-mist);
}
.hero__intro p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-graphite);
  margin: 0 0 var(--s-5);
  max-width: 760px;
}
.hero__actions {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  align-items: center;
}

/* Hero variant: text-only (pages senza banner — programma, partner, contatti, pacchetti) */
.hero--text {
  background: var(--c-dark);
  color: var(--c-white);
  padding: var(--s-9) 0;
  position: relative;
  overflow: hidden;
}
.hero--text::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 350px at 20% 0%, rgba(194, 216, 67, 0.08), transparent 60%),
    radial-gradient(ellipse 600px 300px at 90% 100%, rgba(38, 111, 115, 0.35), transparent 60%);
  pointer-events: none;
}
.hero--text .container { position: relative; z-index: 2; }
.hero--text .hero__inner { max-width: 720px; }
.hero--text h1 { color: var(--c-white); margin-bottom: var(--s-4); letter-spacing: -0.025em; }
.hero--text p {
  font-size: 1.125rem; line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--s-6);
  max-width: 680px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--c-white);
  border: 1px solid var(--c-mist);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(38, 111, 115, 0.1), rgba(194, 216, 67, 0.18));
  color: var(--c-teal-dark);
  border-radius: var(--radius);
  margin-bottom: var(--s-4);
  font-size: 1.375rem;
}
.card__badge {
  position: absolute; top: -10px; right: var(--s-5);
  background: var(--c-lime);
  color: var(--c-dark);
  font-size: 0.6875rem; font-weight: 700;
  padding: 5px 12px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(194, 216, 67, 0.4);
}
.card--featured {
  border-color: var(--c-teal);
  border-width: 2px;
  background: linear-gradient(180deg, var(--c-white) 0%, rgba(38, 111, 115, 0.03) 100%);
}
.card h3 { margin-bottom: var(--s-3); }
.card ul { padding-left: 0; list-style: none; margin: var(--s-4) 0; flex-grow: 1; }
.card ul li {
  position: relative;
  padding-left: var(--s-5);
  margin-bottom: var(--s-3);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--c-graphite);
}
.card ul li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-teal);
}
.card--featured ul li::before { background: var(--c-lime); }
.card .btn { align-self: flex-start; margin-top: var(--s-3); }

/* Grids */
.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s-6); }

/* ---------- Speaker card ---------- */
.speakers { display: grid; gap: var(--s-5); }
.speaker {
  background: var(--c-white);
  border: 1px solid var(--c-mist);
  border-left: 4px solid var(--c-teal);
  padding: var(--s-6) var(--s-7);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  transition: box-shadow .3s ease, transform .3s ease;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--s-6);
  align-items: center;
}
.speaker:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(2px);
  border-left-color: var(--c-lime);
}

/* Foto / placeholder dentro esagono regolare orizzontale (coerente
   con le social card). Lati piatti in alto/basso → la testa nella
   foto non viene tagliata; il ritaglio cade ad altezza spalle.
   Dimensioni contenute per non sovrastare la card. */
.speaker__photo {
  width: 180px;
  height: 156px;
  background: var(--c-lime);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.speaker__photo img {
  position: absolute;
  inset: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  max-width: calc(100% - 10px);
  max-height: calc(100% - 10px);
  object-fit: cover;
  object-position: center top;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  display: block;
}
/* Safety net: se per qualche motivo il CSS non si applica all'img
   (vecchia cache, browser che non supporta clip-path, ecc.), l'img
   resta comunque contenuta nei limiti della card. */
.speaker img { max-width: 100%; height: auto; }
.speaker__photo--initials {
  background: var(--c-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.speaker__photo--initials span {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 3.5rem;
  color: var(--c-white);
  letter-spacing: -0.04em;
  line-height: 1;
}

.speaker__body { min-width: 0; }
.speaker .eyebrow { margin-bottom: var(--s-3); }
.speaker__name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--c-dark);
  margin: 0 0 var(--s-1);
  letter-spacing: -0.015em;
}
.speaker__org {
  color: var(--c-graphite);
  font-size: 0.9375rem;
  margin: 0 0 var(--s-3);
  font-weight: 500;
}
.speaker__topic {
  font-weight: 600;
  color: var(--c-teal-dark);
  margin: 0 0 var(--s-3);
  font-size: 0.9375rem;
}
.speaker p:last-child { margin-bottom: 0; }

/* ---------- Event meta strip (data, ora, luogo dal banner) ---------- */
.event-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--s-5);
  padding: var(--s-5);
  background: var(--c-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-mist);
  box-shadow: var(--shadow-sm);
}
.event-meta__item {
  display: flex; align-items: flex-start; gap: var(--s-3);
}
.event-meta__icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(194, 216, 67, 0.15);
  color: var(--c-teal-dark);
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 1.125rem;
}
.event-meta__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-cement);
  margin: 0 0 2px;
}
.event-meta__value {
  font-weight: 600;
  color: var(--c-dark);
  font-size: 0.9375rem;
  line-height: 1.4;
  margin: 0;
}

/* ---------- Programma timeline (orari come pill ben visibili) ---------- */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-teal) 0%, var(--c-lime) 50%, var(--c-mist) 100%);
  z-index: 0;
}
.timeline li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--s-5);
  padding: var(--s-3) 0;
  align-items: center;
  position: relative;
}
.timeline__time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-teal);
  color: var(--c-white);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: 100px;
  width: 92px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}
.timeline li.is-break .timeline__time {
  background: var(--c-cloud);
  color: var(--c-graphite);
  border: 1px solid var(--c-mist);
}
.timeline li.is-highlight .timeline__time {
  background: var(--c-lime);
  color: var(--c-dark);
}
.timeline__event {
  font-size: 1.0625rem;
  color: var(--c-dark);
  line-height: 1.5;
}
.timeline__event strong { color: var(--c-dark); font-weight: 600; }
.timeline__event small {
  display: block;
  font-size: 0.875rem;
  color: var(--c-graphite);
  margin-top: 2px;
}

/* ---------- Partner marquee (carosello auto-scroll) ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.marquee__track {
  display: flex;
  gap: var(--s-5);
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  flex-shrink: 0;
  width: 200px;
}
.marquee__item .logo-card {
  width: 100%;
  aspect-ratio: 5 / 3;
  margin: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - var(--s-5) / 2)); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------- Manifesto image section (industrial bg) ---------- */
.manifesto {
  position: relative;
  padding: var(--s-10) 0;
  color: var(--c-white);
  background:
    linear-gradient(135deg, rgba(26, 32, 36, 0.88) 0%, rgba(38, 111, 115, 0.78) 100%),
    url('../images/backgrounds/industrial-hot.webp') center / cover no-repeat;
  background-attachment: scroll;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 800px 400px at 20% 50%, rgba(194, 216, 67, 0.12), transparent 60%);
  pointer-events: none;
}
.manifesto .container { position: relative; z-index: 2; }
.manifesto__inner { max-width: 720px; }
.manifesto .eyebrow { color: var(--c-lime); }
.manifesto h2 {
  color: var(--c-white);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-5);
}
.manifesto h2 em {
  font-style: normal;
  color: var(--c-lime);
  font-weight: 700;
}
.manifesto p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin-bottom: var(--s-6);
  max-width: 620px;
}

/* ---------- Stats row ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s-4);
}
.stat {
  text-align: left;
  padding: var(--s-5);
  background: var(--c-white);
  border: 1px solid var(--c-mist);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--c-lime);
  transition: transform .25s ease, box-shadow .25s ease;
}
.stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.stat__value {
  display: block;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--c-teal);
  line-height: 1;
  margin-bottom: var(--s-2);
  letter-spacing: -0.025em;
}
.stat__label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-graphite);
  line-height: 1.4;
}

/* ---------- Partner logo grid ---------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--s-4);
  margin: var(--s-5) 0 0;
}
.logo-grid--lg {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.logo-card {
  background: var(--c-white);
  border: 1px solid var(--c-mist);
  border-radius: var(--radius);
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-4);
  transition: all .25s ease;
  overflow: hidden;
}
.logo-card:hover {
  border-color: var(--c-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.logo-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(15%);
  opacity: 0.92;
  transition: all .3s ease;
}
.logo-card:hover img { filter: grayscale(0); opacity: 1; }
.logo-card a {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}

.partner-tier { margin-bottom: var(--s-8); }
.partner-tier:last-child { margin-bottom: 0; }
.partner-tier__header {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--c-mist);
}
.partner-tier__header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--c-dark);
}

/* Partner strip on home */
.partner-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--s-4);
  align-items: center;
}
.partner-strip .logo-card { aspect-ratio: 5 / 3; padding: var(--s-3); }

/* ---------- Form ---------- */
.form { max-width: 560px; }
.form__group { margin-bottom: var(--s-4); }
.form__label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: var(--s-2);
  color: var(--c-dark);
}
.form__input, .form__select, .form__textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--c-dark);
  background: var(--c-white);
  border: 1px solid var(--c-mist);
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--c-teal);
  box-shadow: 0 0 0 4px rgba(38, 111, 115, 0.12);
}
.form__select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' stroke='%23475569' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form__textarea { min-height: 140px; resize: vertical; }
.form__hint { font-size: 0.8125rem; color: var(--c-cement); margin-top: var(--s-3); }

/* Griglia checkbox per scelta multipla tavoli tematici (landing privata) */
.form__checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-3);
  margin-top: var(--s-2);
}
.form__check {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  background: var(--c-white);
  border: 1px solid var(--c-mist);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .2s;
}
.form__check:hover { border-color: var(--c-teal); }
.form__check:has(input:checked) {
  border-color: var(--c-teal);
  background: rgba(38, 111, 115, 0.05);
  box-shadow: 0 0 0 1px var(--c-teal);
}
.form__check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: var(--c-teal);
  margin: 1px 0 0;
  cursor: pointer;
}
.form__check__label { font-size: 0.9375rem; line-height: 1.35; color: var(--c-dark); }
.form__check__label strong {
  display: block;
  font-weight: 700;
  color: var(--c-teal-dark);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

/* Wider form for the iscrizione landing (più campi) */
.form--wide { max-width: 760px; }

/* ---------- Info utili landing ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--s-5);
}
.info-card {
  background: var(--c-white);
  border: 1px solid var(--c-mist);
  border-left: 4px solid var(--c-teal);
  padding: var(--s-6);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.info-card__head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}
.info-card__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(38, 111, 115, 0.10);
  border-radius: 50%;
  font-size: 1.4rem;
}
.info-card h3 {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--c-dark);
}
.info-card p { margin: 0 0 var(--s-2); color: var(--c-graphite); font-size: 0.9375rem; line-height: 1.5; }
.info-card p:last-child { margin-bottom: 0; }
.info-card strong { color: var(--c-dark); font-weight: 600; }
.info-card a { color: var(--c-teal); text-decoration: underline; }
/* I bottoni dentro le card NON devono ereditare lo stile dei link */
.info-card a.btn { text-decoration: none; }
.info-card a.btn--primary { color: var(--c-white); }
.info-card a.btn--primary:hover { color: var(--c-white); }
.info-card a.btn--secondary { color: var(--c-teal); }

/* Shortcut cards in cima alle pagine info (anchor a sezioni) */
.info-shortcuts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-3);
  margin: 0 0 var(--s-7);
}
.info-shortcut {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4);
  background: var(--c-white);
  border: 1px solid var(--c-mist);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all .2s;
}
.info-shortcut:hover {
  border-color: var(--c-teal);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.info-shortcut__icon {
  width: 40px; height: 40px;
  background: rgba(38,111,115,0.10);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.info-shortcut__text {
  display: flex; flex-direction: column; gap: 2px;
}
.info-shortcut__num {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-teal);
  font-weight: 700;
}
.info-shortcut__label {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--c-dark);
}
.info-card ul, .info-card ol { margin: var(--s-2) 0 0 var(--s-5); color: var(--c-graphite); font-size: 0.9375rem; line-height: 1.55; }
.info-card li { margin-bottom: 4px; }
.info-card .btn { margin-top: var(--s-3); }
.info-card__highlight {
  display: inline-block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--c-teal-dark);
  background: var(--c-lime);
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  margin: var(--s-2) 0;
}

.info-alert {
  background: rgba(245, 158, 11, 0.08);
  border-left: 4px solid var(--c-amber, #F59E0B);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--c-dark);
  margin-top: var(--s-3);
  line-height: 1.5;
}
.info-alert::before {
  content: "⚠";
  display: inline-block;
  margin-right: 8px;
  color: #B45309;
}

.info-map {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--c-mist);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--s-4);
}
.info-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.info-card--wide { grid-column: 1 / -1; }

/* Consent checkbox row */
.form__consent {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  margin: var(--s-4) 0;
  font-size: 0.875rem;
  color: var(--c-graphite);
  line-height: 1.45;
}
.form__consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--c-teal); flex-shrink: 0; }
.form__consent a { color: var(--c-teal); }

/* Contatti layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-8);
  align-items: start;
}
.contact-info ul { list-style: none; padding: 0; font-size: 1rem; margin: var(--s-4) 0 0; }
.contact-info li {
  display: flex; align-items: center; gap: var(--s-3);
  margin-bottom: var(--s-3);
  padding: var(--s-3) var(--s-4);
  background: var(--c-cloud);
  border-radius: var(--radius);
  transition: all .2s;
}
.contact-info li:hover {
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
}
.contact-info__icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--c-white);
  border-radius: 50%;
  color: var(--c-teal);
  flex-shrink: 0;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}
.contact-info li a { color: var(--c-dark); font-weight: 500; }
.contact-info li a:hover { color: var(--c-teal); }
.contact-info__org {
  margin-top: var(--s-6);
  padding: var(--s-5);
  background: var(--c-cloud);
  border-radius: var(--radius);
}
.contact-info__org h4 { margin-top: 0; margin-bottom: var(--s-3); }
.contact-info__org p { color: var(--c-graphite); margin: 0; font-size: 0.9375rem; line-height: 1.6; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--s-8) 0 var(--s-5);
}
.site-footer h4 {
  color: var(--c-white);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--s-4);
}
.site-footer a { color: rgba(255, 255, 255, 0.7); transition: color .2s; }
.site-footer a:hover { color: var(--c-lime); }
.site-footer p { color: rgba(255, 255, 255, 0.6); font-size: 0.875rem; line-height: 1.6; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-7);
}
.footer__logo {
  /* container fisso per il logo, evita stretch */
  max-width: 280px;
}
.footer__logo img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  margin-bottom: var(--s-4);
  object-fit: contain;
  /* Inverte i colori del logo per renderlo visibile su sfondo scuro */
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer__nav, .footer__contact { list-style: none; padding: 0; margin: 0; }
.footer__nav li, .footer__contact li { margin-bottom: var(--s-2); }
.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--s-5);
  font-size: 0.8125rem;
  color: var(--c-cement);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
}

/* ---------- Vision / About ---------- */
.vision-block {
  text-align: center;
  padding: var(--s-7) 0;
}
.vision-block h2 { max-width: 720px; margin-left: auto; margin-right: auto; }
.vision-block p { max-width: 640px; margin-left: auto; margin-right: auto; }

.cta-block {
  background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-teal-dark) 100%);
  color: var(--c-white);
  padding: var(--s-8);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(194, 216, 67, 0.18), transparent 50%);
  pointer-events: none;
}
.cta-block h2 { color: var(--c-white); margin-bottom: var(--s-3); position: relative; }
.cta-block p { color: rgba(255, 255, 255, 0.85); margin-bottom: var(--s-5); position: relative; }
.cta-block .btn { position: relative; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: var(--s-7); }
}

@media (max-width: 720px) {
  :root {
    --s-9: 64px;
    --s-8: 48px;
  }
  .container { padding: 0 var(--s-5); }

  /* Header refinato per mobile — più aria laterale */
  .site-header { padding: 0 var(--s-2); }
  .nav {
    padding: var(--s-2) 0;
    min-height: 64px;
    gap: var(--s-3);
  }
  .nav__logo { height: 32px; flex: 0 1 auto; max-width: 170px; }
  .nav__logo img { max-width: 170px; }
  .nav__menu { display: none; }
  .nav__menu.is-open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--c-white);
    padding: var(--s-3) var(--s-5) var(--s-5);
    border-bottom: 1px solid var(--c-mist);
    box-shadow: var(--shadow-md);
    justify-content: flex-start;
  }
  .nav__menu.is-open li { padding: var(--s-3) 0; border-bottom: 1px solid var(--c-mist); }
  .nav__menu.is-open li:last-child { border-bottom: 0; }
  .nav__toggle {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    padding: 0;
    border-radius: var(--radius-sm);
    transition: background .2s;
  }
  .nav__toggle:hover, .nav__toggle:active { background: var(--c-cloud); }
  .nav__toggle svg { display: block; }

  /* Lang switcher su mobile: compatto */
  .nav__lang { display: flex; }
  .lang-switch__button { padding: 6px 8px 6px 10px; font-size: 0.75rem; }
  .lang-switch__button::before { width: 6px; height: 6px; margin-right: 2px; }

  /* Hero — banner con crop molto leggero (mantiene quasi tutto il banner originale) */
  .hero__banner {
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: auto;
  }
  .hero__intro { padding: var(--s-5) 0 var(--s-6); }
  .hero__intro p { font-size: 0.9375rem; line-height: 1.55; margin-bottom: var(--s-4); }
  .hero__actions { gap: var(--s-3); width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; padding: 12px 18px; font-size: 0.875rem; }
  .hero--text { padding: var(--s-7) 0; }
  .hero--text p { font-size: 1rem; }

  /* "First-screen" — header + hero + event-meta riempiono 100% dello schermo all'apertura */
  .first-screen {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
  }
  .first-screen .hero { flex: 0 0 auto; }
  .first-screen .section--sm { flex: 1 1 auto; padding: var(--s-5) 0; }
  .first-screen .event-meta {
    padding: var(--s-3);
    gap: var(--s-3);
  }
  .first-screen .event-meta__item { gap: var(--s-2); }
  .first-screen .event-meta__icon {
    width: 32px; height: 32px; font-size: 0.875rem;
  }
  .first-screen .event-meta__label { font-size: 0.6875rem; }
  .first-screen .event-meta__value { font-size: 0.8125rem; line-height: 1.3; }

  .timeline::before { left: 42px; }
  .timeline li { grid-template-columns: 84px 1fr; gap: var(--s-3); }
  .timeline__time { font-size: 0.8125rem; width: 76px; padding: 6px 10px; }
  .timeline__event { font-size: 0.9375rem; }
  .manifesto { padding: var(--s-8) 0; }
  .manifesto h2 { font-size: 1.75rem; }
  .marquee__item { width: 160px; }
  .speaker {
    grid-template-columns: 140px 1fr;
    gap: var(--s-4);
    padding: var(--s-5);
  }
  .speaker__photo { width: 140px; height: 121px; }
  .speaker__photo--initials span { font-size: 2.75rem; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .footer__legal { flex-direction: column; align-items: flex-start; }
  .cta-block { padding: var(--s-6) var(--s-5); }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-strip { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--c-white);
  border-top: 3px solid var(--c-lime);
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
  padding: var(--s-5) 0;
  transform: translateY(100%);
  opacity: 0;
  transition: transform .5s cubic-bezier(.16,1,.3,1) .3s, opacity .4s ease .3s;
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner.is-hiding {
  transform: translateY(100%);
  opacity: 0;
  transition-delay: 0s;
}
.cookie-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-5);
  align-items: center;
}
.cookie-banner__text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--c-graphite);
  margin: 0;
}
.cookie-banner__text strong {
  color: var(--c-dark);
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}
.cookie-banner__text a {
  color: var(--c-teal);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(38, 111, 115, 0.3);
  text-underline-offset: 2px;
}
.cookie-banner__text a:hover {
  text-decoration-color: var(--c-teal);
}
.cookie-banner__actions {
  display: flex;
  gap: var(--s-3);
  flex-shrink: 0;
}
.cookie-banner .btn {
  padding: 10px 22px;
  font-size: 0.875rem;
}

@media (max-width: 720px) {
  .cookie-banner { padding: var(--s-4) 0; }
  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }
  .cookie-banner__actions {
    width: 100%;
  }
  .cookie-banner__actions .btn {
    flex: 1 1 auto;
  }
  .cookie-banner__text { font-size: 0.875rem; }
}

/* ---------- Legal pages (privacy, cookie) ---------- */
.legal-page {
  padding: var(--s-8) 0;
}
.legal-page__content {
  max-width: 760px;
  margin: 0 auto;
}
.legal-page__content h2 {
  margin-top: var(--s-7);
  font-size: 1.5rem;
  padding-bottom: var(--s-3);
  border-bottom: 2px solid var(--c-lime);
  display: inline-block;
}
.legal-page__content h3 {
  margin-top: var(--s-5);
  font-size: 1.125rem;
  color: var(--c-teal-dark);
}
.legal-page__content p,
.legal-page__content ul {
  color: var(--c-graphite);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.legal-page__content ul {
  padding-left: 1.5rem;
}
.legal-page__content ul li {
  margin-bottom: var(--s-2);
}
.legal-page__meta {
  background: var(--c-cloud);
  border-radius: var(--radius);
  padding: var(--s-4) var(--s-5);
  font-size: 0.8125rem;
  color: var(--c-graphite);
  margin-bottom: var(--s-6);
  border-left: 3px solid var(--c-teal);
}
.legal-page__meta strong { color: var(--c-dark); }

/* ---------- Utilities ---------- */
.mb-3 { margin-bottom: var(--s-3); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-6 { margin-bottom: var(--s-6); }
.mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.mt-8 { margin-top: var(--s-8); }
