:root {
  color-scheme: light;
  --ink: #172036;
  --muted: #6f5c63;
  --paper: #fff7f7;
  --mist: #fff0f1;
  --line: rgba(231, 143, 145, .26);
  --rose: #e78f91;
  --rose-dark: #a94e55;
  --rose-deep: #7f2f38;
  --white: #ffffff;
  --shadow: 0 22px 54px rgba(20, 33, 61, .1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(20, 33, 61, .08);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand img {
  width: 176px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #314459;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links .is-active {
  background: rgba(231, 143, 145, .13);
  color: var(--rose-deep);
  outline: none;
}

.nav-action,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 850;
  border: 1px solid transparent;
  white-space: nowrap;
}

.nav-action,
.btn-primary {
  background: var(--rose);
  color: #3c1519;
  box-shadow: 0 14px 30px rgba(231, 143, 145, .22);
}

.btn-secondary {
  background: var(--white);
  border-color: rgba(20, 33, 61, .16);
  color: var(--ink);
}

.hero {
  padding: clamp(58px, 8vw, 96px) 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(320px, .48fr);
  gap: 28px;
  align-items: stretch;
}

.eyebrow,
.kicker {
  margin: 0 0 10px;
  color: var(--rose-deep);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(46px, 7vw, 82px);
  line-height: .96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.16;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 620;
}

.panel,
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.panel {
  padding: clamp(24px, 4vw, 42px);
}

.hero-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .86);
}

.stat strong {
  display: block;
  color: var(--rose);
  font-size: 32px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 760;
}

.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--mist);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
}

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

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

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

.card {
  padding: 22px;
  box-shadow: none;
}

.card p,
.muted {
  color: var(--muted);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.amount-card {
  min-height: 118px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.amount-card.featured {
  background: var(--rose);
  color: var(--white);
}

.amount-card strong {
  display: block;
  font-size: 32px;
  line-height: 1;
}

.amount-card span {
  display: block;
  margin-top: 8px;
  color: inherit;
  font-weight: 800;
}

.bank-list {
  display: grid;
  gap: 0;
}

.bank-list div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.bank-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.bank-list dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.form-grid {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(231, 143, 145, .22);
  border-color: var(--rose);
}

.map-preview {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .72) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .72) 1px, transparent 1px),
    linear-gradient(135deg, rgba(231, 143, 145, .24), rgba(255, 255, 255, .92));
  background-size: 38px 38px, 38px 38px, auto;
}

.map-pin {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px 999px 999px 5px;
  background: var(--rose);
  color: var(--white);
  font-weight: 950;
  transform: rotate(-45deg);
  box-shadow: 0 14px 28px rgba(169, 78, 85, .24);
}

.map-pin span {
  transform: rotate(45deg);
}

.map-pin:nth-child(1) {
  top: 22%;
  left: 18%;
}

.map-pin:nth-child(2) {
  top: 54%;
  left: 43%;
  background: var(--ink);
}

.map-pin:nth-child(3) {
  top: 25%;
  right: 20%;
  background: var(--rose-dark);
}

.map-pin:nth-child(4) {
  right: 16%;
  bottom: 18%;
  background: #c96d74;
}

.location-list {
  display: grid;
  gap: 10px;
}

.location-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.location-item strong {
  display: block;
}

.location-item span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 650;
}

.footer {
  padding: 42px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  color: var(--muted);
  font-weight: 760;
}

.donate-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 6vw, 78px) 0 46px;
  background:
    radial-gradient(circle at 13% 20%, rgba(231, 143, 145, .18), transparent 32%),
    linear-gradient(180deg, #fffafa 0%, var(--paper) 100%);
}

.donate-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(360px, .54fr);
  gap: 22px;
  align-items: stretch;
}

.donate-main {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  display: grid;
  align-content: center;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(255, 240, 241, .78)),
    radial-gradient(circle at 84% 18%, rgba(231, 143, 145, .2), transparent 28%);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.donate-main::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -86px;
  width: 260px;
  height: 260px;
  border: 34px solid rgba(231, 143, 145, .13);
  border-radius: 999px;
  z-index: 0;
}

.donate-main > * {
  position: relative;
  z-index: 1;
}

.donate-main h1 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(44px, 5.4vw, 74px);
  line-height: .95;
}

.donate-main .lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(18px, 1.75vw, 23px);
}

.donate-quick {
  display: grid;
  gap: 14px;
}

.donate-photo-card {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.donate-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
}

.donate-photo-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(23, 32, 54, .68));
}

.donate-photo-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  margin: 0;
  color: var(--white);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.25;
}

.donate-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.donate-trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(231, 143, 145, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--rose-deep);
  font-size: 14px;
  font-weight: 850;
}

.donate-summary {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.donate-summary .stat {
  box-shadow: none;
}

.donation-workspace {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(360px, .48fr);
  gap: 18px;
  align-items: start;
}

.donation-builder,
.bank-panel,
.sponsor-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.donation-builder {
  padding: clamp(24px, 4vw, 38px);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.choice-card {
  position: relative;
  min-height: 142px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.choice-card::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(231, 143, 145, .46);
  border-radius: 999px;
  background: var(--white);
}

.choice-card strong {
  display: block;
  padding-right: 22px;
  font-size: clamp(27px, 2.4vw, 42px);
  line-height: 1;
}

.choice-card span {
  color: var(--muted);
  font-weight: 820;
  line-height: 1.24;
}

.choice-card[aria-pressed="true"],
.choice-card:hover,
.choice-card:focus-visible {
  outline: none;
  transform: translateY(-2px);
  border-color: var(--rose);
  background: linear-gradient(135deg, var(--rose), #e98388);
  color: var(--white);
  box-shadow: 0 18px 36px rgba(231, 143, 145, .24);
}

.choice-card[aria-pressed="true"] span,
.choice-card:hover span,
.choice-card:focus-visible span {
  color: rgba(255, 255, 255, .9);
}

.choice-card[aria-pressed="true"]::after,
.choice-card:hover::after,
.choice-card:focus-visible::after {
  border-color: rgba(255, 255, 255, .94);
  background: var(--white);
}

.impact-note {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--mist);
}

.impact-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--rose-deep);
  font-size: 14px;
  text-transform: uppercase;
}

.impact-note p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 720;
}

.donation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.bank-panel,
.sponsor-panel {
  padding: clamp(22px, 3vw, 30px);
}

.copy-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

.copy-row code {
  flex: 1 1 230px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--mist);
  color: var(--ink);
  font-family: inherit;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.copy-button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(20, 33, 61, .16);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.copy-button:focus-visible,
.copy-button:hover {
  outline: none;
  border-color: var(--rose);
  color: var(--rose-deep);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.proof-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.proof-card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--rose);
  font-size: 38px;
  line-height: 1;
}

.steps {
  counter-reset: donation-step;
  display: grid;
  gap: 12px;
}

.step-card {
  counter-increment: donation-step;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.step-card::before {
  content: counter(donation-step);
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(231, 143, 145, .16);
  color: var(--rose-deep);
  font-weight: 950;
}

.step-card p {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 920px) {
  .nav {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-grid,
  .donate-hero-grid,
  .donation-workspace,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

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

@media (max-width: 520px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .brand img {
    width: 154px;
  }

  .nav-action,
  .btn {
    width: 100%;
  }

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

  .donate-main {
    min-height: auto;
    padding: 28px;
  }

  .donate-main h1 {
    font-size: 40px;
    line-height: 1;
  }

  .donate-main .lead {
    font-size: 18px;
  }

  .donate-trust-row {
    display: none;
  }

  .donate-photo-card,
  .donate-photo-card img {
    min-height: 280px;
  }

  .choice-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .donation-actions {
    display: grid;
  }

  .panel {
    padding: 22px;
  }

  .map-preview {
    min-height: 260px;
  }
}
