.py-donate {
  --don-primary: #0071BC;
  --don-secondary: #383658;
  --don-accent: #22AFA7;
  --don-bg: #f7f7f3;
  --don-card: #fff;
  --don-text: #383658;
  --don-muted: #667085;
  --don-radius: 20px;
  color: var(--don-text)
}

/* ---------- Hero ---------- */
.don-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, var(--don-secondary) 0%, var(--don-primary) 75%);
  color: #fff;
  padding: 96px 0 86px
}

.don-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 84% 12%, var(--don-accent), transparent 42%);
  opacity: .22;
  pointer-events: none
}

.don-hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(120deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .08));
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .08))
}

.don-hero-ribbon {
  position: absolute;
  left: -8vw;
  right: -8vw;
  bottom: 10%;
  height: 120px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .1), transparent);
  transform: skewY(-4deg)
}

.don-hero .py-container {
  position: relative;
  z-index: 1
}

.don-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center
}

.don-hero-grid.don-hero-solo {
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 0 auto;
  text-align: center
}

.don-hero-grid.don-hero-solo .don-actions, .don-hero-grid.don-hero-solo .don-trust {
  justify-content: center
}

.don-hero-grid.don-hero-solo .py-breadcrumb {
  justify-content: center
}

.don-hero-grid.don-hero-solo p {
  margin-left: auto;
  margin-right: auto
}

.don-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: 11.5px
}

.don-hero h1 {
  font-family: var(--font-heading, inherit);
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  margin: 18px 0 18px
}

.don-hero-copy p {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .86);
  max-width: 600px
}

.don-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px
}

.don-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease
}

.don-btn-primary {
  background: #fff;
  color: var(--don-primary);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .22)
}

.don-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, .28)
}

.don-btn-secondary {
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
  background: rgba(255, 255, 255, .08)
}

.don-btn-secondary:hover {
  background: rgba(255, 255, 255, .16);
  transform: translateY(-2px)
}

.don-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px
}

.don-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, .82)
}

.don-trust svg {
  width: 16px;
  height: 16px;
  color: var(--don-accent);
  flex-shrink: 0
}

.don-hero-visual {
  position: relative
}

.don-hero-photo {
  border-radius: calc(var(--don-radius) + 4px);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .34);
  aspect-ratio: 4/5;
  max-height: 460px
}

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

.don-hero-badge {
  position: absolute;
  left: -16px;
  bottom: -18px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  color: var(--don-text);
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .24);
  max-width: 250px
}

.don-hero-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(120deg, var(--don-primary), var(--don-accent));
  color: #fff;
  flex-shrink: 0
}

.don-hero-badge-icon svg {
  width: 20px;
  height: 20px
}

.don-hero-badge strong {
  display: block;
  font-size: 14px
}

.don-hero-badge small {
  color: var(--don-muted);
  font-size: 12px;
  line-height: 1.4
}

/* ---------- Sections ---------- */
.don-anchor {
  display: block;
  position: relative;
  top: -96px;
  visibility: hidden
}

.don-section {
  padding: 84px 0;
  background: var(--don-bg)
}

.don-section-white {
  background: var(--don-card)
}

.don-head {
  max-width: 800px;
  margin: 0 auto 34px;
  text-align: center
}

.don-head h2 {
  font-family: var(--font-heading, inherit);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--don-text);
  margin-bottom: 14px
}

.don-head p {
  color: var(--don-muted);
  font-size: 16.5px;
  line-height: 1.8;
  white-space: pre-line
}

/* ---------- Notice ---------- */
.don-notice {
  max-width: 980px;
  margin: 26px auto 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 16px;
  background: #FFF8E1;
  border: 1px solid rgba(245, 183, 0, .4);
  color: #8A5A00;
  line-height: 1.65
}

.don-notice svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #F5B700;
  margin-top: 1px
}

.don-notice p {
  margin: 0
}

/* ---------- Cards grid ---------- */
.don-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 34px
}

.don-card {
  position: relative;
  background: var(--don-card);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: var(--don-radius);
  padding: 26px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
  transition: transform .22s ease, box-shadow .22s ease;
  overflow: hidden
}

.don-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--don-primary), var(--don-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease
}

.don-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(15, 23, 42, .13)
}

.don-card:hover::before {
  transform: scaleX(1)
}

.don-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(120deg, var(--don-primary), var(--don-accent));
  color: #fff;
  margin-bottom: 16px
}

.don-card-icon svg {
  width: 22px;
  height: 22px
}

.don-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  font-family: var(--font-heading, inherit)
}

.don-card p {
  color: var(--don-muted);
  line-height: 1.65
}

.don-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--don-primary);
  font-weight: 900;
  margin-bottom: 9px
}

.don-details {
  display: grid;
  gap: 9px;
  margin: 18px 0
}

.don-detail {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px dashed rgba(15, 23, 42, .1);
  font-size: 14px
}

.don-detail span {
  color: var(--don-muted);
  font-weight: 700
}

.don-detail strong {
  word-break: break-word;
  color: var(--don-text)
}

.don-copy {
  border: 0;
  background: var(--don-primary);
  color: #fff;
  border-radius: 7px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  margin-left: 6px;
  transition: transform .15s ease, opacity .15s ease
}

.don-copy:hover {
  transform: translateY(-1px);
  opacity: .9
}

.don-qr {
  width: 130px;
  height: 130px;
  object-fit: contain;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 14px;
  padding: 8px;
  background: #fff;
  margin-top: 14px
}

.don-card-btn {
  margin-top: 16px;
  padding: 11px 20px;
  font-size: 14px
}

.don-card .don-card-btn.don-btn-primary {
  background: linear-gradient(120deg, var(--don-primary), var(--don-accent));
  color: #fff;
  box-shadow: none
}

/* ---------- Widgets ---------- */
.don-widget {
  margin-top: 24px;
  background: var(--don-card);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: var(--don-radius);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .06)
}

.don-widget-head {
  padding: 20px 22px;
  border-bottom: 1px solid rgba(15, 23, 42, .07);
  display: flex;
  align-items: center;
  gap: 14px
}

.don-widget-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--don-primary), var(--don-accent));
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0
}

.don-widget-icon svg {
  width: 20px;
  height: 20px
}

.don-widget-head h3 {
  font-size: 17px;
  margin: 2px 0 0;
  font-family: var(--font-heading, inherit)
}

.don-widget-head p {
  color: var(--don-muted);
  font-size: 13.5px;
  margin-top: 4px
}

.don-widget iframe {
  display: block;
  width: 100%;
  border: 0
}

/* ---------- Impact ---------- */
.don-impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px
}

.don-impact {
  text-align: center
}

.don-impact-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--don-bg);
  display: grid;
  place-items: center;
  margin: 0 auto 16px
}

.don-impact-mask {
  --pyh-icon-size: 30px;
  --pyh-icon-fill: linear-gradient(120deg, var(--don-primary), var(--don-accent))
}

/* ---------- Contact CTA ---------- */
.don-contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, var(--don-secondary), var(--don-primary));
  color: #fff;
  border-radius: calc(var(--don-radius) + 8px);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 32px;
  align-items: center
}

.don-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 8%, var(--don-accent), transparent 45%);
  opacity: .2;
  pointer-events: none
}

.don-contact>* {
  position: relative
}

.don-contact h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  margin-bottom: 12px;
  font-family: var(--font-heading, inherit)
}

.don-contact p {
  color: rgba(255, 255, 255, .86);
  line-height: 1.7
}

.don-contact-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px
}

.don-contact-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .92)
}

.don-contact-meta svg {
  width: 15px;
  height: 15px;
  color: var(--don-accent);
  flex-shrink: 0
}

/* ---------- Responsive ---------- */
@media(max-width:1000px) {
  .don-hero-grid {
    grid-template-columns: 1fr
  }

  .don-hero-visual {
    max-width: 420px;
    margin: 0 auto
  }

  .don-contact {
    grid-template-columns: 1fr
  }
}

@media(max-width:680px) {
  .don-hero {
    padding: 76px 0 60px
  }

  .don-hero-badge {
    position: static;
    margin-top: -40px;
    margin-inline: 14px
  }

  .don-detail {
    grid-template-columns: 1fr;
    gap: 3px
  }

  .don-contact {
    padding: 30px
  }

  .don-section {
    padding: 58px 0
  }
}