@import url("/assets/fonts/fonts.css");

/* ═══════════════════════════════════════════════════════════════════════
   Fondazione Heiwit Sole Bene Comune — foglio di stile del sito pubblico.
   Palette calda: terra e sole. Il verde profondo è l'inchiostro, l'ambra
   è l'unico colore che chiama all'azione — così i pulsanti che contano
   non hanno concorrenza.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --ink:        #14342B;   /* verde molto scuro, quasi nero */
  --ink-soft:   #3D554A;
  --muted:      #6B7C72;
  --line:       #E3DDD1;
  --sand:       #FBF7F0;   /* sfondo pagina */
  --sand-deep:  #F3ECE0;
  --paper:      #FFFFFF;
  --sun:        #E8A33D;   /* accento principale */
  --sun-deep:   #C9821C;
  --leaf:       #2F6F4E;
  --leaf-soft:  #E7F0E9;
  --clay:       #C2603C;
  --sky:        #2C6E8F;

  --radius:     18px;
  --radius-lg:  28px;
  --shadow:     0 1px 2px rgba(20,52,43,.05), 0 12px 32px -12px rgba(20,52,43,.16);
  --shadow-lg:  0 2px 4px rgba(20,52,43,.05), 0 32px 64px -24px rgba(20,52,43,.28);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --wrap: 1160px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
  font-weight: 600;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p  { margin: 0 0 1.1em; }
a  { color: var(--leaf); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sun-deep); }
img { max-width: 100%; height: auto; display: block; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.tiny  { font-size: .82rem; }

/* ─── Occhiello ──────────────────────────────────────────────────────── */
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sun-deep);
  margin: 0 0 1rem;
}
.eyebrow--light { color: var(--sun); }

/* ─── Pulsanti ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .92em 1.7em; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--sun); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(201,130,28,.8); }
.btn--primary:hover { background: #F0B155; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1D473A; color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(20,52,43,.03); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--light:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn--sm { padding: .6em 1.2em; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ─── Testata ────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,247,240,.86);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand__mark {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F5C46E, var(--sun) 55%, var(--sun-deep));
  box-shadow: 0 0 0 4px rgba(232,163,61,.18);
}
.brand__text { line-height: 1.1; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.02rem; color: var(--ink); display: block; }
.brand__sub  { font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a {
  padding: .55em .9em; border-radius: 999px; font-size: .95rem; font-weight: 500;
  color: var(--ink-soft); text-decoration: none;
}
.nav a:hover { background: var(--sand-deep); color: var(--ink); }
.nav a.is-active { color: var(--ink); font-weight: 600; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 12px; background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .6rem 24px 1.2rem; display: none; box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85em .4em; border-radius: 10px; }
  .nav .btn { margin-top: .6rem; justify-content: center; }
}

/* ─── Sezioni ────────────────────────────────────────────────────────── */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--paper { background: var(--paper); }
.section--sand  { background: var(--sand-deep); }
.section--dark  { background: var(--ink); color: #CFDBD4; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 720px; margin-bottom: 3rem; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); }
.section--dark .lead { color: #B9CAC1; }

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem);
}
.hero::before {
  content: ""; position: absolute; z-index: 0;
  width: 760px; height: 760px; right: -220px; top: -380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,163,61,.30), rgba(232,163,61,0) 62%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; z-index: 0;
  width: 520px; height: 520px; left: -260px; bottom: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,111,78,.16), rgba(47,111,78,0) 65%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: .5em; }
.hero .lead { max-width: 34em; }
.hero__art {
  aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, #FFE9C2, #F4D79C 45%, #DCC79E);
  box-shadow: var(--shadow-lg); position: relative;
}
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__art { order: -1; aspect-ratio: 16/10; } }

/* Piccolo disegno del sole sul tetto, usato quando non c'è una foto. */
.roof-art { width: 100%; height: 100%; display: block; }

/* ─── Pagina interna: intestazione ───────────────────────────────────── */
.page-head { padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-head .lead { max-width: 46em; }

/* ─── Numeri d'impatto ───────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--paper); padding: 1.7rem 1.5rem; }
.section--dark .stats { background: rgba(255,255,255,.12); }
.section--dark .stat { background: var(--ink); }
.stat__value { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.section--dark .stat__value { color: var(--sun); }
.stat__unit { font-size: .55em; font-weight: 600; margin-left: .18em; color: var(--muted); font-family: var(--sans); }
.section--dark .stat__unit { color: #8FA79A; }
.stat__label { margin-top: .5rem; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.section--dark .stat__label { color: #94AB9F; }

/* ─── Griglie e schede ───────────────────────────────────────────────── */
.grid { display: grid; gap: 1.6rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
/* auto-fill (non auto-fit): con un solo progetto la scheda resta larga un
   terzo invece di stirarsi per tutta la riga. */
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D6CEBE; }
/* display:block è necessario: .card__media è un <a>, e su un elemento
   inline aspect-ratio non ha effetto (l'illustrazione si stirerebbe). */
.card__media { display: block; aspect-ratio: 16/10; background: linear-gradient(150deg, #FFE9C2, #E8D5B0); position: relative; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-family: var(--serif); font-size: 1.32rem; color: var(--ink); margin: .35rem 0 .5rem; line-height: 1.22; font-weight: 600; }
.card a.card__title-link { text-decoration: none; }
.card__meta { font-size: .82rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.card__foot { margin-top: auto; padding-top: 1.1rem; }

/* ─── Pastiglie di stato ─────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .34em .85em; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  background: var(--sand-deep); color: var(--ink-soft);
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .8; }
.pill--green { background: var(--leaf-soft); color: #1F5238; }
.pill--warm  { background: #FDF0D9; color: #96631A; }
.pill--blue  { background: #E4F0F6; color: #24596F; }
.pill--grey  { background: #EEEDE9; color: #5C6B63; }
.pill--live::before { animation: pulse 2s infinite; background: #22A15E; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .35; transform: scale(.8);} }

/* ─── Barra di raccolta ──────────────────────────────────────────────── */
.progress { background: var(--sand-deep); border-radius: 999px; height: 10px; overflow: hidden; }
.progress__bar { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--sun), var(--sun-deep)); transition: width .6s ease; }
.progress__legend { display: flex; justify-content: space-between; gap: 1rem; margin-top: .6rem; font-size: .87rem; }
.progress__legend strong { color: var(--ink); }

/* ─── Passi numerati ─────────────────────────────────────────────────── */
.steps { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.step { background: var(--paper); padding: 1.8rem; display: grid; grid-template-columns: 64px 1fr; gap: 1.4rem; align-items: start; }
.step__n { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: var(--sun); line-height: 1; }
.step h3 { margin-bottom: .35rem; font-size: 1.22rem; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .step { grid-template-columns: 1fr; gap: .6rem; } }

/* ─── Citazione ──────────────────────────────────────────────────────── */
.quote {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.35;
  color: var(--ink); font-weight: 400; font-style: italic;
  border-left: 4px solid var(--sun); padding-left: 1.6rem; margin: 0;
}
.quote__author { display: block; font-family: var(--sans); font-style: normal; font-size: .92rem; font-weight: 600; color: var(--muted); margin-top: 1.1rem; letter-spacing: .02em; }

/* ─── Prosa lunga ────────────────────────────────────────────────────── */
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose h3 { margin-top: 2.4rem; }
.prose > *:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose strong { color: var(--ink); }

/* ─── Elenco puntato con spunta ──────────────────────────────────────── */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.ticks li { padding-left: 2rem; position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--leaf-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6F4E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ─── Cruscotto live del progetto ────────────────────────────────────── */
.live {
  background: var(--ink); color: #C7D6CD; border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem); position: relative; overflow: hidden;
}
.live::before {
  content: ""; position: absolute; width: 460px; height: 460px; right: -180px; top: -240px;
  border-radius: 50%; background: radial-gradient(circle, rgba(232,163,61,.22), transparent 65%);
}
.live > * { position: relative; }
.live__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.live__title { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin: 0; }
.live__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.4rem 1.2rem; }
.live__kpi { }
.live__value { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; color: #fff; line-height: 1; letter-spacing: -.02em; }
.live__value--sun { color: var(--sun); }
.live__unit { font-family: var(--sans); font-size: .5em; font-weight: 600; color: #8FA79A; margin-left: .2em; }
.live__label { font-size: .84rem; color: #8FA79A; margin-top: .45rem; line-height: 1.4; }
.live__foot { margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; color: #7E958A; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; }
.live--waiting { background: var(--sand-deep); color: var(--muted); border: 1px dashed #D8CFBD; }
.live--waiting .live__title { color: var(--ink); }

/* Grafico a barre della giornata (nessuna libreria: sono solo div). */
.daychart { display: flex; align-items: flex-end; gap: 2px; height: 92px; margin-top: 1.4rem; }
.daychart__bar { flex: 1; background: linear-gradient(180deg, var(--sun), rgba(232,163,61,.25)); border-radius: 3px 3px 0 0; min-height: 2px; position: relative; }
.daychart__bar[data-h="0"] { background: rgba(255,255,255,.07); }
.daychart__axis { display: flex; justify-content: space-between; font-size: .7rem; color: #7E958A; margin-top: .5rem; }

/* ─── Blocco ente beneficiario ───────────────────────────────────────── */
.org { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: center; margin-bottom: 1.8rem; }
.org__logo { width: 84px; height: 84px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); object-fit: contain; padding: 10px; }
.org__name { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin: 0 0 .2rem; }

/* ─── Tabella dati ───────────────────────────────────────────────────── */
.datalist { display: grid; gap: 0; border-top: 1px solid var(--line); }
.datalist__row { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.datalist__row dt { color: var(--muted); margin: 0; }
.datalist__row dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }

/* ─── Cronologia ─────────────────────────────────────────────────────── */
.timeline { list-style: none; margin: 0; padding: 0 0 0 2rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 1.8rem; }
.timeline li::before {
  content: ""; position: absolute; left: -2rem; top: .35em; width: 16px; height: 16px;
  border-radius: 50%; background: var(--sand); border: 2px solid var(--line);
}
.timeline li.is-done::before { background: var(--sun); border-color: var(--sun); }
.timeline h4 { font-family: var(--serif); font-size: 1.12rem; color: var(--ink); margin: 0 0 .25rem; font-weight: 600; }
.timeline time { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .2rem; }
.timeline p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ─── Galleria ───────────────────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand-deep); }
.gallery img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery figcaption { padding: .7rem .9rem; font-size: .84rem; color: var(--muted); }

/* ─── Moduli ─────────────────────────────────────────────────────────── */
.form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: .45rem; }
.field > label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field__hint { font-size: .84rem; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=number],
input[type=password], input[type=date], input[type=url], select, textarea {
  width: 100%; padding: .8em 1em; font: inherit; font-size: 1rem;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--sun); box-shadow: 0 0 0 4px rgba(232,163,61,.18);
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 640px) { .row2, .row3 { grid-template-columns: 1fr; } }

.check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: .93rem; }
.check input { margin-top: .28em; width: 18px; height: 18px; accent-color: var(--leaf); }

/* Scelte a scheda (tipo di donatore, importo). */
.choices { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: block; padding: .7em 1.25em; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper);
  font-size: .95rem; font-weight: 600; color: var(--ink-soft); cursor: pointer;
  transition: all .15s ease;
}
.choice input:checked + span { border-color: var(--sun); background: #FDF3E1; color: var(--ink); box-shadow: 0 0 0 3px rgba(232,163,61,.16); }
.choice input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 2px; }

.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 1rem 1.2rem; border-radius: 12px; font-size: .95rem; margin-bottom: 1rem; }
.alert--errore { background: #FDECE8; color: #9B3418; border: 1px solid #F5CFC4; }
.alert--ok     { background: var(--leaf-soft); color: #1F5238; border: 1px solid #C8DFCE; }
.alert--info   { background: #E4F0F6; color: #24596F; border: 1px solid #C6DEE9; }

/* ─── Richiamo finale ────────────────────────────────────────────────── */
.cta {
  background: linear-gradient(135deg, #1B4436, var(--ink) 60%);
  color: #CFDBD4; border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.8rem); position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; width: 560px; height: 560px; right: -220px; bottom: -320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(232,163,61,.28), transparent 62%);
}
.cta > * { position: relative; }
.cta h2 { color: #fff; }

/* ─── Piè di pagina ──────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #8FA79A; padding: 4rem 0 2rem; font-size: .93rem; }
.site-footer a { color: #C7D6CD; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__title { color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .8rem 1.8rem; justify-content: space-between; font-size: .84rem; color: #6E857A; }

/* ─── Utilità ────────────────────────────────────────────────────────── */
.stack   { display: grid; gap: 1.2rem; }
.stack-s { display: grid; gap: .5rem; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.split { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.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; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
