*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blu:      #0077B6;
  --blu-sc:   #005F92;
  --blu-ch:   #E8F4FB;
  --blu-med:  #90C8E8;
  --bianco:   #FFFFFF;
  --crema:    #F8FAFB;
  --beige:    #EEF4F8;
  --grigio:   #5E6E7A;
  --testo:    #1A2B35;
  --rosso:    #C0392B;
  --verde:    #2E9E5B;
  --font-d:   'Cormorant Garamond', Georgia, serif;
  --font-b:   'Nunito Sans', sans-serif;
  --r: 10px; --tr: 0.3s ease;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-b); color: var(--testo); background: var(--bianco); line-height: 1.7; overflow-x: hidden; }

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,119,182,0.1);
  height: 76px; display: flex; align-items: center; padding: 0 2rem;
  transition: box-shadow var(--tr);
}
nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.09); }
.nav-inner { max-width: 1340px; margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-flag { width: 52px; height: 52px; border-radius: 6px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr 1fr; border: 1px solid rgba(0,0,0,0.1); flex-shrink: 0; }
.lf-v { background: #009246; }
.lf-b { background: #fff; }
.lf-r { background: #CE2B37; }

/* logo image for header */
.logo-image { width: 60px; height: 60px; border-radius: 6px; object-fit: contain; flex-shrink: 0; display: block; }
.logo-text { display: flex; flex-direction: column; gap: 1px; }
.logo-assoc { font-size: 9px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grigio); }
.logo-icare { font-family: var(--font-d); font-size: 22px; font-weight: 600; color: var(--testo); line-height: 1; }
.logo-sub { font-size: 9px; color: var(--blu); font-weight: 600; letter-spacing: 0.04em; margin-top: 2px; }

.nav-menu { display: flex; align-items: center; list-style: none; }
.nav-menu a { text-decoration: none; color: var(--grigio); font-size: 12.5px; font-weight: 400; padding: 0 11px; transition: color var(--tr); border-right: 1px solid rgba(0,0,0,0.1); white-space: nowrap; }
.nav-menu li:last-child a { border-right: none; }
.nav-menu a:hover { color: var(--blu); }
.nav-menu a.cta { color: var(--blu); font-weight: 600; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--testo); border-radius: 2px; }

/* ── HERO ── */
#hero { min-height: 100vh; position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(160deg, #c8dde8 0%, #a8c8d8 30%, #8ab0c0 60%, #6898b0 100%);
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 50% at 30% 65%, rgba(160,200,220,0.7) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 65% 55%, rgba(200,225,235,0.5) 0%, transparent 65%);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(20,40,60,0.25) 0%, rgba(5,15,30,0.08) 45%, rgba(0,20,50,0.55) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 1340px; margin: 0 auto; width: 100%; padding: 120px 2rem 80px; display: flex; justify-content: flex-end; }
.hero-box { max-width: 540px; color: white; }
.hero-title { font-family: var(--font-d); font-size: clamp(2.8rem, 6vw, 4.8rem); font-weight: 600; line-height: 1.05; margin-bottom: 1.2rem; text-shadow: 0 2px 20px rgba(0,0,0,0.25); }
.hero-quote { font-family: var(--font-d); font-style: italic; font-size: clamp(1rem, 1.8vw, 1.2rem); color: rgba(255,255,255,0.9); line-height: 1.5; margin-bottom: 0.4rem; }
.hero-author { font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 2rem; }
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-chip { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: white; font-size: 12px; padding: 5px 14px; border-radius: 100px; letter-spacing: 0.04em; }
.btn-nl { display: inline-flex; align-items: center; gap: 10px; background: var(--blu); color: white; border: none; padding: 14px 28px; font-family: var(--font-b); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background var(--tr), transform var(--tr); border-radius: 3px; }
.btn-nl:hover { background: var(--blu-sc); transform: translateY(-2px); }

/* ── SECTIONS ── */
section { padding: 90px 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.sec-tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blu); margin-bottom: 0.75rem; }
.sec-title { font-family: var(--font-d); font-size: clamp(1.9rem, 3.5vw, 2.9rem); font-weight: 600; line-height: 1.15; margin-bottom: 1rem; }
.sec-lead { font-size: 16px; color: var(--grigio); max-width: 580px; line-height: 1.75; }
.fi { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fi.vis { opacity: 1; transform: translateY(0); }

/* ── CHI SIAMO ── */
#chi-siamo { background: var(--crema); }
.chi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }

.data-fondazione {
  background: var(--blu); color: white; border-radius: var(--r);
  padding: 1.25rem 1.75rem; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.data-f-num { font-family: var(--font-d); font-size: 2.5rem; font-weight: 600; line-height: 1; }
.data-f-txt { font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.4; }
.data-f-txt strong { display: block; color: white; font-size: 14px; }

.acronym-box { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.ac-card { background: var(--bianco); border-radius: var(--r); padding: 1.25rem; border-top: 3px solid var(--blu); border: 1px solid rgba(0,119,182,0.1); border-top: 3px solid var(--blu); transition: transform var(--tr); }
.ac-card:hover { transform: translateY(-3px); }
.ac-letter { font-family: var(--font-d); font-size: 2.2rem; font-weight: 600; color: var(--blu); line-height: 1; }
.ac-word { font-size: 13px; font-weight: 600; color: var(--testo); }
.ac-desc { font-size: 11.5px; color: var(--grigio); margin-top: 3px; line-height: 1.4; }

.chi-right { display: flex; flex-direction: column; gap: 1rem; }
.info-card { background: var(--bianco); border-radius: var(--r); padding: 1.5rem; border: 1px solid rgba(0,119,182,0.1); }
.info-card h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blu); margin-bottom: 0.75rem; }
.info-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 0.6rem; font-size: 14px; color: var(--grigio); }
.info-row:last-child { margin-bottom: 0; }
.info-dot { width: 6px; height: 6px; background: var(--blu); border-radius: 50%; flex-shrink: 0; margin-top: 8px; }
.info-row strong { color: var(--testo); display: block; font-size: 13px; }

.quote-blu { background: var(--blu-ch); border-left: 3px solid var(--blu); border-radius: 0 var(--r) var(--r) 0; padding: 1.25rem 1.5rem; }
.quote-blu p { font-family: var(--font-d); font-style: italic; font-size: 1.05rem; color: var(--testo); line-height: 1.5; }
.quote-blu cite { font-family: var(--font-b); font-style: normal; font-size: 11px; color: var(--grigio); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 6px; display: block; }

/* ── COSA FACCIAMO ── */
#cosa-facciamo { background: var(--bianco); }
.cosa-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.cosa-card { background: var(--crema); border-radius: var(--r); padding: 2rem; border: 1px solid rgba(0,119,182,0.1); position: relative; overflow: hidden; transition: transform var(--tr), box-shadow var(--tr); }
.cosa-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--blu); transform: scaleX(0); transform-origin: left; transition: transform var(--tr); }
.cosa-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,119,182,0.1); }
.cosa-card:hover::before { transform: scaleX(1); }
.cosa-num { font-family: var(--font-d); font-size: 2.5rem; font-weight: 600; color: var(--blu); opacity: 0.15; line-height: 1; margin-bottom: 0.75rem; }
.cosa-card h3 { font-family: var(--font-d); font-size: 1.2rem; font-weight: 600; color: var(--testo); margin-bottom: 0.6rem; }
.cosa-card p { font-size: 13.5px; color: var(--grigio); line-height: 1.65; }

/* ── CURE DEL DOLORE ── */
#cure { background: var(--beige); }
.cure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; }
.cure-box { background: var(--bianco); border-radius: var(--r); padding: 2rem; border: 1px solid rgba(0,119,182,0.1); }
.cure-box-title {
  background: var(--blu); color: white;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 6px; margin-bottom: 1.25rem; display: inline-block;
}
.cure-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.cure-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--grigio); }
.cure-list li::before { content: '→'; color: var(--blu); flex-shrink: 0; font-weight: 600; margin-top: 2px; }
.cure-list li strong { color: var(--testo); }
.cure-sub { font-size: 12px; color: rgba(94,110,122,0.7); margin-top: 2px; }

.ospedali-box { background: var(--blu); color: white; border-radius: var(--r); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.osp-title { font-family: var(--font-d); font-size: 1.3rem; font-weight: 600; margin-bottom: 0.25rem; }
.osp-sub { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 0.5rem; }
.osp-item { background: rgba(255,255,255,0.12); border-radius: 8px; padding: 1rem 1.25rem; }
.osp-item h5 { font-size: 14px; font-weight: 600; color: white; margin-bottom: 3px; }
.osp-item p { font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.4; }

/* ── TERAPIE ── */
#terapie { background: var(--bianco); }
.terapie-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-bottom: 3rem; }
.terapie-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.ter-card { background: var(--blu-ch); border-radius: var(--r); padding: 1.25rem; border: 1px solid rgba(0,119,182,0.15); transition: transform var(--tr), background var(--tr); }
.ter-card:hover { transform: translateY(-3px); background: #d4eaf5; }
.ter-icon { font-size: 1.5rem; margin-bottom: 8px; }
.ter-card h4 { font-size: 13px; font-weight: 600; color: var(--testo); margin-bottom: 4px; line-height: 1.3; }
.ter-card p { font-size: 12px; color: var(--grigio); line-height: 1.45; }

/* ── SOSTIENICI ── */
#come-sostenerci { background: var(--beige); }
.sostieni-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.banco-card { background: var(--testo); color: white; border-radius: var(--r); padding: 2rem; margin-top: 1.5rem; }
.banco-card h4 { font-family: var(--font-d); font-size: 1.2rem; font-weight: 600; margin-bottom: 1rem; }
.banco-row { display: flex; flex-direction: column; gap: 0.75rem; }
.banco-item { background: rgba(255,255,255,0.07); border-radius: 6px; padding: 0.75rem 1rem; }
.banco-item label { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); display: block; margin-bottom: 2px; }
.banco-item span { font-size: 14px; color: rgba(255,255,255,0.9); font-family: var(--font-b); letter-spacing: 0.03em; }
.banco-item span.mono { font-size: 13px; letter-spacing: 0.06em; }

.cinque-box { background: var(--blu); color: white; border-radius: var(--r); padding: 2rem; }
.cinque-box h4 { font-family: var(--font-d); font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
.cinque-cf { font-size: 1.8rem; font-weight: 300; letter-spacing: 0.1em; color: rgba(255,255,255,0.55); margin: 0.75rem 0; }
.cinque-box p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.6; }

.sostieni-mods { display: flex; flex-direction: column; gap: 1rem; }
.mod-item { background: var(--bianco); border-radius: var(--r); padding: 1.25rem 1.5rem; border: 1px solid rgba(0,0,0,0.07); display: flex; gap: 1rem; align-items: flex-start; transition: border-color var(--tr), transform var(--tr); }
.mod-item:hover { border-color: var(--blu); transform: translateX(4px); }
.mod-badge { background: var(--blu); color: white; border-radius: 5px; padding: 4px 10px; font-size: 10px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; flex-shrink: 0; white-space: nowrap; margin-top: 2px; }
.mod-badge.verde { background: var(--verde); }
.mod-badge.grigio { background: var(--grigio); }
.mod-item h4 { font-size: 14px; font-weight: 600; color: var(--testo); margin-bottom: 3px; }
.mod-item p { font-size: 13px; color: var(--grigio); line-height: 1.5; }

/* ── VOLONTARI ── */
#volontari { background: var(--bianco); }
.vol-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: center; }
.steps { display: flex; flex-direction: column; gap: 0; margin-top: 2rem; }
.step { display: flex; gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.step:last-child { border-bottom: none; }
.step-n { width: 34px; height: 34px; border-radius: 50%; background: var(--blu-ch); display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-size: 1rem; font-weight: 600; color: var(--blu); flex-shrink: 0; }
.step h4 { font-size: 14px; font-weight: 600; color: var(--testo); margin-bottom: 3px; }
.step p { font-size: 13px; color: var(--grigio); line-height: 1.5; }
.vol-visual { background: var(--blu-ch); border-radius: 16px; padding: 2.5rem; text-align: center; }
.vol-big { font-family: var(--font-d); font-size: 4.5rem; font-weight: 600; color: var(--blu); line-height: 1; }
.vol-label { font-size: 13px; color: var(--grigio); margin-top: 6px; }
.vol-quote { font-family: var(--font-d); font-style: italic; font-size: 1.05rem; color: var(--testo); line-height: 1.5; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(0,119,182,0.15); }

/* ── BLOG/EVENTI ── */
#blog-eventi { background: var(--crema); }
.blog-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.blog-card { background: var(--bianco); border-radius: var(--r); overflow: hidden; border: 1px solid rgba(0,0,0,0.06); transition: transform var(--tr), box-shadow var(--tr); text-decoration: none; display: block; color: inherit; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,119,182,0.1); }
.blog-img { height: 160px; position: relative; overflow: hidden; }
.blog-img.blu { background: linear-gradient(135deg, #0077B6, #005F92); }
.blog-img.verde { background: linear-gradient(135deg, #2E9E5B, #1a6e3c); }
.blog-img.oro { background: linear-gradient(135deg, #C9A84C, #a07828); }
.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-body { padding: 1.25rem 1.5rem; }
.blog-tag-s { font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blu); margin-bottom: 5px; display: block; }
.blog-card h3 { font-family: var(--font-d); font-size: 1.05rem; font-weight: 600; color: var(--testo); line-height: 1.3; margin-bottom: 5px; }
.blog-card p { font-size: 12.5px; color: var(--grigio); line-height: 1.5; }
.blog-date { font-size: 11px; color: rgba(94,110,122,0.55); margin-top: 7px; display: block; }

/* ── CONTATTI/FOOTER ── */
#contatti { background: var(--testo); color: white; padding: 80px 2rem 40px; }
.cnt-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 2rem; }
.cnt-left .sec-title { color: white; }
.cnt-left .sec-lead { color: rgba(255,255,255,0.5); }
.cnt-left .sec-tag { color: rgba(255,255,255,0.35); }
.cnt-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.cnt-row { display: flex; gap: 1rem; align-items: flex-start; }
.cnt-ic { width: 36px; height: 36px; border-radius: 6px; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cnt-ic svg { width: 16px; height: 16px; stroke: var(--blu-med); fill: none; stroke-width: 2; }
.cnt-row strong { display: block; font-size: 11px; color: rgba(255,255,255,0.35); font-weight: 400; margin-bottom: 2px; }
.cnt-row span { font-size: 13.5px; color: rgba(255,255,255,0.85); }

.form-c { display: flex; flex-direction: column; gap: 0.8rem; }
.form-c input, .form-c textarea {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; padding: 11px 14px; color: white;
  font-family: var(--font-b); font-size: 14px; outline: none; transition: border-color var(--tr);
}
.form-c input::placeholder, .form-c textarea::placeholder { color: rgba(255,255,255,0.28); }
.form-c input:focus, .form-c textarea:focus { border-color: var(--blu); }
.form-c textarea { min-height: 110px; resize: vertical; }
.fr2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.btn-invia { background: var(--blu); color: white; border: none; padding: 13px 28px; border-radius: 6px; font-family: var(--font-b); font-size: 14px; font-weight: 600; cursor: pointer; transition: background var(--tr), transform var(--tr); align-self: flex-start; }
.btn-invia:hover { background: var(--blu-sc); transform: translateY(-2px); }

.foot-bot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.foot-logo { font-family: var(--font-d); font-size: 1.2rem; color: rgba(255,255,255,0.4); }
.foot-links { display: flex; gap: 1.5rem; list-style: none; }
.foot-links a { font-size: 12px; color: rgba(255,255,255,0.3); text-decoration: none; transition: color var(--tr); }
.foot-links a:hover { color: rgba(255,255,255,0.7); }
.foot-copy { font-size: 11px; color: rgba(255,255,255,0.2); }

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .chi-grid, .cure-grid, .sostieni-grid, .vol-grid, .cnt-grid, .terapie-intro { grid-template-columns: 1fr; gap: 2rem; }
  .cosa-grid, .terapie-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .nav-menu { display: none; flex-direction: column; position: fixed; top: 76px; left: 0; right: 0; background: white; padding: 1rem 1.5rem 1.5rem; border-bottom: 1px solid rgba(0,0,0,0.08); }
  .nav-menu.open { display: flex; }
  .nav-menu a { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.06); padding: 10px 0; }
  .nav-menu li:last-child a { border-bottom: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 600px) {
  .cosa-grid, .terapie-grid, .acronym-box { grid-template-columns: 1fr 1fr; }
  .fr2 { grid-template-columns: 1fr; }
  .foot-bot { flex-direction: column; text-align: center; }
}

/* ── PAGE TEMPLATES (pagine secondarie) ── */
main.page, .page-main {
  padding: 3rem; max-width: 900px; margin: 0 auto; text-align: left;
}
.page-back-link, a.page-back {
  color: var(--blu); display: inline-block; margin-bottom: 1rem; text-decoration: none;
}
.page-back-link:hover, a.page-back:hover { text-decoration: underline; }

.page-title { margin-bottom: 0.5rem; }
.page-title h1 { font-family: var(--font-d); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; color: var(--testo); }
.page-lead { color: var(--grigio); margin-top: 0.5rem; }

.article { color: var(--testo); line-height: 1.75; margin-top: 1rem; }
.article h2 { font-family: var(--font-d); font-size: 1.25rem; margin-top: 1rem; color: var(--testo); }
.article p { color: var(--grigio); font-size: 0.98rem; }
.article img { max-width: 100%; height: auto; border-radius: 8px; margin: 1rem 0; }

.aside { margin-top: 2rem; color: var(--grigio); font-size: 0.95rem; }

.doc-list { list-style: none; padding-left: 0; margin-top: 0.75rem; }
.doc-list li { padding: 0.6rem 0; border-bottom: 1px solid rgba(0,0,0,0.04); }
.doc-list a { color: var(--blu); text-decoration: none; }
.doc-list a:hover { text-decoration: underline; }

.blog-list { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.blog-card-compact { background: var(--bianco); border-radius: 10px; padding: 1rem; border: 1px solid rgba(0,0,0,0.05); }

.btn-secondary { display: inline-block; background: transparent; border: 1px solid var(--blu); color: var(--blu); padding: 10px 14px; border-radius: 6px; text-decoration: none; font-weight: 600; }
.btn-secondary:hover { background: var(--blu-ch); color: var(--testo); }

.thankyou { text-align: center; padding: 3rem; }
.nf-note { color: var(--grigio); margin-top: 0.6rem; }

@media (max-width: 980px) {
  main.page, .page-main { padding: 2rem; }
  .blog-list { grid-template-columns: 1fr; }
}
/* ─── ANIMAZIONI FADE-IN ─── */
.fi {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.fi.vis {
  opacity: 1;
  transform: translateY(0);
}

/* ─── STAGGER ITEMS ─── */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger-item.vis {
  opacity: 1;
  transform: translateY(0);
}

/* ─── SCALE-IN PER ICONE ─── */
.scale-in {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.scale-in.vis {
  opacity: 1;
  transform: scale(1);
}

/* ─── SLIDE-IN DA SINISTRA/DESTRA ─── */
.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.slide-left.vis, .slide-right.vis {
  opacity: 1;
  transform: translateX(0);
}

/* ─── ICONE PLACEHOLDER ─── */
.icon-placeholder {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}
.icon-placeholder.sm { width: 24px; height: 24px; }
.icon-placeholder.md { width: 36px; height: 36px; }
.icon-placeholder.lg { width: 56px; height: 56px; }
