/* ===================================================================================================================
                                          DONATION EXPERIENCE 
====================================================================================================================== */

.donation-experience {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 140px 7% 100px;
    background: #06142b;
}

.donation-background {
    position: absolute;
    inset: 0;
}

.donation-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.donation-overlay {
    position: absolute;
    inset: 0;
    background:radial-gradient(circle at top right, rgba(37, 99, 235, .22), transparent 30%),
    linear-gradient(135deg, rgba(3, 7, 18, .95), rgba(6, 20, 43, .82), rgba(0, 0, 0, .88));
}

.donation-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 90px;
    align-items: center;
}

.donation-content {
    max-width: 720px;
}

.donation-label {
    display: inline-flex;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(20px);
    color: #fff;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 34px;
}

.donation-content h1 {
    font-size: 82px;
    line-height: .95;
    color: #fff;
    margin-bottom: 28px;
    font-weight: 700;
}

.donation-content p {
    font-size: 20px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .74);
    max-width: 620px;
}

.donation-stats {
    display: flex;
    gap: 50px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.donation-stat h3 {
    font-size: 45px;
    color: #fff;
    margin-bottom: 10px;
}

.donation-stat span {
    color: rgba(255, 255, 255, .62);
}

.donation-card {
    position: relative;
    background: rgba(10, 16, 28, .68);
    border: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(24px);
    border-radius: 34px;
    padding: 42px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .04);
}

.donation-card-top span {
    display: inline-block;
    color: #FAB95B;
    letter-spacing: 2px;
    font-size: 15px;
    margin-bottom: 20px;
}

.donation-card-top h2 {
    font-size: 44px;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 18px;
}

.donation-card-top p {
    color: rgba(255, 255, 255, .68);
    line-height: 1.8;
    margin-bottom: 35px;
}

.donation-toggle {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.toggle-btn {
    flex: 1;
    border: none;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .7);
    cursor: pointer;
    transition: .3s ease;
}

.toggle-btn.active {
    background: #fff;
    color: #000;
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.amount-btn {
    position: relative;
    border: none;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 24px;
    padding: 26px;
    cursor: pointer;
    transition: .35s ease;
    text-align: left;
}

.amount-btn:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .08);
}

.amount-btn.active {
    background: linear-gradient(135deg, #ffffff, #dbeafe);
    border-color: transparent;
}

.amount-btn.active span,
.amount-btn.active small {
    color: #000;
}

.amount-btn span {
    display: block;
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.amount-btn small {
    color: rgba(255, 255, 255, .62);
    font-size: 16px;
}

.custom-amount {
    margin-bottom: 25px;
}

.custom-amount input {
    width: 100%;
    padding: 20px 5px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .05);
    color: #fff;
    outline: none;
    font-size: 18px;
}

.donation-impact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.impact-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 9px #22c55e;
}

.donation-impact p {
    color: rgba(255, 255, 255, .7);
    font-size: 16.40px;
}

.donate-btn {
    width: 100%;
    border: none;
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff, #dbeafe);
    color: #000;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: .4s ease;
}

.donate-btn:hover {
    transform: translateY(-4px) scale(1.01);
}

.donation-security {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .62);
    font-size: 14px;
}

.donation-partners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 36px;
}

.donation-partners img{
    height: 40px;
    object-fit: contain;
    opacity: 1;
    filter: none;
    transition: .3s ease;
}

.donation-partners img:hover{
    transform: translateY(-2px) scale(1.03);
}

/* ===================================================================================================================
                                          DONATION IMPACT SECTION 
====================================================================================================================== */

.impact-section {
    padding: 140px 7%;
    background: #f5f5f7;
}

.impact-top {
    text-align: center;
    max-width: 800px;
    margin: auto auto 70px;
}

.impact-top span {
    letter-spacing: 2px;
    font-size: 16px;
    color: #0F2854;
}

.impact-top h2 {
    font-size: 68px;
    line-height: 1.05;
    margin: 22px 0;
    color: #07152d;
}

.impact-top p {
    color: #555;
    line-height: 1.8;
    font-size: 20px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.impact-card {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    height: 620px;
}

.impact-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1.2s ease;
}

.impact-card:hover img {
    transform: scale(1.08);
}

.impact-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 34px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .85));
}

.impact-card-content h3 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 12px;
}

.impact-card-content p {
    color: rgba(255, 255, 255, .72);
    line-height: 1.7;
    font-size: 18px;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay {
    transition-delay: .2s;
}

/* ===================================================================================================================
                                          DONATION WHY DONATE SECTION 
====================================================================================================================== */

.why-donate {
    padding: 140px 7%;
    background: linear-gradient(180deg,#06142b 0%, #081120 100%);
}

.why-top {
    text-align: center;
    max-width: 850px;
    margin: auto auto 80px;
}

.why-top span {
    display: inline-block;
    color: #FAB95B;
    letter-spacing: 2px;
    font-size: 16px;
    margin-bottom: 24px;
}

.why-top h2 {
    font-size: 60px;
    line-height: 1.05;
    color: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    position: relative;
    padding: 42px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: .45s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: rgba(96, 165, 250, .3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
}

.why-card::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .12);
    filter: blur(80px);
    top: -100px;
    right: -100px;
}

.why-card i {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: linear-gradient(135deg, #4988C4, #4988C4);
    color: #fff;
    font-size: 28px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, .35);
}

.why-card h3 {
    font-size: 30px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 18px;
}

.why-card p {
    color: rgba(255, 255, 255, .68);
    line-height: 1.9;
}

/* ===================================================================================================================
                                          DONATION FINAL CTA SECTION 
====================================================================================================================== */

.donation-final-cta {
    padding: 140px 7%;
    background: radial-gradient(circle at top, rgba(37, 99, 235, .16), transparent 35%), #020617;
}

.donation-final-content {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.donation-final-content span {
    display: inline-block;
    color: #FAB95B;
    letter-spacing: 2px;
    font-size: 16px;
    margin-bottom: 24px;
}

.donation-final-content h2 {
    font-size: 76px;
    line-height: 1;
    color: #fff;
    margin-bottom: 28px;
}

.donation-final-content p {
    max-width: 700px;
    margin: auto auto 42px;
    color: rgba(255, 255, 255, .68);
    line-height: 1.9;
    font-size: 20px;
}

.final-donate-btn {
    border: none;
    padding: 22px 42px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff, #dbeafe);
    color: #000;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: .4s ease;
    box-shadow: 0 10px 25px rgba(255, 255, 255, .12);
}

.final-donate-btn:hover {
    transform: translateY(-5px) scale(1.02);
}


/* =========================================================
RESPONSIVE
========================================================= */

@media(max-width:1100px) {

    .donation-wrapper {
        grid-template-columns: 1fr;
    }

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

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

    .donation-content h1 {
        font-size: 64px;
    }

    .donation-final-content h2 {
        font-size: 58px;
    }

}


@media(max-width:768px) {

    .donation-experience {
        padding: 120px 6% 80px;
    }

    .why-donate,
    .donation-final-cta {
        padding: 110px 6%;
    }

    .donation-content h1 {
        font-size: 46px;
    }

    .donation-card {
        padding: 30px 24px;
    }

    .impact-top h2 {
        font-size: 44px;
    }

    .why-top h2 {
        font-size: 44px;
    }

    .donation-final-content h2 {
        font-size: 44px;
    }

}


@media(max-width:430px) {

    .donation-content h1 {
        font-size: 36px;
        line-height: 1.1;
    }

    .donation-content p {
        font-size: 14px;
    }

    .donation-card-top h2 {
        font-size: 34px;
    }

    .donation-amounts {
        grid-template-columns: 1fr;
    }

    .donation-security {
        flex-direction: column;
        align-items: center;
    }

    .impact-top h2 {
        font-size: 34px;
    }

    .impact-card {
        height: 500px;
    }

    .why-card {
        padding: 32px 24px;
    }

    .why-top h2 {
        font-size: 34px;
    }

    .why-card h3 {
        font-size: 26px;
    }

    .donation-final-content h2 {
        font-size: 36px;
        line-height: 1.1;
    }

    .donation-final-content p {
        font-size: 14px;
    }

}

/* ===================================================================================================================
                                          PAGO EXITOSO SECTION 
====================================================================================================================== */

.payment-page{
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    padding: 120px 40px 40px;
}


/* =========================================================
BACKGROUND
========================================================= */

.payment-bg{
    position: absolute;
    inset: 0;
}

.payment-bg img{
    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.08);
}


/* =========================================================
OVERLAY
========================================================= */

.payment-overlay{
    position: absolute;
    inset: 0;

    background:
    linear-gradient(
    135deg,
    rgba(3,7,18,.94),
    rgba(6,20,43,.82),
    rgba(0,0,0,.88));
}


/* =========================================================
SUCCESS MODE
========================================================= */

.payment-page.success .payment-overlay{

    background:
    radial-gradient(circle at top,
    rgba(34,197,94,.18),
    transparent 30%),

    linear-gradient(
    135deg,
    rgba(3,7,18,.94),
    rgba(6,20,43,.82),
    rgba(0,0,0,.88));
}


/* =========================================================
FAILED MODE
========================================================= */

.payment-page.failed .payment-overlay{

    background:
    radial-gradient(circle at top,
    rgba(239,68,68,.18),
    transparent 30%),

    linear-gradient(
    135deg,
    rgba(3,7,18,.94),
    rgba(6,20,43,.82),
    rgba(0,0,0,.88));
}


/* =========================================================
CONTENT
========================================================= */

.payment-content{
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 760px;

    padding: 60px;

    border-radius: 38px;

    text-align: center;

    background:
    linear-gradient(
    180deg,
    rgba(255,255,255,.08),
    rgba(255,255,255,.03));

    border: 1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(24px);

    box-shadow:
    0 20px 80px rgba(0,0,0,.45);
}


/* =========================================================
ICON
========================================================= */

.payment-icon{
    width: 110px;
    height: 110px;

    margin: auto auto 30px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-page.success .payment-icon{

    background:
    linear-gradient(
    135deg,
    #22c55e,
    #16a34a);

    box-shadow:
    0 20px 50px rgba(34,197,94,.35);
}

.payment-page.failed .payment-icon{

    background:
    linear-gradient(
    135deg,
    #ef4444,
    #dc2626);

    box-shadow:
    0 20px 50px rgba(239,68,68,.35);
}

.payment-icon i{
    color: #fff;
    font-size: 44px;
}


/* =========================================================
TEXT
========================================================= */

.payment-label{
    display: inline-block;

    letter-spacing: 2px;

    font-size: 12px;

    margin-bottom: 26px;
}

.payment-page.success .payment-label{
    color: #86efac;
}

.payment-page.failed .payment-label{
    color: #fca5a5;
}

.payment-content h1{
    font-size: 68px;
    line-height: 1;

    color: #fff;

    margin-bottom: 24px;
}

.payment-content p{
    color: rgba(255,255,255,.72);

    line-height: 1.9;

    font-size: 17px;

    max-width: 600px;

    margin: auto auto 50px;
}


/* =========================================================
INFO
========================================================= */

.payment-info{
    display: grid;
    grid-template-columns: repeat(2,1fr);

    gap: 20px;

    margin-bottom: 42px;
}

.payment-item{
    padding: 28px;

    border-radius: 24px;

    background: rgba(255,255,255,.04);

    border: 1px solid rgba(255,255,255,.06);
}

.payment-item h3{
    color: #fff;

    margin-bottom: 10px;

    font-size: 20px;
}

.payment-item span{
    color: rgba(255,255,255,.68);

    line-height: 1.7;
}


/* =========================================================
BUTTONS
========================================================= */

.payment-buttons{
    display: flex;
    justify-content: center;

    gap: 16px;

    flex-wrap: wrap;
}

.payment-btn{
    padding: 18px 28px;

    border-radius: 999px;

    text-decoration: none;

    color: #000;

    font-weight: 700;

    transition: .35s ease;
}

.payment-page.success .payment-btn{

    background:
    linear-gradient(
    135deg,
    #ffffff,
    #dbeafe);
}

.payment-page.failed .payment-btn{

    background:
    linear-gradient(
    135deg,
    #ffffff,
    #fee2e2);
}

.payment-btn:hover{
    transform: translateY(-4px);
}

.payment-btn.secondary{
    background: rgba(255,255,255,.08) !important;

    border: 1px solid rgba(255,255,255,.08);

    color: #fff;
}


/* =========================================================
REVEAL
========================================================= */

.reveal{
    opacity: 0;
    transform: translateY(40px);

    transition: 1s ease;
}

.reveal.active{
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
RESPONSIVE
========================================================= */

@media(max-width:768px){

    .payment-content{
        padding: 42px 26px;
    }

    .payment-content h1{
        font-size: 46px;
    }

    .payment-info{
        grid-template-columns: 1fr;
    }

}


@media(max-width:430px){

    .payment-page{
        padding: 120px 20px 40px;
    }

    .payment-content{
        padding: 34px 22px;
    }

    .payment-content h1{
        font-size: 36px;
        line-height: 1.1;
    }

    .payment-content p{
        font-size: 14px;
    }

}