@font-face{
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 200;
  src: url("../fonts/2sDPZGJYnIjSi6H75xkZZE1I0yCmYzzQtmZnIGaV2g.ttf") format('truetype');
}
@font-face{
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/2sDPZGJYnIjSi6H75xkZZE1I0yCmYzzQtrhnIGaV2g.ttf") format('truetype');
}
@font-face{
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/2sDPZGJYnIjSi6H75xkZZE1I0yCmYzzQtuZnIGaV2g.ttf") format('truetype');
}
@font-face{
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/2sDPZGJYnIjSi6H75xkZZE1I0yCmYzzQttRnIGaV2g.ttf") format('truetype');
}
@font-face{
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/2sDPZGJYnIjSi6H75xkZZE1I0yCmYzzQtjhgIGaV2g.ttf") format('truetype');
}
@font-face{
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/2sDPZGJYnIjSi6H75xkZZE1I0yCmYzzQtgFgIGaV2g.ttf") format('truetype');
}
@font-face{
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 800;
  src: url("../fonts/2sDPZGJYnIjSi6H75xkZZE1I0yCmYzzQtmZgIGaV2g.ttf") format('truetype');
}
@font-face{
  font-family: 'Overpass';
  font-style: italic;
  font-weight: 100;
  src: url("../fonts/qFdU35WCmI96Ajtm81GgSdXCNs-VMF0vNLADe6qIncY.ttf") format('truetype');
}
@font-face{
  font-family: 'Overpass';
  font-style: italic;
  font-weight: 200;
  src: url("../fonts/qFdU35WCmI96Ajtm81GgSdXCNs-VMF0vNLCDeqqIncY.ttf") format('truetype');
}
@font-face{
  font-family: 'Overpass';
  font-style: italic;
  font-weight: 300;
  src: url("../fonts/qFdU35WCmI96Ajtm81GgSdXCNs-VMF0vNLBdeqqIncY.ttf") format('truetype');
}
@font-face{
  font-family: 'Overpass';
  font-style: italic;
  font-weight: 500;
  src: url("../fonts/qFdU35WCmI96Ajtm81GgSdXCNs-VMF0vNLAxeqqIncY.ttf") format('truetype');
}
@font-face{
  font-family: 'Overpass';
  font-style: italic;
  font-weight: 600;
  src: url("../fonts/qFdU35WCmI96Ajtm81GgSdXCNs-VMF0vNLDdfaqIncY.ttf") format('truetype');
}
@font-face{
  font-family: 'Overpass';
  font-style: italic;
  font-weight: 700;
  src: url("../fonts/qFdU35WCmI96Ajtm81GgSdXCNs-VMF0vNLDkfaqIncY.ttf") format('truetype');
}
@font-face{
  font-family: 'Overpass';
  font-style: italic;
  font-weight: 800;
  src: url("../fonts/qFdU35WCmI96Ajtm81GgSdXCNs-VMF0vNLCDfaqIncY.ttf") format('truetype');
}
@font-face{
  font-family: 'Overpass';
  font-style: italic;
  font-weight: 900;
  src: url("../fonts/qFdU35WCmI96Ajtm81GgSdXCNs-VMF0vNLCqfaqIncY.ttf") format('truetype');
}
@font-face{
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 100;
  src: url("../fonts/qFda35WCmI96Ajtm83upeyoaX6QPnlo6_PLbPpqP.ttf") format('truetype');
}
@font-face{
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 200;
  src: url("../fonts/qFda35WCmI96Ajtm83upeyoaX6QPnlo6fPPbPpqP.ttf") format('truetype');
}
@font-face{
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/qFda35WCmI96Ajtm83upeyoaX6QPnlo6ovPbPpqP.ttf") format('truetype');
}
@font-face{
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/qFda35WCmI96Ajtm83upeyoaX6QPnlo6zvPbPpqP.ttf") format('truetype');
}
@font-face{
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/qFda35WCmI96Ajtm83upeyoaX6QPnlo6IvTbPpqP.ttf") format('truetype');
}
@font-face{
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/qFda35WCmI96Ajtm83upeyoaX6QPnlo6G_TbPpqP.ttf") format('truetype');
}
@font-face{
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 800;
  src: url("../fonts/qFda35WCmI96Ajtm83upeyoaX6QPnlo6fPTbPpqP.ttf") format('truetype');
}
@font-face{
  font-family:"Font Awesome 5 Free";
  font-style:normal;
  font-weight:900;
  font-display:block;
  src:url("../fonts/fa-solid-900.woff2") format("woff2");
}
@font-face{
  font-family:"Font Awesome 5 Brands";
  font-style:normal;
  font-weight:400;
  font-display:block;
  src:url("../fonts/fa-brands-400.woff2") format("woff2");
}
/* ========== Fondazione Fico — clean homepage ========== */

:root {
  --green: #127501;
  --green-soft: rgba(27, 188, 0, 0.16);
  --text: #1c1c1c;
  --muted: #6b6b6b;
  --bg: #ffffff;
  --bg-soft: #f6f6f6;
  --ticker-bg: #ededed;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.21);
  --font: "Assistant", "Overpass", sans-serif;
  --display: "Overpass", "Assistant", sans-serif;
  --max: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: default;
}

.btn--light {
  background: #fff;
  color: var(--text);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.btn--header {
  background: var(--green);
  font-size: 0.85rem;
}

/* ----- Header ----- */

.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-brand img {
  width: 160px;
  height: auto;
}

.site-nav {
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav__list > li {
  position: relative;
}

.site-nav__list > li > span {
  display: block;
  padding: 0.55rem 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: default;
}

.site-nav__list > li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 14rem;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 0.4rem 0;
  z-index: 20;
}

.site-nav__list > li:hover > ul {
  display: block;
}

.site-nav__list > li > ul span {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.menu-toggle__bar,
.menu-toggle__bar::before,
.menu-toggle__bar::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  position: relative;
}

.menu-toggle__bar::before,
.menu-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle__bar::before { top: -7px; }
.menu-toggle__bar::after { top: 7px; }

/* ----- Hero ----- */

.hero {
  position: relative;
  background: #111;
}

.hero__slides {
  position: relative;
  min-height: clamp(250px, 28vw, 420px);
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(2.5rem, 5vw, 4rem);
  left: auto;
  max-width: min(640px, 90%);
  text-align: right;
  z-index: 2;
  color: #fff;
}

.hero__eyebrow,
.hero__title {
  display: inline-block;
  background: rgba(28, 28, 28, 0.84);
  color: #fff !important;
  padding: 0.35rem 0.7rem;
  border-radius: 3px;
  margin-bottom: 0.4rem;
  font-family: var(--font);
  font-weight: 700;
  text-shadow: none;
}

.hero__eyebrow {
  font-size: clamp(1rem, 2.2vw, 1.7rem);
}

.hero__title {
  font-size: clamp(1.15rem, 2.5vw, 1.85rem);
  line-height: 1.25;
}

.hero__content .btn,
.hero__content .btn--light {
  color: #fff !important;
  background: rgba(28, 28, 28, 0.84);
  box-shadow: none;
  margin-top: 0.35rem;
}

.hero__controls {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
}

.hero__prev,
.hero__next {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero__dots {
  display: flex;
  gap: 0.45rem;
}

.hero__dots button {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background: #dedede;
  padding: 0;
  cursor: pointer;
}

.hero__dots button.is-active {
  background: #fff;
}

/* ----- News ticker ----- */

.news-ticker {
  display: flex;
  align-items: stretch;
  background: var(--ticker-bg);
  min-height: 65px;
}

.news-ticker__label {
  flex: 0 0 auto;
  background: var(--green);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

.news-ticker__label::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: var(--green);
}

.news-ticker__list {
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 1.25rem 0 1.75rem;
  font-size: 1rem;
  min-width: 0;
}

.news-ticker__list li {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: none;
  width: 100%;
  color: var(--text);
}

.news-ticker__list li.is-active {
  display: block;
}

.news-ticker__nav {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  background: #dedede;
}

.news-ticker__btn {
  width: 44px;
  border: 0;
  border-left: 1px solid #cacaca;
  background: transparent;
  color: #1c1c1c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.news-ticker__btn:first-child {
  border-left: 0;
}

.news-ticker__btn:hover {
  background: #d0d0d0;
}

.news-ticker__btn svg {
  display: block;
}

.news-ticker__pause[aria-pressed="true"] .icon-pause {
  display: none;
}

.news-ticker__pause[aria-pressed="true"] .icon-play {
  display: block;
}

.news-ticker__pause[aria-pressed="false"] .icon-play {
  display: none;
}

/* ----- Cards ----- */

.cards {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.card {
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card--highlight {
  background: var(--green-soft);
}

.card__heading {
  color: var(--green);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 1rem 1rem 0.35rem;
  position: relative;
}

.card__heading::after {
  content: "";
  display: block;
  width: 25%;
  height: 3px;
  background: var(--green);
  margin-top: 0.45rem;
}

.card img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  margin-top: 0.75rem;
}

.card__title {
  font-size: 1.05rem;
  font-weight: 700;
  padding: 1rem 1rem 0.5rem;
  line-height: 1.35;
}

.card__excerpt,
.card__meta {
  padding: 0 1rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
}

.card__meta {
  color: var(--muted);
}

.card__meta:first-of-type {
  padding-top: 0.75rem;
  padding-bottom: 0;
}

.card .card__meta + .card__title {
  padding-top: 0.5rem;
}

/* ----- Stats ----- */

.stats {
  background: var(--bg-soft);
  padding: 3.5rem 1.25rem 4rem;
  text-align: center;
}

.stats__title {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.stats__list {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stats__list li {
  background: #fff;
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 21px rgba(0, 0, 0, 0.13);
  padding: 1.25rem;
  margin: 0 auto;
  width: min(100%, 180px);
}

.stats__list strong {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  color: #bababa;
  font-weight: 700;
  line-height: 1.1;
}

.stats__list span {
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 0.35rem;
}

/* ----- Promo ----- */

.promo {
  max-width: var(--max);
  margin: 2.5rem auto 3.5rem;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.promo__item {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35);
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}

.promo__item h2 {
  background: var(--green);
  color: #fff;
  font-weight: 300;
  font-style: oblique;
  font-family: var(--font);
  padding: 0.65rem 1rem;
  text-align: right;
}

.promo__item img {
  width: 100%;
}

.promo__item--social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(160deg, #f4f7f2 0%, #e8efe6 100%);
  color: var(--text);
  font-size: 1.05rem;
}

.promo__item--social strong {
  color: var(--green);
}

/* ----- Footer ----- */

.site-footer {
  color: #fff;
}

.site-footer__social {
  background: #1c1c1c;
  text-align: center;
  padding: 2rem 1.25rem 1.5rem;
}

.site-footer__social h2 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.site-footer__social h2 + .social-list {
  margin-top: 1rem;
}

.social-list {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.social-list__icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: #69727d;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer__donate {
  background-color: #0b3d08;
  background-size: cover;
  background-position: center;
  padding: 3.5rem 1.25rem;
  text-align: center;
  position: relative;
}

.site-footer__donate::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 117, 1, 0.72);
}

.site-footer__donate > * {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer__donate h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.site-footer__donate p {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.site-footer__newsletter {
  background: #1c1c1c;
  padding: 2.5rem 1.25rem;
  text-align: center;
}

.site-footer__newsletter h2 {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.newsletter {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  text-align: left;
}

.newsletter input[type="text"],
.newsletter input[type="email"] {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 0;
  border-radius: 3px;
  font: inherit;
}

.newsletter__privacy {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.newsletter .btn {
  grid-column: 1 / -1;
  justify-self: start;
}

.site-footer__bottom {
  background: #111;
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: #ccc;
}

/* ----- Responsive ----- */

@media (max-width: 1024px) {
  .cards {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .stats__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 0.5rem 1rem 1rem;
    margin-left: 0;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav__list > li > ul {
    position: static;
    display: block;
    box-shadow: none;
    padding-left: 0.75rem;
  }

  .site-header__inner {
    flex-wrap: wrap;
    position: relative;
  }

  .btn--header {
    order: 3;
    width: 100%;
  }

  .hero__content {
    text-align: left;
    right: auto;
    left: 1rem;
    max-width: 92%;
  }

  .newsletter {
    grid-template-columns: 1fr;
  }
}

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

  .stats__list li {
    width: 100%;
  }
}
