/* ============================================================
   GIOVANNI ZORZOLI ROSSI · Landing Page
   Palette: Blu navy / Blu istituzionale / Blu elettrico / Oro / Avorio
   ============================================================ */

:root {
  /* Colori */
  --navy-950: #050f24;
  --navy-900: #0a1f44;
  --navy-800: #0e2a5c;
  --navy-700: #133878;
  --blue-600: #1f4f9e;        /* blu istituzionale FdI */
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #6ea8fe;
  --blue-100: #e6efff;

  --gold-500: #d4a445;
  --gold-300: #f4d27a;

  --ivory-50: #fbf8f1;
  --ivory-100: #f3eedf;

  --gray-700: #2c3a55;
  --gray-500: #5a6a85;
  --gray-300: #c7cfdb;
  --gray-200: #e1e6ee;

  --bg: var(--ivory-50);
  --text: #14213d;
  --text-soft: var(--gray-500);

  /* Tipografia */
  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.015em; line-height: 1.08; }
p { margin: 0 0 1em; }

::selection { background: var(--gold-500); color: var(--navy-900); }

/* Typography helpers */
.text-accent { color: var(--blue-400); }
.text-gold { color: var(--gold-500); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

/* ============================================================
   Scroll progress
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-400), var(--gold-500));
  z-index: 1000;
  transition: width 0.05s linear;
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.3s var(--ease-out);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: #fff;
  transition: color .3s;
}
.nav__brand-mark {
  width: 42px; height: 42px;
  flex: 0 0 42px;
  display: grid; place-items: center;
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: 12px;
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 22px rgba(212,164,69,.35);
}
.nav__brand-mark--photo {
  padding: 2px;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  border: 1px solid rgba(255,255,255,.25);
}
.nav__brand-mark--photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 9px;
  transform: scale(1.55);
  transform-origin: center 18%;
}
.nav__brand-name {
  font-size: 14px;
  letter-spacing: .02em;
  line-height: 1.1;
}
.nav__brand-name strong { display: block; font-weight: 700; font-size: 15px; }

.nav__links {
  display: flex;
  gap: 26px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px; width: 0;
  background: var(--gold-500);
  transition: width .3s var(--ease-out);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  padding: 10px 18px;
  background: var(--gold-500);
  color: var(--navy-900) !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: all .25s;
  box-shadow: 0 4px 14px rgba(212,164,69,.35);
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(212,164,69,.5); }

/* Scrolled state */
.nav.is-scrolled {
  background: rgba(10, 31, 68, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav__burger {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: all .25s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: min(360px, 80vw);
    background: var(--navy-900);
    flex-direction: column;
    justify-content: center;
    padding: 80px 40px;
    gap: 28px;
    font-size: 22px;
    transition: right .35s var(--ease-out);
    box-shadow: -20px 0 60px rgba(0,0,0,.4);
  }
  .nav__links.is-open { right: 0; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
}
.hero__bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0%   { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.18) translate(-2%, -2%); }
}
.hero__bg-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(31, 79, 158, .35) 0%, transparent 55%),
    linear-gradient(180deg, rgba(5, 15, 36, .65) 0%, rgba(5, 15, 36, .85) 100%),
    linear-gradient(120deg, rgba(10, 31, 68, .75) 0%, rgba(10, 31, 68, .35) 60%, rgba(10, 31, 68, .85) 100%);
}
.hero__bg-grain {
  position: absolute; inset: 0;
  opacity: .12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.7'/></svg>");
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 18px;
  animation: fadeUp .9s var(--ease-out) both;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 0 var(--gold-500);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212,164,69,.6); }
  70% { box-shadow: 0 0 0 12px rgba(212,164,69,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,164,69,0); }
}

.hero__title {
  font-size: clamp(48px, 8vw, 110px);
  line-height: 0.95;
  font-weight: 600;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title .line span,
.hero__title .line {
  animation: fadeUp 1s var(--ease-out) both;
}
.hero__title .line:nth-child(1) { animation-delay: .15s; }
.hero__title .line:nth-child(2) { animation-delay: .3s; }
.hero__title .line:nth-child(3) { animation-delay: .45s; }
.hero__title .line:nth-child(4) { animation-delay: .6s; }
.hero__title .line--accent {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(120deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.hero__lead {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  max-width: 560px;
  color: rgba(255,255,255,.85);
  margin-bottom: 24px;
  animation: fadeUp 1s var(--ease-out) both .75s;
}
.hero__lead strong { color: #fff; font-weight: 600; }

.hero__date {
  width: min(100%, 620px);
  margin: 0 0 34px;
  padding: 18px 22px 20px;
  border: 1px solid rgba(244,210,122,.42);
  border-left: 5px solid var(--gold-500);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(212,164,69,.18) 0%, rgba(255,255,255,.08) 100%);
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeUp 1s var(--ease-out) both .84s;
}
.hero__date-label,
.hero__date-note {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: uppercase;
}
.hero__date-label {
  color: rgba(255,255,255,.72);
  margin-bottom: 5px;
}
.hero__date-days {
  display: block;
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: .95;
  color: var(--gold-300);
  text-shadow: 0 10px 30px rgba(0,0,0,.28);
}
.hero__date-note {
  color: rgba(255,255,255,.84);
  margin-top: 9px;
}
.hero__date-note strong { color: #fff; }

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeUp 1s var(--ease-out) both .96s;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  transition: transform .25s var(--ease-out), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: 0 10px 30px rgba(212,164,69,.4);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(212,164,69,.55);
  background: var(--gold-300);
}
.btn--ghost {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-3px);
}
.btn--lg {
  padding: 20px 36px;
  font-size: 16.5px;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 28px;
  animation: fadeUp 1s var(--ease-out) both 1.1s;
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__meta-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold-300);
  line-height: 1;
}
.hero__meta-label {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.7);
}
.hero__meta-divider {
  width: 1px; height: 36px;
  background: rgba(255,255,255,.15);
}

/* Hero portrait */
.hero__portrait {
  position: relative;
  animation: fadeUp 1.2s var(--ease-out) both .5s;
}
.hero__portrait-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(-1.5deg);
  transition: transform .6s var(--ease-out);
}
.hero__portrait-frame::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 31, 68, .35) 100%);
  z-index: 1;
}
.hero__portrait-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.hero__portrait:hover .hero__portrait-frame { transform: rotate(0deg) scale(1.02); }

.hero__portrait-logo {
  position: absolute;
  bottom: 20px; right: 20px;
  width: 122px; height: 122px;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  box-shadow:
    0 18px 40px rgba(0,0,0,.35),
    0 0 0 4px rgba(255,255,255,.08);
  z-index: 3;
  transform: rotate(6deg);
  opacity: .94;
  transition: transform .5s var(--ease-out), opacity .3s;
}
.hero__portrait-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.hero__portrait-logo:hover {
  transform: rotate(0deg) scale(1.05);
  opacity: 1;
}
@media (max-width: 920px) {
  .hero__portrait-logo {
    width: 92px; height: 92px;
    bottom: 14px; right: 14px;
  }
}

.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: rgba(255,255,255,.6);
}
.hero__scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gold-500), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -60px; left: 0;
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, #fff, transparent);
  animation: scrollLine 2.4s var(--ease-in-out) infinite;
}
@keyframes scrollLine {
  to { top: 100%; }
}

@media (max-width: 920px) {
  .hero { padding: 120px 0 80px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__date-days { font-size: 46px; }
  .hero__portrait { max-width: 320px; margin: 0 auto; }
  .hero__meta { flex-wrap: wrap; gap: 20px; }
  .hero__meta-divider { display: none; }
  .hero__scroll { display: none; }
}

@media (max-height: 820px) and (min-width: 921px) {
  .hero { padding: 112px 0 80px; }
  .hero__title {
    font-size: 82px;
    margin-bottom: 22px;
  }
  .hero__date {
    max-width: 560px;
    padding: 14px 18px 16px;
    margin-bottom: 24px;
  }
  .hero__date-days { font-size: 48px; }
  .hero__ctas { margin-bottom: 34px; }
}

@media (max-width: 520px) {
  .hero__date {
    padding: 16px 17px 18px;
    margin-bottom: 28px;
  }
  .hero__date-label,
  .hero__date-note {
    font-size: 11px;
    letter-spacing: 0;
  }
  .hero__date-days { font-size: 36px; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--navy-900);
  color: var(--gold-300);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  font-style: italic;
  letter-spacing: -0.02em;
  animation: marquee 50s linear infinite;
}
.marquee__track .sep {
  color: var(--blue-400);
  font-size: 14px;
  font-style: normal;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECTION GENERIC
   ============================================================ */
.section__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 18px;
}
.section__label--light { color: var(--gold-300); }
.section__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 22px;
  color: var(--gold-500);
  letter-spacing: 0;
  text-transform: none;
}
.section__label--light .section__num { color: var(--gold-300); }

.section__title {
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  color: var(--navy-900);
}
.section__title--light { color: #fff; }

.lead {
  font-size: 19px;
  color: var(--text-soft);
  max-width: 640px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto {
  padding: clamp(80px, 12vw, 140px) 0;
  text-align: center;
  background: var(--bg);
  position: relative;
}
.manifesto::before, .manifesto::after {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  z-index: 0;
}
.manifesto::before { background: var(--blue-100); top: -100px; left: -100px; }
.manifesto::after { background: rgba(212,164,69,.18); bottom: -100px; right: -100px; }
.manifesto > .container { position: relative; z-index: 1; }

.manifesto__quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3.5vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  max-width: 1000px;
  margin: 0 auto 24px;
  position: relative;
}
.manifesto__quote em {
  font-style: italic;
  color: var(--blue-500);
}
.manifesto__open, .manifesto__close {
  font-family: var(--font-display);
  font-size: 1.4em;
  color: var(--gold-500);
  font-weight: 600;
  line-height: 1;
}
.manifesto__sign {
  font-size: 14px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: clamp(80px, 12vw, 140px) 0;
  background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about__media {
  position: relative;
}
.about__media-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(10,31,68,.18);
  transform: rotate(2deg);
  transition: transform .6s var(--ease-out);
}
.about__media-frame::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(10,31,68,.2) 100%);
  z-index: 1;
}
.about__media-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about__media:hover .about__media-frame { transform: rotate(0deg); }
.about__media-tag {
  position: absolute;
  top: 20px; left: -22px;
  background: var(--navy-900);
  color: var(--gold-300);
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(10,31,68,.3);
}

.about__text > p { color: var(--gray-700); margin-bottom: 1.2em; }
.about__text strong { color: var(--navy-900); }

.about__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.about__chips li {
  padding: 8px 16px;
  background: var(--blue-100);
  color: var(--blue-600);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid rgba(31,79,158,.15);
  transition: all .25s;
}
.about__chips li:hover {
  background: var(--blue-600);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 380px; margin: 0 auto; }
}

/* ============================================================
   PROGRAM
   ============================================================ */
.program {
  position: relative;
  padding: clamp(90px, 13vw, 160px) 0;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.program__bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(31,79,158,.25) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(212,164,69,.12) 0%, transparent 40%);
  z-index: -1;
}
.program::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  z-index: -1;
}

.program__head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 80px;
}
.program__intro {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
  max-width: 720px;
  margin: 0 auto;
}
.program__intro strong { color: var(--gold-300); font-weight: 600; }

.program__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  position: relative;
  padding: 44px 36px 38px;
  background: linear-gradient(160deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.01) 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all .4s var(--ease-out);
  overflow: hidden;
  transition-delay: var(--d, 0ms);
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  transform: translateX(-100%);
  transition: transform .8s var(--ease-out);
}
.card:hover {
  transform: translateY(-6px);
  background: linear-gradient(160deg, rgba(31,79,158,.18) 0%, rgba(255,255,255,.02) 100%);
  border-color: rgba(212,164,69,.35);
  box-shadow: 0 30px 60px rgba(0,0,0,.3);
}
.card:hover::before { transform: translateX(0); }
.card__num {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: absolute;
  top: 14px; right: 24px;
  pointer-events: none;
}
.card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: rgba(212,164,69,.12);
  color: var(--gold-300);
  border-radius: 14px;
  margin-bottom: 22px;
  border: 1px solid rgba(212,164,69,.25);
}
.card__icon svg { width: 28px; height: 28px; }
.card__title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #fff;
  letter-spacing: -0.015em;
}
.card__text {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255,255,255,.78);
  margin-bottom: 22px;
}
.card__text strong { color: var(--gold-300); font-weight: 600; }
.card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.78);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}

@media (max-width: 800px) {
  .program__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   VISION
   ============================================================ */
.vision {
  background: #fff;
}
.vision__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.vision__media {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}
.vision__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.5s var(--ease-out);
}
.vision__media:hover img { transform: scale(1.05); }
.vision__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(10,31,68,.2) 100%);
}
.vision__text {
  padding: clamp(60px, 8vw, 110px) clamp(40px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
}
.vision__text > p { color: var(--gray-700); margin-bottom: 1.2em; }
.vision__text strong { color: var(--navy-900); }
.vision__quote {
  margin-top: 30px;
  padding: 26px 30px 26px 56px;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-md);
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.45;
}
.vision__quote-mark {
  position: absolute;
  top: 6px; left: 18px;
  font-size: 70px;
  color: var(--gold-500);
  line-height: 1;
  font-family: var(--font-display);
  font-weight: 800;
}
.vision__quote p { margin: 0; }

@media (max-width: 900px) {
  .vision__split { grid-template-columns: 1fr; }
  .vision__media { min-height: 380px; }
}

/* ============================================================
   TIMELINE / EXPERIENCE
   ============================================================ */
.experience {
  padding: clamp(90px, 13vw, 160px) 0;
  background: var(--bg);
}
.experience__head {
  max-width: 720px;
  margin: 0 auto 70px;
  text-align: center;
}

.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding-left: 42px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-400), var(--gold-500), var(--blue-400));
  background-size: 100% 200%;
  animation: timelineGradient 8s linear infinite;
}
@keyframes timelineGradient {
  to { background-position: 0 -200%; }
}

.timeline__item {
  position: relative;
  padding: 0 0 38px 36px;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: -32px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--blue-500);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
  transition: all .3s;
}
.timeline__item:hover::before {
  background: var(--gold-500);
  border-color: var(--gold-500);
  transform: scale(1.2);
}
.timeline__item--current::before {
  background: var(--gold-500);
  border-color: var(--gold-500);
  box-shadow: 0 0 0 6px rgba(212,164,69,.2);
  animation: pulseDot 2.4s infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 6px rgba(212,164,69,.2); }
  50% { box-shadow: 0 0 0 12px rgba(212,164,69,.05); }
}
.timeline__year {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-600);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.timeline__item--current .timeline__year { color: var(--gold-500); }
.timeline__body h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.timeline__body p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--gray-700);
  margin: 0;
}

/* ============================================================
   COALITION
   ============================================================ */
.coalition {
  padding: clamp(80px, 12vw, 130px) 0;
  background:
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.coalition::before, .coalition::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .35;
}
.coalition::before {
  width: 400px; height: 400px;
  background: var(--blue-600);
  top: -150px; left: -150px;
}
.coalition::after {
  width: 350px; height: 350px;
  background: var(--gold-500);
  bottom: -150px; right: -150px;
  opacity: .12;
}

.coalition__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}
.coalition__text > p {
  color: rgba(255,255,255,.82);
  margin-bottom: 1.2em;
}
.coalition__text strong { color: var(--gold-300); font-weight: 600; }
.coalition__text em { color: #fff; font-style: italic; font-weight: 500; }

.coalition__logo {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.coalition__logo-frame {
  width: 240px; height: 240px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  padding: 8px;
  box-shadow:
    0 30px 60px rgba(0,0,0,.4),
    0 0 0 4px rgba(255,255,255,.08);
  transition: transform .6s var(--ease-out);
}
.coalition__logo-frame:hover { transform: rotate(8deg) scale(1.04); }
.coalition__logo-frame img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.coalition__logo-caption {
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.coalition__logo-caption strong { color: var(--gold-300); }

@media (max-width: 900px) {
  .coalition__inner { grid-template-columns: 1fr; }
  .coalition__logo { order: -1; }
  .coalition__logo-frame { width: 180px; height: 180px; }
}

/* ============================================================
   VOTE
   ============================================================ */
.vote {
  padding: clamp(90px, 13vw, 160px) 0;
  background:
    radial-gradient(ellipse at top, var(--blue-100) 0%, var(--bg) 60%);
}
.vote__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 70px;
}
.vote__head .lead { margin: 0 auto; }

.vote__demo {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.ballot {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px 32px;
  box-shadow:
    0 30px 70px rgba(10,31,68,.18),
    0 0 0 1px rgba(10,31,68,.05);
  position: relative;
  transition: transform .5s var(--ease-out);
}
.ballot::before {
  content: "Scheda elettorale · esempio";
  position: absolute;
  top: -14px; left: 28px;
  background: var(--navy-900);
  color: var(--gold-300);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.ballot:hover { transform: translateY(-4px) rotate(-0.5deg); }

.ballot__row {
  display: flex;
  align-items: stretch;
  gap: 22px;
  padding: 18px 0;
}
.ballot__symbol {
  flex-shrink: 0;
  width: 110px; height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gray-300);
  background: #fff;
  position: relative;
}
.ballot__symbol::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 80px; height: 80px;
  transform: translate(-50%, -50%) rotate(45deg);
  background:
    linear-gradient(to bottom, transparent 47%, var(--navy-900) 47%, var(--navy-900) 53%, transparent 53%),
    linear-gradient(to right, transparent 47%, var(--navy-900) 47%, var(--navy-900) 53%, transparent 53%);
  z-index: 2;
  opacity: .85;
  animation: drawX 1.2s var(--ease-out) .4s both;
}
@keyframes drawX {
  from { transform: translate(-50%, -50%) rotate(45deg) scale(0); opacity: 0; }
  to { transform: translate(-50%, -50%) rotate(45deg) scale(1); opacity: .85; }
}
.ballot__symbol img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.ballot__lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.ballot__line {
  height: 36px;
  border-bottom: 1.5px solid var(--gray-300);
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 8px;
}
.ballot__line--filled {
  border-bottom-color: var(--blue-500);
}
.ballot__pen {
  position: absolute;
  right: -4px; top: -8px;
  font-size: 22px;
  animation: penFloat 2s ease-in-out infinite;
}
@keyframes penFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.ballot__handwriting {
  font-family: "Caveat", "Brush Script MT", cursive;
  font-size: 30px;
  color: var(--navy-900);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
}

.ballot__caption {
  margin-top: 14px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-soft);
  letter-spacing: .04em;
}
.ballot__caption strong { color: var(--navy-900); }
.ballot__caption span { color: var(--gold-500); font-weight: 600; }

.vote__steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.vote__step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all .3s;
}
.vote__step:hover {
  border-color: var(--gold-500);
  transform: translateX(4px);
  box-shadow: 0 12px 30px rgba(10,31,68,.08);
}
.vote__step-num {
  flex-shrink: 0;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--navy-900);
  color: var(--gold-300);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
}
.vote__step p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--gray-700);
  padding-top: 6px;
}
.vote__step strong { color: var(--navy-900); }

@media (max-width: 800px) {
  .vote__demo { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  position: relative;
  padding: clamp(90px, 14vw, 160px) 0;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  text-align: center;
}
.cta-final__bg {
  position: absolute; inset: 0;
  z-index: -1;
}
.cta-final__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.cta-final__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,31,68,.85) 0%, rgba(10,31,68,.92) 100%);
}
.cta-final__title {
  font-size: clamp(32px, 5.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 44px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.cta-final__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-950);
  color: rgba(255,255,255,.75);
  padding: 70px 0 30px;
  font-size: 15px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand .footer__mark {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}
.footer__mark--photo {
  padding: 2px;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
}
.footer__mark--photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 9px;
  transform: scale(1.55);
  transform-origin: center 18%;
}
.footer__name { color: #fff; font-size: 18px; margin-bottom: 4px; }
.footer__tag { color: rgba(255,255,255,.6); font-size: 14px; margin: 0; }

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { transition: color .25s; }
.footer__col a:hover { color: var(--gold-300); }
.footer__col strong { color: #fff; font-weight: 600; }

.footer__bottom {
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
  text-align: center;
}
.footer__bottom a { color: var(--blue-300); }
.footer__bottom p { margin: 0; }
.footer__legal { font-style: italic; }

@media (max-width: 800px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}
