/* =========================================================
   HOW IT WORKS
   ========================================================= */


.how-it-works-page {
    width: 92%;
    max-width: 1100px;

    margin: 0 auto;

    padding:
            70px
            0
            90px;
}


/* =========================================================
   HERO
   ========================================================= */

.how-hero {
    max-width: 800px;

    margin:
            0
            auto
            70px;

    text-align: center;
}


.how-hero .hero-eyebrow {
    margin-bottom: 12px;
}


.how-hero h1 {
    margin: 0;

    font-size:
            clamp(
                    42px,
                    7vw,
                    78px
            );

    font-weight: 900;

    letter-spacing: -2px;

    line-height: 1;
}


.how-intro {
    max-width: 650px;

    margin:
            24px
            auto
            0;

    color: #999;

    font-size: 18px;

    line-height: 1.7;
}


/* =========================================================
   PASOS
   ========================================================= */

.how-steps {
    display: grid;

    grid-template-columns:
            repeat(
                    2,
                    minmax(0, 1fr)
            );

    gap: 20px;

    margin-bottom: 75px;
}


.how-step {
    position: relative;

    min-height: 270px;

    padding: 34px;

    background:
            linear-gradient(
                    145deg,
                    #111,
                    #080808
            );

    border:
            1px solid
            rgba(
                    255,
                    255,
                    255,
                    0.10
            );

    border-radius: 16px;

    transition:
            transform 0.2s ease,
            border-color 0.2s ease,
            background 0.2s ease;
}


.how-step:hover {
    transform:
            translateY(-3px);

    border-color:
            rgba(
                    255,
                    215,
                    0,
                    0.40
            );

    background:
            linear-gradient(
                    145deg,
                    #15130a,
                    #090909
            );
}


.how-step-number {
    display: block;

    margin-bottom: 24px;

    color: gold;

    font-size: 14px;
    font-weight: 900;

    letter-spacing: 2px;
}


.how-step h2 {
    margin:
            0
            0
            16px;

    font-size: 22px;

    line-height: 1.2;
}


.how-step p {
    margin: 0;

    color: #999;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   EXPLICACIÓN ADICIONAL
   ========================================================= */

.how-details {
    max-width: 780px;

    margin:
            0
            auto
            75px;

    padding:
            48px
            42px;

    background:
            rgba(
                    255,
                    255,
                    255,
                    0.025
            );

    border:
            1px solid
            rgba(
                    255,
                    255,
                    255,
                    0.09
            );

    border-radius: 16px;
}


.how-details h2 {
    margin:
            0
            0
            26px;

    color: gold;

    text-align: center;

    font-size:
            clamp(
                    24px,
                    4vw,
                    34px
            );

    line-height: 1.2;
}


.how-details p {
    margin:
            0
            0
            18px;

    color: #aaa;

    font-size: 16px;

    line-height: 1.75;
}


.how-details p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   CTA
   ========================================================= */

.how-cta {
    text-align: center;
}


.how-cta p {
    margin:
            0
            0
            20px;

    color: #888;

    font-size: 16px;
}


.how-cta-button {
    min-height: 50px;

    padding:
            0
            28px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    background: gold;

    color: #000;

    border:
            1px solid gold;

    border-radius: 6px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 1.2px;

    transition:
            transform 0.2s ease,
            background 0.2s ease,
            border-color 0.2s ease;
}


.how-cta-button:visited {
    color: #000;
}


.how-cta-button:hover {
    background: #ffe44d;

    border-color: #ffe44d;

    color: #000;

    transform:
            translateY(-2px);

    text-decoration: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {

    .how-it-works-page {
        padding-top: 50px;
    }


    .how-hero {
        margin-bottom: 50px;
    }


    .how-steps {
        grid-template-columns: 1fr;
    }


    .how-step {
        min-height: auto;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .how-it-works-page {
        width: 94%;

        padding:
                38px
                0
                65px;
    }


    .how-hero {
        margin-bottom: 40px;
    }


    .how-hero h1 {
        font-size:
                clamp(
                        38px,
                        13vw,
                        56px
                );

        letter-spacing: -1px;
    }


    .how-intro {
        margin-top: 18px;

        font-size: 15px;

        line-height: 1.6;
    }


    .how-steps {
        gap: 14px;

        margin-bottom: 50px;
    }


    .how-step {
        padding: 26px;

        border-radius: 13px;
    }


    .how-step-number {
        margin-bottom: 18px;
    }


    .how-step h2 {
        font-size: 19px;
    }


    .how-step p {
        font-size: 14px;
    }


    .how-details {
        margin-bottom: 50px;

        padding:
                32px
                24px;
    }


    .how-details h2 {
        margin-bottom: 22px;
    }


    .how-details p {
        font-size: 14px;

        line-height: 1.7;
    }


    .how-cta-button {
        width: min(100%, 300px);
    }

}