/* =====================================================
   SECCIÓN RECARGAS
===================================================== */

.recharge-section {
    position: relative;
    min-height: 720px;
    overflow: hidden;

    border: 2px solid #526fd6;
    border-radius: 34px;

    background:
        url("../assets/images/recargas/recharge-background.jpg")
        center / cover no-repeat;

    color: #fff;

    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.35);
}


/* =====================================================
   OSCURECIMIENTO DEL FONDO
===================================================== */

.recharge-section__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(2, 3, 18, 0.88) 0%,
            rgba(3, 4, 18, 0.72) 38%,
            rgba(3, 4, 18, 0.28) 68%,
            rgba(3, 4, 18, 0.22) 100%
        );

    pointer-events: none;
}


/* =====================================================
   CONTENIDO
===================================================== */

.recharge-section__content {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    align-items: end;

    min-height: 720px;
    background-image: url("../assets/images/sinpe-back.jpg");
    background-size: cover;
}


/* =====================================================
   TEXTO
===================================================== */

.recharge-section__copy {
    align-self: center;

    max-width: 620px;
    padding: 70px 30px 70px 70px;

    text-align: center;
}

.recharge-section__eyebrow {
    margin: 0 0 18px;

    color: #fff;

    font-size: clamp(1.6rem, 2.4vw, 2.6rem);
    font-weight: 300;
    line-height: 1;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.recharge-section__copy h2 {
    margin: 0 auto;

    max-width: 600px;

    color: #fff;

    font-size: clamp(1.2rem, 1.7vw, 1.8rem);
    font-weight: 800;
    line-height: 1.35;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.recharge-section__description {
    margin: 10px auto 0;

    max-width: 500px;

    color: rgba(255, 255, 255, 0.95);

    font-size: clamp(1rem, 1.3vw, 1.3rem);
    font-weight: 700;
    line-height: 1.4;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* =====================================================
   MÉTODO SINPE
===================================================== */

.recharge-method {
    display: grid;
    place-items: center;

    width: 230px;
    height: 230px;

    margin: 34px auto 0;

    overflow: hidden;

    border: 4px solid #3db0e5;
    border-radius: 50%;

    background: #fff;

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.4),
        0 0 22px rgba(61, 176, 229, 0.16);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        filter 0.35s ease;
}

.recharge-method img {
    display: block;

    width: 82%;
    height: 82%;

    object-fit: contain;

    transition: transform 0.35s ease;
}

.recharge-method:hover {
    transform: translateY(-6px) scale(1.03);

    filter: brightness(1.04);

    box-shadow:
        0 20px 38px rgba(0, 0, 0, 0.48),
        0 0 30px rgba(61, 176, 229, 0.24);
}

.recharge-method:hover img {
    transform: scale(1.05);
}


/* =====================================================
   MASCOTA
===================================================== */

.recharge-section__character {
    position: relative;

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

    align-self: stretch;

    min-width: 0;
}

.recharge-section__character img {
    display: block;

    width: min(100%, 810px);
    max-height: 690px;

    object-fit: contain;
    object-position: bottom center;

    filter:
        drop-shadow(0 20px 28px rgba(0, 0, 0, 0.35));
}


/* =====================================================
   DESKTOP INTERMEDIO
===================================================== */

@media (max-width: 1400px) {

    .recharge-section {
        min-height: 620px;
    }

    .recharge-section__content {
        min-height: 620px;
        grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
    }

    .recharge-section__copy {
        padding-left: 45px;
        padding-right: 20px;
    }

    .recharge-method {
        width: 205px;
        height: 205px;
    }

    .recharge-section__character img {
        max-height: 590px;
    }

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1024px) {

    .recharge-section {
        min-height: 760px;
        border-radius: 28px;

        background-position: center;
    }

    .recharge-section__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(2, 3, 18, 0.88) 0%,
                rgba(2, 3, 18, 0.66) 48%,
                rgba(2, 3, 18, 0.32) 100%
            );
    }

    .recharge-section__content {
        grid-template-columns: 1fr;
        min-height: 760px;
    }

    .recharge-section__copy {
        position: relative;
        z-index: 3;

        max-width: 680px;
        padding: 55px 30px 0;

        margin-inline: auto;
    }

    .recharge-section__character {
        margin-top: -30px;
    }

    .recharge-section__character img {
        width: min(92%, 660px);
        max-height: 500px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .recharge-section {
        min-height: 690px;
        border-width: 2px;
        border-radius: 24px;
    }

    .recharge-section__content {
        min-height: 690px;
    }

    .recharge-section__copy {
        padding: 38px 18px 0;
    }

    .recharge-section__eyebrow {
        margin-bottom: 14px;

        font-size: 1.55rem;
        letter-spacing: 0.14em;
    }

    .recharge-section__copy h2 {
        font-size: 1rem;
        letter-spacing: 0.08em;
    }

    .recharge-section__description {
        max-width: 390px;

        font-size: 0.92rem;
        letter-spacing: 0.06em;
    }

    .recharge-method {
        width: 170px;
        height: 170px;

        margin-top: 24px;

        border-width: 3px;
    }

    .recharge-section__character {
        align-items: flex-end;

        margin-top: -5px;
    }

    .recharge-section__character img {
        width: min(115%, 560px);
        max-width: none;
        max-height: 410px;
    }

}


/* =====================================================
   MÓVIL PEQUEÑO
===================================================== */

@media (max-width: 430px) {

    .recharge-section {
        min-height: 620px;
    }

    .recharge-section__content {
        min-height: 620px;
    }

    .recharge-section__copy {
        padding-inline: 14px;
    }

    .recharge-section__eyebrow {
        font-size: 1.35rem;
    }

    .recharge-section__copy h2 {
        font-size: 0.9rem;
    }

    .recharge-section__description {
        font-size: 0.8rem;
    }

    .recharge-method {
        width: 145px;
        height: 145px;
    }

    .recharge-section__character img {
        width: 125%;
        max-height: 350px;
    }

}


/* =====================================================
   ACCESIBILIDAD
===================================================== */

.recharge-method:focus-visible {
    outline: 4px solid #ffd000;
    outline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {

    .recharge-method,
    .recharge-method img {
        transition: none;
    }

}