@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,500&display=swap');

/* ══ TOKENS ══ */
:root {
  --red:    #C0392B;
  --green:  #1A7A4A;
  --blue:   #3A5FA0;
  --yellow: #E8A020;
  --dark:   #161616;
  --dark-footer: #262626;
  --text:   #2d2d2d;
  --muted:  #666;
  --light:  #f8f5f0;
  --warm:   #ede8df;
  --white:  #ffffff;
  --sh-sm:  0 2px 12px rgba(0,0,0,0.07);
  --sh:     0 6px 28px rgba(0,0,0,0.10);
  --sh-lg:  0 18px 56px rgba(0,0,0,0.14);
  --r:      18px;
  --r-sm:   10px;
}

/* ══ RESET ══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Comfortaa', cursive; color: var(--text); background: var(--white); line-height: 1.75; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,h5 { font-family: 'Comfortaa', cursive; line-height: 1.25; font-weight: 700; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
html, body { overflow-x: hidden; }

/* ══ NAVBAR ══ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1.5px solid var(--warm);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--sh); }

.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { height: 42px; width: auto; mix-blend-mode: multiply; }
.nav-brand-text { font-size: 1.05rem; font-weight: 700; color: var(--dark); line-height: 1.15; }
.nav-brand-text small { display: block; font-size: 0.65rem; color: #aaa; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { font-size: 0.88rem; font-weight: 600; color: var(--text); position: relative; padding-bottom: 3px; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--yellow); transition: width .25s; border-radius: 2px; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { background: var(--yellow) !important; color: var(--dark) !important; padding: 8px 20px !important; border-radius: 50px; font-weight: 700 !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #d4901a !important; transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all .3s; }

/* ══ COLOR STRIP ══ */
.color-strip { height: 5px; background: linear-gradient(to right, var(--red) 25%, var(--green) 25% 50%, var(--blue) 50% 75%, var(--yellow) 75%); }

/* ══ BUTTONS ══ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 50px; font-family: 'Comfortaa', cursive; font-weight: 700; font-size: 0.9rem; cursor: pointer; border: none; transition: all .22s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #2e4d85; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(58,95,160,.32); }
.btn-yellow { background: var(--yellow); color: var(--dark); }
.btn-yellow:hover { background: #d4901a; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(232,160,32,.32); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #155e39; transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #a02d22; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text); border: 2px solid #ccc; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.45); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-sm { padding: 9px 20px; font-size: 0.83rem; }

/* ══ SECTION ══ */
.section { padding: 56px 5%; }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-label { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.45rem); color: var(--dark); margin-bottom: 14px; }
.section-sub { font-size: 1rem; color: var(--muted); max-width: 100%; margin-bottom: 28px; line-height: 1.75; }
.section-header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; flex-wrap: wrap; }
.section-header-row .section-sub { margin-bottom: 0; }

/* ══ PAGE HERO ══ */
.page-hero { padding: 104px 5% 36px; background: var(--light); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -120px; right: -120px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(232,160,32,.09) 0%, transparent 68%); border-radius: 50%; pointer-events: none; }
.page-hero-inner { max-width: 1160px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb { font-size: 0.8rem; color: #bbb; font-weight: 600; margin-bottom: 18px; }
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 7px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--dark); margin-bottom: 16px; }
.page-hero .lead { font-size: 1.08rem; color: var(--muted); line-height: 1.75; }

/* ══ FOOTER ══ */
.footer { background: var(--dark-footer); color: white; padding: 36px 5% 20px; }
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-main {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px; margin-bottom: 18px; align-items: start;
}
.footer-brand img { height: 36px; margin-bottom: 10px; mix-blend-mode: screen; filter: brightness(1.5); }
.footer-brand p { font-size: 0.82rem; line-height: 1.6; white-space: nowrap; }
.footer-brand .fiscal { font-size: 0.72rem; color: white; margin-top: 8px; line-height: 1.8; }
.footer-contact h5 { font-size: 0.7rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: white; margin-bottom: 12px; }
.footer-contact a { display: block; font-size: 0.85rem; color: white; margin-bottom: 12px; transition: color .2s; }
.footer-contact a:hover { color: var(--blue); }
.footer-social-links { display: flex; gap: 8px; flex-wrap: wrap; }
.social-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: #222; border-radius: 50px;
  padding: 7px 14px; font-size: 0.8rem; font-weight: 700;
  color: white !important; transition: background .2s, color .2s !important;
  margin-bottom: 0 !important;
}
.social-pill:hover { background: var(--blue); color: var(--dark) !important; }
.footer-affiliazioni h5 { font-size: 0.7rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: white; margin-bottom: 12px; }
.footer-affiliazioni .affil-tag { background: #222; border-radius: 50px; border-color: #222; padding: 7px 14px; font-size: 0.8rem; font-weight: 700; color: white !important; transition: background .2s, color .2s !important;margin-bottom: 8px !important;}
.footer-bottom { border-top: 1px solid var(--light); padding-top: 18px; }
.footer-bottom p { font-size: 0.77rem; }

@media (max-width: 640px) { .footer-main { grid-template-columns: 1fr; gap: 24px; } }

/* ══ FADE IN ══ */
.fi { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.fi.in { opacity: 1; transform: none; }

/* ══════════════════════════════════════════
   HOME
══════════════════════════════════════════ */

/* HERO */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 90px 5% 70px; background: var(--light); position: relative; overflow: hidden; gap: 60px; }
.hero::before { content: ''; position: absolute; top: -160px; right: -160px; width: 680px; height: 680px; background: radial-gradient(circle, rgba(232,160,32,.08) 0%, transparent 65%); border-radius: 50%; pointer-events: none; }
.hero::after  { content: ''; position: absolute; bottom: -100px; left: -80px;  width: 440px; height: 440px; background: radial-gradient(circle, rgba(58,95,160,.07) 0%, transparent 65%); border-radius: 50%; pointer-events: none; }
.hero-content { position: relative; z-index: 1; padding-left: 4%; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1.5px solid var(--yellow); color: var(--blue); font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 7px 16px; border-radius: 50px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); color: var(--dark); margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--blue); font-family: 'Playfair Display', serif; }
.hero-desc { font-size: 1.05rem; color: var(--muted); max-width: 450px; margin-bottom: 34px; }
.hero-btns { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-visual { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }
.hero-photo-wrap { width: 100%; max-width: 600px; aspect-ratio: 16/9; border-radius: 24px; overflow: hidden; box-shadow: var(--sh-lg); position: relative; background: var(--warm); }
.hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.hero-photo-placeholder img { width: 50%; opacity: .25; mix-blend-mode: multiply; }
.hero-photo-placeholder p { font-size: 0.85rem; color: #bbb; font-weight: 600; text-align: center; padding: 0 24px; }
.hero-stat { position: absolute; background: var(--white); border-radius: 14px; padding: 12px 17px; box-shadow: var(--sh); text-align: center; z-index: 2; }
.hero-stat strong { display: block; font-size: 1.7rem; line-height: 1; margin-bottom: 3px; }
.hero-stat span { font-size: 0.7rem; color: #999; font-weight: 600; }
.hero-stat.hs1 { top: -14px; left: -14px; } .hero-stat.hs1 strong { color: var(--red); }
.hero-stat.hs2 { bottom: -14px; right: -14px; } .hero-stat.hs2 strong { color: var(--green); }

/* STATS BAR */
.stats-bar { background: var(--dark-footer); padding: 52px 5%; }
.stats-bar-inner { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-size: 2.6rem; margin-bottom: 5px; line-height: 1; }
.stat p { color: #999; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.stat:nth-child(1) strong { color: var(--red); }
.stat:nth-child(2) strong { color: var(--green); }
.stat:nth-child(3) strong { color: #7b9fd4; }
.stat:nth-child(4) strong { color: var(--yellow); }

/* CHI SIAMO — home preview */
.cs-home { background: var(--white); }
.cs-home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cs-home-text p { color: var(--muted); font-size: 1rem; margin-bottom: 16px; line-height: 1.8; }
.vm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.vm-pill { border-radius: var(--r); padding: 32px; color: var(--white); position: relative; overflow: hidden; transition: transform .28s, box-shadow .28s; }
.vm-pill:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.vm-pill.v { background: linear-gradient(135deg, var(--blue), #2e4d85); }
.vm-pill.m { background: linear-gradient(135deg, var(--green), #155e39); }
.vm-pill h3 { font-size: 1.1rem; margin-bottom: 10px; }
.vm-pill p { font-size: 0.9rem; opacity: .92; line-height: 1.65; }
.cs-home-visual { display: flex; align-items: center; justify-content: center; }
.cs-symbol { width: 260px; height: 260px; border-radius: 50%; background: var(--light); display: flex; align-items: center; justify-content: center; box-shadow: var(--sh); }
.cs-symbol img { width: 68%; mix-blend-mode: multiply; }

/* COSA FACCIAMO — home */
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 26px; }
.cf-card { border-radius: var(--r); padding: 32px; color: var(--white); position: relative; overflow: hidden; transition: transform .28s, box-shadow .28s; }
.cf-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.cf-card.blue  { background: linear-gradient(140deg,#3A5FA0,#2a4680); }
.cf-card.green { background: linear-gradient(140deg,#1A7A4A,#115e38); }
.cf-card-icon { font-size: 2.4rem; margin-bottom: 14px; display: block; }
.cf-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.cf-card p { font-size: 0.9rem; opacity: .88; line-height: 1.65; margin-bottom: 18px; }
.cf-card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.cf-card .tags span { background: rgba(255,255,255,.15); border-radius: 50px; padding: 4px 12px; font-size: 0.75rem; font-weight: 600; }
.cf-card .tags a { background: rgba(255,255,255,.15); border-radius: 50px; padding: 4px 12px; font-size: 0.75rem; font-weight: 600; }
.cf-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,.72); transition: color .2s, gap .2s; }
.cf-link:hover { color: white; gap: 10px; }

.cf-projects { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.cf-proj { background: var(--white); border-radius: var(--r-sm); padding: 22px; border-top: 4px solid; box-shadow: var(--sh-sm); transition: transform .25s; }
.cf-proj:hover { transform: translateY(-4px); }
.cf-proj:nth-child(1) { border-color: var(--red); }
.cf-proj:nth-child(2) { border-color: var(--yellow); }
.cf-proj:nth-child(3) { border-color: var(--green); }
.cf-proj h4 { font-size: 0.93rem; font-weight: 700; margin-bottom: 16px; }
.cf-proj p { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px;}

/* EVENTI — cards */
.ev-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.ev-card { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); border: 1.5px solid var(--warm); background: var(--white); transition: transform .28s, box-shadow .28s; display: flex; flex-direction: column; cursor: pointer; }
.ev-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.ev-head { padding: 20px 22px 16px; display: flex; align-items: center; gap: 16px; }
.ev-head.h-blue  { background: var(--blue); }
.ev-head.h-red   { background: var(--red); }
.ev-head.h-green { background: var(--green); }
.ev-head.h-gold  { background: var(--yellow); }
.ev-date { color: white; text-align: center; min-width: 44px; }
.ev-date strong { display: block; font-size: 1.9rem; line-height: 1; }
.ev-date span   { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.ev-info { color: white; }
.ev-info h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 3px; }
.ev-info p  { font-size: 0.78rem; opacity: .82; }
.ev-body { padding: 18px 22px; flex: 1; }
.ev-body p { font-size: 0.88rem; color: var(--muted); }
.ev-badge { display: inline-block; margin-top: 11px; padding: 3px 11px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; }
.badge-soon     { background: #fff3e0; color: #b85c00; }
.badge-upcoming { background: #e8f4fd; color: var(--blue); }
.badge-summer   { background: #e8f5e9; color: var(--green); }
.ev-click-hint  { font-size: 0.72rem; color: #bbb; margin-top: 10px; display: flex; align-items: center; gap: 5px; }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 500; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .28s; backdrop-filter: blur(4px); }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--white); border-radius: var(--r); max-width: 680px; width: 100%; box-shadow: var(--sh-lg); transform: translateY(24px); transition: transform .28s; overflow: hidden; }
.modal-overlay.open .modal { transform: none; }
.modal-head { padding: 22px 26px 18px; display: flex; align-items: center; gap: 18px; }
.modal-head.h-blue  { background: var(--blue); }
.modal-head.h-red   { background: var(--red); }
.modal-head.h-green { background: var(--green); }
.modal-head.h-gold  { background: var(--yellow); }
.modal-date { color: white; text-align: center; min-width: 50px; }
.modal-date strong { display: block; font-size: 2.2rem; line-height: 1; }
.modal-date span   { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.modal-title { color: white; flex: 1; }
.modal-title h3 { font-size: 1.1rem; margin-bottom: 4px; }
.modal-title p  { font-size: 0.82rem; opacity: .82; }
.modal-close { background: rgba(255,255,255,.2); border: none; color: white; width: 32px; height: 32px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; flex-shrink: 0; }
.modal-close:hover { background: rgba(255,255,255,.35); }
.modal-body { padding: 26px; padding-bottom: 8px}
.modal-body p { font-size: 0.95rem; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.modal-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.modal-info-item { background: var(--light); border-radius: var(--r-sm); padding: 14px 16px; }
.modal-info-item h5 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 5px; font-weight: 700; }
.modal-info-item p  { font-size: 0.9rem; color: var(--dark); font-weight: 600; margin: 0; }
.modal-footer { padding: 0 0px 16px; margin-top: 16px; display: flex; gap: 12px; flex-wrap: wrap; }

/* SOSTIENICI CARDS — home preview */
.sostieni-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.sostieni-card {
  background: var(--white); border-radius: var(--r); padding: 32px;
  box-shadow: var(--sh-sm); border: 1.5px solid var(--warm);
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  transition: transform .28s, box-shadow .28s; cursor: pointer;
}
.sostieni-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.sostieni-card-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
}
.sostieni-card h3 { font-size: 1.2rem; color: var(--dark); }
.sostieni-card p  { font-size: 0.9rem; color: var(--muted); line-height: 1.7; flex: 1; }
.sostieni-card-link { font-size: 0.85rem; font-weight: 700; transition: gap .2s; display: inline-flex; align-items: center; gap: 5px; }
.sostieni-card:hover .sostieni-card-link { gap: 9px; }

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

/* SOSTIENICI — home dark */
.sostieni-dark { background: var(--dark); }
.sostieni-dark .section-label { color: #999; }
.sostieni-dark .section-title { color: var(--white); }
.sostieni-dark .section-sub   { color: #aaa; }
.sostieni-grid-home { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.donate-box-dark { background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 28px; margin-bottom: 18px; }
.donate-box-dark h4 { font-size: 0.97rem; color: var(--white); margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.iban-row { background: rgba(255,255,255,.08); border-radius: var(--r-sm); padding: 13px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.iban-row code { font-family: monospace; font-size: 0.97rem; letter-spacing: .04em; color: var(--white); }
.copy-btn { background: var(--yellow); color: white; border: none; border-radius: 8px; padding: 7px 16px; font-size: 0.78rem; font-weight: 700; cursor: pointer; font-family: 'Comfortaa', cursive; transition: background .2s; white-space: nowrap; }
.copy-btn:hover { filter: brightness(0.85); }
.copy-btn.copied { background: var(--yellow); }
.fiscal-dark { font-size: 0.85rem; color: white; line-height: 1.9; }
.fiscal-dark strong { color: white; }
.home-ways { display: flex; flex-direction: column; gap: 16px; }
.home-way { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: var(--r-sm); padding: 20px; border-left: 4px solid; }
.home-way:nth-child(1) { border-left-color: var(--yellow); }
.home-way:nth-child(2) { border-left-color: var(--green); }
.home-way:nth-child(3) { border-left-color: var(--blue); }
.home-way h4 { font-size: 0.92rem; color: var(--white); margin-bottom: 5px; display: flex; align-items: center; gap: 8px; }
.home-way p  { font-size: 0.85rem; color: #aaa; }

/* ══════════════════════════════════════════
   SOSTIENICI PAGE
══════════════════════════════════════════ */
.sp-anchors { display: flex; gap: 12px; flex-wrap: wrap; }
.sp-anchor-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 50px; border: 2px solid var(--warm); background: var(--white); font-family: 'Comfortaa', cursive; font-size: 0.85rem; font-weight: 700; color: var(--text); cursor: pointer; transition: all .22s; }
.sp-anchor-btn:hover, .sp-anchor-btn.active { background: var(--blue); color: white; border-color: var(--blue); }

.sp-section { padding: 72px 5%; scroll-margin-top: 80px; }
.sp-section-inner { max-width: 1160px; margin: 0 auto; }

/* DONA */
.sp-dona-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 52px; align-items: start; }
.sp-donate-box { background: var(--white); border: 2px solid var(--yellow); border-radius: var(--r); padding: 30px; box-shadow: var(--sh-sm); margin-bottom: 20px; }
.sp-donate-box h3 { font-size: 1rem; margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }
.iban-row-light { background: var(--light); border-radius: var(--r-sm); padding: 13px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; border: 1.5px solid var(--warm); }
.iban-row-light code { font-family: monospace; font-size: 0.97rem; letter-spacing: .04em; color: var(--dark); }
.fiscal-light { font-size: 0.88rem; color: var(--muted); line-height: 1.9; }
.fiscal-light strong { color: var(--dark); }
.sp-why { background: var(--light); border-radius: var(--r); padding: 28px; margin-top: 100px;}
.sp-why h4 { font-size: 0.95rem; margin-bottom: 24px; color: var(--dark); }
.sp-why ul { display: flex; flex-direction: column; gap: 10px; }
.sp-why li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--muted); }
.sp-why li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* 5x1000 */
.sp-xmille { background: var(--light); }
.sp-xmille-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.sp-xmille-box { background: linear-gradient(135deg, var(--blue), #2a4a88); border-radius: var(--r); padding: 36px; color: white; margin-top: 70px;}
.sp-xmille-box h3 { font-size: 1.1rem; margin-bottom: 12px; }
.sp-xmille-box p { font-size: 0.92rem; opacity: .9; line-height: 1.7; margin-bottom: 18px; }
.cf-pill { background: rgba(255,255,255,.18); border-radius: var(--r-sm); padding: 11px 18px; font-family: monospace; font-size: 1.15rem; font-weight: 700; letter-spacing: .06em; display: inline-block; }
.sp-steps { display: flex; flex-direction: column; gap: 18px; }
.sp-step { display: flex; gap: 16px; align-items: flex-start; }
.sp-step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.sp-step h4 { font-size: 0.93rem; margin-bottom: 4px; }
.sp-step p  { font-size: 0.85rem; color: var(--muted); }

/* VOLONTARIO */
.sp-vol { background: var(--white); }
.sp-vol-hero { background: linear-gradient(135deg, var(--green), #155e39); border-radius: var(--r); padding: 32px; color: white; text-align: center; }
.sp-vol-hero h3 { font-size: 1.6rem; margin-bottom: 14px; }
.sp-vol-hero p { font-size: 1rem; opacity: .88; max-width: 520px; margin: 0 auto; line-height: 1.7; }
.sp-vol-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 36px;}
.sp-vol-card { background: var(--light); border-radius: var(--r); padding: 26px; text-align: center; border-top: 4px solid; }
.sp-vol-card:nth-child(1) { border-color: var(--red); }
.sp-vol-card:nth-child(2) { border-color: var(--yellow); }
.sp-vol-card:nth-child(3) { border-color: var(--green); }
.sp-vol-card .ico { font-size: 2.4rem; margin-bottom: 12px; display: block; }
.sp-vol-card h4 { font-size: 0.97rem; margin-bottom: 8px; }
.sp-vol-card p { font-size: 0.85rem; color: var(--muted); }

/* ══════════════════════════════════════════
   CHI SIAMO PAGE
══════════════════════════════════════════ */
.cs-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.cs-text p { font-size: 1rem; color: var(--muted); margin-bottom: 16px; line-height: 1.8; }
.values { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.value { display: flex; gap: 13px; padding: 14px 17px; background: var(--white); border-radius: 12px; border-left: 4px solid; align-items: flex-start; }
.value:nth-child(1) { border-color: var(--red); }
.value:nth-child(2) { border-color: var(--green); }
.value:nth-child(3) { border-color: var(--blue); }
.value:nth-child(4) { border-color: var(--yellow); }
.value:nth-child(5) { border-color: var(--red); }
.value-ico { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.value h4 { font-size: 0.9rem; margin-bottom: 3px; }
.value p  { font-size: 0.83rem; color: var(--muted); margin: 0; }
.cs-sidebar { display: flex; flex-direction: column; gap: 16px; }
.info-box { background: var(--light); border-radius: var(--r); padding: 24px; border: 1.5px solid var(--warm); }
.info-box h3 { font-size: 0.95rem; color: var(--dark); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.info-box p, .info-box a { font-size: 0.9rem; color: var(--muted); line-height: 1.8; }
.info-box a { color: var(--blue); font-weight: 700; }
.affils { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.affil-tag { display: inline-block; background: var(--white); border: 1.5px solid #ddd; border-radius: 50px; padding: 4px 13px; font-size: 0.77rem; font-weight: 700; color: var(--blue); }
.vm-grid-cs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 50px; }
.vm-card { border-radius: var(--r); padding: 32px; color: white; }
.vm-card.vision  { background: linear-gradient(135deg, var(--blue), #2e4d85); }
.vm-card.mission { background: linear-gradient(135deg, var(--green), #155e39); }
.vm-card .vm-label { font-size: 0.68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .6; margin-bottom: 12px; }
.vm-card p { font-size: 0.97rem; line-height: 1.72; opacity: .92; }
/* ══ CHI SIAMO — storia ══ */
.cs-storia-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 72px; align-items: center; }
.cs-numeri { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 110px;}
.cs-numero { background: var(--light); border-radius: var(--r); padding: 28px; text-align: center; border: 1.5px solid var(--warm); }
.cs-numero strong { display: block; font-size: 2.8rem; line-height: 1; margin-bottom: 8px; }
.cs-numero span { font-size: 0.78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

@media (max-width: 860px) { .cs-storia-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 96px; gap: 40px; }
  .hero-content { padding-left: 0; }
  .hero-visual { padding-right: 0; }
  .hero-photo-wrap { max-width: 100%; }
  .cs-home-grid, .cs-grid, .sp-dona-grid, .sp-xmille-grid, .sostieni-grid-home { grid-template-columns: 1fr; gap: 30px; }
  .cf-grid { grid-template-columns: 1fr; }
  .vm-row, .vm-grid-cs { grid-template-columns: 1fr; }
  .stats-bar-inner { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; gap: 0; position: fixed; top: 68px; left: 0; right: 0; background: white; padding: 12px 5%; border-bottom: 2px solid var(--warm); box-shadow: var(--sh); z-index: 299; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--warm); font-size: 0.97rem; }
  .nav-cta { margin-top: 8px; text-align: center; justify-content: center; }
  .hamburger { display: flex; }
  .section { padding: 64px 5%; }
  .page-hero { padding: 110px 5% 52px; }
  .ev-grid, .cf-projects, .sp-vol-cards { grid-template-columns: 1fr; }
  .modal-info-grid { grid-template-columns: 1fr; }
  .section-header-row { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-bar-inner { grid-template-columns: repeat(2,1fr); }
  .hero-stat { display: none; }
  .sp-anchors { gap: 8px; }
  .sp-anchor-btn { font-size: 0.8rem; padding: 9px 16px; }
}

/* CONTATTI */
.contatti-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.contatti-card {
  background: var(--white); border-radius: var(--r); padding: 32px;
  box-shadow: var(--sh-sm); border: 1.5px solid var(--warm);
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  transition: transform .28s, box-shadow .28s;
}
.contatti-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.contatti-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.contatti-card h3 { font-size: 1.1rem; color: var(--dark); }
.contatti-card p  { font-size: 0.9rem; color: var(--muted); line-height: 1.7; flex: 1; }

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

/* ══ PROGETTI ══ */
.progetti-grid-home { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.progetto-card-home {
  background: var(--white); border-radius: var(--r);
  box-shadow: var(--sh-sm); border: 1.5px solid var(--warm);
  display: flex; flex-direction: column;
  transition: transform .28s, box-shadow .28s;
  text-decoration: none; color: inherit; overflow: hidden;
}
.progetto-card-home:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.progetto-card-home-top { padding: 28px 26px 20px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.periodo-pill {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  border-radius: 50px; padding: 4px 12px; width: fit-content;
}
.progetto-card-home-top h3 { font-size: 1.1rem; color: var(--dark); }
.progetto-card-home-top p  { font-size: 0.9rem; color: var(--muted); line-height: 1.7; flex: 1; }
.progetto-card-home-bottom {
  padding: 16px 26px; border-top: 1.5px solid var(--warm);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.85rem; font-weight: 700; color: var(--blue);
}
.progetto-card-home .arrow { transition: transform .2s; }
.progetto-card-home:hover .arrow { transform: translateX(5px); }

@media (max-width: 900px) { .progetti-grid-home { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .progetti-grid-home { grid-template-columns: 1fr; } }

.progetti-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.progetto-card {
  background: var(--white); border-radius: var(--r);
  box-shadow: var(--sh-sm); border: 1.5px solid var(--warm);
  display: flex; flex-direction: column;
  transition: transform .28s, box-shadow .28s; overflow: hidden;
  text-decoration: none; color: inherit;
}
.progetto-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.progetto-card-top { padding: 28px 26px 20px; flex: 1; }
.progetto-card-top .periodo {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--white); border-radius: 50px;
  padding: 4px 12px; margin-bottom: 14px;
}
.progetto-card-top h3 { font-size: 1.15rem; color: var(--dark); margin-bottom: 10px; }
.progetto-card-top p  { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }
.progetto-card-bottom {
  padding: 16px 26px; border-top: 1.5px solid var(--warm);
  display: flex; align-items: center; justify-content: space-between;
}
.progetto-card-bottom span { font-size: 0.85rem; font-weight: 700; color: var(--blue); }
.progetto-card-bottom .arrow { transition: transform .2s; }
.progetto-card:hover .arrow { transform: translateX(5px); }

.passati-section { background: var(--light); }
.passati-empty {
  background: var(--white); border-radius: var(--r);
  border: 2px dashed var(--warm); padding: 48px;
  text-align: center; color: #bbb;
}
.passati-empty p { font-size: 0.95rem; }

@media (max-width: 900px) { .progetti-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .progetti-grid { grid-template-columns: 1fr; } }



/* ══ PAGINE PROGETTO ══ */
.progetto-hero-band { height: 6px; }
.progetto-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.progetto-meta-pill { background: var(--light); border-radius: 50px; padding: 7px 16px; font-size: 0.8rem; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.progetto-body { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.progetto-content p { font-size: 1rem; color: var(--muted); line-height: 1.85; margin-bottom: 20px; }
.progetto-content h3 { font-size: 1.2rem; color: var(--dark); margin: 32px 0 12px; }
.progetto-sidebar { display: flex; flex-direction: column; gap: 18px; }
.sidebar-box { background: var(--light); border-radius: var(--r); padding: 24px; border: 1.5px solid var(--warm); }
.sidebar-box h4 { font-size: 0.9rem; color: var(--dark); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.sidebar-box p { font-size: 0.88rem; color: var(--muted); line-height: 1.75; }
.stato { display: inline-block; padding: 5px 14px; border-radius: 50px; font-size: 0.78rem; font-weight: 700; }
.stato-attivo { background: #e8f5e9; color: var(--green); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; font-size: 0.88rem; margin-bottom: 32px; transition: gap .2s; }
.back-link:hover { gap: 12px; }

@media (max-width: 860px) { .progetto-body { grid-template-columns: 1fr; } }

/* ══ ATTIVITÀ ══ */
.attivita-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.attivita-card {
  background: var(--white); border-radius: var(--r);
  box-shadow: var(--sh-sm); border: 1.5px solid var(--warm);
  padding: 26px; display: flex; align-items: flex-start; gap: 18px;
  cursor: pointer; transition: transform .28s, box-shadow .28s;
}
.attivita-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.attivita-card-icon {
  width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
}
.attivita-card-body { flex: 1; }
.attivita-card-body h3 { font-size: 1rem; color: var(--dark); margin-bottom: 7px; }
.attivita-card-body p  { font-size: 0.88rem; color: var(--muted); line-height: 1.65; margin-bottom: 12px; }
.attivita-when { font-size: 0.78rem; font-weight: 700; color: var(--blue); }
.attivita-arrow { font-size: 1.1rem; color: #ccc; transition: transform .2s, color .2s; flex-shrink: 0; align-self: center; }
.attivita-card:hover .attivita-arrow { transform: translateX(5px); color: var(--blue); }

@media (max-width: 900px) { .attivita-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .attivita-grid { grid-template-columns: 1fr; } }

/* ══ PREZZI LIST ══ */
.prezzi-list { display: flex; flex-direction: column; gap: 0; }
.prezzo-item {
  display: flex; align-items: center; gap: 28px;
  padding: 8px 0; border-bottom: 1.5px solid var(--warm);
}
.prezzo-item:last-child { border-bottom: none; }
.prezzo-img-wrap {
  width: 100px; height: 100px; flex-shrink: 0;
  border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.prezzo-img-wrap img {object-fit: cover; max-width: 100px; max-height: 100px; }
.prezzo-body h3 { font-size: 1.05rem; color: var(--dark); margin-bottom: 6px; }
.prezzo-body p  { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

@media (max-width: 640px) {
  .prezzo-item { flex-direction: column; align-items: flex-start; gap: 16px; }
}
