/* =====================================================================
   MCP · C'è posto per il tuo talento — talento.palazzolocoop.it
   Mobile first: stili base per smartphone, poi 600 / 900 / 1200 px.
   ===================================================================== */

/* ---------------------------------------------------------------- FONT */
/* Archivo e Inter: SIL Open Font License 1.1 (vedi assets/fonts/OFL-*.txt).
   Istanze statiche ridotte al set latino per contenere il peso. */
@font-face {
  font-family: "Archivo Condensed";
  src: url("../assets/fonts/archivo-condensed-800.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------------------------------------------------------------- TOKEN */
:root {
  /* Palette istituzionale */
  --ink: #222222;
  --orange: #c85904;   /* MCP */
  --green: #6eaa27;    /* Cooperativa Sociale Palazzolese */
  --blue: #0088bf;     /* Cooperativa P.A.E.S.E. */
  --cream: #f5f4f0;
  --white: #ffffff;

  /* Varianti per testo piccolo su fondo colorato (contrasto WCAG AA ≥ 4.5:1).
     I colori puri restano su loghi, barre, titoli grandi e superfici. */
  --orange-ui: #b04e03;  /* bianco su questo fondo: 5.3:1 */
  --blue-ui: #0079aa;    /* bianco su questo fondo: 4.8:1 */
  --orange-text: #9a4402; /* testo arancione piccolo su fondi chiari */
  --orange-soft: #f5ad66; /* accento su fondo antracite */

  --ink-2: #2d2d2b;
  --stone: #ebeae5;
  --line: #dcdad3;
  --muted: #5c5c57;
  --field-border: #85847d;
  --error: #b3261e;
  --error-bg: #fcedeb;
  --success-bg: #eef6e6;

  --font-display: "Archivo Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-ui: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 20px;
  --max: 1160px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --focus: var(--orange-ui);
}

/* ---------------------------------------------------------------- BASE */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, blockquote { margin: 0; }
p, li { text-wrap: pretty; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a, button, input, select, textarea, label { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.on-dark, .hero, .impact__body, .site-footer, .path, .choice[aria-pressed="true"] { --focus: var(--orange-soft); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute; z-index: 100;
  left: 12px; top: -80px;
  padding: 12px 16px;
  background: var(--white); color: var(--ink);
  font-family: var(--font-ui); font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: max(12px, env(safe-area-inset-top)); }

.container {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* Etichetta maiuscola ricorrente */
.eyebrow, .kicker, .path__label, .coop__tag, .site-header__tag {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: .75rem;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Barre cromatiche del Movimento (riprese dalla brochure) */
.brand-bars { display: flex; gap: 8px; }
.brand-bars i {
  display: block; width: 34px; height: 12px;
  background: var(--orange);
  transform: skewX(-24deg);
}
.brand-bars i:nth-child(2) { background: var(--blue); }
.brand-bars i:nth-child(3) { background: var(--green); }

/* ---------------------------------------------------------------- BOTTONI */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px;
  padding: 16px 20px;
  border: 0; border-radius: var(--radius);
  font-family: var(--font-ui); font-weight: 700;
  font-size: .875rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none;
  touch-action: manipulation;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.btn--primary { background: var(--orange-ui); color: var(--white); }
.btn--primary:hover { background: #9a4402; }
.btn:active { transform: scale(.98); }
.btn--block { width: 100%; }
.btn__icon {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .2s var(--ease);
}
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px #0000001f; }
  .btn:hover .btn__icon { transform: translateY(2px); }
  .btn[type="submit"]:hover .btn__icon { transform: translateX(3px); }
}

/* ---------------------------------------------------------------- HEADER */
.site-header {
  position: absolute; z-index: 5; top: 0; left: 0; right: 0;
  padding-top: max(16px, env(safe-area-inset-top));
  color: var(--white);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header__logo { display: block; border-radius: var(--radius); }
.site-header__logo img { width: 78px; height: auto; }
.site-header__tag { color: #c9c9c4; font-size: .6875rem; }

/* ---------------------------------------------------------------- HERO */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(112px + env(safe-area-inset-top)) 0 44px;
  background: var(--ink);
  color: var(--white);
}
.hero::after {
  content: ""; position: absolute; pointer-events: none;
  width: 340px; height: 340px; right: -230px; top: 22%;
  border: 1px solid #ffffff1c; border-radius: 50%;
  box-shadow: 0 0 0 70px #ffffff05, 0 0 0 150px #ffffff04;
}
.hero__grid { position: relative; z-index: 1; }
.hero .eyebrow { color: #c9c9c4; margin-bottom: 18px; }
.hero .brand-bars { margin-bottom: 22px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 17.4vw, 5.6rem);
  line-height: .9;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero__title .line { display: block; }
.hero__title .line > span { display: inline-block; animation: rise .9s var(--ease) both; }
.hero__title .line:nth-child(2) > span { animation-delay: .08s; }
.hero__title .line:nth-child(3) > span { animation-delay: .16s; }
.hero__title .accent { color: var(--orange); }
@keyframes rise {
  from { opacity: 0; transform: translateY(.35em); }
  to { opacity: 1; transform: none; }
}
.hero__lead {
  max-width: 34ch;
  font-size: 1.0625rem; line-height: 1.5;
  color: #e6e6e3;
  margin-bottom: 28px;
  animation: fade .9s .3s var(--ease) both;
}
.hero__actions { display: grid; gap: 4px; animation: fade .9s .4s var(--ease) both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.hero .btn { width: 100%; }
.link-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  font-weight: 600; font-size: .9375rem;
  color: var(--white);
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px;
}
.link-secondary:hover { text-decoration-thickness: 2px; }
.hero__aside { display: none; }

/* ---------------------------------------------------------------- SEZIONI */
.section { padding: 64px 0; }
.section-head { margin-bottom: 28px; max-width: 720px; }
.kicker { display: flex; align-items: center; gap: 10px; color: var(--orange-text); margin-bottom: 14px; }
.kicker span {
  display: inline-grid; place-items: center;
  min-width: 30px; height: 22px; padding: 0 6px;
  background: var(--orange-ui); color: var(--white);
  border-radius: 2px; letter-spacing: .04em;
}
.kicker--light { color: var(--white); }
.kicker--light span { background: var(--orange-ui); }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 12.5vw, 5.4rem);
  line-height: .95;
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-wrap: balance;
}
.section-head > p:last-child { color: var(--muted); font-size: 1.0625rem; max-width: 60ch; }

/* ---------------------------------------------------------------- INTERESSI */
.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.choice {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  min-height: 150px;
  padding: 16px 14px 14px;
  text-align: left;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  touch-action: manipulation;
  transition: background-color .22s, border-color .22s, color .22s, transform .22s var(--ease), box-shadow .22s;
}
.choice__icon {
  width: 30px; height: 30px;
  fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .22s;
}
.choice__index {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--font-ui); font-weight: 700; font-size: .75rem;
  color: var(--muted);
}
.choice__title {
  font-family: var(--font-ui); font-weight: 700;
  font-size: clamp(1rem, 4.6vw, 1.25rem); line-height: 1.2;
  hyphens: auto; overflow-wrap: break-word;
}
.choice__coop {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 600; color: var(--muted);
}
.choice__coop::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
}
.choice__coop--paese::before { background: var(--blue); }
.choice__coop--palazzolese::before { background: var(--green); }
.choice:active { transform: scale(.98); }
@media (hover: hover) {
  .choice:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 10px 24px #2222220f; }
}
.choice[aria-pressed="true"] {
  background: var(--ink); border-color: var(--ink); color: var(--white);
}
.choice[aria-pressed="true"] .choice__icon { stroke: var(--orange-soft); }
.choice[aria-pressed="true"] .choice__coop { color: #d6d6d1; }
.choice[aria-pressed="true"] .choice__index {
  font-size: 0; color: transparent; width: 24px; height: 24px; top: 12px; right: 12px;
  border-radius: 50%; background: var(--orange);
}
.choice[aria-pressed="true"] .choice__index::after {
  content: ""; position: absolute; left: 8px; top: 5px; width: 6px; height: 11px;
  border: solid var(--white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

/* Pannello del percorso */
.paths { margin-top: 12px; scroll-margin: 16px 0 20px; }
.path {
  display: none;
  position: relative;
  padding: 26px 20px 22px;
  background: var(--ink); color: var(--white);
  border-radius: var(--radius);
  border-left: 6px solid var(--orange);
}
.path.is-active, .path--hint { display: block; }
.paths.has-selection .path--hint { display: none; }
.path.is-active { animation: pathIn .35s var(--ease) both; }
@keyframes pathIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.path[data-coop="paese"] { border-left-color: var(--blue); }
.path[data-coop="palazzolese"] { border-left-color: var(--green); }
.path--hint { border-left-color: #555; }
.path__label { color: #bdbdb8; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 12px; }
.path__coop {
  padding: 3px 8px; border-radius: 2px;
  background: var(--orange-ui); color: var(--white); letter-spacing: .08em;
}
.path[data-coop="paese"] .path__coop { background: var(--blue-ui); }
.path[data-coop="palazzolese"] .path__coop { background: var(--green); color: var(--ink); }
.path__hint { color: #e6e6e3; font-size: 1.0625rem; }
.path h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.75rem, 8vw, 2.5rem); line-height: 1;
  text-transform: uppercase; text-wrap: balance;
  margin-bottom: 12px;
}
.path > p:not(.path__label) { color: #e6e6e3; max-width: 62ch; }
.path__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.path__tags li {
  padding: 6px 12px;
  border: 1px solid #ffffff4d; border-radius: 99px;
  font-size: .875rem; line-height: 1.35;
}
.path__roles { font-size: .9375rem; margin-bottom: 4px; }
.path__roles strong { color: var(--white); font-weight: 600; }
.path__cta { margin-top: 20px; width: 100%; }

/* ---------------------------------------------------------------- COOPERATIVE */
.section--coops { background: var(--white); }
.coops { display: grid; gap: 16px; }
.coop {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--blue-ui); color: var(--white);
}
.coop--palazzolese { background: var(--green); color: var(--ink); }
.coop__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; }
.coop__body {
  position: relative;
  flex: 1; display: flex; flex-direction: column; align-items: flex-start;
  padding: 24px 22px 26px;
}
.coop__logo { position: absolute; top: 22px; right: 20px; width: 84px; }
.coop__tag { padding-right: 96px; }
.coop__year { display: block; }
.coop__sep { display: none; }
.coop h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 13vw, 3.75rem); line-height: .95;
  text-transform: uppercase;
  margin: 22px 0 12px;
}
.coop__body > p:not(.coop__tag):not(.coop__pill) { font-size: 1.0625rem; max-width: 46ch; }
.coop__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 20px 0 24px; width: 100%; }
.coop__list li {
  position: relative; padding-left: 18px;
  font-family: var(--font-ui); font-weight: 700; font-size: .9375rem; line-height: 1.3;
}
.coop__list li::before {
  content: ""; position: absolute; left: 0; top: .32em;
  width: 9px; height: 9px; background: currentColor; transform: skewX(-24deg);
}
.coop__pill {
  margin-top: auto;
  padding: 7px 14px;
  border: 1.5px solid currentColor; border-radius: 99px;
  font-family: var(--font-ui); font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
}

/* ---------------------------------------------------------------- IMPATTO */
.impact__band { background: var(--orange); color: var(--white); padding: 40px 0 44px; }
.impact__number {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(7rem, 42vw, 13rem); line-height: .8;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.impact__claim {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 9vw, 3.4rem); line-height: 1;
  text-transform: uppercase;
}
.impact__body { background: var(--ink); color: var(--white); padding: 60px 0; }
.impact__grid { display: grid; gap: 36px; }
.impact__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 11.5vw, 4.5rem); line-height: .95;
  text-transform: uppercase; text-wrap: balance;
  margin-bottom: 18px;
}
.impact__text > p { color: #e6e6e3; font-size: 1.0625rem; max-width: 60ch; }
.impact__list { display: grid; gap: 2px; margin: 28px 0; }
.impact__list li {
  padding: 16px 0 16px 20px;
  border-top: 1px solid #ffffff2e;
  position: relative;
  color: #d6d6d1; font-size: .9375rem;
}
.impact__list li::before {
  content: ""; position: absolute; left: 0; top: 22px;
  width: 9px; height: 9px; background: var(--green); transform: skewX(-24deg);
}
.impact__list strong {
  display: block; margin-bottom: 2px;
  font-family: var(--font-ui); font-weight: 700; font-size: 1.0625rem; color: var(--white);
}
.impact__quote {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 6.6vw, 2.1rem); line-height: 1.05;
  text-transform: uppercase;
  padding-left: 18px; border-left: 6px solid var(--green);
}
.impact__quote em { font-style: normal; color: var(--green); }
.impact__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* ---------------------------------------------------------------- CONTATTO */
.section--contact { background: var(--stone); }
.contact { display: grid; gap: 24px; }
.contact__note {
  padding-top: 16px; border-top: 1px solid #bdbcb4;
  color: var(--muted); font-size: .9375rem; max-width: 46ch;
}
.form-card {
  background: var(--white);
  padding: 26px 18px 22px;
  border-radius: var(--radius);
  margin-inline: -6px;
}
.form-card__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: 2rem; line-height: 1; text-transform: uppercase;
  margin-bottom: 8px;
}
.form-card__help { color: var(--muted); font-size: .9375rem; margin-bottom: 24px; }
.form__grid { display: grid; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > label {
  font-family: var(--font-ui); font-weight: 700; font-size: .875rem; letter-spacing: .02em;
}
.req { color: var(--orange-text); }
.opt { font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .8125rem; letter-spacing: 0; margin-left: 4px; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px;
  font-size: 1rem; /* 16 px: evita lo zoom automatico di iOS */
  background: var(--white);
  border: 1.5px solid var(--field-border);
  border-radius: var(--radius);
  appearance: none; -webkit-appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field textarea::placeholder { color: #75746e; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--orange-ui);
}
.select { position: relative; }
.select select { padding-right: 44px; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%;
  width: 9px; height: 9px; margin-top: -7px;
  border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg);
  pointer-events: none;
}
.field__hint { font-size: .8125rem; color: var(--muted); }
.field__error {
  display: flex; gap: 6px;
  font-size: .875rem; font-weight: 600; color: var(--error);
}
.field__error::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--error); color: var(--white); font-size: .75rem; }
.field__error[hidden] { display: none; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field input[aria-invalid="true"]:not([type="checkbox"]), .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { background: #fffafa; }

.field--check {
  display: grid; grid-template-columns: 26px 1fr; gap: 6px 12px; align-items: start;
  margin: 24px 0;
}
.field--check input {
  width: 26px; height: 26px; margin: 0;
  accent-color: var(--orange-ui);
  cursor: pointer;
}
.field--check > label { font-family: var(--font-body); font-weight: 400; letter-spacing: 0; font-size: .9375rem; line-height: 1.5; color: #3d3d3a; cursor: pointer; }
.field--check label a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.field--check .field__error { grid-column: 2; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin-bottom: 20px; min-height: 65px; }
.turnstile[hidden] { display: none; }

.form button[type="submit"][aria-busy="true"] { pointer-events: none; opacity: .85; }
.form button[aria-busy="true"] .btn__icon { display: none; }
.form button[aria-busy="true"]::after {
  content: ""; width: 20px; height: 20px; flex: none;
  border: 2.5px solid #ffffff66; border-top-color: var(--white); border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form__status {
  margin-top: 16px;
  padding: 16px 16px 16px 18px;
  border-left: 5px solid var(--green);
  background: var(--success-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .9375rem;
}
.form__status strong { display: block; font-family: var(--font-ui); font-size: 1.0625rem; margin-bottom: 2px; }
.form__status.is-error { border-left-color: var(--error); background: var(--error-bg); }
.form__status[hidden] { display: none; }
.form__status:focus { outline: none; }
.form__status:focus-visible { outline: 3px solid var(--focus); }
.form__legend { margin-top: 14px; font-size: .8125rem; color: var(--muted); }

/* ---------------------------------------------------------------- DOCK MOBILE */
.dock {
  position: fixed; z-index: 20;
  right: max(14px, env(safe-area-inset-right));
  bottom: calc(14px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 16px 0 20px;
  border-radius: 99px;
  background: var(--ink); color: var(--white);
  box-shadow: 0 6px 20px #00000033, 0 0 0 1px #ffffff1a;
  font-family: var(--font-ui); font-weight: 700; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none;
  transform: translateY(calc(100% + 30px)); opacity: 0;
  transition: transform .25s var(--ease), opacity .25s;
  pointer-events: none;
  --focus: var(--orange-soft);
}
.dock svg { width: 18px; height: 18px; fill: none; stroke: var(--orange-soft); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dock.is-visible { transform: none; opacity: 1; pointer-events: auto; }

/* ---------------------------------------------------------------- FOOTER */
.site-footer {
  background: var(--ink); color: #c9c9c4;
  padding: 40px 0 calc(40px + env(safe-area-inset-bottom));
  font-size: .875rem;
}
.site-footer__inner { display: grid; gap: 26px; }
.site-footer__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; }
.site-footer__logos img { height: 46px; width: auto; }
.site-footer__info { display: grid; gap: 10px; }
.site-footer strong { color: var(--white); font-weight: 600; }
.site-footer a { color: var(--white); text-underline-offset: 3px; display: inline-block; padding: 6px 0; }
.site-footer__credit { font-size: .8125rem; color: #a3a39d; }
.site-footer__credit a { color: inherit; }

/* ---------------------------------------------------------------- REVEAL */
.reveal.is-pending { opacity: 0; transform: translateY(26px); }
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* =====================================================================
   SMARTPHONE PICCOLI (≤ 359 px)
   ===================================================================== */
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .site-header__tag { display: none; }
  .choices { gap: 8px; }
  .choice { padding: 14px 12px 12px; min-height: 146px; }
  .coop__list { grid-template-columns: 1fr; }
  .btn { letter-spacing: .05em; padding-inline: 16px; gap: 10px; }
}

/* Smartphone con schermo basso (es. iPhone SE): la CTA resta nella prima schermata */
@media (max-width: 599px) and (max-height: 700px) {
  .hero { padding-top: calc(92px + env(safe-area-inset-top)); padding-bottom: 24px; }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero .brand-bars { margin-bottom: 14px; }
  .hero__title { font-size: clamp(3.1rem, 15.6vw, 4.6rem); margin-bottom: 14px; }
  .hero__lead { font-size: 1rem; margin-bottom: 18px; }
}

/* =====================================================================
   SMARTPHONE GRANDI E TABLET (≥ 600 px)
   ===================================================================== */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .site-header__logo img { width: 92px; }
  .hero { padding-bottom: 72px; }
  .hero__title { font-size: clamp(5rem, 14vw, 8rem); }
  .hero .btn { width: auto; }
  .hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
  .section { padding: 88px 0; }
  .choices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .choice { min-height: 176px; padding: 20px 18px 18px; }
  .choice__icon { width: 34px; height: 34px; }
  .path { padding: 32px 32px 30px; }
  .path__cta { width: auto; }
  .form-card { padding: 36px 32px 30px; margin-inline: 0; }
  .form__grid { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .field--full { grid-column: 1 / -1; }
  .form .btn--block { width: auto; min-width: 280px; }
  .impact__band { padding: 56px 0; }
  .impact__stat { display: flex; align-items: flex-end; gap: 36px; }
  .impact__number { margin-bottom: 0; }
  .impact__claim { padding-bottom: 10px; }
  .site-footer__inner { grid-template-columns: auto 1fr; align-items: center; }
  .site-footer__info { justify-items: end; text-align: right; }
}

/* Tablet: cooperative affiancate */
@media (min-width: 700px) {
  .coops { grid-template-columns: 1fr 1fr; gap: 16px; }
  .coop h3 { font-size: clamp(2.4rem, 5.4vw, 3.75rem); }
  .coop__list { grid-template-columns: 1fr; }
}
@media (min-width: 1100px) {
  .coop__list { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   DESKTOP (≥ 900 px)
   ===================================================================== */
@media (min-width: 900px) {
  .site-header { padding-top: 30px; }
  .site-header__logo img { width: 104px; }
  .hero { min-height: min(100svh, 900px); align-items: center; padding: 190px 0 110px; }
  .hero::after { width: 620px; height: 620px; right: -140px; top: auto; bottom: -220px; box-shadow: 0 0 0 100px #ffffff05, 0 0 0 210px #ffffff04; }
  .hero__grid { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: end; }
  .hero__title { font-size: clamp(6.5rem, 10.5vw, 10rem); }
  .hero__lead { font-size: 1.25rem; }
  .hero__aside { display: grid; gap: 0; border-top: 1px solid #ffffff40; animation: fade .9s .5s var(--ease) both; }
  .hero__stat { padding: 22px 0; border-bottom: 1px solid #ffffff40; color: #d6d6d1; font-size: .9375rem; }
  .hero__stat strong {
    display: block; margin-bottom: 6px;
    font-family: var(--font-display); font-weight: 800; font-size: 3.5rem; line-height: 1; color: var(--white);
  }
  .section { padding: 110px 0; }
  .section-head { margin-bottom: 44px; }
  .paths { margin-top: 16px; }
  .path.is-active, .path--hint { display: grid; grid-template-columns: 1fr auto; column-gap: 40px; }
  .path > * { grid-column: 1; }
  .path__cta { grid-column: 2; grid-row: 1 / span 5; align-self: center; margin-top: 0; }
  .coops { gap: 20px; }
  .coop__body { padding: 32px 34px 34px; }
  .coop__year { display: inline; }
  .coop__sep { display: inline; }
  .coop__logo { width: 104px; top: 30px; right: 30px; }
  .impact__body { padding: 100px 0; }
  .impact__grid { grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
  .impact__photo { position: sticky; top: 40px; }
  .impact__photo img { aspect-ratio: 4 / 5; }
  .contact { grid-template-columns: .85fr 1.15fr; gap: 8%; align-items: start; }
  .contact .section-head { margin-bottom: 28px; }
  .contact .section-head h2 { font-size: clamp(3.2rem, 5.6vw, 4.75rem); }
  .contact__intro { position: sticky; top: 40px; }
  .dock { display: none; }
}

@media (min-width: 1200px) {
  .choice { min-height: 196px; padding: 24px 22px 22px; }
  .choice__title { font-size: 1.375rem; }
}

/* =====================================================================
   MOVIMENTO RIDOTTO
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
  }
  .reveal.is-pending { opacity: 1; transform: none; }
  .form button[aria-busy="true"]::after { animation: spin 1.6s linear infinite !important; animation-duration: 1.6s !important; }
}

/* Stampa: solo contenuti */
@media print {
  .site-header, .dock, .form-card, .choices, .skip-link { display: none !important; }
  .path { display: block !important; break-inside: avoid; }
  .path--hint { display: none !important; }
  .hero, .impact__band, .impact__body, .site-footer { background: none; color: #000; }
}
