/* Font Scheme
--------------------------------------------------*/

@font-face {
    font-family: pfbeausans;
    src: url(https://assets.ctfassets.net/ex6ts2p2j0ib/1GoyWTxLZkGbwpcprnxqYg/914560d14b4ecd0eedada6006ee00285/pfbeausanspro-reg-webfont.be8262f6f93a8b345acd.woff2) format("woff2"), 
        url(pfbeausanspro-reg-webfont.5d2c4f8abfd0032f703a.woff) format("woff");
    font-weight: 400;
    font-style: normal
}
@font-face {
    font-family: pfbeausans;
    src: url(https://assets.ctfassets.net/ex6ts2p2j0ib/7vY7FhwrNpFv1YfsTNFaxv/fa282fc300bcd6976cc60e9b95f11e40/pfbeausanspro-bold-webfont.4870f99dd015ac639421.woff2) format("woff2"), 
        url(pfbeausanspro-bold-webfont.e679be30f4d968c50683.woff) format("woff");
    font-weight: 700;
    font-style: normal
}
@font-face {
    font-family: pfbeausans;
    src: url(https:////assets.ctfassets.net/ex6ts2p2j0ib/7tV8rat3kH1unSIdopEkLI/6278810834e37b8c64c83ad3c262b849/pfbeausanspro-thin-webfont.78b53d9b7ecdf6e3ae35.woff2) format("woff2"), 
        url(pfbeausanspro-thin-webfont.bb61709ffb1f5154aff0.woff) format("woff");
    font-weight: 300;
    font-style: normal
}

@import url('https://fonts.googleapis.com/css2?family=Maven+Pro:wght@400;500;700;900&display=swap');

/*End of Typo Scheme
--------------------------------------------------*/

/* Color Scheme
--------------------------------------------------*/
:root{
    --main-green: #3dae2b;
    --main-green--10: #eaf4e6;
    --neutral-black-80: #3f3f3f;
    --cool-gray-1c: #d9d8d6;
    --cool-gray-1c--10: #f9f9f9;
    --c192c: #eb0045;
}

/*End of Color Scheme
-------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    scroll-behavior: smooth !important;
}

ul,
ol {
    list-style: none;
    margin-left: 0;
    padding: 0;
}


button {
    width: 100%;
    max-width: 380px;
    height: 56px;
    margin: 0 auto;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    font-size: 1rem;
    border-radius: 6px;
    transition: all .3s ease;
    background: var(--main-green);
    color: #fff;
    border-radius: 128px;
}

button:hover {
    background-color: #5eb64f;
}

button a {
    color: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

button a:hover {
    color: #fff;
}

section {
    margin: 0 auto;
}


.special-character{
    font-family: 'Maven Pro', Arial, Helvetica, sans-serif;
}

.main-content {
    width: 80%;
    margin: 0 auto 4em;
}

.main__intro,
.main__bench,
.main__payroll,
.main__profits,
.main__deposit,
.main__account-opening,
.main__digital-service,
.main__other  {
    margin-top: 4rem;
}

.intro__heading,
.bench__heading,
.payroll__heading,
.profits__heading,
.deposit__heading,
.account-opening__heading,
.digital-service__heading,
.other__heading {
    text-align: center;
}


.main__banner{
    background-image: url(https://images.ctfassets.net/ex6ts2p2j0ib/19oXnL544vLmNIqsGtCVEj/1b83b1e8eeb87c82626af2ae7b9a23a6/cuenta-plus__main-banner--mobile.webp);
    background-position: center -5vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #d9d8d6;
    min-height: 500px;
    margin: 0 auto;
    border-radius: 2rem;
    overflow: hidden;
    display: flex;
    justify-content: end;
    flex-wrap: nowrap;
    flex-direction: column;
}

.banner__content {
    padding: 1.5rem 1rem 2rem;
    height: 30%;
    border-radius: 1rem;
    background: hsla(0, 0%, 0%, 0.3);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.banner__heading{
    font-size: 1.75rem;
    line-height: 2.2rem;
    letter-spacing: -.02rem;
    font-weight: 400 !important;
    color: #fff;
}

.banner__ph {
    font-size: 1.25rem;
    line-height: 1.875rem;
    letter-spacing: -.01em;
    text-align: left;
    color: #fff;
    margin-top: 8px;
    text-wrap: pretty;
}

.banner__anchor:hover {
    color: #fff;
}

.main__intro {
    margin-top: 3em;
}


.intro__ph,
.account-opening__ph {
    margin-top: 1em;
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.5;
}

.main__bench {
    -webkit-position: relative;
    -moz-position: relative !important;
    -ms-position: relative;
    -o-position: relative;
    position: relative;
}

.slider-button-container {
    width: 120%;
    height: 40px;
    display: flex;
    justify-content: space-between;
    -webkit-position: sticky;
    -moz-position: sticky !important;
    -ms-position: sticky;
    -o-position: sticky;
    position: sticky;
    top: 60%;
    transform: translateX(-8%);
    z-index: 3;
}

.slider__input {
    display: none;
    visibility: hidden;
    opacity: 0;
}

.slider__button {
    width: 40px;
}

.bench-container {
    height: fit-content !important;
    -moz-position: relative !important;
    -webkit-position: relative;
    -ms-position: relative;
    -o-position: relative;
    position: relative;
    left: 0 !important;
    transition: all .3s ease-in-out;
}

.bench__benefits-card {
    background-color: #fff;
    width: 100%;
    min-width: 286px;
    padding-bottom: 1rem;
    background-clip: padding-box;
    border: solid 2px transparent;
    border-radius: 24px;
    -webkit-position: relative;
    -moz-position: relative !important;
    -ms-position: relative;
    -o-position: relative;
    position: relative;
    transition: all .5s ease-in-out;
    justify-content: top;
    flex-direction: column;
    
    &:before {
        content: '';
        -webkit-position: absolute;
        -moz-position: absolute !important;
        -ms-position: absolute;
        -o-position: absolute;
        position: absolute;
        top: 0; 
        right: 0; 
        bottom: 0; 
        left: 0;
        z-index: -1;
        margin: -2px;
        border-radius: inherit;
        background: linear-gradient(
            to top, 
            #3da23b,
            #fff
        );
    }
}

.bench__benefits-card {
    display: none;
    visibility: hidden;
    opacity: 0;
}

#left-input:checked ~ .bench-radio-container label[for='left-input'] .bench-radio,
#right-input:checked ~ .bench-radio-container label[for='right-input'] .bench-radio {
    background-color: var(--main-green);
}

#left-input:checked ~ .slider-button-container label[for='left-input'] img,
#right-input:checked ~ .slider-button-container label[for='right-input'] img{
    opacity: .2;
}

#left-input:checked ~ .bench-container .bench__benefits-card:first-child,
#right-input:checked ~ .bench-container .bench__benefits-card:last-child {
    display: flex;
    visibility: visible;
    opacity: 1;
}


#left-input:checked ~ .bench-container .bench__benefits-card:first-child .benefits-card__button,
#right-input:checked ~ .bench-container .bench__benefits-card:last-child .benefits-card__button {
    display: block;
}

#right-input:checked ~ .bench__disclaimer {
    display: block;
    opacity: 1;
    visibility: visible;
}

.benefits-card__header {
    border-radius: 24px 24px 0 0;
    background-color: #d9d8d6;
    padding-right: 1em;
    height: 200px;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

    p.benefits-card__subheading {
        font-size: 11px;
    }

.heading-empty {
    width: 10%;
    order: 0;
}

.heading-container{
    width: 50%;
    order: 1;
}

.benefits-card__header {
    background-position: -12vw top;
    background-size: cover;
    background-repeat: no-repeat;
}

.bench__benefits-card:nth-of-type(1) .benefits-card__header {
    background-image: url(https://images.ctfassets.net/ex6ts2p2j0ib/zcg6c9GHHqs9Vu7XybVgD/2237a529fac49b92593be8fdf9448f85/cuenta-estandar__banner.webp);
}

.bench__benefits-card:nth-of-type(2) .benefits-card__header {
    background-image: url(https://images.ctfassets.net/ex6ts2p2j0ib/6asY1b7r2p0HReM9CNH9U5/e36975ad6f942112d6808be793e6906b/cuenta-plus__banner.webp);
}

.benefits-card__header-image  {
    height: 100%;
    width: auto !important;
    position: relative;
    transform: translateX(20px);
}

.benefits-card__content {
    margin: 1rem 0 0 0;
    padding: 0 12px;
}

.benefits-card__heading {
    font-size: 18px;
}

.benefits-card__subheading,
.benefits-card__list-heading,
.benefits-card__list-ph {
    font-size: 1rem;
}

.benefits-card__list-heading{
    font-weight: 700;
}

.benefits-card__list {
    margin: 2rem 0 0 0;
    padding: 0;
}

.benefits-card__list-item {
    margin: .5rem 0 0 0;
    display: flex;
    flex-wrap: nowrap;
    gap: .5rem;
}

.benefits-card__list-icon-container {
    width: 5%;
}

.benefits-card__list-icon {
    display: block;
    min-width: 10px;
    max-width: 15px;
    margin-top: .5rem;
}

.benefits-card__list-info {
    width: 90%;
}

.benefits-card__button {
    width: 85%;
    display: none;
    margin: 1rem auto 0;
    -webkit-position: relative;
    -moz-position: relative !important;
    -ms-position: relative;
    -o-position: relative;
    position: relative;
    bottom: 0 !important;
}

.benefits-card__button a:hover{
    color: #fff;
}

.bench__disclaimer {
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: all 3s ease-in-out;
    position: relative;
    z-index: 4;
    background-color: #fff;
    padding: 0 1em;
}

.bench-radio-container {
    max-width: 70px;
    margin: 1rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 3;
}

.bench-radio {
    width: 20px;
    height: 20px;
    border: solid 1px var(--cool-gray-1c--10);
    background-color: hsla(112, 60%, 43%, .3);
    border-radius: 50%;
    cursor: pointer;
}

.payroll__content,
.profits__content,
.deposit__content,
.account-opening__content,
.digital-service__content,
.other__content {
    margin-top: 2rem;
    min-height: 420px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 5%;
}

.banner-50__image-container {
    background-color: #f9f9f9;
    width: 100%;
    min-height: 248px;
    border-radius: 24px;
    overflow: hidden;
    order: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-50__image {
    width: auto;
    height: 100%;
    max-height: 248px;
}

.banner-50__text {
    width: 100%;
    margin: 2em auto 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 2;
}

.main__payroll {
    margin-top: 2rem;
}

.deposit__content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.deposit__card {
    width: 100%;
    max-width: 352px;
    padding: 32px 24px;
    background-color: #f5f7f9;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-container {
    height: 100%;
    min-height: 322px;
}

.deposit__card-header {
    height: 20%;
    min-height: 200px;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.deposit__card-heading {
    font-size: 1rem;
    text-align: center;
    line-height: 1.5;
}

.deposit__card-list-ph {
    font-size: 1rem;
}

/*=====================================================================================================================
=                                                      Media Queries                                                  =
=====================================================================================================================*/

/* mobile */
@media only screen and (max-width: 480px) {
    .banner__content {
        width: 100%;
    }
}

/* Tablet */
@media only screen and (min-width: 1200px) {
    section {
        max-width: 1366px;
    }

    button {
        margin: 0;
    }
    
    .main__banner{
        background-image: url(https://images.ctfassets.net/ex6ts2p2j0ib/mnmJYEdi8UoP2gX2jdwur/5974240356a6f5b8ad4e35c4998159a5/cuenta-plus__main-banner--desktop.webp);
        background-position: 75% top;
    }

    .banner__content {
        width: 50%;
        padding: 80px 48px 80px 64px;
    }

    .banner__bg {
        height: 60vw;
        -webkit-position: absolute;
        -moz-position: absolute !important;
        -ms-position: absolute;
        -o-position: absolute;
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        background-color: #f4f7f9;
        z-index: -1;
        transition: all 1s ease-in;
    }
    

    .banner__heading{
        font-size: 3.5em;
        font-weight: 500 !important;
        line-height: 78.4px;
        letter-spacing: -.02em;
    }

    
    .banner__ph {
        font-size: 2rem;
        line-height: 3rem;
    }
    
    .banner__btn {
        margin: 0;
        max-width: 300px;
    }
    
    .bench-radio-container,
    .slider-button-container {
        display: none;
        visibility: hidden;
        opacity: 0;
    }
    
    .benefits-card__header {
        background-position: left top;
        padding-left: 2em;
    }

    .benefits-card__header-image  {
        width: 100% !important;
        height: unset;
        position: relative;
        transform: translateX(0);
    }
    .bench__benefits-card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .bench__benefits-card{
        display: flex;
        flex-direction: column;
        min-height: 1050px;
        -webkit-position: relative;
        -moz-position: relative !important;
        -ms-position: relative;
        -o-position: relative;
        position: relative;
        width: 45%;
    }

    article.bench__benefits-card:first-child {
        left: unset !important;
        visibility: visible;
        opacity: 1;
    }
    
    article.bench__benefits-card:last-child {
        right: unset !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .bench-container {
        display: flex;
        flex-wrap: nowrap;
        height: unset;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: flex-start;
        gap: 0;
    }

    .benefits-card__button {
        display: block;
    }

    .bench__disclaimer{
        width: 85%;
        margin: 0 auto;
        margin-top: 1rem;
        text-align: center;
        display: block;
        visibility: visible;
        opacity: 1;
        padding: 0;
        background-color: unset !important;
    }

    .payroll__content,
    .profits__content,
    .deposit__content,
    .account-opening__content,
    .digital-service__content,
    .other__content {
        flex-direction: row;
        min-height: 420px;
        flex-wrap: wrap;
        gap: 5%;
    }

    .banner-50__image-container {
        width: 47.5%;
        min-width: 358px;
        border-radius: 24px;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .banner-50__image {
        width: auto;
        max-height: 420px;
    }

    .banner-50__text {
        width: 47.5%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .left-content .banner-50__image-container,
    .right-content .banner-50__text  {
        order: 2;
    }

    .right-content .banner-50__image-container,
    .left-content .banner-50__text {
        order: 1;
    }

    .deposit__content {
        gap: 3%;
    }

    .deposit__card {
        width: 30%;
        min-height: 600px;
    }
}

/* Desktop large */
@media only screen and (min-width: 1900px) {
    .banner__heading{
        font-size: 3.5em;
        font-weight: 500 !important;
        line-height: 78.4px;
        letter-spacing: -.02em;
    }

    .banner__bg {
        height: 63vh;
    }

    .banner__ph {
        font-size: 2rem;
        line-height: 3rem;
    }

    .banner__btn {
        margin: 0;
        max-width: 300px;
    }

    .bench__benefits-card{
        min-height: 990px;
    }

    .deposit__card {
        min-height: 550px;
    }

    .banner-50__image {
        width: 100%;
        height: auto;
        max-height: fit-content;
    }

    .heading-container {
        width: 60%;
    }

    .benefits-card__heading {
        font-size: 2rem;
    }

    .benefits-card__subheading {
        font-size: 1.25rem;
    }
}

/* Desktop ultra large */
@media only screen and (min-width: 2160px) {
    .banner__bg {
        height: 48vh;
    }

    div.col-9.col-md-3.col-lg-3.my-0.mx-auto {
        width: 50% !important;
        margin: 0 auto !important;
    }

    img.img-fluid {
        display: block !important;
        margin: 0 auto !important;
        max-width: 300px;
    }
}

/* =========================================== of Media  Queries ==================================================== */