/* ══════════════════════════════════════
   RESET & VARIABLES
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple: #D4187A;
  --purple-dark: #A81260;
  --purple-light: #E84A9D;
  --blue: #003399;
  --blue-light: #1A4CC0;
  --yellow: #FFCC00;
  --yellow-light: #FFE066;
  --bg: #F2F4F8;
  --white: #FFFFFF;
  --text: #1A1A2E;
  --muted: #6B7280;
  --border: rgba(0,0,0,0.08);
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: 'DM Sans', sans-serif; }
.page { display: none; }
.page.active { display: block; }

/* ══════════════════════════════════════
   BOTTONI — base comune
══════════════════════════════════════ */
.btn-primary,
.btn-blue,
.btn-purple {
  border-radius: 50px;
  border: none;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 32px;
  transition: all 0.25s;
  cursor: pointer;
}

.btn-primary {
  background: var(--yellow);
  color: var(--blue);
  font-size: 15px;
  padding: 16px 40px;
  box-shadow: 0 8px 30px rgba(255,204,0,0.35);
}
.btn-primary:hover { background: var(--yellow-light); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255,204,0,0.5); }

.btn-outline {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 40px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.35);
  transition: all 0.25s;
  cursor: pointer;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08); }

.btn-blue { background: var(--blue); color: white; width: 100%; }
.btn-blue:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,51,153,0.3); }

.btn-purple { background: var(--purple); color: white; width: 100%; }
.btn-purple:hover { background: var(--purple-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,24,122,0.3); }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 40px;
  justify-content: space-between;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.08); }

/* Gruppo logo + links allineati a sinistra */
.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 26px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-logo img { display: block; filter: drop-shadow(0 0 3px rgba(255,255,255,0.9)) drop-shadow(0 0 1px white); }
.footer-logo img { filter: drop-shadow(0 0 3px rgba(255,255,255,0.9)) drop-shadow(0 0 1px white); }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
  cursor: pointer;
}
.nav-links a:hover { color: var(--purple); }

.nav-cta {
  background: var(--yellow);
  color: var(--blue) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 14px;
  transition: all 0.2s !important;
  cursor: pointer;
  border: none;
}
.nav-cta:hover { background: var(--yellow-light) !important; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,204,0,0.4); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 20px 40px 30px;
  z-index: 999;
  flex-direction: column;
  gap: 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 16px; font-weight: 500; color: var(--text); padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.06); cursor: pointer; }
.mobile-menu a:hover { color: var(--purple); }
.mobile-menu .nav-cta { text-align: center; margin-top: 8px; display: block; }

@media (max-width: 768px) {
  .nav-left { gap: 16px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  nav { padding: 0 20px; }
  nav > .nav-cta { display: none; } /* nasconde il CTA desktop su mobile */
}

/* ══════════════════════════════════════
   HOMEPAGE — HERO
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  /* Sfondo foto — sostituisci l'URL con la tua immagine */
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center top;
  background-color: var(--blue); /* fallback se la foto non carica */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) 40px 80px;
  position: relative;
  overflow: hidden;
}

/* Overlay scuro sopra la foto */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom,
    rgba(0,10,60,0.55) 0%,
    rgba(0,20,80,0.45) 50%,
    rgba(0,10,60,0.70) 100%);
}

/* Logo grande nell'hero */
.hero-logo-big {
  width: clamp(240px, 50vw, 580px);
  height: auto;
  object-fit: contain;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.85)) drop-shadow(0 0 2px white) drop-shadow(0 6px 30px rgba(0,0,0,0.4));
}

.hero-stars-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-star {
  position: absolute;
  color: var(--yellow);
  font-size: 14px;
  opacity: 0;
  animation: starFloat 4s infinite;
}
@keyframes starFloat {
  0%   { opacity: 0; transform: translateY(20px) rotate(0deg); }
  30%  { opacity: 0.7; }
  70%  { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(-40px) rotate(180deg); }
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(15px, 2.2vw, 20px);
  color: var(--yellow);
  font-style: italic;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 400;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5.5vw, 62px);
  color: var(--white);
  line-height: 1.15;
  max-width: 860px;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.hero-title em { color: var(--yellow); font-style: italic; }

.hero-claim {
  font-family: 'Playfair Display', serif;
  font-size: clamp(16px, 2.2vw, 22px);
  color: rgba(255,255,255,0.85);
  font-style: italic;
  max-width: 700px;
  line-height: 1.6;
  margin-bottom: 52px;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 20px rgba(0,0,0,0.3);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

.hero .hero-stars-bg,
.hero .hero-tagline-block,
.hero .hero-logo-big,
.hero .hero-claim,
.hero .hero-ctas,
.hero .hero-scroll { position: relative; z-index: 2; }

.hero-tagline-block { display: flex; align-items: center; gap: 18px; margin-bottom: 40px; }
.hero-tagline-line {
  display: block;
  height: 1px; width: 60px;
  background: linear-gradient(to right, transparent, rgba(255,204,0,0.6));
  flex-shrink: 0;
}
.hero-tagline-line:last-child { background: linear-gradient(to left, transparent, rgba(255,204,0,0.6)); }

/* ══════════════════════════════════════
   SEZIONI GENERICHE
══════════════════════════════════════ */
.section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 16px;
}
.section-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 24px;
}
.section-h2 em { color: var(--purple); font-style: italic; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 70px 20px; }
}

.chi-siamo-text p { font-size: 16px; color: #374151; line-height: 1.8; margin-bottom: 16px; font-weight: 300; }
.chi-siamo-text p strong { font-weight: 600; color: var(--text); }

.img-placeholder {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}
.img-placeholder .eu-flag-big { font-size: 72px; }
.img-placeholder p { color: rgba(255,255,255,0.6); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }

/* Blocco foto con figure umane */
.img-photo-bg {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.img-photo-bg__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* ══════════════════════════════════════
   COUNTER ADERENTI
══════════════════════════════════════ */
.aderenti-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 50px 40px;
  text-align: center;
}
.counter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 700px;
  margin: 0 auto;
}
@media (max-width: 600px) { .counter-grid { grid-template-columns: 1fr; gap: 24px; } }

.counter-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--purple);
  line-height: 1;
}
.counter-item h3 span { color: var(--yellow); }
.counter-item p { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; margin-top: 6px; }

/* ══════════════════════════════════════
   PARTNER LOGOS
══════════════════════════════════════ */
.partner-logos { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; align-items: center; }
.logo-badge {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  transition: all 0.2s;
}
.logo-badge:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(212,24,122,0.12); }

/* ══════════════════════════════════════
   EVENTI
══════════════════════════════════════ */
.eventi-section { background: var(--white); padding: 100px 40px; }
.eventi-inner { max-width: 1200px; margin: 0 auto; }

.evento-featured {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 24px;
  padding: 48px;
  color: var(--white);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.evento-featured::after {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
@media (max-width: 768px) { .evento-featured { grid-template-columns: 1fr; gap: 20px; } }

.evento-badge {
  background: var(--yellow);
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 12px;
}

.evento-date-block {
  text-align: center;
  background: rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 20px 24px;
  min-width: 90px;
  flex-shrink: 0;
}
.evento-date-block .day { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 700; line-height: 1; color: var(--yellow); }
.evento-date-block .month { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; opacity: 0.8; margin-top: 4px; }

.evento-title { font-family: 'Playfair Display', serif; font-size: clamp(22px, 3vw, 30px); font-weight: 700; margin-bottom: 10px; }
.evento-meta { font-size: 14px; opacity: 0.75; display: flex; gap: 20px; flex-wrap: wrap; }
.evento-meta span::before { margin-right: 6px; }

.evento-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  align-items: center;
  transition: all 0.2s;
}
.evento-card:hover { border-color: var(--purple); box-shadow: 0 6px 24px rgba(212,24,122,0.1); transform: translateY(-2px); }
.evento-card .date-mini { text-align: center; }
.evento-card .date-mini .day { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--purple); line-height: 1; }
.evento-card .date-mini .month { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.eventi-list { display: grid; gap: 16px; }

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.faq-section { padding: 100px 40px; background: var(--bg); }
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-page-section { max-width: 800px; margin: 0 auto; padding: 70px 40px 100px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item.open { box-shadow: 0 4px 24px rgba(212,24,122,0.1); border-color: var(--purple); }

.faq-q {
  padding: 22px 28px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
.faq-q:hover { color: var(--purple); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: all 0.3s;
  color: var(--purple);
  font-weight: 700;
}
.faq-item.open .faq-icon { background: var(--purple); color: white; transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 14.5px;
  line-height: 1.75;
  color: #4A5568;
  font-weight: 300;
  padding: 0 28px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 28px 22px; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer { background: var(--blue); color: var(--white); padding: 40px 40px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 28px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.footer-logo { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.footer-logo .logo-aten { color: rgba(255,255,255,0.9); }
.footer-logo .logo-eu { color: var(--yellow); }
.footer-tagline { font-size: 13px; opacity: 0.6; line-height: 1.5; max-width: 280px; margin-bottom: 6px; }
.footer-cf { font-size: 12px; opacity: 0.45; margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-social { display: flex; gap: 10px; }

.social-btn {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
}
.social-btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--blue); }

.footer-col h4 { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; opacity: 0.5; margin-bottom: 14px; font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 13px; opacity: 0.75; transition: opacity 0.2s; cursor: pointer; }
.footer-col ul li a:hover { opacity: 1; color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  opacity: 0.45;
  flex-wrap: wrap;
  gap: 8px;
}

/* ══════════════════════════════════════
   SUBPAGE HERO
══════════════════════════════════════ */
.subpage-hero {
  background: linear-gradient(135deg, var(--blue), var(--purple-dark));
  padding: calc(var(--nav-h) + 80px) 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.subpage-hero::before {
  content: '★';
  position: absolute;
  font-size: 300px;
  opacity: 0.03;
  color: var(--yellow);
  right: -40px;
  bottom: -60px;
  line-height: 1;
}
.subpage-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 56px);
  color: var(--white);
  margin-bottom: 16px;
}
.subpage-hero p { font-size: 17px; color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto; }

/* ══════════════════════════════════════
   PROSE / CHI SIAMO
══════════════════════════════════════ */
.prose-section { max-width: 900px; margin: 0 auto; padding: 80px 40px; }
.prose-section h2 { font-family: 'Playfair Display', serif; font-size: 30px; color: var(--text); margin-bottom: 24px; }
.prose-section p { font-size: 16px; line-height: 1.85; color: #374151; font-weight: 300; margin-bottom: 20px; }
.prose-section p strong { font-weight: 600; color: var(--text); }

.year-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--blue);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 20px;
}

/* ══════════════════════════════════════
   TEAM
══════════════════════════════════════ */
.team-section { background: var(--white); padding: 80px 40px; }
.team-inner { max-width: 1100px; margin: 0 auto; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.team-card {
  background: var(--bg);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.team-card:hover { border-color: var(--purple); box-shadow: 0 8px 30px rgba(212,24,122,0.12); transform: translateY(-4px); }

.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}
.team-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.team-card p { font-size: 13px; color: var(--muted); margin-bottom: 16px; font-weight: 400; }

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: white;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 50px;
  transition: all 0.2s;
}
.linkedin-btn:hover { background: var(--blue); color: white; border-color: var(--blue); }

/* ══════════════════════════════════════
   COSA OFFRIAMO
══════════════════════════════════════ */
.tab-wrapper-sub { display: flex; justify-content: center; padding: 50px 40px 0; }
.tab-toggle {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px;
  gap: 4px;
}
.tab-btn {
  padding: 12px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  color: var(--muted);
  background: transparent;
}
.tab-btn.active { background: var(--purple); color: white; font-weight: 700; box-shadow: 0 4px 20px rgba(212,24,122,0.3); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.cards-tab { display: none; padding: 48px 40px; max-width: 1200px; margin: 0 auto; }
.cards-tab.active { display: block; }

.offer-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  transition: all 0.25s;
  animation: fadeUp 0.4s ease both;
}
.offer-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); border-color: var(--purple); }
.offer-card::before {
  content: '';
  display: block;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  margin: -36px -32px 30px;
  opacity: 0;
  transition: opacity 0.3s;
}
.offer-card:hover::before { opacity: 1; }

.offer-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  border: none;
}
@media (max-width: 700px) { .offer-card.featured { grid-column: span 1; } }
.offer-card.featured .card-num { color: var(--yellow-light); }
.offer-card.featured .card-num::after { background: var(--yellow-light); }
.offer-card.featured h3 { color: white; }
.offer-card.featured p { color: rgba(255,255,255,0.7); }

.card-num {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.card-num::after { content: ''; display: block; height: 1px; width: 28px; background: var(--purple); opacity: 0.4; }

.offer-icon { font-size: 30px; margin-bottom: 16px; }
.offer-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 12px;
}
.offer-card p { font-size: 14px; line-height: 1.75; color: #4A5568; font-weight: 300; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════
   ADERISCI
══════════════════════════════════════ */
.aderisci-section { max-width: 900px; margin: 0 auto; padding: 70px 40px 100px; }
.aderisci-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 50px;
}
@media (max-width: 700px) { .aderisci-grid { grid-template-columns: 1fr; } }

.aderisci-card {
  background: var(--white);
  border-radius: 24px;
  padding: 48px 36px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.25s;
}
.aderisci-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
.aderisci-card.assoc { border-top: 4px solid var(--blue); }
.aderisci-card.individuale { border-top: 4px solid var(--purple); }
.aderisci-icon { font-size: 48px; margin-bottom: 20px; }
.aderisci-card h3 { font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 12px; color: var(--text); }
.aderisci-card p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 32px; font-weight: 300; }

/* ══════════════════════════════════════
   FORM MODAL
══════════════════════════════════════ */
.form-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.form-overlay.open { display: flex; }

.form-modal {
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 48px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.form-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.form-close:hover { background: var(--purple); color: white; border-color: var(--purple); }

.form-modal h3 { font-family: 'Playfair Display', serif; font-size: 24px; margin-bottom: 8px; }
.form-modal p { font-size: 14px; color: var(--muted); margin-bottom: 32px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--purple); background: white; }
.form-group textarea { height: 100px; resize: vertical; }

.form-submit {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s;
  margin-top: 8px;
}
.form-submit.purple { background: var(--purple); color: white; }
.form-submit.purple:hover { background: var(--purple-dark); box-shadow: 0 8px 25px rgba(212,24,122,0.3); }
.form-submit.blue { background: var(--blue); color: white; }
.form-submit.blue:hover { background: var(--blue-light); box-shadow: 0 8px 25px rgba(0,51,153,0.3); }

/* ══════════════════════════════════════
   COSA OFFRIAMO in HOMEPAGE
══════════════════════════════════════ */
.offriamo-hp { padding: 100px 40px; background: var(--bg); }
.offriamo-hp-inner { max-width: 1200px; margin: 0 auto; }

.urgency-banner {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 20px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 60px auto 0;
  max-width: 1120px;
}
.urgency-banner h3 { font-family: 'Playfair Display', serif; font-size: 22px; color: white; margin-bottom: 6px; }
.urgency-banner p { font-size: 14px; color: rgba(255,255,255,0.65); }
.urgency-banner .btn-yellow {
  background: var(--yellow);
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.urgency-banner .btn-yellow:hover { background: var(--yellow-light); transform: scale(1.03); }

/* ══════════════════════════════════════
   MANIFESTO
══════════════════════════════════════ */
.manifesto-content { max-width: 780px; margin: 0 auto; padding: 70px 40px 100px; }
.manifesto-content h1 { font-family: 'Playfair Display', serif; font-size: 42px; color: var(--text); margin-bottom: 16px; }
.manifesto-content .date { font-size: 13px; color: var(--muted); margin-bottom: 48px; }
.manifesto-content h2 { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--purple); margin: 40px 0 16px; }
.manifesto-content h3 { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--purple); margin: 36px 0 12px; }
.manifesto-content p { font-size: 16px; line-height: 1.85; color: #374151; margin-bottom: 18px; font-weight: 300; }
.manifesto-content ul, .manifesto-content ol { padding-left: 22px; margin-bottom: 18px; }
.manifesto-content ul li, .manifesto-content ol li { font-size: 15px; line-height: 1.8; color: #374151; font-weight: 300; margin-bottom: 6px; }
.manifesto-content ol > li { list-style-type: decimal; }
.manifesto-content ul > li { list-style-type: disc; }
/* ══════════════════════════════════════
   COOKIE BANNER
══════════════════════════════════════ */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9998;
  background: rgba(0, 10, 40, 0.97);
  border-top: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 24px;
  transform: translateY(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
}
#cookie-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
#cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
#cookie-banner p {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0;
}
#cookie-banner strong { color: white; }
#cookie-accept {
  background: var(--yellow);
  color: #0a0a1a;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
#cookie-accept:hover { opacity: 0.85; }
@media (max-width: 600px) {
  #cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  #cookie-accept { width: 100%; text-align: center; }
}

/* ══════════════════════════════════════
   TOAST NOTIFICA
══════════════════════════════════════ */
@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.manifesto-content blockquote {
  border-left: 3px solid var(--yellow);
  padding: 12px 24px;
  background: rgba(255,204,0,0.06);
  border-radius: 0 12px 12px 0;
  margin: 28px 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--text);
}

/* ══════════════════════════════════════
   COSA OFFRIAMO — SCROLL ORIZZONTALE
══════════════════════════════════════ */
.hp-scroll-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--purple) transparent;
}
.hp-scroll-track::-webkit-scrollbar { height: 4px; }
.hp-scroll-track::-webkit-scrollbar-track { background: transparent; }
.hp-scroll-track::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 4px; }

.hp-scroll-card {
  flex: 0 0 280px;
  background: var(--white);
  border-radius: 16px;
  padding: 24px 20px;
  border: 1px solid var(--border);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hp-scroll-card:hover { border-color: var(--purple); box-shadow: 0 4px 20px rgba(212,24,122,0.1); }
.hp-scroll-num { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--purple); font-weight: 600; }
.hp-scroll-icon { font-size: 24px; }
.hp-scroll-card strong { font-family: 'Playfair Display', serif; font-size: 16px; color: var(--text); line-height: 1.3; }
.hp-scroll-card p { font-size: 13px; color: var(--muted); line-height: 1.6; font-weight: 300; margin: 0; }

/* ══════════════════════════════════════
   URGENCY BANNER WRAPPER
══════════════════════════════════════ */
.urgency-wrap {
  padding: 0 40px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════════════ */
@media (max-width: 768px) {

  /* Hero */
  .hero {
    padding: calc(var(--nav-h) + 40px) 20px 60px;
  }

  /* Sezioni con padding eccessivo */
  .offriamo-hp { padding: 60px 20px; }
  .eventi-section { padding: 60px 20px; }
  .faq-section { padding: 60px 20px; }
  .faq-inner { max-width: 100%; }
  .faq-page-section { padding: 40px 20px 60px; }

  /* Cosa Offriamo — tab e cards */
  .tab-wrapper-sub { padding: 32px 20px 0; }
  .tab-toggle { width: 100%; justify-content: center; }
  .tab-btn { flex: 1; padding: 10px 12px; font-size: 13px; }
  .cards-tab { padding: 32px 20px; }
  .cards-grid { grid-template-columns: 1fr; }

  /* Subpage hero */
  .subpage-hero { padding: calc(var(--nav-h) + 48px) 20px 48px; }
  .subpage-hero h1 { font-size: clamp(30px, 8vw, 48px); }

  /* Chi siamo prose */
  .prose-section { padding: 48px 20px; }

  /* Manifesto */
  .manifesto-content { padding: 40px 20px 60px; }

  /* Aderisci */
  .aderisci-section { padding: 40px 20px 60px; }

  /* Urgency banner wrapper e banner */
  .urgency-wrap { padding: 0 20px 32px; }
  .urgency-banner {
    padding: 28px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .urgency-banner .btn-yellow { width: 100%; text-align: center; }

  /* Team section */
  .team-section { padding: 60px 20px; }

  /* HP scroll card leggermente più stretta */
  .hp-scroll-card { flex: 0 0 240px; }

  /* Evento featured — rimuovi padding eccessivo */
  .evento-featured { padding: 28px 24px; }
}

@media (max-width: 480px) {
  /* Font hero ancora più compatti */
  .hero-claim { font-size: 15px; }

  /* Card hp ancora più strette su telefoni piccoli */
  .hp-scroll-card { flex: 0 0 210px; }

  /* Bottoni affiancati → in colonna */
  .hero-ctas { flex-direction: column; align-items: center; }
}

/* ══════════════════════════════════════
   ASSOCIAZIONI ADERENTI
══════════════════════════════════════ */
.associazioni-section {
  background: #f4f4f8;
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.associazioni-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}
/* Marquee */
.loghi-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.loghi-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: loghi-scroll 28s linear infinite;
  padding: 12px 0;
}
.loghi-track:hover {
  animation-play-state: paused;
}
@keyframes loghi-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-item {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.8;
  transition: opacity 0.25s;
}
.logo-item:hover {
  opacity: 1;
}
.logo-item img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 768px) {
  .associazioni-section { padding: 60px 0; }
  .associazioni-inner { padding: 0 20px; }
  .logo-item { width: 88px; height: 88px; }
  .loghi-track { gap: 40px; }
}
