.donate-page {
  max-width: 1200px;
  margin: 2.8rem auto 4rem;
  padding: 0 1.5rem;
  display: grid;
  gap: 2.6rem;
}

.form-messages {
  display: grid;
  gap: 0.75rem;
}

.form-message {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #166534;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-weight: 600;
}

.donate-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(125, 182, 216, 0.28), rgba(255, 255, 255, 0.95));
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  border: 1px solid rgba(125, 182, 216, 0.3);
  box-shadow: var(--shadow-strong);
}

.donate-hero__content h1 {
  margin: 0 0 0.6rem;
  font-size: 2.6rem;
  font-family: var(--font-display);
}

.hero-kicker {
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.hero-subtitle {
  margin: 0 0 1.6rem;
  color: var(--color-muted);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.donate-hero__card {
  background: var(--color-surface);
  border-radius: 20px;
  padding: 1.8rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1.2rem;
}

.gratitude-title {
  margin: 0;
  font-weight: 700;
  font-size: 1.3rem;
}

.gratitude-text {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.gratitude-grid {
  display: grid;
  gap: 1rem;
}

.gratitude-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.75rem;
  align-items: start;
}

.gratitude-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(125, 182, 216, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-ink);
}

.gratitude-item p {
  margin: 0.35rem 0 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.donate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.donate-form {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1.6rem;
}

.form-section h2,
.form-section h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
}

.form-help {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.frequency-toggle {
  margin-top: 1rem;
  display: inline-flex;
  gap: 0.6rem;
  background: rgba(125, 182, 216, 0.12);
  padding: 0.35rem;
  border-radius: 999px;
}

.frequency-option {
  position: relative;
  cursor: pointer;
}

.frequency-option input {
  position: absolute;
  opacity: 0;
}

.frequency-option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--color-muted);
}

.frequency-option input:checked + span {
  background: #fff;
  color: var(--color-ink);
  box-shadow: var(--shadow-soft);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.amount-chip {
  border: 1px solid rgba(125, 182, 216, 0.35);
  background: rgba(125, 182, 216, 0.12);
  padding: 0.6rem 0.8rem;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.amount-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(12, 35, 56, 0.12);
}

.amount-chip.is-active {
  background: rgba(63, 132, 184, 0.2);
  border-color: rgba(63, 132, 184, 0.5);
  color: #1d4ed8;
}

.form-label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--color-ink);
}

.form-control {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-family: inherit;
  background: #fff;
  font-size: 1rem;
}

.amount-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  padding: 0.6rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #fff;
}

.amount-input span {
  font-weight: 700;
  color: var(--color-muted);
}

.amount-input input {
  border: none;
  outline: none;
  font-size: 1rem;
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.donation-summary {
  background: rgba(125, 182, 216, 0.12);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(125, 182, 216, 0.25);
}

.donate-submit {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
}

.form-footnote {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.donate-aside {
  display: grid;
  gap: 1.4rem;
}

.impact-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.8rem;
}

.impact-card h2 {
  margin: 0;
  font-size: 1.5rem;
  font-family: var(--font-display);
}

.impact-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-muted);
  display: grid;
  gap: 0.5rem;
}

.detail-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.faq-item p {
  margin: 0.4rem 0 0;
  color: var(--color-muted);
}

.donate-success {
  display: flex;
  justify-content: center;
  padding: 4rem 0 2rem;
}

.donate-success__card {
  background: linear-gradient(135deg, rgba(125, 182, 216, 0.3), rgba(255, 255, 255, 0.96));
  border-radius: var(--radius-lg);
  padding: 3rem 2.6rem;
  border: 1px solid rgba(125, 182, 216, 0.3);
  box-shadow: var(--shadow-strong);
  text-align: center;
  max-width: 720px;
}

.donate-success__card h1 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
}

@media (max-width: 960px) {
  .donate-hero,
  .donate-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .donate-page {
    padding: 0 1rem;
  }

  .donate-hero {
    padding: 2rem 1.6rem;
  }

  .donate-hero__content h1 {
    font-size: 2.1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .donate-form {
    padding: 1.6rem;
  }

  .frequency-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .donate-success__card {
    padding: 2.4rem 1.6rem;
  }
}
