:root {
  --sos-green: #0d6e4f;
  --sos-green-deep: #0a5239;
  --sos-green-soft: #dfeee7;
  --sos-mint: #edf5f1;
  --sos-gold: #f5a623;
  --sos-gold-soft: #f6d48f;
  --sos-text: #1d2c28;
  --sos-muted: #5d6d69;
  --sos-light: #f3f9f5;
  --sos-footer: #123c33;
}

body {
  background: #eef6f0;
}

/* =========================================================
   DONATE HERO
   ========================================================= */

.donate-hero {
  background: var(--sos-green) !important;
  position: relative;
  overflow: hidden;
  min-height: 0 !important;
  padding: 70px 0 28px !important;
  text-align: center;
}

.donate-hero .page-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.donate-hero h1 {
  font-family: "Playfair Display", serif;
  color: #ffffff;
  font-size: clamp(1.7rem, 2.7vw, 2.7rem) !important;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 auto 8px !important;
  max-width: 900px;
}

.donate-hero p {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.72rem, 1vw, 0.95rem) !important;
  line-height: 1.4;
  max-width: 900px;
  margin: 0 auto;
}

.donate-hero .nonprofit-note {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.62rem !important;
  line-height: 1.35;
  letter-spacing: 0.01em;
  margin-top: 10px !important;
}

/* Decorative shapes */

.hero-leaf {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 52% 48% 58% 42% / 60% 42% 58% 40%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.055);
  filter: blur(1px);
}

.hero-leaf-one {
  width: 180px;
  height: 135px;
  right: -25px;
  top: -38px;
  transform: rotate(18deg);
}

.hero-leaf-two {
  width: 120px;
  height: 110px;
  right: 65px;
  bottom: -45px;
  background: rgba(255, 255, 255, 0.035);
  transform: rotate(8deg);
}

/* =========================================================
   MAIN DONATION AREA
   ========================================================= */

.donate-landing {
  background: var(--sos-mint);
  padding: 48px 0 28px;
}

.donation-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.panel {
  background: #ffffff;
  border: 1px solid rgba(13, 110, 79, 0.08);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(13, 110, 79, 0.08);
  padding: 32px;
}

.impact-panel,
.donation-panel {
  min-height: 550px;
}
.impact-panel {
  display: flex;
  flex-direction: column;
}

.panel h2 {
  font-family: "Playfair Display", serif;
  color: var(--sos-green);
  font-size: clamp(2rem, 2.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.lead {
  width: 64px;
  height: 5px;
  background: var(--sos-gold);
  border-radius: 999px;
  margin: 0 0 18px;
}

.panel-copy {
  color: #2f4741;
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 18px;
}

/* =========================================================
   IMPACT PANEL
   ========================================================= */

.impact-list {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.impact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}

.impact-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  background: #edf7f1;
  border: 1px solid rgba(13, 110, 79, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sos-green);
}

.impact-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.impact-value-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.impact-value {
  color: var(--sos-green);
  font-size: clamp(1.7rem, 2vw, 2.1rem);
  font-weight: 700;
  line-height: 1.1;
}

.impact-label {
  color: var(--sos-text);
  font-size: 1.05rem;
  line-height: 1.45;
}

.impact-divider {
  border-top: 1px solid rgba(13, 110, 79, 0.12);
  margin: auto 0 18px;
}

.impact-footer {
  color: var(--sos-text);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 12px 0 0;
  max-width: 470px;
}

/* =========================================================
   DONATION FORM
   ========================================================= */

.donation-panel form {
  margin-top: 8px;
}

.donate-group {
  margin-bottom: 18px;
  text-align: left;
}

.donate-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--sos-text);
  font-size: 0.95rem;
  font-weight: 600;
}

.donate-group input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1px solid #d7e4df;
  border-radius: 12px;
  background: #ffffff;
  font-size: 1rem;
  color: var(--sos-text);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.donate-group input::placeholder {
  color: #82938d;
}

.donate-group input:focus {
  outline: none;
  border-color: var(--sos-green);
  box-shadow: 0 0 0 3px rgba(13, 110, 79, 0.08);
}

/* Preset amount buttons */

.preset-amounts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.amount-pill {
  min-height: 42px;
  background: #ffffff;
  color: var(--sos-green);
  border: 1.5px solid #bfd2c9;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.amount-pill:hover,
.amount-pill:focus-visible {
  border-color: var(--sos-green);
  box-shadow: 0 0 0 3px rgba(13, 110, 79, 0.08);
  outline: none;
}

.amount-pill.active {
  background: var(--sos-green);
  color: #ffffff;
  border-color: var(--sos-green);
}

/* Amount field */

.amount-input-wrap {
  position: relative;
}

.amount-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #5c6c67;
  font-weight: 600;
  font-size: 1rem;
  pointer-events: none;
}

.amount-input-wrap input {
  padding-left: 34px;
}

.field-hint {
  color: #7a8b88;
  font-size: 0.78rem;
  margin-top: 8px;
  line-height: 1.5;
}

/* Submit button */

.donate-actions {
  margin-top: 22px;
}

.btn-primary {
  background: var(--sos-green) !important;
  color: #ffffff !important;
  border: 1px solid var(--sos-green) !important;
  font-weight: 700;
  border-radius: 999px;
  padding: 15px 26px;
  width: 100%;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--sos-green-deep) !important;
  border-color: var(--sos-green-deep) !important;
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.security-copy {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(13, 110, 79, 0.12);
}

.security-copy p {
  color: #697d77;
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0 0 12px;
}

/* =========================================================
    ZELLE SUCCESS CARD
    ========================================================= */

.zelle-card {
  max-width: 900px;
  width: calc(100% - 48px);
  margin: 48px auto 28px;
  scroll-margin-top: 90px;
  background: #f8faf7;
  border-radius: 20px;
  border: 1px solid rgba(13, 110, 79, 0.08);
  padding: 18px 18px 10px;
  text-align: center;
}

.zelle-card h2 {
  color: var(--sos-green);
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 2.8vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 6px;
  letter-spacing: -0.03em;
}

.zelle-subtitle {
  font-size: clamp(1.7rem, 2.3vw, 2.5rem);
  font-weight: 700;
  color: rgba(13, 110, 79, 0.95);
  margin: 0 0 12px;
  text-align: center;
  font-family: "Playfair Display", serif;
  letter-spacing: -0.02em;
}

.zelle-intro {
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0 auto 22px;
  max-width: 620px;
  color: #405b56;
}

/* ---- Payment Card ---- */

.zelle-payment-card {
  border: 1px solid rgba(13, 110, 79, 0.15);
  border-radius: 18px;
  overflow: hidden;
  margin: 0 auto 20px;
  max-width: 840px;
  background: #edf4ef;
}

.zelle-card-header {
  background: var(--sos-green);
  color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 700;
  text-align: center;
  padding: 14px 20px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.zelle-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 22px 24px 14px;
  background: #ecf4ee;
  min-width: 0;
}

.zelle-card-left,
.zelle-card-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-width: 0;
}

.zelle-card-left {
  padding-right: 24px;
  border-right: 2px solid rgba(13, 110, 79, 0.42);
}

.zelle-card-right {
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: -50px;
  padding-left: 24px;
  padding-right: 12px;
  text-align: left;
}

.zelle-brand {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  margin: 0 0 -58px;
  background: transparent;
}

.zelle-brand img {
  display: block;
  width: 200px;
  height: auto;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  border: none;
  filter: none;
}

.zelle-send-label {
  color: #3b514b;
  font-size: 0.96rem;
  line-height: 1.25;
  margin: 0 0 6px;
  font-weight: 700;
}

.zelle-email-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d9ebe2;
  border: 1px solid rgba(13, 110, 79, 0.18);
  border-radius: 10px;
  padding: 7px 14px;
  gap: 12px;
  min-height: 48px;
  width: min(100%, 360px);
  box-sizing: border-box;
  margin-bottom: 10px;
}

.zelle-email-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--sos-green);
  flex-shrink: 0;
}

.zelle-email-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zelle-email {
  color: #1a5d4a;
  font-weight: 700;
  font-size: clamp(0.84rem, 1.6vw, 1rem);
  line-height: 1.2;
  min-width: 0;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.zelle-qr-instruction,
.zelle-email-instruction {
  color: #405b56;
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 0;
}

.zelle-email-instruction {
  max-width: 390px;
  font-size: 0.88rem;
  line-height: 1.4;
  text-align: left;
}

.qr-box {
  display: inline-block;
  background: #ffffff;
  border: 3px solid rgba(88, 143, 94, 0.9);
  border-radius: 15px;
  padding: 10px;
  margin-bottom: 10px;
}

.qr-box img {
  display: block;
  margin-inline: auto;
  width: 170px;
  height: 170px;
  object-fit: contain;
  object-position: center;
}

/* ---- Warning Box ---- */

.zelle-warning {
  display: flex;
  align-items: center;
  gap: 28px;
  background: #f9e6ae;
  border: 1px solid rgba(183, 124, 0, 0.25);
  border-radius: 18px;
  padding: 24px 36px;
  margin: 0 auto 16px;
  max-width: 840px;
  text-align: left;
  min-height: 112px;
}

.warning-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: transparent;
  border: 4px solid #e2a51b;
  color: #e2a51b;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.warning-copy {
  border-left: 2px solid rgba(135, 92, 0, 0.55);
  padding-left: 28px;
  flex: 1;
}

.zelle-warning p {
  color: #1d4d3a;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

/* ---- Acknowledgment ---- */

.zelle-acknowledgment {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0;
  margin: 0 auto 10px;
  width: fit-content;
  max-width: calc(100% - 32px);
  text-align: left;
}

.ack-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--sos-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.ack-icon svg {
  width: 54px;
  height: 54px;
  stroke: var(--sos-green);
  stroke-width: 2.1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ack-copy {
  border-left: 1px solid rgba(13, 110, 79, 0.85);
  padding-left: 24px;
  flex: 1;
  max-width: 520px;
}

.zelle-acknowledgment p {
  color: #1f5a4a;
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0;
}

/* ---- Support Message ---- */

.zelle-support-message {
  color: #405b56;
  font-size: 1.1rem;
  line-height: 1.35;
  max-width: 520px;
  margin: 38px auto 8px;
  text-align: center;
}

@keyframes zelle-reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.zelle-payment-card,
.zelle-warning,
.zelle-acknowledgment,
.zelle-support-message {
  animation: zelle-reveal 0.55s ease-out both;
}

.zelle-warning {
  animation-delay: 0.1s;
}

.zelle-acknowledgment {
  animation-delay: 0.18s;
}

.zelle-support-message {
  animation-delay: 0.26s;
}

@media (max-width: 720px) {
  .zelle-card {
    padding: 16px 14px 8px;
    margin-top: 32px;
  }

  .zelle-card h2 {
    font-size: clamp(1.85rem, 5.2vw, 2.4rem);
  }

  .zelle-card-body {
    grid-template-columns: 1fr;
    padding: 16px 16px 12px;
  }

  .qr-box {
    display: block;
    max-width: 100%;
    box-sizing: border-box;
    width: fit-content;
    margin-inline: auto;
  }

  .qr-box img {
    width: min(190px, 100%);
    height: min(190px, 100%);
    aspect-ratio: 1;
  }

  .zelle-card-left {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(13, 110, 79, 0.18);
    padding-bottom: 18px;
  }

  .zelle-card-right {
    align-items: center;
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 18px;
    text-align: center;
  }

  .zelle-brand {
    justify-content: center;
    margin-bottom: 0;
  }

  .zelle-email-instruction {
    text-align: center;
  }

  .zelle-email-box {
    width: 100%;
    max-width: 360px;
    gap: 6px;
    padding-inline: 8px;
  }

  .zelle-email {
    font-size: 0.68rem;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    letter-spacing: -0.02em;
  }

  .zelle-email-icon,
  .zelle-email-icon svg {
    width: 24px;
    height: 24px;
  }

  .zelle-warning,
  .zelle-acknowledgment {
    gap: 12px;
  }

  .zelle-warning {
    min-height: 0;
    padding: 18px 20px;
  }

  .warning-icon {
    width: 52px;
    height: 52px;
    border-width: 3px;
    font-size: 2.3rem;
  }

  .warning-copy,
  .ack-copy {
    padding-left: 12px;
  }
}

@media (max-width: 540px) {
  .zelle-card-header {
    padding: 14px 16px;
    font-size: 1.15rem;
  }

  .zelle-warning {
    padding: 12px 14px;
  }

  .warning-icon {
    width: 42px;
    height: 42px;
    font-size: 1.9rem;
  }

  .zelle-warning p,
  .zelle-warning p {
    font-size: 0.95rem;
  }

  .zelle-acknowledgment p,
  .zelle-support-message {
    font-size: 0.9rem;
  }
}

@media (max-width: 300px) {
  .zelle-email-box {
    gap: 0;
    padding-inline: 4px;
  }

  .zelle-email-icon {
    display: none;
  }

  .zelle-email {
    font-size: 0.4rem;
    letter-spacing: -0.03em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zelle-payment-card,
  .zelle-warning,
  .zelle-acknowledgment,
  .zelle-support-message {
    animation: none;
  }
}

/* =========================================================
   WHERE YOUR SUPPORT GOES
   ========================================================= */

.support-section {
  background: var(--sos-mint);
  padding: 18px 0 66px;
}

.support-heading {
  font-family: "Playfair Display", serif;
  color: var(--sos-green);
  font-size: clamp(2.3rem, 3vw, 3rem);
  text-align: center;
  margin: 0 0 28px;
  letter-spacing: -0.02em;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: start;
}

.support-card {
  position: relative;
  padding: 18px 28px 12px;
  text-align: center;
}

.support-card + .support-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: rgba(13, 110, 79, 0.12);
}

.support-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: #eaf7f0;
  border: 1.5px solid rgba(13, 110, 79, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sos-green);
}

.support-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-card h3 {
  font-family: "Playfair Display", serif;
  color: var(--sos-green);
  font-size: clamp(1.6rem, 2vw, 2.05rem);
  line-height: 1.3;
  margin: 0 0 10px;
}

.support-card p {
  color: #2d3d39;
  line-height: 1.65;
  max-width: 280px;
  margin: 0 auto;
  font-size: 1rem;
}

/* =========================================================
   CALL TO ACTION
   ========================================================= */

.cta-band {
  background: var(--sos-gold);
  /* Matches the shared CTA's overall height while preserving this page's extra paragraph. */
  padding: 44px 0 !important;
  text-align: center;
}

.cta-inner {
  max-width: 760px;
  margin: 0 auto;
}

.cta-band h2 {
  font-family: "Playfair Display", serif;
  color: var(--sos-green);
  font-size: clamp(26px, 3.5vw, 36px) !important;
  line-height: 1.15;
  margin: 0 auto 14px !important;
  letter-spacing: -0.02em;
}

.cta-band p {
  color: rgba(22, 52, 42, 0.9);
  max-width: 720px;
  margin: 0 auto 28px !important;
  font-size: 17px !important;
  line-height: 1.4;
}

.cta-button {
  width: auto !important;
  min-width: 0;
  padding: 14px 32px !important;
  font-size: 15px !important;
  line-height: normal;
}

/* =========================================================
   TABLET
   ========================================================= */

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

  .panel,
  .impact-panel,
  .donation-panel {
    min-height: auto;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-card + .support-card::before {
    left: 50%;
    right: auto;
    top: 0;
    bottom: auto;
    width: 80%;
    height: 1px;
    transform: translateX(-50%);
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {
  .donate-hero {
    padding: 18px 0 17px !important;
  }

  .donate-hero h1 {
    font-size: 1.65rem !important;
    line-height: 1.15;
    max-width: 620px;
  }

  .donate-hero p {
    font-size: 0.72rem !important;
    line-height: 1.4;
    max-width: 600px;
  }

  .donate-hero .nonprofit-note {
    font-size: 0.58rem !important;
    margin-top: 8px !important;
  }

  .hero-leaf-one {
    width: 130px;
    height: 100px;
  }

  .hero-leaf-two {
    width: 105px;
    height: 80px;
    right: 35px;
  }

  .donate-landing {
    padding: 32px 0 22px;
  }

  .preset-amounts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 540px) {
  .donate-hero {
    padding: 17px 0 16px !important;
  }

  .donate-hero h1 {
    font-size: 1.45rem !important;
  }

  .donate-hero p {
    font-size: 0.68rem !important;
  }

  .donate-hero .nonprofit-note {
    font-size: 0.54rem !important;
  }

  .panel {
    padding: 26px 20px 22px;
  }

  .panel h2 {
    font-size: 2.1rem;
  }

  .impact-item {
    align-items: flex-start;
  }

  .impact-label {
    font-size: 0.96rem;
  }

  .zelle-email-box {
    width: 100%;
  }

}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .btn-primary,
  .amount-pill,
  .donate-group input {
    transition: none;
  }
}
