*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg:         #f0f8ff;
      --bg-alt:     #e0f0fb;
      --white:      #ffffff;
      --blue:       #1a6fa8;
      --blue-dark:  #0e4f80;
      --blue-mid:   #2196d3;
      --blue-light: #42b2e8;
      --blue-pale:  #d0e9f8;
      --text:       #0d2a40;
      --text-mid:   #2a5070;
      --text-muted: #5580a0;
      --border:     rgba(26,111,168,0.18);
    }

    html { scroll-behavior: smooth; }
    body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }

    /* ── NAV ── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 200;
      background: rgba(255,255,255,0.93);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 2px 20px rgba(26,111,168,0.08);
    }
    .nav-inner {
      max-width: 1200px; margin: 0 auto;
      padding: 0 5%; height: 68px;
      display: flex; align-items: center; justify-content: space-between;
    }
    .nav-logo {
      text-decoration: none; display: flex; align-items: center;
    }
    .nav-logo img { height: 44px; width: auto; object-fit: contain; }
    .nav-logo-dot { display: none; }
    .nav-links { display: flex; gap: 0.2rem; list-style: none; }
    .nav-links a {
      text-decoration: none; color: var(--text-muted);
      font-size: 0.79rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase;
      padding: 0.45rem 0.95rem; border-radius: 20px;
      transition: color 0.25s, background 0.25s;
    }
    .nav-links a:hover { color: var(--blue); background: var(--blue-pale); }
    /* voce attiva: stessa regola per tutti i link incluso contattaci */
    .nav-links a.active { color: var(--white); background: var(--blue); }
    /* contattaci: uguale agli altri link, nessun bordo */
    .nav-links a.nav-cta { margin-left: 0.4rem; }
    .nav-links a.nav-cta:hover { color: var(--blue); background: var(--blue-pale); }

    .nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
    .nav-burger span { display: block; width: 24px; height: 2px; background: var(--blue-dark); border-radius: 2px; }

    /* ── HERO ── */
    #hero {
      min-height: 100vh; display: flex; align-items: center;
      padding: 8rem 5% 5rem; position: relative; overflow: hidden;
      background: linear-gradient(135deg, #e8f5ff 0%, #f5fbff 50%, #dceefb 100%);
    }
    .hero-inner {
      position: relative; z-index: 1;
      width: 100%; max-width: 1200px; margin: 0 auto;
      display: grid; grid-template-columns: 1fr 1fr;
      align-items: center; gap: 3rem 4rem;
    }
    .hero-blob { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
    .hero-blob-1 { width: 600px; height: 600px; background: rgba(33,150,211,0.14); top: -120px; right: -80px; }
    .hero-blob-2 { width: 400px; height: 400px; background: rgba(26,111,168,0.08); bottom: -60px; left: -60px; }
    .hero-content { position: relative; max-width: 560px; }
    .hero-visual {
      display: flex; align-items: center; justify-content: center;
      animation: fadeUp 0.9s 0.4s both;
    }
    .hero-logo {
      width: min(100%, 420px); height: auto; object-fit: contain;
      background: transparent;
      filter: drop-shadow(0 8px 24px rgba(26,111,168,0.1));
    }
    .hero-tag {
      display: inline-flex; align-items: center; gap: 0.5rem;
      font-size: 0.73rem; letter-spacing: 0.15em; text-transform: uppercase;
      color: var(--blue); border: 1.5px solid rgba(26,111,168,0.3);
      background: rgba(26,111,168,0.06); padding: 0.4rem 1rem; border-radius: 20px;
      margin-bottom: 2rem;
      animation: fadeUp 0.9s 0.2s both;
    }
    .hero-tag::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--blue-mid); }
    .hero-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.8rem, 6vw, 4.8rem); font-weight: 300; line-height: 1.1;
      color: var(--text); margin-bottom: 1.5rem;
      animation: fadeUp 0.9s 0.35s both;
    }
    .hero-title em { font-style: normal; color: var(--blue-mid); }
    .hero-sub {
      font-size: 1rem; line-height: 1.8; color: var(--text-muted);
      max-width: 520px; margin-bottom: 2.5rem;
      animation: fadeUp 0.9s 0.5s both;
    }
    .hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp 0.9s 0.65s both; }
    .btn-primary {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: var(--blue); color: var(--white);
      font-size: 0.83rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase;
      padding: 0.9rem 2rem; text-decoration: none; border-radius: 30px;
      transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
      box-shadow: 0 4px 20px rgba(26,111,168,0.3);
    }
    .btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,111,168,0.4); }
    .btn-secondary {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: transparent; color: var(--blue);
      font-size: 0.83rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase;
      padding: 0.9rem 2rem; text-decoration: none; border-radius: 30px;
      border: 1.5px solid rgba(26,111,168,0.35);
      transition: background 0.3s, transform 0.2s;
    }
    .btn-secondary:hover { background: var(--blue-pale); transform: translateY(-2px); }

    /* ── SEZIONI ── */
    section { padding: 6rem 5%; }
    .section-wrap { max-width: 1200px; margin: 0 auto; }
    .section-label {
      display: inline-flex; align-items: center; gap: 0.6rem;
      font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
      color: var(--blue); margin-bottom: 0.8rem;
    }
    .section-label::before { content:''; width:20px; height:2px; background:var(--blue-mid); display:inline-block; }
    .section-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2rem, 4vw, 3rem); font-weight: 300;
      color: var(--text); line-height: 1.15; margin-bottom: 1.5rem;
    }
    .divider { width:48px; height:3px; border-radius:2px; background: linear-gradient(90deg, var(--blue-mid), var(--blue-pale)); margin-bottom:2.5rem; }

    /* ── CHI SIAMO ── */
    #chi-siamo { background: var(--white); }
    .chi-siamo-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: center; }
    .chi-siamo-text p { color: var(--text-muted); font-size: 0.97rem; line-height: 1.85; margin-bottom: 1rem; }
    .chi-siamo-text p strong { color: var(--text-mid); font-weight: 500; }
    .chi-siamo-stats { display: flex; flex-direction: column; gap: 1.2rem; }
    .stat { background: var(--bg); border: 1px solid var(--border); border-left: 3px solid var(--blue-mid); border-radius: 6px; padding: 1.2rem 1.5rem; }
    .stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; font-weight: 300; color: var(--blue); line-height: 1; }
    .stat-label { font-size: 0.83rem; color: var(--text-muted); margin-top: 0.3rem; }

    /* ── SERVIZI ── */
    #servizi { background: var(--bg-alt); }
    .servizi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; margin-top: 0.5rem; }
    .servizio-card {
      background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 2rem;
      transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
      position: relative; overflow: hidden;
    }
    .servizio-card::after {
      content:''; position:absolute; top:0; left:0; right:0; height:3px;
      background: linear-gradient(90deg, var(--blue-mid), var(--blue-light));
      transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
    }
    .servizio-card:hover { border-color: rgba(26,111,168,0.35); transform: translateY(-5px); box-shadow: 0 12px 32px rgba(26,111,168,0.12); }
    .servizio-card:hover::after { transform: scaleX(1); }
    .servizio-icon { font-size: 1.8rem; margin-bottom: 1rem; }
    .servizio-title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--text); margin-bottom: 0.7rem; }
    .servizio-desc { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; }

    /* ── SEDI ── */
    #sedi { background: var(--white); }
    .sedi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 0.5rem; }
    .sede-card {
      background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
      box-shadow: 0 4px 20px rgba(26,111,168,0.07); transition: box-shadow 0.3s, transform 0.3s;
    }
    .sede-card:hover { box-shadow: 0 10px 36px rgba(26,111,168,0.14); transform: translateY(-3px); }
    .sede-map { width: 100%; height: 220px; border: none; display: block; }
    .sede-info { padding: 1.8rem; }
    .sede-city {
      font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--blue-dark);
      margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem;
    }
    .sede-city::before { content:''; width:10px; height:10px; border-radius:50%; background:var(--blue-mid); flex-shrink:0; }
    .sede-detail { display: flex; align-items: flex-start; gap: 0.8rem; margin-bottom: 0.65rem; font-size: 0.88rem; color: var(--text-muted); }
    .sede-map-link {
      display: inline-block; margin-bottom: 1rem;
      font-size: 0.82rem; font-weight: 500; color: var(--blue);
      text-decoration: none; border-bottom: 1px solid rgba(26,111,168,0.25);
      transition: color 0.2s, border-color 0.2s;
    }
    .sede-map-link:hover { color: var(--blue-dark); border-bottom-color: var(--blue-dark); }

    /* ── GALLERIA ── */
    #galleria { background: var(--bg-alt); }
    .gallery-note { color: var(--blue); font-size: 0.88rem; margin-bottom: 2rem; background: rgba(26,111,168,0.06); border: 1px solid var(--border); border-radius: 6px; padding: 0.8rem 1.2rem; display: inline-block; }
    .gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: 220px 220px; gap: 1rem; }
    .gallery-item { border-radius: 10px; overflow: hidden; background: var(--white); border: 1.5px dashed rgba(26,111,168,0.3); display: flex; align-items: center; justify-content: center; transition: border-color 0.3s; }
    .gallery-item:first-child { grid-row: 1 / 3; }
    .gallery-item:hover { border-color: var(--blue-mid); }
    .gallery-placeholder { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: var(--text-muted); font-size: 0.8rem; text-align: center; padding: 1rem; }
    .gallery-placeholder-icon { font-size: 2.2rem; opacity: 0.35; }

    /* ── CONTATTI ── */
    #contatti { background: var(--white); }
    .contatti-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; }
    .contatti-info p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 2rem; }
    .contact-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; font-size: 0.9rem; color: var(--text-mid); }
    .contact-icon { width:38px; height:38px; border-radius:50%; background:var(--blue-pale); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:0.95rem; flex-shrink:0; }
    .contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .form-group { display: flex; flex-direction: column; gap: 0.4rem; }
    .form-group label { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid); font-weight: 500; }
    .form-group input,
    .form-group textarea,
    .form-group select {
      background-color: var(--bg); border: 1.5px solid var(--border); border-radius: 8px;
      padding: 0.75rem 1rem; color: var(--text);
      font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
      transition: border-color 0.3s, box-shadow 0.3s; outline: none;
      color-scheme: light;
      caret-color: var(--blue-dark);
      cursor: text;
    }
    .form-group select { cursor: pointer; }
    .form-group input::placeholder,
    .form-group textarea::placeholder {
      color: var(--text-muted);
      opacity: 1;
    }
    .form-group input:-webkit-autofill,
    .form-group input:-webkit-autofill:hover,
    .form-group input:-webkit-autofill:focus {
      -webkit-text-fill-color: var(--text);
      -webkit-box-shadow: 0 0 0 1000px var(--bg) inset;
      caret-color: var(--blue-dark);
      transition: background-color 5000s ease-in-out 0s;
    }
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus { border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(33,150,211,0.12); }
    .form-group textarea { resize: vertical; min-height: 120px; }
    .submit-btn {
      background: var(--blue); color: var(--white); border: none; border-radius: 30px;
      padding: 0.95rem 2.2rem; font-family: 'DM Sans', sans-serif;
      font-size: 0.83rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase;
      cursor: pointer; align-self: flex-start;
      transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
      box-shadow: 0 4px 16px rgba(26,111,168,0.25);
    }
    .submit-btn:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,111,168,0.35); }

    /* ── FOOTER ── */
    footer { background: var(--text); padding: 2.5rem 5%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
    .footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--blue-light); }
    .footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
    .footer-links { display: flex; gap: 1.5rem; }
    .footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.3s; }
    .footer-links a:hover { color: var(--blue-light); }

    /* ── ANIMAZIONI ── */
    @keyframes fadeUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:none; } }

    /* Reveal: visibili di default, animazione come miglioramento progressivo */
    .reveal { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }
    .animate-ready .reveal { opacity: 0; transform: translateY(28px); }
    .animate-ready .reveal.visible { opacity: 1; transform: none; }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      .nav-links { display: none; }
      .nav-links.open {
        display: flex; flex-direction: column; gap: 0;
        position: fixed; top: 68px; left: 0; right: 0;
        background: var(--white); border-bottom: 1px solid var(--border);
        padding: 1rem 5%; box-shadow: 0 8px 24px rgba(26,111,168,0.1);
      }
      .nav-links.open a { padding: 0.75rem 0.5rem; border-radius: 0; border: none; margin: 0; }
      .nav-burger { display: flex; }
      .chi-siamo-grid, .sedi-grid, .contatti-grid { grid-template-columns: 1fr; gap: 2.5rem; }
      .form-row { grid-template-columns: 1fr; }
      .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
      .gallery-item:first-child { grid-row: auto; }
      .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
      .hero-content { max-width: none; margin: 0 auto; }
      .hero-sub { margin-left: auto; margin-right: auto; }
      .hero-buttons { justify-content: center; }
      .hero-logo { width: min(78vw, 300px); }
    }

/* ── TEAM ── */
#equipe { background: var(--white); }
.team-section { margin-top: 0; }
.team-section .section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.5rem; }
.team-intro { color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 2rem; max-width: 640px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.5rem 1.2rem;
}
.team-card {
  background: transparent; border: none; padding: 0; cursor: pointer;
  text-align: center; font-family: inherit; color: inherit;
  transition: transform 0.25s;
}
.team-card:hover { transform: translateY(-4px); }
.team-card:focus-visible { outline: 2px solid var(--blue-mid); outline-offset: 4px; border-radius: 12px; }
.team-photo {
  width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 0.85rem;
  background: linear-gradient(145deg, var(--blue-pale), var(--white));
  border: 2px solid var(--border);
  position: relative; overflow: hidden;
}
.team-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.team-photo-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.75rem; color: var(--blue);
  font-weight: 500;
}
.team-name {
  font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--text);
  line-height: 1.25; margin-bottom: 0.25rem;
}
.team-role { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; }

/* ── MODAL TEAM ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(13, 42, 64, 0.55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal-dialog {
  background: var(--white); border-radius: 14px; max-width: 440px; width: 100%;
  padding: 2rem; position: relative;
  box-shadow: 0 24px 60px rgba(13, 42, 64, 0.25);
  transform: translateY(12px); transition: transform 0.3s;
}
.modal-overlay.is-open .modal-dialog { transform: none; }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px; border: none; border-radius: 50%;
  background: var(--bg); color: var(--text-mid); font-size: 1.4rem; line-height: 1;
  cursor: pointer; transition: background 0.2s;
}
.modal-close:hover { background: var(--blue-pale); }
.modal-header { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.2rem; }
.modal-photo {
  width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue-pale); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.modal-photo img { width: 100%; height: 100%; object-fit: cover; }
.modal-photo-placeholder {
  font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--blue);
}
.modal-name {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--text);
  line-height: 1.2;
}
.modal-role { font-size: 0.85rem; color: var(--blue); margin-top: 0.25rem; }
.modal-bio { font-size: 0.92rem; color: var(--text-muted); line-height: 1.8; }

/* ── LABORATORI ── */
#laboratori { background: var(--white); }
.laboratori-intro { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 2rem; max-width: 620px; }
.doc-list { display: flex; flex-direction: column; gap: 0.85rem; }
.doc-item {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.4rem; background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; transition: border-color 0.25s, box-shadow 0.25s;
}
.doc-item:hover { border-color: rgba(26,111,168,0.35); box-shadow: 0 6px 20px rgba(26,111,168,0.08); }
.doc-meta { display: flex; align-items: flex-start; gap: 1rem; }
.doc-icon {
  width: 42px; height: 42px; border-radius: 8px; background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.doc-title { font-weight: 500; color: var(--text-mid); font-size: 0.95rem; }
.doc-desc { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.2rem; }
.doc-link {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue); text-decoration: none; white-space: nowrap;
  padding: 0.5rem 1rem; border-radius: 20px; border: 1px solid rgba(26,111,168,0.3);
  transition: background 0.25s, color 0.25s;
}
.doc-link:hover { background: var(--blue); color: var(--white); }
.doc-empty {
  padding: 2rem; text-align: center; color: var(--text-muted); font-size: 0.9rem;
  border: 1.5px dashed var(--border); border-radius: 10px; background: var(--bg);
}

/* ── GALLERIA ESTESA ── */
.gallery-block { margin-bottom: 3rem; }
.gallery-block:last-child { margin-bottom: 0; }
.gallery-sede-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--blue-dark);
  margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem;
}
.gallery-sede-title::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-mid);
}
.gallery-grid-extended {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.gallery-grid-extended .gallery-item {
  min-height: 160px; aspect-ratio: 4/3; position: relative; padding: 0;
}
.gallery-grid-extended .gallery-item img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.gallery-grid-extended .gallery-item:has(img) { border-style: solid; }
.gallery-grid-extended .gallery-item:has(img) .gallery-placeholder { display: none; }

@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .team-photo { width: 96px; height: 96px; }
  .doc-item { flex-direction: column; align-items: flex-start; }
}

/* ── FORM GDPR / WEB3FORMS ── */
.req { color: var(--blue); }
.honeypot {
  position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0;
  pointer-events: none;
}
.form-consent {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.86rem; color: var(--text-muted); line-height: 1.55;
}
.form-consent input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 0.15rem; flex-shrink: 0; accent-color: var(--blue);
}
.form-consent a { color: var(--blue); }
.form-status {
  min-height: 1.25rem; font-size: 0.88rem; margin: 0;
}
.form-status.is-success { color: #1a7a4a; }
.form-status.is-error { color: #b42318; }
.submit-btn:disabled {
  opacity: 0.65; cursor: not-allowed; transform: none;
}

/* ── PAGINE LEGALI ── */
.legal-page nav { position: sticky; }
.legal-main {
  padding: 7rem 5% 4rem;
  max-width: 800px;
}
.legal-updated {
  font-size: 0.88rem; color: var(--text-muted); margin-bottom: 2rem; line-height: 1.6;
}
.legal-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; color: var(--text);
  margin: 2rem 0 0.75rem;
}
.legal-content p,
.legal-content li {
  font-size: 0.94rem; color: var(--text-muted); line-height: 1.8;
  margin-bottom: 0.75rem;
}
.legal-content ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-content a { color: var(--blue); }
.legal-table {
  width: 100%; border-collapse: collapse; font-size: 0.85rem; margin: 1rem 0 1.5rem;
}
.legal-table th,
.legal-table td {
  border: 1px solid var(--border); padding: 0.65rem 0.8rem;
  text-align: left; vertical-align: top;
}
.legal-table th { background: var(--bg-alt); color: var(--text-mid); }
.legal-back { margin-top: 2.5rem; }
