/* ─── DONACIONES: HERO ─── */
.don-hero {
  margin-top: 80px;
  background: linear-gradient(135deg, #16202a 0%, #213042 60%, #17364f 100%);
  position: relative;
  overflow: hidden;
  padding: 4.5rem 2rem;
}

.don-hero::before {
  content: '';
  position: absolute;
  top: -45%;
  right: -10%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(95,186,231,0.14) 0%, transparent 70%);
  border-radius: 50%;
}

.don-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.don-hero-text .section-tag.white { margin-bottom: 1rem; }
.don-hero-text h1 {
  font-family: 'Glacial Indiference Negrita';
  color: white;
  font-size: clamp(2.2rem, 3.96vw, 3.19rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.don-hero-text p {
  font-family: 'Inter Leve';
  color: rgba(255,255,255,0.85);
  font-size: 1.155rem;
  line-height: 1.85;
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.don-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.don-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85);
  font-family: 'Inter Leve';
  font-size: 0.902rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
}

.don-hero-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3.6;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.don-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 860px) {
  .don-hero .container { grid-template-columns: 1fr; }
  .don-hero-text { text-align: center; }
  .don-hero-text p { margin-left: auto; margin-right: auto; }
  .don-trust-badges { justify-content: center; }
  .don-hero-img { max-width: 460px; margin: 0 auto; }
}

/* ─── TRANSPARENCIA / DESTINO DEL DINERO ─── */
.don-transparencia { background: var(--blue-light); }

.don-transparencia-box {
  background: white;
  border: 1px solid rgba(95,186,231,0.25);
  border-radius: 18px;
  padding: 1.75rem 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  box-shadow: 0 6px 30px rgba(0,0,0,0.05);
}

.don-transparencia-box .icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.don-transparencia-box h4 {
  font-family: 'Glacial Indiference Negrita';
  color: var(--dark);
  font-size: 1.155rem;
  margin-bottom: 0.4rem;
}

.don-transparencia-box p {
  font-family: 'Inter Leve';
  color: var(--text-light);
  font-size: 1.045rem;
  line-height: 1.75;
}

.don-destino-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.don-destino-item {
  background: white;
  border-radius: 16px;
  padding: 1.6rem 1.4rem;
  text-align: center;
  border: 1px solid rgba(196,196,196,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.don-destino-item:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }

.don-destino-item .icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}

.don-destino-item h4 {
  font-family: 'Inter Leve';
  font-weight: 700;
  color: var(--dark);
  font-size: 1.045rem;
  margin-bottom: 0.4rem;
}

.don-destino-item p {
  font-family: 'Inter Leve';
  color: var(--text-light);
  font-size: 0.935rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .don-destino-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .don-destino-grid { grid-template-columns: 1fr; }
  .don-transparencia-box { flex-direction: column; }
}

/* ─── FORMULARIO DE DONACIÓN ─── */
.don-form-section { background: #f4f8fb; padding-top: 4.5rem; padding-bottom: 5rem; }

.don-form-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 960px) {
  .don-form-grid { grid-template-columns: 1fr; }
}

.don-form-info h2 { margin-bottom: 1rem; }
.don-form-info > p { font-family: 'Inter Leve'; color: var(--text-light); font-size: 1.1rem; line-height: 1.9; margin-bottom: 2rem; }

.don-info-list { display: flex; flex-direction: column; gap: 1.1rem; }

.don-info-list-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.don-info-list-item .num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-family: 'Inter Leve';
  font-weight: 700;
  font-size: 0.935rem;
  display: flex; align-items: center; justify-content: center;
}

.don-info-list-item p { font-family: 'Inter Leve'; font-size: 1.012rem; color: var(--text); line-height: 1.6; margin: 0; }
.don-info-list-item strong { color: var(--dark); }

.don-card {
  background: white;
  border-radius: 22px;
  box-shadow: 0 6px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(95,186,231,0.14);
  padding: 2.5rem;
}

/* Tipo de donación */
.don-tabs {
  display: flex;
  background: #eef2f5;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 1.75rem;
}

.don-tab {
  flex: 1;
  border: none;
  background: none;
  padding: 0.65rem 1rem;
  border-radius: 9px;
  font-family: 'Inter Leve';
  font-weight: 600;
  font-size: 0.99rem;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
}

.don-tab.active { background: white; color: var(--green); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

/* Montos */
.don-label {
  display: block;
  font-family: 'Inter Leve';
  font-size: 0.902rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.don-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.don-amount-btn {
  border: 1.5px solid rgba(196,196,196,0.5);
  background: #fafbfc;
  border-radius: 10px;
  padding: 0.75rem 0.5rem;
  font-family: 'Inter Leve';
  font-weight: 700;
  font-size: 1.078rem;
  color: var(--dark);
  cursor: pointer;
  transition: all 0.2s;
}

.don-amount-btn:hover { border-color: var(--blue); }
.don-amount-btn.active { background: var(--green); border-color: var(--green); color: white; }

.don-amount-custom {
  position: relative;
  margin-bottom: 1.5rem;
}

.don-amount-custom span {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  font-family: 'Inter Leve';
  font-weight: 700;
  color: var(--text-light);
}

.don-amount-custom input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.3rem;
  border: 1.5px solid rgba(196,196,196,0.5);
  border-radius: 10px;
  font-family: 'Inter Leve';
  font-size: 1.078rem;
  font-weight: 700;
  color: var(--dark);
  outline: none;
  background: #fafbfc;
  transition: border-color 0.2s;
}

.don-amount-custom input:focus { border-color: var(--blue); background: white; }

/* Métodos de pago */
.don-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.don-method-btn {
  border: 1.5px solid rgba(196,196,196,0.5);
  background: #fafbfc;
  border-radius: 12px;
  padding: 0.85rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.don-method-btn:hover { border-color: var(--blue); }
.don-method-btn.active { border-color: var(--green); background: var(--green-light); }
.don-method-btn.active svg { stroke: var(--green) !important; }

.don-method-btn span {
  font-family: 'Inter Leve';
  font-weight: 600;
  font-size: 0.858rem;
  color: var(--text);
}

.don-method-tag {
  position: absolute;
  top: -8px;
  right: -6px;
  background: var(--blue);
  color: white;
  font-size: 0.682rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 50px;
  letter-spacing: 0.02em;
}

.don-method-panel {
  background: var(--blue-light);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.5rem;
  display: none;
}

.don-method-panel.active { display: block; }

.don-method-panel h5 {
  font-family: 'Inter Leve';
  font-size: 0.99rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.don-method-panel p {
  font-family: 'Inter Leve';
  font-size: 0.935rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}


/* Código QR y código Pix real */
.don-qr-container {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: white;
  border: 1px solid rgba(196,196,196,0.35);
  border-radius: 12px;
  text-align: center;
}

.don-qr-container[hidden] {
  display: none !important;
}

.don-qr-container img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 1rem;
  padding: 8px;
  background: white;
  border: 1px solid rgba(196,196,196,0.35);
  border-radius: 8px;
  object-fit: contain;
}

.don-qr-container p {
  font-family: 'Inter Leve';
  font-size: 0.935rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.don-qr-container label {
  display: block;
  font-family: 'Inter Leve';
  font-size: 0.902rem;
  font-weight: 700;
  color: var(--dark);
  text-align: left;
  margin-bottom: 0.5rem;
}

.don-qr-container textarea {
  display: block;
  width: 100%;
  min-height: 85px;
  padding: 0.75rem;
  border: 1px solid rgba(196,196,196,0.5);
  border-radius: 8px;
  background: #fafbfc;
  color: var(--text);
  font-family: monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  resize: vertical;
  overflow-wrap: anywhere;
}

.don-qr-container button {
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 9px;
  background: var(--green);
  color: white;
  font-family: 'Inter Leve';
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.don-qr-container button:hover {
  background: #237a36;
}

.don-card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }

.don-form-group { margin-bottom: 1rem; }

.don-form-group input, .don-form-group textarea {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1.5px solid rgba(196,196,196,0.5);
  border-radius: 10px;
  font-family: 'Inter Leve';
  font-size: 0.99rem;
  color: var(--text);
  outline: none;
  background: #fafbfc;
  transition: border-color 0.2s;
}

.don-form-group input:focus, .don-form-group textarea:focus { border-color: var(--blue); background: white; }

.don-checkbox {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.don-checkbox input { width: 16px; height: 16px; accent-color: var(--green); }
.don-checkbox label { font-family: 'Inter Leve'; font-size: 0.935rem; color: var(--text-light); }

.don-submit {
  width: 100%;
  background: var(--green);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 12px;
  font-family: 'Inter Leve';
  font-weight: 700;
  font-size: 1.122rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.don-submit:hover { background: #237a36; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(44,152,67,0.35); }
.don-submit:disabled { opacity: 0.7; cursor: default; transform: none; box-shadow: none; }

.don-reminder {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--green-light);
  border-radius: 10px;
}

.don-reminder p { font-family: 'Inter Leve'; font-size: 0.858rem; color: #1f6b30; line-height: 1.6; margin: 0; }

@media (max-width: 500px) {
  .don-amounts { grid-template-columns: repeat(3, 1fr); }
  .don-methods { grid-template-columns: repeat(2, 1fr); }
  .don-card-row { grid-template-columns: 1fr; }
  .don-card { padding: 1.75rem 1.4rem; }
}

/* ─── TOAST ESTILO SPOTIFY (con blur de fondo) ─── */
.don-toast-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(15,20,28,0.32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.don-toast-overlay.show { opacity: 1; pointer-events: all; }

.don-toast {
  background: #182430;
  color: white;
  border-radius: 16px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 3rem;
  width: min(420px, 92vw);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  transform: translateY(40px);
  transition: transform 0.4s cubic-bezier(0.3,0.7,0.3,1);
}

.don-toast-overlay.show .don-toast { transform: translateY(0); }

.don-toast-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.don-toast.success .don-toast-icon { background: rgba(44,152,67,0.2); }
.don-toast.cancelled .don-toast-icon { background: rgba(229,62,62,0.2); }

.don-toast-body h4 { font-family: 'Glacial Indiference Negrita'; font-size: 1.078rem; margin-bottom: 0.2rem; }
.don-toast-body p { font-family: 'Inter Leve'; font-size: 0.902rem; color: rgba(255,255,255,0.7); line-height: 1.5; margin: 0; }

.don-toast-close {
  background: none; border: none; color: rgba(255,255,255,0.5);
  cursor: pointer; font-size: 1.21rem; padding: 4px; flex-shrink: 0;
  margin-left: auto;
}
.don-toast-close:hover { color: white; }