@charset "utf-8";
/* ==========================================================================
   ASAD — Associazione Diabetici Pescara ODV ETS
   Foglio di stile unico. Nessuna dipendenza esterna.
   1. Font  2. Variabili  3. Base  4. Testata  5. Bottoni  6. Sezioni
   7. Home  8. Pagine interne  9. Moduli e utilità  10. Stampa
   ========================================================================== */

/* 1. Font — file locali, nessuna chiamata a Google (privacy) --------------- */
@import url("../fonts/fonts.css");

/* 2. Variabili ------------------------------------------------------------ */
:root {
  --paper: #fbf7ee;
  --paper-soft: #fffcf4;
  --card: #fffdf8;
  --sky: #e9f2f5;
  --sky-deep: #dcebef;
  --petrol: #0e5a75;
  --petrol-700: #0b4a60;
  --petrol-900: #08303f;
  --ink: #0f262c;
  --muted: #4b666d;
  --red: #c4322b;
  --red-soft: #f6e4e0;
  --green: #4f8232;
  --green-soft: #e9f1de;
  --lime: #8cbf4c;
  --line: rgba(14, 90, 117, 0.15);
  --line-strong: rgba(14, 90, 117, 0.28);
  --shadow-sm: 0 1px 2px rgba(8, 48, 63, 0.06);
  --shadow-md: 0 20px 44px -28px rgba(8, 48, 63, 0.55);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Source Sans 3", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 20px;
  --radius-lg: 28px;
  --wrap: 1160px;
  --strip: linear-gradient(90deg,
      #c4322b 0 14.2857%, #e2552d 0 28.5714%, #f0913a 0 42.8571%,
      #f4c74a 0 57.1428%, #8cbf4c 0 71.4285%, #2fa4a2 0 85.7142%, #2e7fb6 0 100%);
}

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--petrol-700); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
em { font-style: italic; }

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: 0.35em; }

:focus-visible {
  outline: 3px solid #1b7fa3;
  outline-offset: 3px;
  border-radius: 4px;
  scroll-margin-block: 96px;
}

::selection { background: #cfe6ef; color: var(--ink); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: var(--petrol);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; color: #fff; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

/* 4. Testata -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 238, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header::before {
  content: "";
  display: block;
  height: 5px;
  background: var(--strip);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(8, 48, 63, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.brand-mark { width: 46px; height: 46px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: 0.005em;
  color: var(--red);
}
.brand-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav li { margin: 0; }
.nav ul a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--petrol);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav ul a:hover::after { transform: scaleX(1); }
.nav ul a[aria-current="page"] { color: var(--petrol); }
.nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { padding: 0.7em 1.25em; font-size: 16px; color: #fff; }
.nav-cta[aria-current="page"] { background: var(--petrol-700); color: #fff; }

.nav-cta { padding: 0.7em 1.25em; font-size: 16px; }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 1.5px solid #557f91;
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.15s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 5. Bottoni -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.82em 1.4em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
              border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.18s ease; }
.btn:hover svg.icon-arrow { transform: translateX(3px); }

.btn--primary {
  background: var(--petrol);
  color: #fff;
  box-shadow: 0 14px 26px -18px rgba(8, 48, 63, 0.95);
}
.btn--primary:hover { background: var(--petrol-700); color: #fff; transform: translateY(-2px); }

.btn--ghost {
  border-color: #557f91;
  color: var(--petrol);
  background: transparent;
}
.btn--ghost:hover { background: rgba(14, 90, 117, 0.07); color: var(--petrol-700); border-color: var(--petrol); }

.btn--light { background: #fff; color: var(--petrol); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: #fff; color: var(--petrol-700); transform: translateY(-2px); }

.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #a92a24; color: #fff; transform: translateY(-2px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.link-arrow svg { width: 17px; height: 17px; transition: transform 0.18s ease; }
.link-arrow:hover { border-bottom-color: currentColor; }
.link-arrow:hover svg { transform: translateX(3px); }

/* 6. Sezioni -------------------------------------------------------------- */
.section { padding-block: clamp(56px, 7.5vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--sky { background: var(--sky); }
.section--paper-soft { background: var(--paper-soft); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--petrol);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  flex-shrink: 0;
}
.section-head--center .eyebrow { justify-content: center; }
.section--dark .eyebrow { color: #b9dbe6; }

h2.section-title { font-size: clamp(1.95rem, 3.3vw, 2.75rem); }
.section-lede {
  margin-top: 16px;
  font-size: clamp(1.05rem, 1.4vw, 1.19rem);
  color: var(--muted);
  max-width: 62ch;
}

.petal-dots { display: flex; gap: 7px; margin-top: 26px; }
.petal-dots span { width: 9px; height: 9px; border-radius: 50% 50% 50% 0; }

/* Banda scura arrotondata */
.band {
  position: relative;
  background: var(--petrol-900);
  color: #eaf3f6;
  border-radius: clamp(24px, 3.4vw, 40px);
  overflow: hidden;
  padding-block: clamp(48px, 6vw, 84px);
}
.band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--strip);
}
.band .section-title { color: #fff; }
.band .section-lede { color: #c3dde6; }
.band .check-list li { color: #e6f1f4; }
.band .panel p, .band .panel li { color: #c3dde6; }
.band a:not(.btn) { color: #fff; }
.section--band { padding-block: clamp(20px, 2.4vw, 32px); }
.band-wrap { padding-inline: clamp(20px, 4vw, 40px); }

/* 7. Home ----------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(36px, 5vw, 72px) clamp(52px, 6.5vw, 92px);
  background:
    radial-gradient(760px 420px at 92% 0%, #eaf3f6 0%, rgba(234, 243, 246, 0) 68%),
    var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 18px 0 0;
}
.hero h1 em {
  display: inline-block;
  font-style: italic;
  font-weight: 400;
  color: var(--petrol);
}
.hero-lede {
  margin-top: 22px;
  max-width: 36ch;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: #3d5a61;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 15.5px;
  color: var(--muted);
}
.hero-foot .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }
.hero-foot strong { color: var(--ink); font-variant-numeric: tabular-nums; }

.hero-visual { position: relative; }
.hero-panel {
  position: relative;
  min-height: 430px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 300px at 78% 8%, rgba(47, 164, 162, 0.35), transparent 70%),
    linear-gradient(158deg, #12617c 0%, #0b4256 58%, #08303f 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-panel::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.045), 0 0 0 68px rgba(255, 255, 255, 0.03);
  pointer-events: none;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d9ecf2;
}
.hero-flower {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 128px;
  height: 128px;
  opacity: 0.95;
}
.hero-panel-quote {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 15ch;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.hero-panel-foot {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
}
.hero-panel-foot strong { font-weight: 600; }
.hero-panel-foot a { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.hero-panel-foot a svg { width: 16px; height: 16px; }
.hero-panel-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero-note {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 18px 0 0 auto;
  max-width: 100%;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--muted);
}
.hero-note svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; margin-top: 1px; }
.hero-note strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }

/* Fatti / elenco puntato con icone */
.facts { display: grid; gap: 4px; }
.fact {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.fact:last-child { border-bottom: 1px solid var(--line); }
.fact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--sky);
  color: var(--petrol);
}
.fact-icon svg { width: 23px; height: 23px; }
.fact h3 { font-family: var(--font-sans); font-size: 18px; font-weight: 700; letter-spacing: 0; margin-bottom: 4px; }
.fact p { font-size: 16px; color: var(--muted); }

/* Card malattia */
.disease-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.disease {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.disease::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--accent, var(--petrol));
}
.disease--t1 { --accent: var(--red); --accent-soft: var(--red-soft); }
.disease--t2 { --accent: var(--green); --accent-soft: var(--green-soft); }
.disease-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.disease-icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}
.disease-icon svg { width: 26px; height: 26px; }
.disease h3 { font-size: 1.5rem; }
.disease .tagline { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.disease p { color: var(--muted); font-size: 16.5px; }
.disease .mini-title {
  margin: 20px 0 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 16.5px;
  margin: 0;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px; height: 9px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent, var(--petrol));
}

/* Iniziative */
.initiatives { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.initiative {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.initiative:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.initiative-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  margin-bottom: 18px;
  background: var(--accent-soft, var(--sky));
  color: var(--accent, var(--petrol));
}
.initiative-icon svg { width: 25px; height: 25px; }
.initiative h3 { font-family: var(--font-sans); font-size: 18.5px; font-weight: 700; line-height: 1.3; letter-spacing: 0; margin-bottom: 8px; }
.initiative p { font-size: 15.5px; color: var(--muted); }

/* Risultati */
.proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.proof {
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.proof h3 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.proof p { color: #c3dde6; font-size: 16.5px; }
.timeline { display: flex; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.timeline span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.timeline .arrow { background: none; border: 0; padding: 0; color: #8fc6d8; }
.proof-note {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #c3dde6;
}
.proof-note a { color: #fff; }

/* Citazione */
.quote {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
  padding-block: clamp(48px, 6vw, 84px);
}
.quote blockquote { margin: 0; }
.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.9vw, 2.15rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.quote .noi {
  display: block;
  margin-top: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--petrol);
}
.quote figcaption {
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 5×1000 */
.donate-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.donate-grid .section-lede { color: #c3dde6; }
.copy-list { display: grid; gap: 14px; }
.copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.copy-text { min-width: 0; }
.copy-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fc9d7;
  margin-bottom: 2px;
}
.copy-value {
  display: block;
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  letter-spacing: 0.01em;
}
.copy--hero .copy-value { font-size: clamp(1.35rem, 2.4vw, 1.75rem); letter-spacing: 0.02em; }
.copy-value--iban { font-size: clamp(0.95rem, 1.5vw, 1.1rem); letter-spacing: 0.01em; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn:hover { background: rgba(255, 255, 255, 0.14); }
.copy-btn.is-copied { background: #fff; color: var(--petrol); border-color: #fff; }

/* variante su fondo chiaro */
.copy--light { background: var(--card); border-color: var(--line); }
.copy--light .copy-label { color: var(--muted); }
.copy--light .copy-value { color: var(--ink); }
.copy--light .copy-btn { border-color: #557f91; color: var(--petrol); }
.copy--light .copy-btn:hover { background: rgba(14, 90, 117, 0.07); }
.copy--light .copy-btn.is-copied { background: var(--petrol); color: #fff; border-color: var(--petrol); }

.sticky { position: sticky; top: 108px; }

.donate-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.band .btn--ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.band .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.band .btn--light, .band .btn--light:hover { color: var(--petrol); }

/* Contatti rapidi in home */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-card .contact-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--sky);
  color: var(--petrol);
  flex-shrink: 0;
}
.contact-card svg { width: 22px; height: 22px; }
.contact-card h3 { font-family: var(--font-sans); font-size: 16px; font-weight: 700; letter-spacing: 0; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: 15.5px; color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.contact-card a { color: var(--petrol); font-weight: 600; }

/* 8. Pagine interne ------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(44px, 6vw, 78px) clamp(32px, 4vw, 52px);
  background:
    radial-gradient(680px 380px at 88% 10%, rgba(220, 235, 239, 0.85) 0%, rgba(220, 235, 239, 0) 70%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); margin-top: 16px; max-width: 20ch; }
.page-hero .lede {
  margin-top: 20px;
  max-width: 62ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
}
.page-hero-art {
  position: absolute;
  right: -40px;
  top: -30px;
  width: 260px;
  height: 260px;
  opacity: 0.55;
  pointer-events: none;
}
.breadcrumb { font-size: 14px; color: var(--muted); margin: 0 0 6px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--petrol); text-decoration: underline; }
.breadcrumb span { margin-inline: 6px; color: var(--line-strong); }

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.6rem, 2.5vw, 2.05rem); margin: 2.2em 0 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--font-sans); font-size: 1.18rem; font-weight: 700; letter-spacing: 0; margin: 1.8em 0 0.4em; }
.prose p, .prose li { font-size: 17.5px; color: #22444b; }
.prose ul li::marker { color: var(--petrol); }
.prose > p:first-of-type { font-size: 1.12em; color: var(--ink); }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.two-col--narrow { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }

.panel {
  padding: clamp(24px, 3vw, 34px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.panel--sky { background: var(--sky); border-color: transparent; box-shadow: none; }
.panel h2 { font-size: 1.35rem; margin-bottom: 12px; }
.panel h3 { font-family: var(--font-sans); font-size: 17px; font-weight: 700; letter-spacing: 0; margin-bottom: 6px; }
.panel p, .panel li { font-size: 16.5px; color: var(--muted); }
.panel ul { margin-bottom: 0; }

.notice {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--sky);
  border-left: 4px solid var(--petrol);
  font-size: 16px;
  color: #22444b;
}
.notice svg { width: 22px; height: 22px; color: var(--petrol); flex-shrink: 0; margin-top: 2px; }

.steps { list-style: none; counter-reset: step; padding: 0; display: grid; gap: 18px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 56px;
  margin: 0;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--petrol);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.steps h3 { font-family: var(--font-sans); font-size: 17px; font-weight: 700; letter-spacing: 0; margin: 0 0 2px; }
.steps p { font-size: 16.5px; color: var(--muted); margin: 0; }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 26px;
  font-weight: 400;
  color: var(--petrol);
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; max-width: 68ch; }
.faq details > div p { color: var(--muted); font-size: 16.5px; }

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sky);
  aspect-ratio: 16 / 10;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-caption { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

.inline-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.inline-tags li {
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--petrol);
  font-size: 14px;
  font-weight: 600;
}

/* 9. Moduli e utilità ----------------------------------------------------- */
.section--dark-link { background: var(--petrol-900); color: #c3dde6; }
.section--dark-link a { color: #fff; }

.list-plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list-plain li { margin: 0; }
.list-plain a { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 600; }
.list-plain a:hover { text-decoration: underline; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 36px; }

/* Rivelazione morbida */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s cubic-bezier(0.22, 0.7, 0.3, 1),
              transform 0.6s cubic-bezier(0.22, 0.7, 0.3, 1);
}

/* Piede di pagina */
.site-footer {
  margin-top: clamp(24px, 4vw, 40px);
  padding-top: clamp(48px, 6vw, 72px);
  background: var(--petrol-900);
  color: #b9d3db;
  font-size: 15.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: 44px;
}
.brand--footer { color: #fff; }
.brand--footer .brand-name { color: #fff; }
.brand--footer .brand-sub { color: #9fc9d7; }
.footer-brand p { margin: 18px 0 0; max-width: 34ch; }
.footer-legal { font-size: 13.5px; color: #8fb6c2; line-height: 1.55; }
.footer-title {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fc9d7;
  margin: 0 0 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: #e6f1f4; text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-cf {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13.5px;
  color: #8fb6c2;
}
.footer-bottom a { color: #cfe4ea; }

/* 10. Adattamenti --------------------------------------------------------- */
@media (max-width: 1024px) {
  .initiatives { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px clamp(20px, 4vw, 40px) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav ul a { display: block; padding: 12px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav ul a::after { display: none; }
  .nav-cta { margin-top: 14px; align-self: flex-start; }
  .nav-toggle { display: block; }
  .header-inner { min-height: 70px; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { order: 2; margin-top: 8px; }
  .hero-note { position: static; margin-top: 18px; max-width: none; }
  .hero-panel { min-height: 340px; }
  .hero-flower { width: 104px; height: 104px; }
  .hero-note { margin-top: 16px; }

  .disease-grid, .proof-grid, .two-col, .two-col--narrow, .donate-grid,
  .contact-cards { grid-template-columns: minmax(0, 1fr); }

  .page-hero-art { width: 180px; height: 180px; opacity: 0.35; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .brand-name { font-size: 24px; }
  .brand-sub { font-size: 10px; }
  .initiatives { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .copy { flex-direction: column; align-items: flex-start; gap: 10px; }
  .copy-btn { width: 100%; justify-content: center; }
  .hero-actions .btn { width: 100%; }
  .quote p { font-size: 1.35rem; }
}

@media (max-width: 480px) {
  .page-hero-art { display: none; }
}

/* Schermi molto stretti: 320-380 px (telefoni piccoli, zoom elevato) */
@media (max-width: 380px) {
  .brand-sub { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 23px; }
  .hero-flower { display: none; }
  .hero-chip { font-size: 11px; letter-spacing: 0.1em; }
  .hero-panel-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 16px;
  }
  .hero h1 { font-size: 2.2rem; }
  .quote p { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* Stampa: volantini e moduli ASAD stampati dal sito */
@media print {
  .site-header, .site-footer, .hero-visual, .skip-link, .nav-toggle, .copy-btn,
  .map-frame, .hero-actions { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .band { background: #fff !important; color: #000 !important; border: 1px solid #999; }
  .band .section-title, .proof h3 { color: #000 !important; }
  .proof p, .band .section-lede, .copy-label, .copy-value { color: #000 !important; }
  .copy { border: 1px solid #999; background: #fff !important; }
  a { color: #000; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .section, .page-hero { padding-block: 12pt; }
  .hero { padding-block: 0 12pt; }
}
