/* =========================
   donors (page-specific)
   usa le classi globali media-* per immagini
   ========================= */

   .donors-cta{
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  
  .donors-methods{
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
  }
  
  .donors-method{
    grid-column: span 6;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--card);
    box-shadow: var(--shadow-soft);
    padding: 16px;
  }
  
  @media (max-width: 900px){
    .donors-method{ grid-column: span 12; }
  }
  
  .donors-method__title{
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
  }
  
  .donors-method__note{
    margin-top: 10px;
    opacity: .9;
    line-height: 1.55;
  }
  
  .donors-kv{
    margin-top: 14px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg-2) 85%, transparent);
  }
  
  .donors-kv__row{
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  }
  
  .donors-kv__row:last-child{
    border-bottom: none;
  }
  
  .donors-kv__row strong{
    font-size: 12px;
    letter-spacing: .02em;
    opacity: .85;
  }
  
  .donors-link{
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  
  .donors-footnote{
    margin-top: 18px;
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px dashed color-mix(in srgb, var(--line) 80%, transparent);
    background: color-mix(in srgb, var(--bg-2) 85%, transparent);
  }
  
  @media (max-width: 520px){
    .donors-kv__row{
      grid-template-columns: 1fr;
    }
  }
  
  /* =========================
   donors — Projects panel (add-on)
   Non modifica le regole esistenti: usa classi nuove.
   ========================= */

.donors-projects{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.donors-project{
  grid-column: span 6;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

@media (max-width: 900px){
  .donors-project{ grid-column: span 12; }
}

.donors-project__top{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.donors-project__title{
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.donors-project__amount{
  font-size: 12px;
  letter-spacing: .02em;
  opacity: .85;
  white-space: nowrap;
}

.donors-project__desc{
  margin-top: 10px;
  line-height: 1.55;
  opacity: .95;
}

.donors-project__list{
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-2) 85%, transparent);
}

.donors-project__li{
  padding: 6px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  line-height: 1.5;
}

.donors-project__li:last-child{
  border-bottom: none;
}

.donors-project__cta{
  margin-top: 12px;
}

.donors-projects-note{
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px dashed color-mix(in srgb, var(--line) 80%, transparent);
  background: color-mix(in srgb, var(--bg-2) 85%, transparent);
}

/* =========================
   SUMMER CAMP MODAL — container
   ========================= */
.sc-modal{
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: block;
}
.sc-modal[hidden]{ display: none; }

.sc-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
}

.sc-modal__dialog{
  position: relative;
  width: min(960px, calc(100vw - 24px));
  height: min(92vh, calc(100vh - 24px));
  margin: 12px auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
  display: flex;
  flex-direction: column;
}

.sc-modal__close{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.92);
  color: #1a365d;
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  z-index: 200;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
.sc-modal__close:hover{ background:#fff; }

.sc-modal__scroll{
  flex: 1;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #eef1f6;
}

@media (max-width: 600px){
  .sc-modal__dialog{
    width: 100vw;
    height: 100vh;
    margin: 0;
    border-radius: 0;
  }
}

/* =========================
   SUMMER CAMP MODAL — page content
   (mirrors /donors/summercamp/ standalone page)
   ========================= */
.sc-page{
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #2d3748;
  line-height: 1.45;
  width: 100%;
  max-width: 210mm;
  margin: 0 auto;
  background: #fff;
}
.sc-page *,
.sc-page *::before,
.sc-page *::after{ box-sizing: border-box; }

/* LANGUAGE SWITCHER */
.sc-lang-bar{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 64px 8px 14px;
  display: flex;
  gap: 4px;
  justify-content: flex-end;
  align-items: center;
}
.sc-lang-btn{
  font-family: inherit;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
  opacity: 0.55;
  color: inherit;
}
.sc-lang-btn:hover{ opacity: 1; background: #f7fafc; transform: translateY(-1px); }
.sc-lang-btn.is-active{ opacity: 1; background: #ebf4ff; border-color: #2b6cb0; }
.sc-lang-btn:focus-visible{ outline: 2px solid #2b6cb0; outline-offset: 2px; opacity: 1; }

/* HEADER */
.sc-header{
  background: linear-gradient(135deg, #1a365d 0%, #2b6cb0 100%);
  color: white;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.sc-logo{ height: 52px; filter: brightness(0) invert(1); flex-shrink: 0; }
.sc-header-text{ flex: 1; }
.sc-header-text h1{
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin: 0;
  color: white;
  line-height: 1.2;
}
.sc-header-text .sc-sub{ font-size: 12px; opacity: 0.85; margin-top: 2px; }
.sc-header-badge{
  background: #ecc94b;
  color: #1a365d;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.4px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* BODY */
.sc-content{ padding: 20px 32px 16px; }

/* INTRO */
.sc-intro{ font-size: 12px; margin-bottom: 16px; color: #4a5568; }
.sc-intro strong{ color: #1a365d; }

/* SECTIONS */
.sc-section{ margin-bottom: 14px; }
.sc-section-title{
  font-size: 13px;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 2px solid #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* IMPACT ROW */
.sc-impact-row{ display: flex; gap: 8px; margin-bottom: 14px; }
.sc-impact-card{
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  border-radius: 8px;
  background: #f7fafc;
  border: 1px solid #e2e8f0;
}
.sc-impact-card .sc-num{
  font-size: 22px;
  font-weight: 800;
  color: #2b6cb0;
  line-height: 1.1;
}
.sc-impact-card .sc-lbl{
  font-size: 9px;
  color: #718096;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 1px;
}

/* TIERS */
.sc-tiers{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
a.sc-tier{
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
a.sc-tier:hover{ transform: translateY(-2px); box-shadow: 0 12px 24px rgba(26,54,93,0.12); }
.sc-tier{
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}
.sc-tier-header{ padding: 12px 12px 10px; text-align: center; }
.sc-tier-name{ font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; }
.sc-tier-price{ font-size: 28px; font-weight: 800; line-height: 1.1; }
.sc-tier-body{ padding: 10px 12px 12px; flex: 1; background: #fff; }
.sc-tier-body .sc-tier-label{
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #718096;
  margin-bottom: 6px;
}
.sc-tier-body ul{ list-style: none; padding: 0; margin: 0; }
.sc-tier-body li{
  font-size: 11px;
  padding: 3px 0 3px 16px;
  position: relative;
  line-height: 1.4;
}
.sc-tier-body li::before{
  content: '\2713';
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 11px;
}
.sc-tier-silver .sc-tier-header{ background: #f7fafc; color: #4a5568; }
.sc-tier-silver .sc-tier-price{ color: #4a5568; }
.sc-tier-silver li::before{ color: #718096; }
.sc-tier-silver{ border-color: #cbd5e0; }
.sc-tier-gold .sc-tier-header{ background: linear-gradient(135deg, #fffbeb, #fef3c7); color: #92400e; }
.sc-tier-gold .sc-tier-price{ color: #b45309; }
.sc-tier-gold li::before{ color: #b45309; }
.sc-tier-gold{ border-color: #f6e05e; }
.sc-tier-premium .sc-tier-header{ background: linear-gradient(135deg, #1a365d, #2b6cb0); color: white; }
.sc-tier-premium .sc-tier-price{ color: white; }
.sc-tier-premium li::before{ color: #2b6cb0; }
.sc-tier-premium{ border-color: #2b6cb0; }
.sc-tier-popular{ position: relative; }
.sc-tier-popular::after{
  content: 'TOP';
  position: absolute;
  top: -1px;
  right: 10px;
  background: #e53e3e;
  color: white;
  font-size: 8px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 0 0 4px 4px;
  letter-spacing: 0.5px;
}

/* CATEGORIES */
.sc-cat-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sc-cat-card{
  background: #f7fafc;
  border-radius: 6px;
  padding: 8px 10px;
  border-left: 3px solid #2b6cb0;
}
.sc-cat-card .sc-cat-name{
  font-weight: 700;
  font-size: 11px;
  color: #1a365d;
  line-height: 1.3;
}
.sc-cat-card .sc-cat-desc{ font-size: 9px; color: #718096; }

/* PROCESS */
.sc-process-row{ display: flex; gap: 6px; }
.sc-step{
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  background: #f7fafc;
  border-radius: 8px;
}
.sc-step-num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2b6cb0;
  color: white;
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 4px;
}
.sc-step-title{ font-weight: 700; font-size: 10px; color: #1a365d; }
.sc-step-desc{ font-size: 9px; color: #718096; margin-top: 2px; }

/* FOOTER BAR */
.sc-footer-bar{
  background: #1a365d;
  color: white;
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  margin-top: auto;
}
.sc-footer-bar a{ color: #90cdf4; text-decoration: none; }
.sc-footer-contact{ display: flex; gap: 16px; flex-wrap: wrap; }
.sc-footer-social a{ margin-left: 10px; font-weight: 600; color: #90cdf4; }

/* =========================
   RESPONSIVE — TABLET
   ========================= */
@media (max-width: 820px){
  .sc-header{ padding: 18px 22px; flex-wrap: wrap; gap: 14px; }
  .sc-logo{ height: 44px; }
  .sc-header-text h1{ font-size: 18px; line-height: 1.25; }
  .sc-header-text .sc-sub{ font-size: 11px; }
  .sc-header-badge{ font-size: 10px; padding: 5px 12px; }

  .sc-content{ padding: 18px 22px 14px; }

  .sc-impact-row{ flex-wrap: wrap; }
  .sc-impact-card{ flex: 1 1 calc(33.333% - 8px); min-width: 0; }

  .sc-tiers{ grid-template-columns: repeat(2, 1fr); }
  .sc-tier-premium{ grid-column: 1 / -1; }

  .sc-cat-grid{ grid-template-columns: repeat(2, 1fr); }

  .sc-process-row{ flex-wrap: wrap; }
  .sc-step{ flex: 1 1 calc(50% - 6px); min-width: 0; }
}

/* =========================
   RESPONSIVE — MOBILE
   ========================= */
@media (max-width: 540px){
  .sc-page{ line-height: 1.5; }

  .sc-header{ padding: 18px 18px; flex-direction: column; align-items: flex-start; text-align: left; gap: 12px; }
  .sc-header-text{ width: 100%; }
  .sc-header-text h1{ font-size: 19px; }
  .sc-header-badge{ align-self: flex-start; }

  .sc-content{ padding: 18px 18px 14px; }

  .sc-intro{ font-size: 13px; }
  .sc-section-title{ font-size: 12px; }

  .sc-impact-row{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .sc-impact-card{ padding: 12px 6px; }
  .sc-impact-card .sc-num{ font-size: 24px; }
  .sc-impact-card .sc-lbl{ font-size: 10px; }

  .sc-tiers{ grid-template-columns: 1fr; gap: 12px; }
  .sc-tier-premium{ grid-column: auto; }
  .sc-tier-header{ padding: 14px 14px 12px; }
  .sc-tier-price{ font-size: 32px; }
  .sc-tier-body{ padding: 12px 14px 14px; }
  .sc-tier-body li{ font-size: 13px; padding: 5px 0 5px 18px; }
  .sc-tier-body li::before{ font-size: 13px; }
  .sc-tier-body .sc-tier-label{ font-size: 10px; }
  .sc-tier-name{ font-size: 11px; }
  .sc-tier-popular::after{ font-size: 9px; padding: 3px 10px; }

  .sc-cat-grid{ grid-template-columns: 1fr; gap: 8px; }
  .sc-cat-card{ padding: 10px 12px; }
  .sc-cat-card .sc-cat-name{ font-size: 13px; }
  .sc-cat-card .sc-cat-desc{ font-size: 11px; }

  .sc-process-row{ display: grid; grid-template-columns: 1fr; gap: 8px; }
  .sc-step{
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 14px;
    row-gap: 2px;
    align-items: center;
    text-align: left;
    padding: 12px 14px;
  }
  .sc-step-num{
    grid-column: 1;
    grid-row: 1 / span 2;
    margin-bottom: 0;
    align-self: center;
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
  .sc-step-title{ grid-column: 2; grid-row: 1; font-size: 13px; }
  .sc-step-desc{ grid-column: 2; grid-row: 2; font-size: 11px; }

  .sc-lang-bar{ padding: 6px 60px 6px 10px; }
  .sc-lang-btn{ font-size: 16px; padding: 3px 6px; }

  .sc-footer-bar{ flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 18px; font-size: 12px; }
  .sc-footer-contact{ gap: 10px 18px; }
  .sc-footer-social{ width: 100%; }
  .sc-footer-social a{ margin-left: 0; margin-right: 14px; }
}
