/* ===========================
   Donation Page
   =========================== */

.donate-hero {
    position: relative;
    min-height: 650px;
    padding: 10rem 6% 6rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(105deg, rgba(7, 35, 19, 0.98) 0%, rgba(14, 42, 23, 0.9) 53%, rgba(14, 42, 23, 0.64) 100%),
        url('../images/hero.jpg') center 38% / cover;
}

.donate-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 130px;
    background: linear-gradient(to top, rgba(7, 35, 19, 0.42), transparent);
    pointer-events: none;
}

.donate-hero-content,
.donate-hero-note {
    position: relative;
    z-index: 1;
}

.donate-hero-content {
    max-width: 760px;
}

.donate-eyebrow,
.donate-section-label,
.donate-fund-label,
.donate-hero-note-label {
    display: inline-block;
    color: #ffd700;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.donate-eyebrow {
    margin-bottom: 1rem;
}

.donate-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-family: 'Bodoni Moda', Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 5.8rem);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 0.98;
}

.donate-hero p {
    max-width: 620px;
    margin: 1.6rem 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    line-height: 1.65;
}

.donate-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.donate-hero-actions .cta-button,
.donate-closing .cta-button {
    min-width: 0;
    padding-inline: 1.45rem;
}

.donate-hero-actions .cta-button.primary,
.donate-steps-button {
    box-shadow: 0 7px 28px rgba(0, 150, 57, 0.3);
}

.donate-hero-note {
    width: min(100%, 295px);
    flex: 0 0 295px;
    padding: 1.35rem 1.4rem;
    border: 1px solid rgba(255, 215, 0, 0.38);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(9px);
}

.donate-hero-note strong,
.donate-hero-note > span:last-child {
    display: block;
}

.donate-hero-note strong {
    margin: 0.55rem 0 0.45rem;
    color: #fff;
    font-size: 1rem;
    line-height: 1.35;
}

.donate-hero-note > span:last-child {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    line-height: 1.55;
}

.donate-intro,
.donate-impact,
.donate-how-to,
.donate-closing {
    padding: 6.5rem 6%;
}

.donate-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 8vw, 9rem);
    align-items: start;
    background: #f4f3ee;
}

.donate-section-heading h2,
.donate-impact-content h2,
.donate-how-to h2,
.donate-closing h2 {
    margin: 0.65rem 0 0;
    color: #0e2a17;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.donate-intro-copy {
    max-width: 650px;
}

.donate-intro-copy p,
.donate-how-to-intro > p,
.donate-closing p {
    margin: 0 0 1rem;
    color: #4f4a46;
    font-size: 1.06rem;
    line-height: 1.8;
}

.donate-intro-copy p:last-child,
.donate-closing p:last-child {
    margin-bottom: 0;
}

.donate-impact {
    display: grid;
    grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(2.5rem, 7vw, 7rem);
    align-items: center;
    background: #fff;
}

.donate-impact-media {
    position: relative;
    min-height: 510px;
}

.donate-impact-media::before {
    content: '';
    position: absolute;
    inset: 1rem -1rem -1rem 1rem;
    border: 1px solid rgba(0, 150, 57, 0.28);
    border-radius: 18px;
}

.donate-impact-media img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 510px;
    border-radius: 18px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 22px 60px rgba(14, 42, 23, 0.16);
}

.donate-image-caption {
    position: absolute;
    right: 1rem;
    bottom: -0.85rem;
    z-index: 2;
    max-width: 240px;
    padding: 0.7rem 0.9rem;
    color: #0e2a17;
    background: #ffd700;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.35;
}

.donate-impact-content h2 {
    max-width: 600px;
    margin-bottom: 2.2rem;
}

.donate-impact-list {
    display: grid;
    gap: 1.2rem;
}

.donate-impact-item {
    display: grid;
    grid-template-columns: 2.3rem minmax(0, 1fr);
    gap: 1rem;
    padding-top: 1.2rem;
    border-top: 1px solid #dfe7e1;
}

.donate-impact-number {
    color: #009639;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.donate-impact-item h3,
.donate-step h3 {
    margin: 0;
    color: #0e2a17;
    font-size: 1rem;
    font-weight: 800;
}

.donate-impact-item p,
.donate-step p {
    margin: 0.35rem 0 0;
    color: #5f5a55;
    font-size: 0.92rem;
    line-height: 1.6;
}

.donate-how-to {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2.5rem, 7vw, 8rem);
    align-items: start;
    background: #eaf2ec;
}

.donate-how-to-intro > p {
    max-width: 560px;
    margin-top: 1.35rem;
}

.donate-fund-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    max-width: 475px;
    margin-top: 2rem;
    padding: 1.35rem 1.45rem;
    border-left: 5px solid #009639;
    background: #fff;
    box-shadow: 0 12px 34px rgba(14, 42, 23, 0.08);
}

.donate-fund-card strong {
    color: #0e2a17;
    font-size: 1.18rem;
    line-height: 1.4;
}

.donate-fund-number {
    color: #5f5a55;
    font-size: 0.88rem;
}

.donate-fund-number b {
    color: #009639;
    font-size: 1rem;
}

.donate-steps {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    padding: 1.7rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(14, 42, 23, 0.1);
}

.donate-step {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.donate-step-number {
    display: grid;
    width: 2.3rem;
    height: 2.3rem;
    place-items: center;
    border-radius: 50%;
    color: #0e2a17;
    background: #ffd700;
    font-weight: 800;
}

.donate-step a {
    color: #006b2b;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.donate-steps-button {
    align-self: flex-start;
    margin-top: 0.6rem;
}

.donate-external-note {
    margin: -0.4rem 0 0;
    color: #77716b;
    font-size: 0.78rem;
    line-height: 1.5;
}

.donate-external-note span {
    color: #009639;
    font-weight: 800;
}

.donate-closing {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: center;
    color: #fff;
    background: #0e2a17;
}

.donate-closing h2 {
    color: #fff;
}

.donate-closing p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.78);
}

.donate-closing .cta-button {
    margin-top: 0.55rem;
}

@media (max-width: 900px) {
    .donate-hero {
        min-height: 0;
        padding-top: 9rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .donate-hero-note {
        flex-basis: auto;
    }

    .donate-intro,
    .donate-impact,
    .donate-how-to,
    .donate-closing {
        grid-template-columns: 1fr;
    }

    .donate-impact-media {
        max-width: 660px;
        width: 100%;
    }

    .donate-closing {
        gap: 1.2rem;
    }
}

@media (max-width: 600px) {
    .donate-hero,
    .donate-intro,
    .donate-impact,
    .donate-how-to,
    .donate-closing {
        padding-right: 5%;
        padding-left: 5%;
    }

    .donate-hero {
        padding-top: 8rem;
        padding-bottom: 4.5rem;
    }

    .donate-hero h1 {
        font-size: clamp(2.45rem, 12vw, 4rem);
    }

    .donate-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .donate-hero-actions .cta-button {
        width: 100%;
    }

    .donate-hero-note {
        width: auto;
        max-width: 100%;
    }

    .donate-intro,
    .donate-impact,
    .donate-how-to,
    .donate-closing {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .donate-impact-media,
    .donate-impact-media img {
        min-height: 360px;
        height: 360px;
    }

    .donate-impact-media::before {
        inset: 0.7rem -0.6rem -0.7rem 0.6rem;
    }

    .donate-image-caption {
        right: 0.4rem;
        bottom: -0.7rem;
    }

    .donate-steps {
        padding: 1.25rem;
    }

    .donate-steps-button {
        align-self: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .donate-hero-actions .cta-button:hover,
    .donate-steps-button:hover,
    .donate-closing .cta-button:hover {
        transform: none;
    }
}
