/* diethylstilbeszztrol: blu notte, oro, testo nero su bianco */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Figtree, helvetica, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #000;
  background: #fff;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
:focus-visible { outline: 3px solid #ffb819; outline-offset: 2px; }
.skip-link { position: absolute; left: -999em; }
.skip-link:focus { left: 1em; top: 1em; z-index: 99; background: #fff; padding: .5em 1em; }

.wrapper { width: 100%; max-width: 72.5rem; margin: 0 auto; padding: 0 1.25rem; }
.wrapper--narrow { max-width: 50rem; }
.global-padding--8x { padding-top: 6.25rem; padding-bottom: 6.25rem; }
.global-padding--6x { padding-top: 4.5rem; padding-bottom: 4.75rem; }

.section-title {
  font-size: clamp(2.1rem, 4.4vw, 3.75rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.125rem;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.section-title--gradient { color: #0b6f7d; }
.section-title--purple { color: #4a0d66; }
.section-title--light { color: #fff; }
.section-intro { font-size: 1.25rem; max-width: 46rem; margin-bottom: 3rem; }

/* pulsanti */
.button {
  display: inline-block;
  padding: 1.1rem 1.25rem;
  border: 3px solid transparent;
  border-radius: .5rem;
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  transition: background-color .2s, color .2s;
}
.button--gold { background: #ffb819; border-color: #ffb819; color: #000; }
.button--gold:hover { background: #ffc94d; }
.button--white { background: #fff; color: #000; }
.button--white:hover { background: #ffe6ad; }
.button--outline { border-color: #f5a623; color: #fff; background: transparent; }
.button--outline:hover { background: rgba(255, 255, 255, .1); }
.button--line { border-color: #002c72; color: #002c72; background: #fff; }
.button--tiny { padding: .3rem .9rem; font-size: .875rem; border-width: 2px; }
.link-underline { font-weight: 800; text-decoration: underline; text-decoration-color: #f5a623; text-underline-offset: .25em; text-decoration-thickness: 2px; }

/* barra in alto e testata */
.utility-bar { background: #fff; font-size: .9375rem; }
.utility-bar__inner { display: flex; justify-content: flex-end; align-items: center; gap: 1.5rem; min-height: 2.75rem; }
.utility-bar__link { text-decoration: none; }
.utility-bar__link:hover { text-decoration: underline; }
.page-header { background: #002c72; color: #fff; position: relative; }
.page-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 8.25rem; gap: 2rem; }
.page-header__brand img { width: 12.5rem; }
.primary-nav { display: flex; gap: 2.5rem; font-weight: 800; }
.primary-nav a { text-decoration: none; }
.primary-nav a:hover { text-decoration: underline; text-decoration-color: #ffb819; text-underline-offset: .3em; }
.mobile-menu-button { display: none; background: none; border: 2px solid #ffb819; color: #fff; border-radius: .5rem; padding: .5rem 1rem; font: inherit; font-weight: 800; cursor: pointer; }

/* hero con foto e sfumatura blu */
.hero { position: relative; color: #fff; background: #002c72; overflow: hidden; }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 44, 114, .25) 0%, rgba(0, 44, 114, .55) 55%, #002c72 100%); }
.hero__body { position: relative; z-index: 1; text-align: center; padding-top: 18rem; padding-bottom: 9rem; }
.hero__title { font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: 1.05; font-weight: 800; letter-spacing: -.15rem; text-shadow: .2rem .2rem 0 rgba(0, 0, 0, .55); margin-bottom: 1.25rem; }
.hero__title em { display: block; color: #ffb819; font-style: italic; }
.hero__lead { font-size: 1.375rem; max-width: 40rem; margin: 0 auto 2.25rem; text-shadow: 0 1px .6rem rgba(0, 0, 0, .7); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

/* scheda bianca sopra il blu */
.path-card-wrap { background: linear-gradient(#002c72 0, #002c72 6rem, #fff 6rem); }
.path-card { position: relative; background: #fff; border-radius: .5rem; padding: 4.5rem 3.75rem; box-shadow: 0 .5rem 2rem rgba(0, 0, 0, .08); }
.path-card__title { font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -.1rem; text-align: center; color: #0b7a8a; margin-bottom: 3rem; }
.path-card__cols { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2.5rem; }
.path-card__text { text-align: right; font-size: 1.25rem; }
.path-card__label { writing-mode: vertical-rl; transform: rotate(180deg); text-transform: uppercase; letter-spacing: .1em; font-size: .875rem; color: #55565a; border-left: 1px solid #ddd; padding-left: 1rem; margin: 0; }
.path-card__list { list-style: none; padding: 0; margin: 0; }
.path-card__list li { font-weight: 800; font-size: 1.25rem; padding: .45rem 0; text-decoration: underline; text-decoration-color: #f5a623; text-underline-offset: .3em; text-decoration-thickness: 2px; }

/* scacchiera immagine e testo */
.checkerboard__row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: center; margin-top: 3.5rem; }
.checkerboard__row--flip .checkerboard__img { order: 2; }
.checkerboard__row > * { min-width: 0; }
.checkerboard__img { width: 100%; aspect-ratio: 90 / 62; object-fit: cover; border-radius: .5rem; }
.checkerboard__text h3 { font-size: 1.875rem; font-weight: 800; letter-spacing: -.0625rem; margin-bottom: 1rem; }
.tick-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.tick-list li { position: relative; padding: .4rem 0 .4rem 2rem; font-size: 1rem; }
.tick-list li::before { content: ""; position: absolute; left: .25rem; top: .85rem; width: .9rem; height: .5rem; border-left: 3px solid #12805c; border-bottom: 3px solid #12805c; transform: rotate(-45deg); }

/* storie */
.stories { background: #fafafa; text-align: center; }
.stories .section-intro { margin-left: auto; margin-right: auto; }
.stories__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.story-card { background: #fff; padding-bottom: 3rem; min-width: 0; }
.story-card__media { position: relative; margin-bottom: 3.25rem; }
.story-card__media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.story-card__icon { position: absolute; left: 50%; bottom: -1.75rem; transform: translateX(-50%); width: 3.5rem; height: 3.75rem; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .12); border-radius: .3125rem; }
.story-card__quote { font-size: 1.125rem; padding: 0 2.25rem; }
.story-card__name { font-weight: 800; font-size: 1.2rem; margin-bottom: .2rem; }
.story-card__tag { font-style: italic; color: #55565a; font-size: 1rem; }

/* pannello scuro */
.differentiator { background: #000; color: #fff; }
.differentiator__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.differentiator__lead { font-style: italic; font-size: 1.15rem; }
.differentiator__panel { background: #1c1c1c; padding: 1.5rem 3.1rem 2rem; }
.panel-row { padding-top: 1.25rem; }
.panel-row__label { display: flex; align-items: center; gap: .75rem; text-transform: uppercase; font-weight: 800; font-size: .875rem; letter-spacing: .06em; margin-bottom: .75rem; }
.panel-row__label::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .3); }
.panel-row__body { display: flex; gap: 1.25rem; align-items: flex-start; }
.panel-row__body svg { flex: none; }
.panel-row__body h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: .25rem; }
.panel-row__body p { font-style: italic; font-size: 1rem; margin: 0; }

/* date */
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-bottom: 2.5rem; }
.event-item__title { font-size: 1.25rem; font-weight: 800; padding-bottom: .4rem; border-bottom: 2px solid #f5a623; display: inline-block; margin-bottom: 1rem; }
.event-item__row { display: flex; gap: .75rem; align-items: flex-start; font-size: 1rem; margin-bottom: .5rem; }
.event-item__row svg { flex: none; margin-top: .3rem; }

/* notizie blu: le dieci mattine */
.news-section { background: #002c72; color: #fff; }
.news-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.news-section__head .section-title { margin-bottom: .5rem; }
.news-section__arrows { display: flex; gap: .5rem; }
.round-arrow { width: 3rem; height: 3rem; border-radius: 50%; border: 2px solid #ffb819; background: transparent; color: #fff; font-size: 1.25rem; cursor: pointer; }
.round-arrow:hover { background: #ffb819; color: #000; }
.news-section__sub { margin-bottom: 2.5rem; }
.news-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 1.5rem) / 3); gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-bottom: 2.5rem; }
.news-track::-webkit-scrollbar { display: none; }
.news-card { background: #1f4384; padding: 0 0 2rem; scroll-snap-align: start; min-width: 0; }
.news-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 1.5rem; }
.news-card > p, .news-card > h3 { padding: 0 1.75rem; }
.news-card__kicker { text-transform: uppercase; font-weight: 800; font-size: .875rem; letter-spacing: .06em; margin-bottom: .5rem; }
.news-card__title { font-size: 1.125rem; font-weight: 800; text-decoration: underline; text-decoration-color: #ffb819; text-underline-offset: .25em; margin-bottom: .6rem; }
.news-card p { font-size: 1rem; margin: 0; }

/* città */
.city-section { padding-top: 5.5rem; }
.city-section__text { max-width: 56rem; margin-bottom: 3rem; }
.city-section__img { width: 100%; aspect-ratio: 16 / 5.6; object-fit: cover; }

/* passi */
.steps-list { list-style: none; padding: 0; margin: 2rem 0 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.steps-list li { display: flex; gap: 1rem; border-top: 4px solid #002c72; padding-top: 1.25rem; }
.steps-list__n { font-size: 2.5rem; font-weight: 800; line-height: 1; color: #0f6fb5; }
.steps-list h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: .25rem; }
.steps-list p { font-size: 1rem; margin: 0; }

/* cosa non facciamo */
.limits-section { background: #4a0d66; color: #fff; }
.limits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .2); margin-bottom: 2rem; }
.limit { background: #4a0d66; padding: 1.5rem 1.25rem; }
.limit b { display: block; color: #ffb819; font-size: 1.2rem; }
.limit span { font-size: 1rem; }
.limits-note { font-style: italic; max-width: 50rem; margin: 0; }

/* fisarmonica */
.accordion__item { border-bottom: 1px solid #d6d6d6; }
.accordion__item summary { cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; font-weight: 800; font-size: 1.25rem; position: relative; }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::after { content: "+"; position: absolute; right: .25rem; top: 1rem; font-size: 1.75rem; color: #e08a00; }
.accordion__item[open] summary::after { content: "\2212"; }
.accordion__item p { margin: 0 0 1.25rem; font-size: 1.0625rem; }
.accordion__item a { color: #0f6fb5; }

/* fondo pagina */
.page-footer { color: #fff; background: #002c72; }
.page-footer__cta { background: linear-gradient(110deg, #3b2a73 0%, #1d4fa0 45%, #0a72c8 100%); padding: 5rem 0; }
.page-footer__cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.page-footer__big { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.1rem; margin-bottom: .5rem; }
.page-footer__panel { background: rgba(255, 255, 255, .1); padding: 2.5rem 3rem; }
.page-footer__panel-title { font-size: 1.75rem; font-weight: 800; margin-bottom: 1rem; }
.page-footer__panel a { display: block; font-weight: 800; margin-bottom: .6rem; text-decoration: underline; text-decoration-color: #ffb819; text-underline-offset: .25em; }
.page-footer__bottom { padding-top: 2.5rem; padding-bottom: 2.5rem; font-size: .9375rem; }
.page-footer__bottom img { width: 10.6rem; margin-bottom: 1.25rem; }
.page-footer__bottom p { margin-bottom: .4rem; overflow-wrap: anywhere; }
.page-footer__cookies { background: none; border: 0; color: #fff; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }

/* finestra cookie */
.cookie-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; padding: 1rem; background: rgba(0, 20, 60, .45); }
.cookie-modal[hidden], .cookie-modal__opts[hidden] { display: none; }
.cookie-modal__box { background: #fff; max-width: 40rem; width: 100%; padding: 2rem; border-radius: .5rem; border-top: 6px solid #ffb819; font-size: 1rem; }
.cookie-modal__title { font-size: 1.5rem; font-weight: 800; color: #002c72; }
.cookie-modal__box a { color: #0f6fb5; }
.cookie-modal__opts { display: grid; gap: .5rem; margin-bottom: 1rem; }
.cookie-modal__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-modal__actions .button { padding: .7rem 1.2rem; font-size: 1rem; }

/* interne: banner e testo */
.page-banner { background: #002c72; color: #fff; padding: 4rem 0 4.5rem; }
.page-banner h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.125rem; line-height: 1.1; margin-bottom: 1rem; }
.page-banner p { font-size: 1.25rem; max-width: 46rem; margin: 0; }
.crumbs { font-size: .9375rem; margin-bottom: 1.25rem; }
.crumbs a { color: #ffb819; }
.page-main { padding: 4.5rem 0 6rem; }
.page-main h2 { font-size: 1.875rem; font-weight: 800; letter-spacing: -.0625rem; margin: 3rem 0 1rem; color: #4a0d66; }
.page-main h2:first-child { margin-top: 0; }
.page-main a { color: #0f6fb5; }
.week-block { border-left: 4px solid #ffb819; padding-left: 1.5rem; margin: 1.5rem 0; }
.week-block p { margin-bottom: .9rem; }
.week-block b { color: #002c72; }
.legal-body { max-width: 50rem; font-size: 1.0625rem; }
.legal-body h2 { font-size: 1.375rem; color: #002c72; margin: 2.25rem 0 .75rem; }

/* adesione */
.join-form { background: #fafafa; border-radius: .5rem; padding: 2.75rem; max-width: 46rem; }
.join-form__group { margin-bottom: 1.25rem; }
.join-form__label { display: block; font-weight: 800; margin-bottom: .4rem; }
.join-form__input { width: 100%; padding: .9rem 1rem; border: 2px solid #b9c2d3; border-radius: .5rem; font: inherit; background: #fff; }
.join-form__input:focus { border-color: #002c72; outline: none; box-shadow: 0 0 0 3px rgba(255, 184, 25, .5); }
.join-form__input[aria-invalid="true"] { border-color: #c0202f; }
.join-form fieldset { border: 0; padding: 0; margin: 0; }
.join-form legend { font-weight: 800; margin-bottom: .4rem; padding: 0; }
.join-form__choices { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.join-form__msg { display: block; min-height: 1.4em; color: #c0202f; font-size: .9375rem; }
.join-form__check { display: flex; gap: .6rem; align-items: flex-start; font-size: 1rem; }
.join-form__hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* schermi medi e piccoli */
@media (max-width: 860px) {
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #002c72; padding: .5rem 1.25rem 1.5rem; z-index: 20; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .75rem 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
  .mobile-menu-button { display: block; }
  .page-header__inner { min-height: 5.5rem; }
  .page-header__brand img { width: 10rem; }
  .utility-bar__inner { justify-content: space-between; gap: .75rem; font-size: .8125rem; }
  .utility-bar__link:nth-child(2) { display: none; }
  .hero__body { padding-top: 10rem; padding-bottom: 6rem; }
  .path-card { padding: 2.5rem 1.5rem; }
  .path-card__cols, .checkerboard__row, .differentiator__grid, .page-footer__cta-grid { grid-template-columns: 1fr; }
  .path-card__text { text-align: left; }
  .path-card__label { display: none; }
  .checkerboard__row--flip .checkerboard__img { order: 0; }
  .stories__grid, .event-grid, .steps-list { grid-template-columns: 1fr; }
  .news-track { grid-auto-columns: 75%; }
  .limits-grid { grid-template-columns: 1fr 1fr; }
  .global-padding--8x { padding-top: 4rem; padding-bottom: 4rem; }
  .differentiator__panel { padding: 1rem 1.5rem 1.5rem; }
  .page-footer__panel { padding: 2rem 1.5rem; }
  .join-form { padding: 1.75rem 1.25rem; }
}
@media (max-width: 480px) {
  .limits-grid { grid-template-columns: 1fr; }
  .news-track { grid-auto-columns: 88%; }
  .hero__actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
