/* ============================================================
   FARSI PROSSIMO ETS — Onepage template
   Palette brand: Navy #1B3F6E · Arancio #F5A623 · Bianco
   Type: Oswald (display, condensato) + Hanken Grotesk (testo)
   3 "look" commutabili via [data-theme] (Tweaks)
   ============================================================ */

:root {
  --navy: #1b3f6e;
  --navy-700: #173559;
  --navy-900: #102542;
  --orange: #f5a623;          /* sovrascritto da --accent (Tweaks) */
  --accent: var(--orange);
  --ink: #16202e;
  --muted: #5b6b7e;
  --line: #e4e8ee;
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f6f8fb;

  --type-scale: 1;
  --radius: 4px;

  --maxw: 1180px;
  --pad-x: clamp(20px, 5vw, 64px);

  --ff-display: "Oswald", "Arial Narrow", sans-serif;
  --ff-body: "Hanken Grotesk", system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgba(16,37,66,.06), 0 2px 8px rgba(16,37,66,.05);
  --shadow-md: 0 8px 30px rgba(16,37,66,.10);
}

/* ---------- LOOK B — Brochure (energico, color-blocking) ---------- */
[data-theme="b"] {
  --surface-alt: #f4f7fb;
  --radius: 0px;
}

/* ---------- LOOK C — Caldo (carta calda, magazine) ---------- */
[data-theme="c"] {
  --paper: #faf7f2;
  --surface: #fffefb;
  --surface-alt: #f1ece2;
  --line: #e7e0d3;
  --radius: 16px;
}

/* ---------- radius override (Tweaks) ---------- */
[data-radius="square"] { --radius: 0px; }
[data-radius="soft"]   { --radius: 16px; }

/* ============================================================ Reset */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  font-size: calc(17px * var(--type-scale));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* photo B/N toggle (Tweaks) */
[data-photo-bw="on"] .bw { filter: grayscale(1) contrast(1.02); }

/* ============================================================ Type */
h1,h2,h3,h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: .01em;
  margin: 0;
  color: var(--navy);
}
[data-caps="on"] .kicker,
[data-caps="on"] .sec-title,
[data-caps="on"] .hero-title { text-transform: uppercase; }

.kicker {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: calc(14px * var(--type-scale));
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 26px; height: 3px;
  background: var(--accent);
  display: inline-block;
}

.sec-title {
  font-size: clamp(30px, 4.4vw, 54px);
  text-transform: uppercase;
  letter-spacing: .005em;
}
.lead { font-size: calc(20px * var(--type-scale)); color: var(--muted); max-width: 60ch; }

/* ============================================================ Layout */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad-x); }
.section { padding-block: clamp(64px, 8vw, 120px); }
.section--alt { background: var(--surface-alt); }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head .sec-title { margin-top: 14px; }
.sec-head .lead { margin-top: 18px; }

/* ============================================================ Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: calc(15px * var(--type-scale));
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--navy-900); }
.btn-primary:hover { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 2px var(--accent); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-900); }
.btn-ghost { border-color: currentColor; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
/* icona mano nel bottone Dona ora: prende il colore del testo */
.btn-hand {
  flex: none; width: 2em; height: 1.8em; background: currentColor;
  margin-block: -.3em; /* +50% senza aumentare l'altezza del bottone */
  -webkit-mask: url("../img/mano.svg") no-repeat center / contain;
          mask: url("../img/mano.svg") no-repeat center / contain;
  transition: transform .2s ease;
}
.btn:hover .btn-hand { transform: rotate(-10deg); }
/* mano anche nel titolo della card IBAN (Come sostenerci) */
.support-card h3.has-hand { display: flex; align-items: center; gap: .35em; }
.support-card h3.has-hand .btn-hand { margin-block: 0; width: 1.25em; height: 1.1em; }

/* ============================================================ Navbar */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 14px var(--pad-x);
  background: #fff;
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, padding .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); padding-block: 10px; background: rgba(255,255,255,.86); }
.nav-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.nav-brand img { height: 64px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--ff-display); font-weight: 500; text-transform: uppercase;
  letter-spacing: .07em; font-size: 15px; color: var(--navy);
  padding: 6px 0; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent); transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: 0; }
.nav-burger span { width: 24px; height: 2px; background: var(--navy); display: block; transition: transform .25s ease, opacity .2s ease; }
.nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile (pannello a scomparsa) */
.mobile-menu { display: none; }
@media (max-width: 760px) {
  .mobile-menu {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 12px var(--pad-x) 22px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(-12px); pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }
  .nav.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .mobile-menu a:not(.btn) {
    font-family: var(--ff-display); font-weight: 500; text-transform: uppercase;
    letter-spacing: .07em; font-size: 17px; color: var(--navy);
    padding: 14px 2px; border-bottom: 1px solid var(--line);
  }
  .mobile-menu a:not(.btn):last-of-type { border-bottom: 0; }
  .mobile-menu .btn { margin-top: 12px; justify-content: center; }
}

/* ============================================================ Hero */
.hero { position: relative; padding-top: 96px; overflow: clip; }
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 72px);
  align-items: center; min-height: min(86vh, 760px);
  padding-block: clamp(28px, 5vw, 64px);
}

/* Hero: immagine come sfondo di tutta la sezione */
.hero-bg { position: absolute; inset: 0; margin: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(16,37,66,.94) 0%, rgba(16,37,66,.74) 44%, rgba(16,37,66,.32) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-copy { max-width: 720px; padding-block: 40px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .14em;
  font-size: 14px; color: var(--accent); font-weight: 600; margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.hero-title {
  font-size: clamp(38px, 6vw, 76px);
  line-height: .98; color: #fff; letter-spacing: .002em;
  text-wrap: balance;
}
.hero-title em { color: var(--accent); font-style: normal; }
.hero-sub { margin-top: 26px; font-size: calc(20px * var(--type-scale)); color: rgba(255,255,255,.86); max-width: 48ch; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-figure {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3.1; background: var(--navy-900);
  box-shadow: var(--shadow-md);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--navy); color: #fff;
  font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .12em;
  font-size: 13px; font-weight: 500; padding: 12px 18px;
}
.hero-tag b { color: var(--accent); }

/* LOOK B hero — overlay knockout */
[data-theme="b"] .hero-grid { grid-template-columns: 1fr; min-height: min(90vh, 820px); }
[data-theme="b"] .hero-figure {
  position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto;
  z-index: 0; box-shadow: none;
}
[data-theme="b"] .hero-figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(16,37,66,.92) 0%, rgba(16,37,66,.7) 42%, rgba(16,37,66,.2) 100%);
}
[data-theme="b"] .hero-copy { position: relative; z-index: 1; max-width: 720px; padding-block: 40px; }
[data-theme="b"] .hero-title { color: #fff; font-size: clamp(42px, 7vw, 92px); }
[data-theme="b"] .hero-title em { color: var(--accent); }
[data-theme="b"] .hero-sub { color: rgba(255,255,255,.86); }
[data-theme="b"] .hero-eyebrow { color: var(--accent); }
[data-theme="b"] .hero-tag { display: none; }

/* LOOK C hero — warm, full image card */
[data-theme="c"] .hero-figure { aspect-ratio: 4 / 3.4; }
[data-theme="c"] .hero-title { color: var(--navy); }

/* ============================================================ Numeri 2025 */
.numbers { background: var(--navy); color: #fff; }
.numbers .sec-title { color: #fff; }
.numbers .kicker { color: var(--accent); }
.numbers .kicker::before { background: var(--accent); }
.num-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden;
}
.num-cell { background: var(--navy); padding: 30px clamp(20px,3vw,34px); }
.num-val {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(40px, 5.4vw, 66px); line-height: 1; color: #fff;
  font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 6px;
}
.num-val .suffix { color: var(--accent); font-size: .5em; }
.num-label { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.78); letter-spacing: .01em; }
.num-foot { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.num-foot .chip { display: flex; align-items: baseline; gap: 10px; }
.num-foot .chip b { font-family: var(--ff-display); font-weight: 700; font-size: 30px; color: var(--accent); }
.num-foot .chip span { font-size: 14px; color: rgba(255,255,255,.8); text-transform: uppercase; letter-spacing: .08em; }

/* ============================================================ Chi siamo */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-body p { margin: 0 0 18px; }
.about-body p:first-child {  color: var(--ink); }
.tagline-band {
  margin-top: 30px; padding: 22px 26px; border-left: 4px solid var(--accent);
  background: var(--surface-alt); border-radius: 0 var(--radius) var(--radius) 0;
}
.tagline-band b { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .04em; color: var(--navy); font-size: 18px; }
.tagline-band p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }

.about-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }

/* documenti */
.docs { margin-top: clamp(40px, 5vw, 60px); }
.docs h3 { font-size: 22px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 18px; color: var(--navy); }
.doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.doc-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
.doc-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.doc-ico {
  flex: none; width: 38px; height: 46px; border-radius: 3px; position: relative;
  background: var(--navy); display: grid; place-items: center;
}
.doc-ico::after { content: "PDF"; font-family: var(--ff-display); font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #fff; }
.doc-card b { font-family: var(--ff-display); font-weight: 500; text-transform: uppercase; letter-spacing: .03em; color: var(--navy); font-size: 16px; line-height: 1.15; }
.doc-card span { display: block; font-size: 12.5px; color: var(--muted); letter-spacing: .04em; margin-top: 3px; }
.doc-card .dl { margin-left: auto; color: var(--muted); transition: color .2s, transform .2s; }
.doc-card:hover .dl { color: var(--accent); transform: translateY(2px); }
/* .doc-card span {display:block} vinceva sull'icona: "PDF" non era centrato */
.doc-card .doc-ico { display: grid; margin-top: 0; }
/* parrocchie: elenco semplice, una voce per riga, 2 colonne su desktop */
.parish-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.parish-list li {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 2px; border-bottom: 1px solid var(--line);
}
.parish-list .parish-img { flex: none; display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 4px; }
.parish-list .parish-img--empty { background: var(--line); }
.parish-txt { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.parish-list b { font-family: var(--ff-display); font-weight: 500; text-transform: uppercase; letter-spacing: .03em; color: var(--navy); font-size: 16px; line-height: 1.2; }
.parish-txt > span { font-size: 14px; color: var(--muted); letter-spacing: .03em; line-height: 1.35; }
.parish-list a b { transition: color .2s; }
.parish-list a:hover b { color: var(--accent); }
@media (max-width: 760px) { .parish-list { grid-template-columns: 1fr; } }

/* ============================================================ Progetti */
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 26px); }
.proj-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .18s ease, box-shadow .25s ease, border-color .2s;
}
.proj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.proj-card.is-wide { grid-column: span 2; }
.proj-media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.proj-card.is-wide .proj-media { aspect-ratio: 21/7; }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.proj-card:hover .proj-media img { transform: scale(1.04); }
.proj-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: var(--navy-900);
  font-family: var(--ff-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: 12px; padding: 6px 12px; border-radius: 2px;
}
.proj-body { padding: 24px clamp(20px,2.4vw,30px) 26px; display: flex; flex-direction: column; flex: 1; }
.proj-body h3 { font-size: clamp(22px, 2.4vw, 30px); text-transform: uppercase; letter-spacing: .01em; }
.proj-body p { margin: 12px 0 0; color: var(--muted); font-size: 16px; }
.proj-stat { margin-top: 16px; display: flex; gap: 26px; }
.proj-stat .s b { font-family: var(--ff-display); font-weight: 700; font-size: 28px; color: var(--navy); display: block; line-height: 1; }
.proj-stat .s span { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.proj-link {
  margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; font-size: 14px; color: var(--navy);
}
.proj-link .arrow { color: var(--accent); }
.proj-link:hover { color: var(--accent); }
.proj-todo {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-size: 13px; color: var(--muted); font-family: var(--ff-display);
  text-transform: uppercase; letter-spacing: .06em;
}
.proj-todo::before { content: "▣"; color: var(--accent); }

/* ============================================================ Testimonianza */
.testi { background: var(--navy); color: #fff; overflow: hidden; }
.testi .kicker { color: var(--accent); }
.testi .kicker::before { background: var(--accent); }
.testi-stage { position: relative; }
.testi-track { display: flex; transition: transform .55s cubic-bezier(.6,.02,.1,1); }
.testi-slide { min-width: 100%; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px,4vw,56px); align-items: center; }
.testi-photo { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow-md); }
.testi-photo img { width:100%; height:100%; object-fit: cover; }
.testi-quote { font-family: var(--ff-display); font-weight: 300; line-height: 1.18; font-size: clamp(26px, 3.6vw, 46px); color: #fff; letter-spacing: .005em; }
.testi-quote .mark { color: var(--accent); font-size: 1.4em; line-height: 0; }
.testi-by { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.testi-by .ln { width: 40px; height: 2px; background: var(--accent); }
.testi-by b { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .05em; color: #fff; font-size: 18px; }
.testi-by span { color: rgba(255,255,255,.7); font-size: 14px; }
.testi-nav { margin-top: 38px; display: flex; align-items: center; gap: 16px; }
.testi-dots { display: flex; gap: 9px; }
.testi-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.3); padding: 0; transition: background .2s, width .2s; }
.testi-dots button.active { background: var(--accent); width: 26px; border-radius: 5px; }
.testi-arrows { margin-left: auto; display: flex; gap: 10px; }
.testi-arrows button {
  width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.32);
  background: transparent; color: #fff; display: grid; place-items: center; transition: background .2s, border-color .2s, color .2s;
}
.testi-arrows button:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* Testimonianze: kicker bianco e sezione compattata (~ -20% in altezza) */
.testi .kicker { color: #fff; }
.testi .sec-title { color: #fff; }
.testi.section { padding-block: clamp(52px, 6.4vw, 96px); }
.testi .sec-head { margin-bottom: clamp(28px, 4vw, 48px); }
.testi .sec-title { font-size: clamp(26px, 3.5vw, 43px); }
.testi-slide { grid-template-columns: .8fr 1.2fr; gap: clamp(22px, 3.2vw, 44px); }
.testi-photo { aspect-ratio: 5 / 6; }
.testi-quote { font-size: clamp(22px, 2.9vw, 37px); }
.testi-by { margin-top: 20px; gap: 12px; }
.testi-by .ln { width: 32px; }
.testi-by b { font-size: 16px; }
.testi-by span { font-size: 13px; }
.testi-nav { margin-top: 30px; }
.testi-arrows button { width: 42px; height: 42px; }

/* ============================================================ In evidenza */
.evid-stage { position: relative; }
.evid-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
.evid-track::-webkit-scrollbar { display: none; }
.evid-card {
  scroll-snap-align: start; flex: 0 0 min(440px, 82%);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.evid-media { aspect-ratio: 16/10; position: relative; }
.evid-media .proj-badge { background: var(--navy); color: #fff; }
.evid-body { padding: 24px 26px 28px; }
.evid-body h3 { font-size: 26px; text-transform: uppercase; }
.evid-body p { margin: 12px 0 0; color: var(--muted); font-size: 15.5px; }
.evid-controls { margin-top: 30px; display: flex; align-items: center; gap: 14px; }
.evid-controls .bar { flex: 1; height: 3px; background: var(--line); border-radius: 2px; position: relative; overflow: hidden; }
.evid-controls .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); border-radius: 2px; transition: left .4s ease, width .4s ease; }
.evid-controls button {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--navy); display: grid; place-items: center; transition: .2s;
}
.evid-controls button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ============================================================ Sostenerci */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2vw,24px); }
.support-card {
  padding: 30px clamp(22px,2.4vw,30px) 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .25s;
}
.support-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.support-card.feature { background: var(--navy); border-color: var(--navy); color: #fff; }
.support-card .tag { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--accent); font-weight: 600; }
.support-card h3 { margin-top: 12px; font-size: 28px; text-transform: uppercase; }
.support-card.feature h3 { color: #fff; }
.support-card p { margin: 12px 0 0; color: var(--muted); font-size: 15.5px; }
.support-card.feature p { color: rgba(255,255,255,.82); }
.iban {
  margin-top: 18px; padding: 14px 16px; border-radius: var(--radius);
  background: rgba(255,255,255,.08); border: 1px dashed rgba(255,255,255,.34);
  font-family: var(--ff-display); letter-spacing: .04em; font-size: 15px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; word-break: break-all;
}
.iban button { background: var(--accent); color: var(--navy-900); border: 0; border-radius: 3px; padding: 7px 12px; font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; font-weight: 600; flex: none; white-space: nowrap; }
.iban { flex-wrap: wrap; }
.support-card .btn { margin-top: auto; align-self: flex-start; }
.support-card .support-link { margin-top: 18px; }

/* ============================================================ 5x1000 */
.cinque {
  background: var(--accent); color: var(--navy-900); position: relative; overflow: hidden;
}
.cinque::before {
  content: "5×1000"; position: absolute; right: 2%; top: 50%; transform: translateY(-50%);
  font-family: var(--ff-display); font-weight: 700; font-size: clamp(150px, 21vw, 340px);
  color: rgba(16,37,66,.06); line-height: .8; pointer-events: none; white-space: nowrap;
  /* mano della brochure a destra della scritta, stessa tonalita' */
  padding: .06em 1.12em .06em 0;
  background: url("../img/mano-5x1000.svg") no-repeat right center / auto .9em;
}
.cinque .wrap { position: relative; z-index: 1; }
.cinque-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cinque .kicker { color: var(--navy-900); }
.cinque .kicker::before { background: var(--navy-900); }
.cinque h2 { color: var(--navy-900); font-size: clamp(34px, 5vw, 60px); text-transform: uppercase; line-height: .98; margin-top: 14px; }
.cinque p.s { margin-top: 16px; font-size: 19px; max-width: 44ch; color: var(--navy-700); }
.cinque .cinque-cta { margin-top: 28px; }
.cf-box { text-align: right; }
.cf-box .cf-lab { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .18em; font-size: 15px; color: var(--navy-700); }
.cf-box .cf-num {
  font-family: var(--ff-display); font-weight: 700; line-height: .9;
  font-size: clamp(44px, 7vw, 96px); color: var(--navy-900); letter-spacing: .01em;
  font-variant-numeric: tabular-nums; margin-top: 6px;
}
.cf-box .cf-foot { margin-top: 12px; font-size: 15px; color: var(--navy-700); font-weight: 600; }

/* ============================================================ Footer */
.footer { background: var(--navy-900); color: #fff; padding-block: clamp(48px, 6vw, 72px) 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-brand img { height: 54px; margin-bottom: 18px; }
.foot-brand p { color: rgba(255,255,255,.7); font-size: 15px; max-width: 36ch; }
.foot-col h4 { color: #fff; font-size: 16px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.foot-col a, .foot-col p { display: block; color: rgba(255,255,255,.72); font-size: 15px; margin-bottom: 10px; transition: color .2s; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  font-size: 13.5px; color: rgba(255,255,255,.6);
}
.foot-bottom .links { display: flex; gap: 22px; }
.foot-bottom a:hover { color: #fff; }

/* ============================================================ Placeholder */
.ph {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(27,63,110,.05) 0 10px, rgba(27,63,110,.09) 10px 20px),
    var(--surface-alt);
  display: grid; place-items: center; color: var(--navy);
  border: 1px solid var(--line);
}
.ph::after {
  content: attr(data-label);
  font-family: "Hanken Grotesk", monospace; font-size: 11.5px; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(27,63,110,.55); text-align: center;
  padding: 8px 14px; border: 1px solid rgba(27,63,110,.22); border-radius: 100px;
  background: rgba(255,255,255,.6);
}
.ph.fill { width: 100%; height: 100%; }
.proj-media.ph, .evid-media.ph, .testi-photo.ph, .hero-figure.ph { border-radius: 0; }

/* ============================================================ Reveal anim */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ============================================================ Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; aspect-ratio: 16/10; }
  [data-theme="b"] .hero-figure { order: 0; }
  .about-grid, .testi-slide { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .num-grid { grid-template-columns: repeat(2, 1fr); }
  .cinque-grid { grid-template-columns: 1fr; }
  .cf-box { text-align: left; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-burger { display: flex; }
  .proj-grid, .support-grid { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; }
  .proj-card.is-wide { grid-column: auto; }
  .proj-card.is-wide .proj-media { aspect-ratio: 16/9; }
  .num-grid { grid-template-columns: 1fr; }
  .testi-photo { aspect-ratio: 16/10; }
  .testi .testi-photo { aspect-ratio: 16/9; }
}

/* ============================================================ WordPress / ACF
   Regole aggiunte per la conversione: immagini reali e fallback logo testuale */
.about-photo img, .evid-media img { width: 100%; height: 100%; object-fit: cover; }
.evid-media { overflow: hidden; }
.nav-brand-text { font-family: var(--ff-display); font-weight: 700; color: var(--navy); font-size: 20px; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.foot-brand-text { display: inline-block; font-family: var(--ff-display); font-weight: 700; color: #fff; font-size: 24px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 18px; }

/* ============================================================ Pagine semplici (Privacy, 404)
   Layout senza hero: il padding-top libera lo spazio sotto la nav fissa. */
.page-section { padding-top: clamp(120px, 13vw, 168px); }
.page-section .sec-head { max-width: 760px; margin-bottom: 28px; }
.page-body { max-width: 760px; color: var(--ink); }
.page-body > :first-child { margin-top: 0; }
.page-body p { margin: 0 0 18px; }
.page-body h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.12; margin: 38px 0 14px; }
.page-body h3 { font-size: 20px; line-height: 1.18; margin: 28px 0 10px; }
.page-body ul, .page-body ol { margin: 0 0 18px; padding-left: 22px; }
.page-body li { margin: 0 0 8px; }
.page-body a:not(.btn) { color: var(--navy); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.page-body a:not(.btn):hover { color: var(--accent); }
.page-body .btn { margin-top: 6px; }