/* =========================================================================
   Chiesa di Pandino — Pagina "Dona ora"
   Stili specifici di pagina. Riusa i token :root definiti in style.css.
   ========================================================================= */

/* ---- Hero ------------------------------------------------------------- */
.dona-hero {
  background: linear-gradient(180deg, #eaf1f7 0%, var(--bg) 100%);
  border-bottom: 1px solid rgba(38, 48, 58, 0.06);
}
.dona-hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 46px;
}
.dona-hero__title {
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
}
.dona-hero__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 560px;
}
.dona-hero__media {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 16px;
}

/* ---- Il tuo aiuto sostiene ------------------------------------------- */
.dona-support__title {
  font-size: clamp(26px, 4vw, 30px);
  margin-bottom: 24px;
}
.dona-support {
  padding: 26px 28px;
}
.dona-support h3 {
  font-size: 18px;
  margin: 0 0 6px;
}
.dona-support p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.dona-support__icon {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  margin-bottom: 14px;
}
.dona-support__icon--blue { background: var(--primary-tint); }
.dona-support__icon--accent { background: #fbefe2; }

/* ---- Come donare — intestazione -------------------------------------- */
.dona-how__head {
  text-align: center;
  margin-bottom: 32px;
}
.dona-how__head .eyebrow { margin-bottom: 10px; }
.dona-how__title {
  font-size: clamp(26px, 4.4vw, 34px);
  margin: 0;
}
.dona-how__grid { align-items: stretch; }

/* ---- Metodo (intestazione comune) ------------------------------------ */
.dona-method__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.dona-method__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.dona-method__icon--blue { background: var(--primary-tint); color: var(--primary); }
.dona-method__icon--light { background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 17px; }
.dona-method__title { font-size: 24px; margin: 0; }
.dona-method__title--light { color: #fff; }
.dona-method__lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 22px;
}
.dona-method__lead--light { color: rgba(255, 255, 255, 0.88); margin-bottom: 24px; }

/* ---- Bonifico bancario ----------------------------------------------- */
.dona-bank {
  padding: 36px 38px;
  box-shadow: 0 8px 30px rgba(31, 41, 51, 0.04);
  display: flex;
  flex-direction: column;
}
.dona-bank__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 22px;
}
.dona-bank__row {
  display: flex;
  gap: 12px;
}
.dona-bank__row .dona-field { flex: 1; }
.dona-field {
  background: #f6f7f9;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 0;
}
.dona-field dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 4px;
}
.dona-field dd {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
.dona-field__iban {
  font-size: 15.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.dona-bank__note {
  margin: auto 0 0;
  background: var(--primary-tint);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13.5px;
  color: #456282;
  line-height: 1.55;
}

/* ---- Donazione online ------------------------------------------------ */
.dona-online {
  background: linear-gradient(160deg, var(--primary), var(--primary-dark));
  border-radius: 16px;
  padding: 36px 38px;
  color: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 30px rgba(47, 93, 134, 0.2);
}
.dona-online__form {
  display: flex;
  flex-direction: column;
}
.dona-amounts {
  display: flex;
  gap: 10px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}
.dona-amount {
  flex: 1;
  position: relative;
  cursor: pointer;
}
.dona-amount input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.dona-amount span {
  display: block;
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 14px 0;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.dona-amount input:checked + span {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  font-weight: 800;
}
.dona-amount input:focus-visible + span {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.dona-online__custom {
  width: 100%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #fff;
  margin-bottom: 20px;
}
.dona-online__custom::placeholder { color: rgba(255, 255, 255, 0.7); }
.dona-online__custom:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.dona-online__submit {
  background: #fff;
  color: var(--primary);
  padding: 15px 22px;
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.dona-online__submit:hover { transform: translateY(-1px); background: #f1f5f9; }
.dona-online__submit:active { transform: translateY(0); }
.dona-online__secure {
  margin: auto 0 0;
  padding-top: 18px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* ---- Altre forme di sostegno ----------------------------------------- */
.dona-other {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 30px 36px;
}
.dona-other__text h3 {
  font-size: 20px;
  margin: 0 0 6px;
}
.dona-other__text p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  max-width: 620px;
  line-height: 1.55;
}
.dona-other__cta { white-space: nowrap; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1023px) {
  .dona-hero__inner { gap: 28px; }
}

@media (max-width: 760px) {
  .dona-hero__inner {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 36px;
  }
  .dona-hero__media { height: 200px; }
  .dona-bank,
  .dona-online { padding: 28px 24px; }
  .dona-other {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 24px;
  }
  .dona-other__cta { align-self: stretch; justify-content: center; }
}

@media (max-width: 620px) {
  .dona-support { padding: 24px 22px; }
  .dona-bank__row { flex-direction: column; }
  .dona-amounts { flex-wrap: wrap; }
  .dona-amount { flex: 1 1 calc(50% - 5px); }
}
