:root {
  --navy-900: #0d2338;
  --navy-800: #123a5c;
  --navy-700: #1a4d75;
  --navy-600: #235e8c;
  --navy-100: #e7eef5;
  --navy-050: #f4f8fb;
  --gold-500: #c99a3b;
  --gold-600: #b5842a;
  --white: #ffffff;
  --ink: #1c2b3a;
  --gray-600: #5a6b7a;
  --gray-300: #d8e0e8;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(13, 35, 56, 0.06);
  --shadow-md: 0 12px 32px rgba(13, 35, 56, 0.12);
  --font-head: 'Poppins', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: var(--navy-700); }

img { max-width: 100%; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-300);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 0 0.5px rgba(18,58,92,0.35)) drop-shadow(0 0 0.5px rgba(18,58,92,0.35));
}

.main-nav { display: flex; align-items: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--navy-800);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-list a:hover { color: var(--gold-600); }

.nav-cta {
  background: var(--navy-800);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--gold-600) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy-900);
}

/* HERO */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 6px 6px, rgba(18,58,92,0.1) 1.6px, transparent 0) 0 0/26px 26px,
    radial-gradient(circle at 88% 8%, rgba(201,154,59,0.18), transparent 45%),
    radial-gradient(circle at 8% 95%, rgba(18,58,92,0.1), transparent 40%),
    linear-gradient(160deg, var(--navy-050) 0%, var(--white) 55%, var(--white) 100%);
  padding: 88px 0 96px;
  overflow: hidden;
  text-align: center;
}

.hero-bg-arrow {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  max-width: 430px;
  color: var(--navy-800);
  opacity: 0.05;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero-logo {
  width: min(480px, 85vw);
  height: auto;
  margin: 0 auto 28px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-800);
  background: var(--navy-100);
  border: 1px solid var(--gray-300);
  padding: 7px 16px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.calendar-dropdown {
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
}

.calendar-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-600);
  border-bottom: 1px dashed var(--gold-500);
  padding-bottom: 2px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.calendar-trigger::-webkit-details-marker { display: none; }
.calendar-trigger::marker { content: ""; }
.calendar-trigger:hover { color: var(--navy-800); border-color: var(--navy-800); }

.calendar-icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.calendar-caret {
  width: 12px;
  height: 12px;
  flex: none;
  transition: transform 0.2s ease;
}
.calendar-dropdown[open] .calendar-caret { transform: rotate(180deg); }

.calendar-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  flex-direction: column;
  gap: 2px;
  min-width: 210px;
  z-index: 5;
  text-align: left;
}

.calendar-dropdown[open] .calendar-menu { display: flex; }

.calendar-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy-800);
  text-decoration: none;
  white-space: nowrap;
}
.calendar-menu a:hover { background: var(--navy-050); color: var(--gold-600); }

.hero h1 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.35em;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto 16px;
  color: var(--gray-600);
}

.hero-bridge {
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--gray-600);
}

.hero-meta {
  font-size: 0.9rem;
  color: var(--gold-600);
  font-weight: 700;
  margin: 16px 0 0;
  letter-spacing: 0.01em;
}

/* BUTTONS */
.btn {
  display: inline-block;
  border: none;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
}
.btn-primary:hover {
  background: var(--gold-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg { padding: 16px 38px; font-size: 1.05rem; }
.btn-block { width: 100%; text-align: center; }

/* SECTIONS */
.section { padding: 88px 0; }
.section-alt { background: var(--navy-050); }
.section-dark {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }

.lead {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 780px;
}
.section-dark .lead { color: var(--navy-100); }

/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin: 40px 0 56px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--navy-800);
  background: linear-gradient(135deg, var(--navy-800), var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label { color: var(--gray-600); margin: 8px 0 10px; font-size: 0.98rem; }
.stat-label small { color: var(--gray-600); }

.stat-source {
  font-size: 0.8rem;
  color: var(--navy-600);
  text-decoration: none;
  border-bottom: 1px dotted var(--navy-600);
}
.stat-source:hover { color: var(--gold-600); border-color: var(--gold-600); }

/* CHART */
.chart-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.chart-card h3 { margin-bottom: 24px; }

.bar-row { margin-bottom: 22px; }
.bar-row:last-child { margin-bottom: 8px; }

.bar-row-label {
  display: block;
  font-size: 0.92rem;
  color: var(--gray-600);
  margin-bottom: 8px;
  font-weight: 500;
}

.bar-track {
  background: var(--navy-100);
  border-radius: 999px;
  height: 40px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy-700), var(--navy-800));
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 16px;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  min-width: 52px;
}

.bar-fill-muted {
  background: linear-gradient(90deg, var(--gold-500), var(--gold-600));
}

.bar-value {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.pull-statement {
  border-left: 4px solid var(--gold-500);
  padding-left: 28px;
  margin: 8px 0 28px;
}

.pull-statement-lead {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.35;
  margin-bottom: 12px;
}

.pull-statement-body {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 780px;
  margin: 0;
}

.sources-line {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 44px;
}
.sources-line a { color: var(--navy-600); }

/* CHECK LIST */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px 28px;
  max-width: 900px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 1.02rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-500);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
}

/* ICON CARD GRID */
.icon-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

#perche .icon-card-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 860px) {
  #perche .icon-card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  #perche .icon-card-grid { grid-template-columns: 1fr; }
}

.icon-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.icon-card p {
  margin: 0;
  font-weight: 600;
  color: var(--navy-900);
  font-size: 1rem;
}

.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--white);
  margin-bottom: 18px;
}
.icon-circle svg { width: 24px; height: 24px; }

.audience-statement {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-300);
}
.audience-statement.pull-statement { margin-bottom: 0; }

/* PROGRAM */
.program-note {
  font-size: 0.88rem;
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: 36px;
}

.schedule-block {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--gray-300);
}
.schedule-block:last-child { border-bottom: 1px solid var(--gray-300); }

.schedule-time {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--gold-600);
  font-size: 1rem;
}

.speaker-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 32px;
}

.speaker {
  display: flex;
  align-items: center;
  gap: 24px;
}

.speaker-avatar {
  flex: none;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--navy-100);
  color: var(--navy-700);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--navy-700);
}

.speaker-avatar svg { width: 34px; height: 34px; }

.speaker-group .speaker-avatar {
  color: var(--gold-600);
  border-color: var(--gold-500);
  background: var(--navy-050);
}

.speaker-avatar-photo {
  padding: 0;
  overflow: hidden;
}
.speaker-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-multi-content {
  width: 100%;
}

.speaker-multi-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
}
.speaker-multi-row .speaker-name { margin: 0; }

.speaker-topic {
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--navy-900);
}

.speaker-subtitle {
  margin: 0 0 6px;
  font-size: 0.92rem;
  color: var(--gray-600);
  font-style: italic;
}

.tbd-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-600);
  background: rgba(201,154,59,0.14);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}

.speaker-name {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.98rem;
}
.speaker-role { color: var(--gray-600); }

/* ISCRIVITI */
.iscriviti-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.quote-heading {
  color: var(--gold-500);
  font-style: italic;
  font-weight: 500;
}

.event-facts {
  list-style: none;
  margin: 24px 0 0;
  padding: 20px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
}
.event-facts li { margin-bottom: 8px; font-size: 0.95rem; }
.event-facts li:last-child { margin-bottom: 0; }

.iscriviti-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy-800);
}

.form-row input, .form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--white);
  color: var(--ink);
}
.form-row input:focus, .form-row select:focus {
  outline: 2px solid var(--navy-700);
  outline-offset: 1px;
}

.form-row-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.form-row-checkbox input { width: auto; margin-top: 3px; }
.form-row-checkbox label { margin: 0; font-weight: 400; font-size: 0.85rem; color: var(--gray-600); }

.form-row-captcha { display: flex; justify-content: center; }

.form-note {
  font-size: 0.78rem;
  color: var(--gray-600);
  text-align: center;
  margin: 14px 0 0;
}

.form-success {
  margin-top: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.9);
  color: var(--navy-900);
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
}

/* FOOTER */
.site-footer {
  background: var(--navy-050);
  border-top: 1px solid var(--gray-300);
  color: var(--gray-600);
  padding: 44px 0;
  text-align: center;
}
.footer-logo { width: min(220px, 60vw); height: auto; margin: 0 auto 14px; }
.footer-inner p { margin: 4px 0; font-size: 0.9rem; }
.footer-copy { color: var(--gray-600); font-size: 0.8rem; opacity: 0.8; }

.footer-links { margin-top: 6px; font-size: 0.8rem; }
.footer-links a { color: var(--gray-600); text-decoration: underline; }
.footer-links a:hover { color: var(--navy-800); }

.footer-credit { margin-top: 14px; }
.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-600);
  font-size: 0.72rem;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.footer-credit a:hover { opacity: 1; color: var(--navy-800); }
.credit-underline { text-decoration: underline; }
.credit-logo { height: 26px; width: auto; }

/* PARTNER & SPONSOR */
.partner-block { margin-top: 32px; }
.partner-block:first-of-type { margin-top: 8px; }

.partner-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.partner-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  background: var(--navy-050);
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-800);
}

.partner-badge-tbd {
  color: var(--gray-600);
  font-weight: 500;
  font-style: italic;
  border-style: dashed;
  background: transparent;
}

.partner-badge-logo {
  padding: 10px 26px;
}
.partner-badge-logo img {
  height: 32px;
  width: auto;
}

/* MOBILE STICKY CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  padding: 12px 16px;
  background: var(--white);
  border-top: 1px solid var(--gray-300);
  box-shadow: 0 -8px 24px rgba(13, 35, 56, 0.1);
  transition: transform 0.25s ease;
}
.mobile-sticky-cta.is-hidden { transform: translateY(100%); }

/* LEGAL PAGE */
.nav-cta-link {
  text-decoration: none;
  padding: 10px 22px;
  font-size: 0.95rem;
}

.legal-page { padding-top: 56px; }

.legal-container {
  max-width: 760px;
}

.legal-container h1 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.3em;
}

.legal-subtitle {
  color: var(--gold-600);
  font-weight: 600;
  margin-bottom: 24px;
}

.legal-intro {
  color: var(--gray-600);
}

.legal-container h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-container p,
.legal-container li {
  color: var(--gray-600);
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-container ul {
  margin: 0 0 1em;
  padding-left: 24px;
}
.legal-container li { margin-bottom: 8px; }

.legal-container a { color: var(--navy-700); }

.legal-updated {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-300);
  font-size: 0.85rem;
  font-style: italic;
}

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .iscriviti-inner { grid-template-columns: 1fr; }
  .pull-statement { text-align: left; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--gray-300);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-list.is-open { max-height: 500px; }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; padding: 14px 24px; width: 100%; }
  .nav-list a.nav-cta { border-radius: 0; text-align: center; margin: 8px 24px; width: calc(100% - 48px); }

  .schedule-block { grid-template-columns: 1fr; gap: 6px; }
  .check-list { grid-template-columns: 1fr; }

  .section { padding: 52px 0; }
  .hero { padding: 56px 0 64px; }

  .icon-card-grid { gap: 14px; }
  .icon-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
  }
  .icon-circle { margin-bottom: 0; }

  .mobile-sticky-cta { display: block; }
  body { padding-bottom: 72px; }
}
