/* Donor page - same tokens as main.css */
.dn-sec {
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.dn-hero {
  position: relative;
  padding: 170px 0 90px;
  color: #fff;
  background:
    linear-gradient(
      90deg,
      rgba(9, 49, 41, 0.92),
      rgba(9, 49, 41, 0.7) 60%,
      rgba(9, 49, 41, 0.45)
    ),
    url("../img/education.webp") center/cover;
}
.dn-hero h1 {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
  margin: 0 0 18px;
}
/* .dn-hero h1 span{color:var(--theme-shade-color)} */
.dn-hero p {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}
.dn-crumb {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}
.dn-crumb a {
  color: #fff;
}
.dn-crumb a:hover {
  color: var(--theme-shade-color);
}
.dn-crumb li + li:before {
  content: "/";
  margin-right: 10px;
  opacity: 0.6;
}
.dn-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.dn-chips a {
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  color: #fff;
  font-size: 14px;
  transition: 0.3s;
}
.dn-chips a:hover {
  background: var(--theme-shade-color);
  border-color: var(--theme-shade-color);
  color: var(--title-color);
}
.dn-grid {
  display: grid;
  gap: 24px;
}
.g4 {
  grid-template-columns: repeat(4, 1fr);
}
.g3 {
  grid-template-columns: repeat(3, 1fr);
}
.g2 {
  grid-template-columns: repeat(2, 1fr);
}
.dn-card {
  background: #fff;
  border-radius: 22px;
  padding: 30px;
  border: 1px solid #e1edeb;
  box-shadow: 0 20px 45px -26px rgba(15, 59, 40, 0.3);
  transition:
    transform 0.35s,
    box-shadow 0.35s;
  height: 100%;
}
.dn-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 55px -22px rgba(15, 59, 40, 0.35);
}
.dn-ico {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #e1edeb;
  color: var(--theme-color);
  font-size: 24px;
  margin-bottom: 18px;
}
.dn-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 10px;
}
.dn-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body-color);
  margin: 0;
}
.dn-card .e-primary-btn {
  margin-top: 20px;
}
.dn-steps {
  counter-reset: s;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.dn-step {
  position: relative;
  padding: 26px 26px 26px 78px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e1edeb;
}
.dn-step:before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  left: 22px;
  top: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--theme-color);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.dn-step h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}
.dn-step p {
  margin: 0;
  font-size: 14px;
  color: var(--body-color);
}
.dn-tax {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
.dn-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 14px;
}
.dn-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--body-color);
}
.dn-list i {
  color: var(--theme-color);
  margin-top: 4px;
}
.dn-reg {
  background: linear-gradient(135deg, #0b3b34, var(--theme-color));
  color: #fff;
  border-radius: 26px;
  padding: 36px;
}
.dn-reg h4 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 22px;
}
.dn-reg div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 15px;
}
.dn-reg div:last-of-type {
  border: 0;
}
.dn-reg b {
  color: var(--theme-shade-color);
  font-weight: 600;
}
.dn-pay {
  background: #fff;
  border-radius: 24px;
  padding: 34px;
  border: 1px solid #e1edeb;
  box-shadow: 0 24px 50px -28px rgba(15, 59, 40, 0.35);
  height: 100%;
}
.dn-pay h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}
.dn-pay > p {
  font-size: 14px;
  color: var(--body-color);
  margin-bottom: 22px;
}
.dn-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px dashed #d5e3e0;
  font-size: 15px;
}
.dn-row span {
  color: #66757e;
}
.dn-row strong {
  color: var(--title-color);
  font-weight: 600;
  text-align: right;
}
.dn-copy {
  border: 0;
  background: #e1edeb;
  color: var(--theme-color);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 8px;
}
.dn-copy:hover {
  background: var(--theme-color);
  color: #fff;
}
.dn-qr {
  width: 150px;
  height: 150px;
  border: 2px dashed var(--theme-color);
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 13px;
  color: var(--theme-color);
  margin: 6px auto 18px;
  background: #f4faf8;
}
.dn-note {
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fff7e6;
  color: #7a5200;
  font-size: 13px;
}
.dn-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.dn-tabs button {
  border: 1px solid var(--theme-color);
  background: #fff;
  color: var(--theme-color);
  padding: 11px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: 0.3s;
}
.dn-tabs button.active,
.dn-tabs button:hover {
  background: var(--theme-color);
  color: #fff;
}
.dn-logos {
  display: none;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.dn-logos.active {
  display: grid;
}
.dn-logos div {
  background: #fff;
  border: 1px solid #e1edeb;
  border-radius: 16px;
  height: 110px;
  display: grid;
  place-items: center;
  padding: 18px;
  transition: 0.3s;
}
.dn-logos div:hover {
  box-shadow: 0 16px 34px -18px rgba(15, 59, 40, 0.35);
  transform: translateY(-4px);
}
.dn-logos img {
  max-width: 100%;
  max-height: 68px;
  object-fit: contain;
}
.dn-story {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.dn-story img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 3px solid #e1edeb;
}
.dn-story q {
  display: block;
  font-size: 16px;
  line-height: 1.7;
  color: var(--title-color);
  quotes: none;
  margin-bottom: 12px;
}
.dn-story h5 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
.dn-story small {
  color: var(--theme-color);
  font-size: 13px;
}
.dn-tier {
  text-align: center;
}
.dn-tier .amt {
  font-size: 30px;
  font-weight: 700;
  color: var(--theme-color);
}
.dn-tier .amt small {
  font-size: 14px;
  color: #66757e;
  font-weight: 400;
}
.dn-cta {
  background:
    linear-gradient(90deg, rgba(9, 49, 41, 0.94), rgba(9, 49, 41, 0.78)),
    url("../img/health.webp") center/cover;
  color: #fff;
  border-radius: 28px;
  padding: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.dn-cta h2 {
  color: #fff;
  font-size: 34px;
  margin: 0 0 8px;
}
.dn-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  border: 1px solid #e1edeb;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 0;
  background: none;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: var(--title-color);
  font-family: var(--outfit-font);
}
.faq-q i {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e1edeb;
  color: var(--theme-color);
  transition: 0.3s;
}
.faq-q:not(.collapsed) i {
  transform: rotate(45deg);
  background: var(--theme-color);
  color: #fff;
}
.faq-a {
  padding: 0 24px 22px;
  color: var(--body-color);
  line-height: 1.7;
  font-size: 15px;
}
@media (max-width: 1199px) {
  .g4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .dn-logos {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 991px) {
  .g3,
  .dn-steps,
  .dn-tax {
    grid-template-columns: 1fr;
  }
  .dn-tax {
    gap: 30px;
  }
  .dn-hero h1 {
    font-size: 42px;
  }
}
@media (max-width: 767px) {
  .g4,
  .g2 {
    grid-template-columns: 1fr;
  }
  .dn-logos {
    grid-template-columns: repeat(2, 1fr);
  }
  .dn-hero {
    padding: 130px 0 60px;
  }
  .dn-hero h1 {
    font-size: 34px;
  }
  .dn-cta {
    padding: 34px 24px;
  }
  .dn-sec {
    padding: 50px 0;
  }
  .dn-story {
    flex-direction: column;
  }
}

/* Hans (swan) decorative shapes - same as homepage */
.dn-hero > .container,
.dn-sec > .container {
  position: relative;
  z-index: 2;
}
.dn-hero .hans-shape {
  top: 130px;
  right: 40px;
  width: 220px;
  opacity: 0.9;
}
.dn-cta {
  position: relative;
  overflow: hidden;
}
.dn-cta > div,
.dn-cta > a {
  position: relative;
  z-index: 2;
}
.dn-cta .hans-shape {
  right: 180px;
  top: 10px;
  width: 130px;
  opacity: 0.35;
}
.dn-sec .involve-watermark {
  opacity: 0.15;
}
.dn-sec .hans-shape-left {
  top: 40px;
}
@media (max-width: 991px) {
  .dn-hero .hans-shape {
    width: 110px;
    top: 110px;
    right: 10px;
    opacity: 0.5;
  }
  .dn-cta .hans-shape {
    display: none;
  }
  .dn-sec .testimonial-hans-shape {
    width: 110px;
  }
  .dn-sec .involve-watermark {
    width: 200px;
  }
}

/* Donor form */
.dn-form {
  max-width: none;
  margin: 0;
}
.dn-form .donation-card-head {
  margin-bottom: 20px;
}
.dn-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 16px;
}
.dn-fields .full {
  grid-column: 1/-1;
}
.dn-fields input[type="text"],
.dn-fields input[type="email"],
.dn-fields input[type="tel"] {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid #dfe7e5;
  border-radius: 12px;
  font-size: 14px;
  font-family: var(--outfit-font);
  color: var(--title-color);
  background: #fff;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.dn-fields input:focus {
  outline: 0;
  border-color: var(--theme-color);
  box-shadow: 0 0 0 3px rgba(37, 133, 122, 0.15);
}
.dn-check {
  grid-column: 1/-1;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--body-color);
  margin: 0;
  cursor: pointer;
}
.dn-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--theme-color);
}
.dn-formmsg {
  display: none;
  margin-bottom: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
}
.dn-formmsg.err {
  display: block;
  background: #fdecee;
  color: #a1222f;
}
.dn-formmsg.ok {
  display: block;
  background: #e6f6ec;
  color: #17693a;
}
@media (max-width: 767px) {
  .dn-fields {
    grid-template-columns: 1fr;
  }
  .dn-form {
    padding: 24px;
  }
}

/* ---- v3: backgrounds + compact donation form ---- */
.dn-sec {
  background: #f5faf9;
}
.dn-sec.soft {
  background: #f5faf9;
}
.dn-sec.alt {
  background: #e1edeb;
}
.df-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}
.df-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid var(--theme-color);
  border-radius: 50px;
  background: #fff;
  color: var(--theme-color);
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}
.df-tabs button:hover,
.df-tabs button.active {
  background: var(--theme-color);
  color: #fff;
}
.df-wrap {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 26px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.df-info {
  background: linear-gradient(145deg, #0b3b34, var(--theme-color));
  color: #fff;
  border-radius: 22px;
  padding: 28px;
  position: sticky;
  top: 110px;
}
.df-ic {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 20px;
  margin-bottom: 16px;
}
.df-info h3 {
  color: #fff;
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 10px;
}
.df-info p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.df-info h5 {
  color: var(--theme-shade-color);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 20px 0 8px;
}
.df-info ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.df-info li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
}
.df-info li:last-child {
  border: 0;
}
.df-info li b {
  color: var(--theme-shade-color);
  white-space: nowrap;
}
.df-card {
  background: #fff;
  border: 1px solid #d5e5e1;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 20px 45px -28px rgba(15, 59, 40, 0.35);
}
.df-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #66757e;
  margin-bottom: 8px;
}
.df-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.df-pill {
  padding: 8px 16px;
  border: 1px solid #d9e1de;
  border-radius: 50px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--title-color);
  transition: 0.25s;
}
.df-pill.active {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff;
}
.df-foreign {
  display: none;
  margin-bottom: 6px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #e1edeb;
  font-size: 14px;
  color: var(--title-color);
}
.df-foreign a {
  color: var(--theme-color);
  font-weight: 600;
  text-decoration: underline;
}
.df-amts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.df-amt {
  height: 40px;
  border: 1px solid #d9e1de;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--title-color);
  transition: 0.25s;
}
.df-amt:hover {
  border-color: var(--theme-color);
}
.df-amt.active {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff;
}
.df-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8px;
  margin-bottom: 12px;
}
.df-money {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #dfe7e5;
  border-radius: 10px;
  background: #fff;
}
.df-money span {
  color: var(--theme-color);
  font-weight: 600;
}
.df-money input {
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 14px;
  background: none;
  font-family: var(--outfit-font);
}
.df-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.df-grid .c2 {
  grid-column: span 2;
}
.df-grid .c3 {
  grid-column: span 3;
}
.df-grid .c6 {
  grid-column: span 6;
}
.df-card input[type="text"],
.df-card input[type="email"],
.df-card input[type="tel"] {
  height: 42px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid #dfe7e5;
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--outfit-font);
  color: var(--title-color);
  background: #fff;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.df-card input:focus,
.df-money:focus-within {
  outline: 0;
  border-color: var(--theme-color);
  box-shadow: 0 0 0 3px rgba(37, 133, 122, 0.14);
}
#dfPurpose {
  background: #f4faf8;
  color: var(--theme-color);
  font-weight: 600;
}
.df-note {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 12px 0;
  font-size: 12.5px;
  color: var(--theme-color);
}
.df-card .donate-btn {
  min-height: 48px;
}
.df-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  font-size: 12px;
  color: #66757e;
}
.df-trust i {
  color: var(--theme-color);
}
.df-donut-card {
  display: flex;
  align-items: center;
  gap: 34px;
  background: #fbfafa38;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 22px 48px -28px rgba(15, 59, 40, 0.35);
}
.df-donut {
  width: 190px;
  height: 190px;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(var(--theme-color) 0 92%, #99ef68 92% 100%);
  display: grid;
  place-items: center;
}
.df-donut > div {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.df-donut b {
  font-size: 32px;
  color: var(--theme-color);
  line-height: 1;
}
.df-donut span {
  font-size: 12px;
  color: #66757e;
  margin-top: 4px;
}
.df-donut-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  font-size: 15px;
  color: var(--title-color);
}
.df-donut-card li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.df-donut-card li i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex: none;
}
.df-donut-card li b {
  margin-left: auto;
  padding-left: 14px;
}
.dn-sec .testimonial-hans-shape {
  z-index: 0;
}
@media (max-width: 991px) {
  .df-wrap {
    grid-template-columns: 1fr;
  }
  .df-info {
    position: static;
  }
  .df-donut-card {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 575px) {
  .df-amts {
    grid-template-columns: repeat(3, 1fr);
  }
  .df-row {
    grid-template-columns: 1fr;
  }
  .df-grid .c2,
  .df-grid .c3 {
    grid-column: span 6;
  }
  .df-card {
    padding: 18px;
  }
}

/* ---- v4: info card on top, form below; swan fully visible ---- */
.df-wrap {
  grid-template-columns: 1fr;
  max-width: 860px;
  gap: 20px;
}
.df-info {
  position: static;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 18px;
  align-items: start;
  padding: 28px 30px;
}
.df-info .df-ic {
  width: 56px;
  height: 56px;
  margin: 0;
  font-size: 22px;
}
.df-info .df-it h3 {
  margin-top: 2px;
}
#dfSupports {
  grid-column: 1/-1;
}
#dfSupports:empty {
  display: none;
}
.df-info ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 36px;
}
.df-info li:nth-last-child(2):nth-child(odd) {
  border-bottom: 0;
}
#why,
#tax {
  padding-bottom: 80px;
}
#why .testimonial-hans-shape,
#tax .testimonial-hans-shape {
  width: 210px;
  right: 40px;
  bottom: 20px;
}
@media (max-width: 767px) {
  .df-info {
    grid-template-columns: 1fr;
  }
  .df-info .df-ic {
    margin-bottom: 12px;
  }
  .df-info ul {
    grid-template-columns: 1fr;
  }
  #why,
  #tax {
    padding-bottom: 140px;
  }
  #why .testimonial-hans-shape,
  #tax .testimonial-hans-shape {
    width: 130px;
  }
}

/* ---- v5: info icons + cause popup ---- */
.df-wrap {
  max-width: 760px;
}
.df-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: -4px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #d5e3e0;
}
.df-head small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #66757e;
}
.df-head b {
  font-size: 18px;
  color: var(--title-color);
  font-weight: 600;
}
.df-i {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #e1edeb;
  color: var(--theme-color);
  font-size: 16px;
  transition: 0.25s;
}
.df-i:hover,
.df-i:focus-visible {
  background: var(--theme-color);
  color: #fff;
  transform: scale(1.08);
}
.df-purpose {
  position: relative;
}
.df-purpose input {
  padding-right: 46px !important;
}
.df-purpose .df-i {
  position: absolute;
  right: 5px;
  top: 4px;
  width: 32px;
  height: 32px;
  font-size: 15px;
}
.df-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(9, 49, 41, 0.62);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}
.df-modal.open {
  opacity: 1;
  visibility: visible;
}
.df-dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s;
}
.df-modal.open .df-dialog {
  transform: none;
}
.df-x {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #e1edeb;
  color: var(--theme-color);
  font-size: 24px;
  line-height: 1;
  transition: 0.25s;
}
.df-x:hover {
  background: var(--theme-color);
  color: #fff;
}
.df-mh {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding-right: 40px;
}
.df-dialog .df-ic {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, #0b3b34, var(--theme-color));
  color: #fff;
  font-size: 22px;
  flex: none;
}
.df-dialog h3 {
  font-size: 22px;
  line-height: 1.3;
  color: var(--title-color);
  margin: 0;
}
.df-dialog p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--body-color);
  margin: 0;
}
.df-dialog h5 {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--theme-color);
  margin: 20px 0 6px;
}
.df-dialog ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.df-dialog li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed #d5e3e0;
  font-size: 14px;
  color: var(--title-color);
}
.df-dialog li:last-child {
  border: 0;
}
.df-dialog li b {
  color: var(--theme-color);
  white-space: nowrap;
}
#dfmSup:empty {
  display: none;
}
.df-go {
  width: 100%;
  margin-top: 22px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--theme-color);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  transition: 0.3s;
}
.df-go:hover {
  background: #0b3b34;
}
@media (max-width: 575px) {
  .df-dialog {
    padding: 24px 20px;
  }
}

/* ---- v6: trust row above button, donate button on right ---- */
.df-trust {
  justify-content: flex-start;
  margin: 0 0 14px;
}
.df-card .donate-btn {
  width: auto;
  min-width: 230px;
  margin-left: auto;
  gap: 18px;
}
@media (max-width: 575px) {
  .df-card .donate-btn {
    width: 100%;
  }
}
