/* ═══════════════════════════════════════════════════════════════════════════
   No Baby Blisters · Donate USD · Donorbox clone 1:1 · Verde Emerald
   ════════════════════════════════════════════════════════════════════════ */

@import url('./fonts.css');

:root {
  /* ── Paleta verde (Donorbox style · trocável no config.js) ──────────── */
  --primary:        #2ECC71;
  --primary-deep:   #27AE60;
  --primary-soft:   #d6f5e3;
  --primary-tint:   #eaf9f0;
  --primary-glow:   rgba(46, 204, 113, .28);
  --primary-ring:   rgba(46, 204, 113, .24);

  --ink-1:          #203D4C;
  --ink-2:          #4b5563;
  --ink-3:          #898989;

  --paper:          #ffffff;
  --paper-soft:     #fafafa;
  --paper-tint:     #f7f9fc;

  --border:         #e5e7eb;
  --border-hover:   #cbd5e1;

  --danger:         #dc2626;
  --danger-soft:    #fef2f2;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-cinematic: cubic-bezier(0.6, 0.01, 0.05, 0.95);
  --ease-power3:    cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce:    cubic-bezier(0.34, 1.56, 0.64, 1);

  --dur-micro:  220ms;
  --dur-mid:    400ms;
  --dur-reveal: 700ms;

  --maxw:       1180px;
  --r-card:     12px;
  --r-card-top: 5px;
  --r-preset:   10px;
  --r-pill:     999px;
  --r-input:    8px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink-1);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video, picture { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, textarea, select { font-family: inherit; }
a { color: var(--primary-deep); text-decoration: none; transition: color var(--dur-micro) var(--ease-power3); }
a:hover { color: var(--ink-1); }

/* ──────────────────────────────────────────────────────────────────────────
   HEADER NAV  ·  logo + botão Doar verde
   ────────────────────────────────────────────────────────────────────── */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto;
  padding: 14px 22px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img.logo-full {
  height: 62px; width: auto; max-width: 320px; object-fit: contain;
  transition: transform var(--dur-mid) var(--ease-out-expo);
}
.brand:hover img.logo-full { transform: scale(1.03); }
@media (max-width: 540px) {
  .brand img.logo-full { height: 48px; max-width: 220px; }
}
.nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 8px 24px;
  border-radius: 8px;
  font-weight: 400; font-size: 16px; letter-spacing: 0;
  width: 250px;
  max-width: 100%;
  height: 36px;
  line-height: 1;
  white-space: nowrap;
  transition: background var(--dur-micro) var(--ease-power3),
              transform var(--dur-mid) var(--ease-bounce),
              box-shadow var(--dur-mid) var(--ease-power3);
}
.nav-cta:hover {
  background: var(--primary-deep);
}
@media (max-width: 540px) {
  .nav-cta { width: 130px; padding: 8px 16px; font-size: 14px; }
}

/* ──────────────────────────────────────────────────────────────────────────
   MAIN GRID  ·  story esquerda + donate card direita
   ────────────────────────────────────────────────────────────────────── */
.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 22px 0;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, 1fr);
  gap: 48px;
  margin-top: 18px;
}
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; gap: 24px; }
}

/* ──────────────────────────────────────────────────────────────────────────
   METER  ·  full-width acima da story (verde + 3 stats)
   ────────────────────────────────────────────────────────────────────── */
.meter-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 12px 0 4px;
  margin-bottom: 4px;
}
.meter-bar {
  height: 18px;
  background: #E5E5E5;
  border: 1px solid #fff;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
  margin: 0 0 20px;
  position: relative;
}
.meter-fill {
  height: 16px;
  width: 0;
  background: var(--primary);
  border-radius: 0 10px 10px 0;
  transition: width 1.4s var(--ease-out-expo) .2s;
}
.meter-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
.meter-stats .stat { text-align: left; }
.meter-stats .stat.center { text-align: center; }
.meter-stats .stat.right { text-align: right; }
.meter-stats .stat strong {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  margin-bottom: 2px;
}
.meter-stats .stat span {
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-1);
}

/* ──────────────────────────────────────────────────────────────────────────
   STORY  ·  título + mídia + parágrafos + galeria
   ────────────────────────────────────────────────────────────────────── */
.story h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #333333;
  margin: 20px 0 10px;
}
.story h1 strong { font-weight: 700; }
.story p {
  font-size: 16px;
  line-height: 1.6;
  color: #000000;
  margin: 0 0 12px;
  font-family: Verdana, Geneva, sans-serif;
}
.story p strong { font-weight: 700; }
.story-tagline {
  font-size: 18px !important;
  margin-bottom: 10px !important;
}
.hero-media {
  position: relative;
  width: 100%;
  border-radius: var(--r-card);
  overflow: visible !important;
  margin: 18px 0;
  background: var(--paper-tint);
  aspect-ratio: auto !important;
  height: auto !important;
}
.hero-media.empty { display: none; }
.hero-media video, .hero-media img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  display: block;
  object-fit: contain !important;
  aspect-ratio: auto !important;
  border-radius: var(--r-card);
}
.hero-media .sound-hint {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  font-size: 12px; font-weight: 500;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  display: flex; align-items: center; gap: 6px;
  pointer-events: none;
  transition: opacity .5s var(--ease-out-expo);
}
.hero-media.sound-on .sound-hint { opacity: 0; }

.story-inline-media {
  margin: 18px 0;
  border-radius: var(--r-card);
  overflow: hidden;
}
.story-inline-media img { width: 100% !important; height: auto !important; max-height: none !important; display: block; object-fit: contain !important; aspect-ratio: auto !important; }
.story-inline-media figcaption {
  padding: 10px 16px; font-size: 13px; color: var(--ink-3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 18px 0 36px;
}
.gallery-grid img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  display: block;
  object-fit: contain !important;
  aspect-ratio: auto !important;
  border-radius: var(--r-card);
  background: var(--paper-tint);
}

/* ──────────────────────────────────────────────────────────────────────────
   DONATE CARD  ·  multi-step inline (sem popup)
   ────────────────────────────────────────────────────────────────────── */
.donate-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(15, 23, 42, .06);
  position: sticky;
  top: 24px;
  height: fit-content;
}
@media (max-width: 960px) { .donate-card { position: static; } }

/* Card head verde com h2 + dots + lock + chevron next */
.donate-card .card-head {
  background: var(--primary);
  color: #fff;
  padding: 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  border-radius: 5px 5px 0 0;
}
.donate-card .card-head h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  letter-spacing: 0;
  line-height: 1.2;
}
.donate-card .head-right {
  display: flex; align-items: center; gap: 10px;
}
.donate-card .lock {
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  opacity: .92;
}
.donate-card .steps {
  display: inline-flex; align-items: center; gap: 6px;
}
.donate-card .dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  transition: background var(--dur-micro) var(--ease-power3),
              transform var(--dur-micro) var(--ease-power3);
}
.donate-card .dot.active {
  background: #fff;
  transform: scale(1.25);
}
.donate-card .head-arrow {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background var(--dur-micro) var(--ease-power3),
              transform var(--dur-micro) var(--ease-power3);
}
.donate-card .head-arrow:hover {
  background: rgba(255, 255, 255, .28);
  transform: translateX(3px);
}

/* Card body steps */
.donate-card .card-body { padding: 22px 22px 18px; }
.donate-card .card-step { display: none; }
.donate-card .card-step.active { display: block; animation: stepIn .45s var(--ease-out-expo) both; }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: none; }
}

.donate-card .tagline {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.6;
  margin: 0 0 17px;
}

/* Toggle One time / Monthly (donorbox · 2 segmentos com border verde) */
.toggle-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 14px;
  border: 1px solid var(--primary);
  border-radius: 3px;
  overflow: hidden;
  height: 40px;
}
.toggle-row button {
  background: var(--paper);
  color: var(--primary);
  font-weight: 400; font-size: 12px;
  padding: 10px;
  line-height: 18px;
  transition: background var(--dur-micro) var(--ease-power3),
              color var(--dur-micro) var(--ease-power3);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 0;
  height: 100%;
}
.toggle-row button:first-child { border-radius: 3px 0 0 3px; }
.toggle-row button:last-child { border-radius: 0 3px 3px 0; }
.toggle-row button.active {
  background: var(--primary);
  color: #fff;
}
.toggle-row .heart { font-size: 12px; }

/* Recurring info box (mostra quando Monthly selected) */
.recurring-info {
  background: var(--paper-tint);
  border: 1px solid var(--border);
  border-radius: var(--r-input);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 14px;
  display: flex; align-items: flex-start; gap: 10px;
}
.recurring-info .tooltip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  background: var(--ink-3);
  color: #fff;
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0;
}

/* Currency label + select */
.currency-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-1);
  margin: 8px 0 6px;
}
.currency-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-input);
  margin-bottom: 14px;
  background: var(--paper);
  font-size: 14px;
  color: var(--ink-1);
  cursor: default;
}
.currency-row { cursor: pointer; user-select: none; transition: border-color var(--dur-micro) var(--ease-power3); }
.currency-row:hover { border-color: var(--primary); }
.currency-row .left { display: flex; align-items: center; gap: 8px; }
.currency-row .flag { font-size: 14px; }
.currency-row .chevron { color: var(--ink-3); transition: transform var(--dur-micro) var(--ease-power3); }
.currency-row[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.currency-menu {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-input);
  max-height: 260px;
  overflow-y: auto;
  margin-top: 6px;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  animation: ddIn .25s var(--ease-out-expo) both;
}
@keyframes ddIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.currency-menu .item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink-1);
  cursor: pointer;
  transition: background var(--dur-micro) var(--ease-power3);
}
.currency-menu .item:hover { background: var(--primary-tint); }
.currency-menu .item.active { background: var(--primary-tint); color: var(--primary-deep); font-weight: 600; }
.currency-menu .item .flag { font-size: 14px; }
.currency-menu .item .code { color: var(--ink-3); font-size: 12px; margin-left: auto; font-variant-numeric: tabular-nums; }

/* Step 2 · underline inputs com floating label e ícone */
.dual-fields {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 6px 0 18px;
}
@media (max-width: 540px) { .dual-fields { grid-template-columns: 1fr; } }
.input-underline {
  position: relative;
  padding-top: 14px;
  margin-bottom: 18px;
}
.input-underline .ufi {
  position: absolute;
  left: 0; bottom: 8px;
  color: var(--ink-3);
  pointer-events: none;
}
.input-underline input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--border-hover);
  background: transparent;
  padding: 6px 0 6px 26px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-1);
  outline: none;
  transition: border-color var(--dur-micro) var(--ease-power3);
}
.input-underline:not(:has(.ufi)) input,
.input-underline:nth-child(2) input { padding-left: 0; }
.input-underline input:focus { border-bottom-color: var(--primary); }
.input-underline label {
  position: absolute;
  left: 26px; bottom: 8px;
  font-size: 14px;
  color: var(--ink-3);
  pointer-events: none;
  transition: transform .2s var(--ease-power3), font-size .2s var(--ease-power3), color .2s var(--ease-power3);
  background: transparent;
  padding: 0 2px;
}
.input-underline:not(:has(.ufi)) label,
.dual-fields .input-underline:nth-child(2) label { left: 0; }
.input-underline input:focus + label,
.input-underline input:not(:placeholder-shown) + label {
  transform: translateY(-22px);
  font-size: 12px;
  color: var(--primary-deep);
}

.anonymous-row {
  margin: 6px 0 22px !important;
  font-size: 14px !important;
  color: var(--ink-1) !important;
}
.anonymous-row .tooltip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px;
  background: var(--ink-3);
  color: #fff;
  border-radius: 999px;
  font-size: 10px; font-weight: 700;
  margin-left: 4px;
}

/* Presets · radio list with benefit */
.presets {
  display: flex; flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.preset {
  position: relative;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--r-preset);
  text-align: left;
  width: 100%;
  transition: border-color var(--dur-micro) var(--ease-power3),
              background var(--dur-micro) var(--ease-power3);
}
.preset:hover { border-color: var(--primary); }
.preset.active {
  border-color: var(--primary);
  background: var(--primary-tint);
}
.preset .radio {
  width: 18px; height: 18px;
  border-radius: 999px;
  border: 2px solid var(--border-hover);
  flex-shrink: 0; margin-top: 1px;
  position: relative;
  transition: border-color var(--dur-micro) var(--ease-power3);
}
.preset.active .radio { border-color: var(--primary); }
.preset.active .radio::after {
  content: '';
  position: absolute; inset: 3px;
  background: var(--primary);
  border-radius: 999px;
  animation: radio-pop .3s var(--ease-bounce) both;
}
@keyframes radio-pop { from { transform: scale(0); } to { transform: scale(1); } }
.preset .text { flex: 1; min-width: 0; }
.preset .amount-line { display: flex; align-items: baseline; gap: 0; }
.preset .sigil { font-size: 16px; font-weight: 600; color: var(--ink-1); margin-right: 2px; }
.preset .value {
  font-weight: 700;
  font-size: 20px;
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
}
.preset .benefit {
  font-size: 13px;
  color: var(--ink-2);
  margin: 4px 0 0;
  line-height: 1.4;
}

/* Custom amount item · radio + sigil + input + benefit */
.preset.custom .text { display: flex; flex-direction: column; }
.preset.custom .amount-line { width: 100%; }
.preset.custom .input-wrap {
  display: flex; align-items: baseline; gap: 0; width: 100%;
}
.preset.custom input {
  flex: 1;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink-1);
  background: transparent;
  border: 0; padding: 0;
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  outline: none;
}
.preset.custom input::placeholder { color: var(--ink-3); font-weight: 500; font-size: 18px; }
.preset.custom.error { border-color: var(--danger); background: var(--danger-soft); }
.preset.custom.error .sigil,
.preset.custom.error .value,
.preset.custom.error input { color: var(--danger); }
.preset.custom.error .benefit { color: var(--danger); font-weight: 500; }

/* Checkboxes */
.checkbox-row {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 0 0 10px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--ink-1);
  line-height: 1.5;
}
.checkbox-row input { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.checkbox-row .check-box {
  width: 18px; height: 18px;
  border: 1.5px solid var(--border-hover);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  display: grid; place-items: center;
  transition: background var(--dur-micro) var(--ease-power3),
              border-color var(--dur-micro) var(--ease-power3);
}
.checkbox-row input:checked + .check-box {
  background: var(--primary);
  border-color: var(--primary);
}
.checkbox-row .check-box svg {
  width: 12px; height: 12px;
  stroke: #fff; stroke-width: 3.5; fill: none;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  transition: stroke-dashoffset .32s var(--ease-out-expo);
}
.checkbox-row input:checked + .check-box svg { stroke-dashoffset: 0; }

.comment-box {
  width: 100%;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-input);
  font-family: var(--font-sans);
  font-size: 14px;
  resize: vertical;
  min-height: 70px;
  color: var(--ink-1);
}
.comment-box:focus { outline: none; border-color: var(--primary); }

/* CTA Next · matching donorbox specs */
.donate-cta {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%;
  background: var(--primary);
  color: #fff;
  font-weight: 500; font-size: 14px;
  padding: 14px 16px;
  border-radius: 4px;
  line-height: 27px;
  letter-spacing: 0;
  height: 56px;
  transition: background var(--dur-micro) var(--ease-power3);
  margin: 4px 0 20px;
}
.donate-cta:hover {
  background: var(--primary-deep);
}
.donate-cta:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.donate-cta .arrow { transition: transform var(--dur-mid) var(--ease-bounce); display: inline-block; }
.donate-cta:hover .arrow { transform: translateX(4px); }

.form-err { color: var(--danger); font-size: 13px; min-height: 18px; margin-top: 8px; text-align: center; }

/* Step 2 · Information */
.info-fields { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-1);
  margin-bottom: 4px;
}
.field-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-input);
  font-size: 15px;
  color: var(--ink-1);
  background: var(--paper);
  transition: border-color var(--dur-micro) var(--ease-power3),
              box-shadow var(--dur-micro) var(--ease-power3);
}
.field-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring); }

/* Step 3 · Payment */
.payment-summary {
  background: var(--primary-tint);
  border: 1px solid var(--primary-soft);
  border-radius: var(--r-input);
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px;
}
.payment-summary .label { color: var(--ink-2); }
.payment-summary .amount {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-deep);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}
#throne-mount { width: 100%; min-height: 340px; }
.throne-skeleton {
  display: flex; align-items: center; justify-content: center;
  min-height: 240px;
}
.spinner {
  width: 42px; height: 42px;
  border: 3.5px solid var(--primary-soft);
  border-top-color: var(--primary);
  border-radius: 999px;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary-deep);
  font-size: 13px; font-weight: 500;
  margin: 12px 0 0;
  cursor: pointer;
  background: none; border: 0; padding: 0;
}
.back-link:hover { color: var(--ink-1); }

/* Step 4 · Thanks (inline confirmation) */
.thanks-step {
  text-align: center;
  padding: 20px 10px;
}
.thanks-step .badge {
  width: 64px; height: 64px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  display: grid; place-items: center;
  margin: 0 auto 14px;
  animation: pop .8s var(--ease-bounce) both;
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.thanks-step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--ink-1);
}
.thanks-step p { font-size: 14px; color: var(--ink-2); margin: 0 0 14px; line-height: 1.5; }

/* Legal block embaixo do card */
.legal {
  background: var(--paper-tint);
  border-top: 1px solid var(--border);
  padding: 12px 22px;
  font-size: 11.5px;
  color: var(--ink-3);
  text-align: center;
  line-height: 1.5;
}

/* ──────────────────────────────────────────────────────────────────────────
   DONORS LIST  ·  Our donors / Most recent
   ────────────────────────────────────────────────────────────────────── */
.donors {
  max-width: var(--maxw);
  margin: 36px auto 24px;
  padding: 0 22px;
}
.donors-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap; gap: 8px;
}
.donors-head h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink-1);
}
.donors-head .tabs {
  display: inline-flex; gap: 6px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.donors-head .tab {
  padding: 6px 12px;
  font-size: 13px;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
}
.donors-head .tab.active {
  color: var(--primary-deep);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

.donor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 720px) { .donor-grid { grid-template-columns: 1fr; } }

.donor-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 16px 18px;
  display: flex; gap: 12px;
  transition: border-color var(--dur-micro) var(--ease-power3);
}
.donor-card:hover { border-color: var(--primary-soft); }
.donor-card .avatar {
  width: 38px; height: 38px;
  border-radius: 999px;
  background: var(--primary-tint);
  color: var(--primary-deep);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .3px;
}
.donor-card .info { flex: 1; min-width: 0; }
.donor-card .info .top {
  display: flex; align-items: baseline; gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.donor-card .info .top strong { font-weight: 600; color: var(--ink-1); font-size: 14px; }
.donor-card .info .top .verb { color: var(--ink-3); font-size: 12.5px; }
.donor-card .info .top .amount {
  color: var(--primary-deep);
  font-weight: 600;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.donor-card .info .comment {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.donors-more {
  display: block; margin: 22px auto 0;
  background: none; color: var(--primary-deep);
  font-size: 14px; font-weight: 600;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-input);
  transition: background var(--dur-micro) var(--ease-power3),
              border-color var(--dur-micro) var(--ease-power3);
}
.donors-more:hover {
  background: var(--primary-tint);
  border-color: var(--primary);
}

/* ──────────────────────────────────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--paper-tint);
  border-top: 1px solid var(--border);
  padding: 24px 22px;
  font-size: 13px;
  color: var(--ink-2);
  text-align: center;
  line-height: 1.6;
}
.foot-grid { max-width: var(--maxw); margin: 0 auto; }
.site-footer a { color: var(--primary-deep); }
.site-footer a:hover { color: var(--ink-1); }

/* ──────────────────────────────────────────────────────────────────────────
   REVEALS  ·  scroll animations
   ────────────────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease-out-expo),
              transform .9s var(--ease-out-expo);
}
.reveal.in { opacity: 1; transform: none; }
[data-stagger] > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease-out-expo),
              transform .6s var(--ease-out-expo);
}
[data-stagger].in > * { opacity: 1; transform: none; }
[data-stagger].in > *:nth-child(1) { transition-delay: 0s; }
[data-stagger].in > *:nth-child(2) { transition-delay: .06s; }
[data-stagger].in > *:nth-child(3) { transition-delay: .12s; }
[data-stagger].in > *:nth-child(4) { transition-delay: .18s; }
[data-stagger].in > *:nth-child(5) { transition-delay: .24s; }
[data-stagger].in > *:nth-child(6) { transition-delay: .30s; }
[data-stagger].in > *:nth-child(7) { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
