* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Helvetica Neue', Arial, sans-serif; background: #0a0a0a; }

/* NAVBAR */
header {position: sticky;
	top: 0;
	z-index: 100;}
.banner-fse {
	background-color: white;
	display: flex;
	justify-content: center;}
.banner-fse img {
	max-height: 100px;
}
.nav { background: #0a0a0a; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 14px 48px; display: flex; align-items: center; justify-content: space-between; /*position: sticky; top: 0; z-index: 100;*/ }
.nav-logo { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: #fff; }
.nav-logo span { color: #E8175D; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: rgba(255,255,255,0.65); font-size: 12px; text-decoration: none; letter-spacing: 0.5px; }
.nav-links a:hover { color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.18); border-radius: 6px; background: transparent; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 999px; background: #fff; transition: transform 180ms ease, opacity 180ms ease, background 180ms ease; }
.nav-cta { background: #E8175D; color: #fff; font-size: 12px; font-weight: 700; padding: 9px 20px; border-radius: 4px; text-decoration: none; letter-spacing: 0.5px; }
.nav-cta,
.hero-cta,
.fund-btn,
.fund-btn-magenta,
.cta-big-btn { transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.nav-cta:hover,
.nav-cta:focus-visible,
.hero-cta:hover,
.hero-cta:focus-visible,
.fund-btn-magenta:hover,
.fund-btn-magenta:focus-visible { background: #fff; color: #0a0a0a; border-color: #fff; transform: translateY(-1px); }

/* HERO */
.hero { background: #1a0a2e; min-height: 620px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: stretch; padding: 0 0 0 48px; position: relative; overflow: hidden; }
.hero-left { z-index: 2; padding: 80px 48px 80px 0; display: flex; flex-direction: column; justify-content: center; }
.hero-eyebrow { font-size: 10px; letter-spacing: 3px; color: rgba(255,255,255,0.45); margin-bottom: 18px; text-transform: uppercase; }
.hero-title { font-size: 58px; font-weight: 900; line-height: 1; letter-spacing: -1.5px; color: #fff; margin-bottom: 22px; }
.hero-pill { display: inline-block; background: #F5D90A; color: #0a0a0a; font-size: 13px; font-weight: 800; padding: 7px 18px; border-radius: 3px; margin-bottom: 22px; letter-spacing: 0.5px; font-style: italic; }
.hero-sub { font-size: 15px; color: rgba(255,255,255,0.55); margin-bottom: 36px; line-height: 1.5; }
.hero-cta { display: inline-block; background: #E8175D; color: #fff; font-weight: 700; font-size: 14px; padding: 15px 30px; border-radius: 4px; text-decoration: none; letter-spacing: 0.5px; }
.hero-right { position: relative; min-height: 620px; display: flex; align-items: center; justify-content: center; padding: 28px 40px 44px 24px; overflow: hidden; }
.hero-mosaic { width: 100%; max-width: 900px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; align-items: start; margin: 0 auto; }
.hero-mosaic-img { display: block; width: 100%; height: auto; object-fit: contain; object-position: center; }
.hero-person { width: 160px; border-radius: 8px 8px 0 0; display: flex; align-items: center; justify-content: center; flex-shrink: 0; flex-direction: column; gap: 6px; }
.hero-person span { font-size: 10px; color: rgba(255,255,255,0.5); text-align: center; line-height: 1.4; }
.hero-credit { position: absolute; bottom: 14px; right: 48px; font-size: 9px; color: rgba(255,255,255,0.25); letter-spacing: 0.5px; }

/* SECTIONS */
.section { padding: 88px 48px; }
.section-white { background: #fff; color: #0a0a0a; }
.section-light { background: #f4f4f2; color: #0a0a0a; }
.section-dark { background: #0a0a0a; color: #fff; }
.section-purple { background: #150820; color: #fff; }

.section-label { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; opacity: 0.4; margin-bottom: 14px; }
.section-title { font-size: 34px; font-weight: 800; line-height: 1.15; margin-bottom: 22px; }
.section-title-lg { font-size: 44px; font-weight: 900; line-height: 1.1; margin-bottom: 22px; }
.section-text { font-size: 15px; line-height: 1.75; opacity: 0.72; max-width: 620px; margin-bottom: 32px; }

#chi-siamo .section-title,
#chi-siamo .section-text {
  max-width: none;
  width: 100%;
}

/* STATS */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 40px 0 12px; }
.stat-box { border-top: 2px solid #E8175D; padding-top: 18px; }
.stat-num { font-size: 67px; font-weight: 900; color: #E8175D; line-height: 1; }
.stat-label { font-size: 13px; color: #444; margin-top: 8px; line-height: 1.45; }
.stat-source { font-size: 10px; color: #aaa; margin-top: 6px; letter-spacing: 0.5px; }
.link-cta { display: inline-block; font-size: 13px; font-weight: 700; color: #E8175D; text-decoration: none; margin-top: 20px; letter-spacing: 0.5px; }

/* SOGGETTI */
.soggetti-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 48px; }
.soggetto { position: relative; overflow: hidden; border-radius: 6px; display: block; padding: 0; background: transparent; }
.soggetto::after { display: none; }
.soggetto-img { position: static; width: 100%; height: auto; object-fit: contain; object-position: center; display: block; }
.soggetto-copy { position: relative; z-index: 1; width: 100%; padding: 10px 8px; }
.soggetto-name { color: rgba(255,255,255,0.9); font-size: 9px; font-weight: 700; letter-spacing: 0.3px; }
.soggetto-cat { color: rgba(255,255,255,0.5); font-size: 8px; margin-top: 3px; }
.ph-credit { font-size: 9px; color: #aaa; margin-top: 10px; }

/* ROMA */
.roma-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.roma-img { display: block; width: 100%; height: auto; min-height: 0; object-fit: contain; object-position: center; align-self: center; }
.badge-pill { display: inline-block; background: rgba(255,255,255,0.12); color: #fff; font-size: 11px; font-weight: 700; padding: 6px 16px; border-radius: 20px; margin-bottom: 18px; letter-spacing: 0.5px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.info-item { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 12px; }
.info-item.full { grid-column: 1 / -1; }
.info-item-label { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.38; margin-bottom: 5px; }
.info-item-val { font-size: 13px; font-weight: 600; }
.loghi-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; width: 100%; max-width: none; margin-top: 34px; align-items: center; }
.logo-partner { display: flex; align-items: center; justify-content: center; min-height: 92px; width: 100%; }
.logo-img { display: block; width: 100%; height: 72px; object-fit: contain; object-position: center; }
.logo-img-roma { height: 168px; }
.logo-img-turismo { height: 182px; }
.logo-img-commissione { height: 92px; }
.roma-support { margin-top: 42px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.14); }
.roma-support-text { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,0.84); margin-bottom: 26px; text-align: center; }
.roma-support-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 20px 28px; }
.roma-support-item { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 14px; min-width: 0; text-align: center; padding: 20px 24px; border: 1px solid rgba(255,255,255,0.14); border-radius: 10px; background: rgba(255,255,255,0.03); }
.roma-support-label { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 38px; font-size: 14px; line-height: 1.35; color: rgba(255,255,255,0.86); white-space: normal; text-align: center; }
.roma-support-item-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; }
.roma-logo-frame { display: flex; align-items: center; justify-content: center; width: 180px; max-width: 100%; aspect-ratio: 837 / 401; overflow: hidden; }
.roma-support-img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
/* Fattori di compensazione: i loghi condividono lo stesso canvas ma il marchio occupa
   una porzione diversa dell'area disponibile in ciascun file; questi scale riportano
   il "peso" visivo di ogni logo alla stessa dimensione percepita. */
.roma-support-img-diversity { transform: scale(0.96); }
.roma-support-img-liveforall,
.roma-support-img-liveforall-2,
.roma-support-img-liveforall-3 { transform: scale(1.03); }
.roma-support-img-sts { transform: scale(1.14); }
.roma-support-img-ricordi { transform: scale(1.18); }
.roma-support-img-framesi,
.roma-support-img-framesi-2,
.roma-support-img-framesi-3 { transform: scale(0.82); }
.project-support-text {
	font-size: 16px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.84);
	margin-top: 30px;
	text-align: center;
}
.project-support-text a {
		color: rgba(255, 255, 255, 0.84);
}

/* BOXES */
.boxes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.box-card { border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.boxes-grid > .box-card:only-child { grid-column: 1 / -1; }
.box-icon { font-size: 20px; opacity: 0.5; }
.box-title { font-size: 15px; font-weight: 700; }
.box-text { font-size: 13px; opacity: 0.55; line-height: 1.55; flex: 1; }
.box-cta { font-size: 12px; font-weight: 700; color: #E8175D; margin-top: 10px; }
.tbd-badge { display: inline-block; background: rgba(232,23,93,0.15); color: #E8175D; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 3px; letter-spacing: 0.5px; margin-top: 10px; }
.video-ph { width: 100%; max-width: 960px; aspect-ratio: 16 / 9; height: auto; background: rgba(255,255,255,0.04); border-radius: 10px; margin: 36px auto 0; display: flex; align-items: center; justify-content: center; border: 1px dashed rgba(255,255,255,0.15); flex-direction: column; gap: 14px; overflow: hidden; }
.video-embed { width: 100%; height: 100%; border: 0; display: block; }
.video-fallback { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 10px; }
.video-fallback a { color: #E8175D; font-weight: 700; text-decoration: none; }
.play-btn { width: 60px; height: 60px; border-radius: 50%; background: #E8175D; display: flex; align-items: center; justify-content: center; }
.play-tri { width: 0; height: 0; border-style: solid; border-width: 11px 0 11px 20px; border-color: transparent transparent transparent #fff; margin-left: 5px; }
.video-label { font-size: 12px; color: rgba(255,255,255,0.3); }

/* PARTECIPA */
.event-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.event-card { border: 1px solid rgba(0,0,0,0.1); border-radius: 10px; padding: 28px; background: #fff; }
.event-card-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #E8175D; font-weight: 700; margin-bottom: 10px; }
.event-card-title { font-size: 17px; font-weight: 700; color: #0a0a0a; margin-bottom: 6px; }
.event-card-sub { font-size: 13px; color: #666; margin-bottom: 20px; }
.event-card-btn { display: inline-block; background: #0a0a0a; color: #fff; font-size: 12px; font-weight: 700; padding: 11px 20px; border-radius: 4px; text-decoration: none; }
.event-card-btn { transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.event-card-btn:hover,
.event-card-btn:focus-visible { background: #E8175D; color: #fff; transform: translateY(-1px); }
.tbd-note { font-size: 11px; color: #E8175D; margin-top: 12px; }

/* SOSTIENICI */
.fund-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; align-items: stretch; }
.fund-cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
.fund-card { border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 32px; }
.fund-card-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.45; margin-bottom: 12px; }
.fund-card-title { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.fund-card-text { font-size: 13px; opacity: 0.6; margin-bottom: 24px; line-height: 1.6; }
.fund-image-wrap { display: flex; align-items: center; justify-content: center; min-height: 100%; overflow: hidden; border-radius: 10px; }
.fund-image { display: block; width: 60%; height: auto; max-height: 100%; object-fit: contain; object-position: center; }
.fund-btn { display: inline-block; border: 1px solid rgba(255,255,255,0.35); color: #fff; font-size: 12px; font-weight: 700; padding: 11px 20px; border-radius: 4px; text-decoration: none; }
.fund-btn-magenta { background: #E8175D; border-color: #E8175D; }
.fund-btn:hover,
.fund-btn:focus-visible,
.cta-big-btn:hover,
.cta-big-btn:focus-visible { background: #fff; color: #0a0a0a; border-color: #fff; transform: translateY(-1px); }

/* CTA FINALE */
.cta-finale { text-align: center; padding: 100px 48px; background: #0a0a0a; position: relative; overflow: hidden; }
.cta-inner { position: relative; max-width: 1200px; margin: 0 auto; }
.cta-content { position: relative; z-index: 2; }
.cta-ill { position: absolute; z-index: 1; width: clamp(150px, 18vw, 240px); height: auto; pointer-events: none; user-select: none; }
.cta-ill-left { left: 0; top: 54%; transform: translate(-18%, -50%); }
.cta-ill-right { right: 0; top: 8px; transform: translate(18%, 0); }
.cta-sub { font-size: 13px; color: rgba(255,255,255,0.35); margin-bottom: 36px; letter-spacing: 1.5px; }
.cta-big-btn { display: inline-block; border: 2px solid rgba(255,255,255,0.7); color: #fff; font-size: 15px; font-weight: 700; padding: 18px 40px; border-radius: 4px; text-decoration: none; letter-spacing: 0.5px; }

/* LEGAL INFO */
.legal-info { padding-top: 72px; padding-bottom: 72px; border-top: 1px solid rgba(255,255,255,0.07); }
.legal-info-inner { max-width: 1200px; margin: 0 auto; }
.legal-info-subtitle { font-size: 18px; font-weight: 700; color: rgba(255,255,255,0.92); margin-bottom: 24px; }
.legal-info-intro { max-width: 960px; margin-bottom: 28px; }
.legal-info-intro p { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,0.72); margin-bottom: 14px; }
.legal-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.legal-info-card { border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 24px; background: rgba(255,255,255,0.02); }
.legal-info-card-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.legal-info-card-text { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.64); }

/* FOOTER */
.footer { background: #080808; padding: 36px 48px; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.footer-brand { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.75); margin-bottom: 4px; }
.footer-hash { font-size: 12px; color: #E8175D; font-weight: 700; }
.footer-social { display: flex; gap: 20px; align-items: center; }
.footer-social a { font-size: 11px; color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 10px; color: rgba(255,255,255,0.25); text-decoration: none; letter-spacing: 0.3px; }

@media (max-width: 900px) {
  .section {
	padding: 72px 24px;
  }

  #roma .roma-grid {
	grid-template-columns: 1fr;
	gap: 28px;
  }

  #roma .roma-grid > div {
	width: 100%;
  }

  #roma .roma-img {
	order: -1;
	width: 100%;
	height: auto;
	min-height: 0;
	aspect-ratio: auto;
	object-fit: contain;
  }

  #roma .section-title-lg,
  #roma .section-text {
	max-width: none;
	width: 100%;
  }

  #roma .info-grid {
	grid-template-columns: 1fr;
	gap: 12px;
  }

  #roma .info-item.full {
	grid-column: auto;
  }

  #roma .loghi-row {
	max-width: none;
	grid-template-columns: 1fr;
  }

  #roma .roma-support {
	margin-top: 34px;
	padding-top: 22px;
  }

  #roma .roma-support-text {
	font-size: 15px;
	line-height: 1.52;
  }

  #roma .roma-support-logos {
	flex-direction: column;
	gap: 16px;
  }

  #roma .roma-support-item {
	flex-direction: column;
	gap: 10px;
	align-items: center;
	text-align: center;
	width: 100%;
  }

  #roma .roma-support-label {
	font-size: 13px;
	white-space: normal;
	justify-content: center;
	text-align: center;
  }

  .event-cards {
	grid-template-columns: 1fr;
  }

  .nav {
	padding: 14px 16px;
  }

  .nav-toggle {
	display: inline-flex;
  }

  .nav-links {
	position: absolute;
	top: calc(100% + 1px);
	left: 0;
	right: 0;
	display: none;
	flex-direction: column;
	gap: 0;
	padding: 12px 16px 18px;
	background: #0a0a0a;
	border-bottom: 1px solid rgba(255,255,255,0.15);
  }

  .nav.is-open .nav-links {
	display: flex;
  }

  .nav-links a {
	padding: 14px 0;
	font-size: 14px;
	border-top: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links a:first-child {
	border-top: 0;
  }

  .nav.is-open .nav-toggle span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
  }

  .nav.is-open .nav-toggle span:nth-child(2) {
	opacity: 0;
  }

  .nav.is-open .nav-toggle span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
  }

  .legal-info-grid {
	grid-template-columns: 1fr;
  }

  .legal-info-subtitle {
	font-size: 16px;
	line-height: 1.4;
  }

  .legal-info-intro p,
  .legal-info-card-text {
	font-size: 14px;
	line-height: 1.65;
  }

  .hero {
	grid-template-columns: 1fr;
	min-height: auto;
	padding: 0 24px 32px;
  }

  .hero-left {
	padding: 46px 0 24px;
	width: 100%;
  }

  .hero-eyebrow {
	font-size: 11px;
	letter-spacing: 2.6px;
	margin-bottom: 22px;
  }

  .hero-title {
	font-size: clamp(58px, 12vw, 72px);
	line-height: 0.93;
	letter-spacing: -0.05em;
	max-width: 100%;
	margin-bottom: 24px;
  }

  .hero-pill {
	font-size: 12px;
	padding: 8px 16px;
	margin-bottom: 26px;
  }

  .hero-sub {
	font-size: 15px;
	line-height: 1.45;
	margin-bottom: 30px;
  }

  .hero-cta {
	font-size: 14px;
	padding: 15px 28px;
  }

  .hero-right {
	height: auto;
	min-height: 0;
	align-items: flex-start;
	padding: 0;
  }

  .hero-mosaic {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	height: auto;
  }

  .hero-mosaic-img {
	height: auto;
  }

  .hero-credit {
	right: 0;
	bottom: 10px;
  }

  .fund-layout {
	grid-template-columns: 1fr;
  }

  .fund-image-wrap {
	min-height: 420px;
  }

  #chi-siamo .section-title {
	font-size: 32px;
	line-height: 1.08;
	letter-spacing: -0.03em;
	max-width: none;
  }

  #chi-siamo .section-text {
	max-width: none;
	font-size: 15px;
	line-height: 1.58;
	margin-bottom: 28px;
  }
}

@media (max-width: 520px) {
  .section {
	padding: 64px 16px;
  }

  .hero {
	padding: 0 16px 28px;
  }

  .hero-title {
	font-size: clamp(56px, 16vw, 68px);
	line-height: 0.92;
	letter-spacing: -0.055em;
  }

  .hero-sub {
	max-width: none;
  }

  #chi-siamo .section-title {
	font-size: 28px;
	line-height: 1.06;
	margin-bottom: 18px;
  }

  #chi-siamo .section-text {
	font-size: 14px;
	line-height: 1.52;
	margin-bottom: 24px;
  }
}

@media (max-width: 760px) {
  #chi-siamo .stats-row {
	grid-template-columns: 1fr;
	gap: 24px;
	margin: 32px 0 12px;
  }

  #chi-siamo .stat-box {
	padding-top: 16px;
  }

  #chi-siamo .stat-num {
	font-size: clamp(56px, 20vw, 72px);
  }

  #chi-siamo .stat-label {
	font-size: 14px;
	line-height: 1.42;
  }

  #chi-siamo .soggetti-strip {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
  }

  #chi-siamo .soggetto-name {
	font-size: 15px;
  }

  #chi-siamo .soggetto-cat {
	font-size: 13px;
  }

  #chi-siamo .ph-credit {
	font-size: 11px;
  }
}

@media (max-width: 900px) {
  .cta-finale {
	padding: 84px 16px;
  }

  .cta-ill {
	width: clamp(120px, 28vw, 190px);
  }

  .cta-ill-left {
	top: 62%;
	transform: translate(-32%, -50%);
  }

  .cta-ill-right {
	top: -10px;
	transform: translate(32%, 0);
  }
}

@media (max-width: 620px) {
  .cta-ill {
	display: none;
  }
}
