:root {
    --scale: calc(100vw / 1440);
}

#hero {
    background-image: linear-gradient(rgba(0, 109, 184, 0.6), rgba(0, 109, 184, 0.6)), url("../img/pop/bg-hero.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: clip;

    .container {
        height: 100%;
        max-width: calc(var(--scale) * 1110);

        .row {
            height: 100%;

            .hero-content {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: start;
                gap: 56px;

                .hero-text {
                    display: flex;
                    flex-direction: column;
                    gap: 24px;

                    .hero-titles {
                        display: flex;
                        flex-direction: column;
                        align-items: start;
                        gap: 32px;

                        .hero-titles-text {
                            display: flex;
                            flex-direction: column;
                            gap: 16px;
                            align-items: start;

                            .hero-main-title {
                                font-weight: 800;
                                font-size: calc(var(--scale) * 58);
                                line-height: calc(var(--scale) * 67);
                                letter-spacing: calc(var(--scale) * 0);
                                color: #F5BE21;
                                margin: 0;
                                text-transform: uppercase;

                                span {
                                    font-weight: 900;
                                    font-size: calc(var(--scale) * 72);
                                    line-height: calc(var(--scale) * 67);
                                    color: white;
                                }
                            }

                            .hero-main-subtitle {
                                font-weight: 400;
                                font-size: calc(var(--scale) * 20);
                                line-height: calc(var(--scale) * 28);
                                letter-spacing: calc(var(--scale) * 0);
                                color: white;
                                margin: 0;
                            }
                        }
                    }

                    .hero-cards {
                        display: grid;
                        grid-template-columns: repeat(2, 1fr);
                        grid-template-rows: repeat(2, 1fr);
                        grid-column-gap: 24px;
                        grid-row-gap: 24px;

                        .hero-card {
                            display: flex;
                            align-items: center;
                            justify-content: start;
                            border: 1px solid #00CAFF33;
                            padding: 4px 16px 4px 4px;
                            gap: 12px;
                            border-radius: 12px;
                            background-color: #FFFFFF1A;

                            h2 {
                                font-weight: 600;
                                font-size: calc(var(--scale) * 16);
                                line-height: calc(var(--scale) * 16);
                                letter-spacing: calc(var(--scale) * 0);
                                color: white;
                                margin: 0;
                            }
                        }
                    }
                }

                .hero-buttons {
                    display: flex;
                    flex-direction: row;
                    justify-content: start;
                    gap: 12px;
                }
            }
        }
    }
}

#autonomia {
    background-color: white;
    padding-top: 0px;
    position: relative;
    overflow: clip;
    padding: 40px 0px;
    min-height: calc(52.8vw + 80px);
    display: flex;
    align-items: center;

    .corner-autonomia {
        position: absolute;
        top: -550px;
        left: -650px;
        z-index: 0;
    }

    .banner-autonomia {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translateY(-50%);
        width: 55%;
        height: auto;
        max-width: none;
        z-index: 1;
    }

    .container {
        position: relative;
        z-index: 2;
        max-width: calc(var(--scale) * 1110);
        .row {

            .autonomia-text {
                display: flex;
                flex-direction: column;
                gap: 24px;
                margin-left: 20px;

                .autonomia-titles {
                    display: flex;
                    flex-direction: column;
                    gap: 12px;
                    align-items: start;

                    h4 {
                        font-weight: 600;
                        font-size: calc(var(--scale) * 16);
                        line-height: calc(var(--scale) * 16);
                        letter-spacing: calc(var(--scale) * 2);
                        text-transform: uppercase;
                        color: #004C8F;
                        margin: 0;
                    }

                    h1 {
                        font-weight: 800;
                        font-size: calc(var(--scale) * 44);
                        line-height: calc(var(--scale) * 52);
                        letter-spacing: calc(var(--scale) * 0);
                        color: #006DB8;
                        margin: 0;
                    }
                }

                .autonomia-content {

                    p {
                        font-weight: 400;
                        font-size: calc(var(--scale) * 18);
                        line-height: calc(var(--scale) * 27);
                        letter-spacing: calc(var(--scale) * 0);
                        color: #3D3D3F;
                        margin: 0;
                    }
                }
            }
        }
    }
}

#primer-cuenta{
    background-color: white;
    padding-top: 0px;
    padding-bottom: 80px;
    position: relative;
    overflow: visible;
    z-index: 2;

    .primera-corner {
        position: absolute;
        bottom: -50px;
        left: -120px;
        width: calc(var(--scale) * 450);
        z-index: 1;
    }

    .container{
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        gap: 48px;
        max-width: calc(var(--scale) * 1110);
        
        .primera-titles {
            display: flex;
            flex-direction: column;
            gap: 24px;
            justify-content: center;

            .primera-main-titles{
                display: flex;
                flex-direction: column;
                gap: 12px;
                justify-content: center;

                h1 {
                    font-weight: 800;
                    font-size: calc(var(--scale) * 44);
                    line-height: calc(var(--scale) * 56);
                    letter-spacing: calc(var(--scale) * 0);
                    color: #006DB8;
                    margin: 0;
                    text-align: center;
                    
                    span {
                        font-weight: 800;
                    }
                }

                h4 {
                    font-weight: 600;
                    font-size: calc(var(--scale) * 16);
                    line-height: calc(var(--scale) * 16);
                    letter-spacing: calc(var(--scale) * 2);
                    text-align: center;
                    text-transform: uppercase;
                    color: #004C8F;
                    margin: 0;
                }
            }

            .primera-parr {
                p {
                    font-weight: 400;
                    font-size: calc(var(--scale) * 20);
                    line-height: calc(var(--scale) * 28);
                    text-align: center;
                    color: #3D3D3F;
                    margin: 0;
                }
            }
        }

        .primera-content {
            position: relative;
            z-index: 2;
            padding: 32px 16px 16px 16px;
            background: #F6FBFE;
            border: 1px solid #E8F2F9;
            border-radius: 24px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            .primera-content-title {
                font-weight: 700;
                font-size: calc(var(--scale) * 24);
                line-height: calc(var(--scale) * 100%);
                letter-spacing: calc(var(--scale) * 0);
                text-align: center;
                color: #004C8F;
                margin-bottom: 16px;

            }

            .nav-pills {
                margin-bottom: 32px;
                border: 1px solid #B0CFE3;
                border-radius: 48px;
                background: transparent;
                padding: 4px;
                gap: 8px;

                .nav-link {
                    font-weight: 400;
                    font-size: calc(var(--scale) * 17);
                    line-height: calc(var(--scale) * 22);
                    letter-spacing: calc(var(--scale) * -0.41);
                    color: #055185;
                    background-color: transparent;
                    border: none;
                    border-radius: 48px;
                    padding: 12px 48px;
                    transition: all 0.3s ease-in-out;
                    text-align: center;

                    &.active {
                        background-color: #006DB8;
                        color: white;
                    }
                }

            }

            .tab-content {
                width: 100%;
            }

            .tab-pane {
                display: none;
                flex-direction: row;
                gap: 12px;
                width: 100%;
                opacity: 0;
                transform: translateY(25px);
                transition: opacity 0.3s ease, transform 0.3s ease;

                &.active {
                    display: flex;
                }

                &.show {
                    opacity: 1;
                    transform: translateY(0);
                }

                .primera-card {
                    flex: 1;
                    display: flex;
                    flex-direction: column;
                    border: none;
                    border-radius: 16px;
                    padding: 24px;
                    background-color: white;
                    gap: 16px;
                    box-shadow: 0px 4px 8px 0px #DFE8F1;


                    img {
                        width: calc(var(--scale) * 48);
                        height: calc(var(--scale) * 48);
                    }

                    .card-text {
                        display: flex;
                        flex-direction: column;
                        gap: 8px;

                        h3 {
                            font-weight: 600;
                            font-size: calc(var(--scale) * 18);
                            line-height: calc(var(--scale) * 100%);
                            letter-spacing: calc(var(--scale) * 0);
                            color: #004C8F;
                            margin: 0;

                        }

                        p {
                            font-weight: 400;
                            font-size: calc(var(--scale) * 16);
                            line-height: calc(var(--scale) * 130%);
                            letter-spacing: calc(var(--scale) * 0);
                            color: #3D3D3F;
                            margin: 0;
                        }
                    }

                }
            }

        }
    }
    
}


#internacional {
    background-color: white;
    padding-top: 140px;
    padding-bottom: 120px;
    overflow-x: clip;
    position: relative;
    isolation: isolate;
    z-index: 1;

    .left-inter {
        position: absolute;
        bottom: -30%;
        left: 0;
    }

    .container {
        max-width: calc(var(--scale) * 1110);

        .row {
            position: relative;

            .internacional-content {
                position: relative;
                z-index: 2;
                display: flex;
                flex-direction: column;
                gap: 42px;

                .inter-titles {
                    display: flex;
                    flex-direction: column;
                    gap: 12px;
                    
                    h6 {
                        font-weight: 600;
                        font-size: calc(var(--scale) * 16);
                        line-height: calc(var(--scale) * 16);
                        letter-spacing: calc(var(--scale) * 2);
                        text-transform: uppercase;
                        color: #004C8F;
                        margin: 0;
                    }

                    h1 {
                        font-weight: 800;
                        font-size: calc(var(--scale) * 44);
                        line-height: calc(var(--scale) * 120%);
                        letter-spacing: calc(var(--scale) * 0);
                        color: #006DB8;
                        margin: 0;

                        span {
                            font-weight: 800;
                        }
                    }
                    
                }

                .inter-items {
                    display: flex;
                    flex-direction: column;
                    gap: 24px;

                    .inter-item {
                        display: flex;
                        flex-direction: row;
                        gap: 24px;

                        img {
                            width: calc(var(--scale) * 48);
                            height: calc(var(--scale) * 48);
                        }

                        .item-text {
                            display: flex;
                            flex-direction: column;
                            gap: 4px;

                            h6 {
                                font-weight: 700;
                                font-size: calc(var(--scale) * 16);
                                line-height: calc(var(--scale) * 16);
                                letter-spacing: calc(var(--scale) * 0);
                                color: #3D3D3F;
                                margin: 0;
                            }
                            p {
                                font-weight: 400;
                                font-size: calc(var(--scale) * 18);
                                line-height: calc(var(--scale) * 27);
                                letter-spacing: calc(var(--scale) * 0);
                                color: #3D3D3F;
                                margin: 0;
                            }
                        }
                        
                    }
                }
            }

            .inter-img-col {
                position: relative;
                z-index: 1;

                .inter-img {
                    position: absolute;
                    top: 50%;
                    transform: translateY(-50%);
                    left: calc(var(--scale) * 30);
                    max-width: none;
                    pointer-events: none;
                    z-index: 1;
                    width: 110%;
                }
            }
        }
    }
}

#info-util {
    padding: 120px 0px;
    position: relative;
    z-index: 3;
    background-color: #FAFAFA;

    .container {
        max-width: calc(var(--scale) * 1110);
    }

    .info-title {
        font-weight: 600;
        font-size: calc(var(--scale) * 36);
        line-height: calc(var(--scale) * 44);
        letter-spacing: calc(var(--scale) * 0);
        color: #3D3D3F;
    }

    .nav-pills {
        margin-bottom: 32px;
        border: 1px solid #E8E7E3;
        border-radius: 48px;
        background: white;
        padding: 4px;
        gap: 8px;
        width: fit-content;
        .nav-link {
            font-weight: 400;
            font-size: calc(var(--scale) * 17);
            line-height: calc(var(--scale) * 22);
            letter-spacing: calc(var(--scale) * -0.41);
            color: #3D3D3F;
            background-color: transparent;
            border: none;
            border-radius: 48px;
            padding: 12px 48px;
            transition: all 0.3s ease-in-out;
            text-align: center;
            &.active {
                background-color: #EDB106;
                color: white;
            }
        }
    }

    .tab-content {
        width: 100%;

        .tab-pane {
            opacity: 0;
            transform: translateY(25px);
            transition: opacity 0.3s ease, transform 0.3s ease;

            &.show {
                opacity: 1;
                transform: translateY(0);
            }
        }
    }

    #faqs,
    #faqs-hijos,
    #faqs-padres {

        .card {

            border-radius: 16px !important;
            overflow: hidden;

            .accordion-tittle {
                font-size: calc(var(--scale) * 18);
                line-height: calc(var(--scale) * 24);
                letter-spacing: calc(var(--scale) * 0);
            }

            .card-body{

                p {
                    font-weight: 400;
                    font-size: calc(var(--scale) * 18);
                    line-height: calc(var(--scale) * 24);
                    letter-spacing: calc(var(--scale) * 0);
                    color: #4F4F4F;
                }

                ul {
                    font-weight: 400;
                    font-size: calc(var(--scale) * 18);
                    line-height: calc(var(--scale) * 24);
                    letter-spacing: calc(var(--scale) * 0);
                    color: #4F4F4F;
                    

                    ::marker {
                        font-size: calc(var(--scale) * 14);
                    }
                }

                ol {
                    font-weight: 400;
                    font-size: calc(var(--scale) * 18);
                    line-height: calc(var(--scale) * 24);
                    letter-spacing: calc(var(--scale) * 0);
                    color: #4F4F4F;
                    
                }
            }
        }
    }
}

#abrir {
    background-image: linear-gradient(rgba(0, 109, 184, 0.6), rgba(0, 109, 184, 0.6)), url("../img/pop/bg-hero.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: clip;
    padding-top: 70px;
    padding-bottom: 100px;
    position: relative;

    .left-abrir {
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .right-abrir {
        position: absolute;
        right: 0;
        bottom: 0;
        height: 95%;
    }

    .container {
        max-width: calc(var(--scale) * 1110);

        .row {
            position: relative;

            .abrir-content {
                position: relative;
                z-index: 2;
                display: flex;
                flex-direction: column;
                gap: 36px;
                padding-top: 40px;

                .abrir-text {

                    img {
                        width: 300px;
                    }

                    .abrir-titles {
                        display: flex;
                        flex-direction: column;
                        gap: 18px;

                        .abrir-main-title {
                            font-weight: 800;
                            font-size: calc(var(--scale) * 58);
                            line-height: calc(var(--scale) * 64);
                            letter-spacing: calc(var(--scale) * 0);
                            color: #F5BE21;
                            margin: 0;

                            strong {
                                color: white;
                            }

                        }

                        
                    }
                }

                .abrir-main-subtitle {
                    padding: 24px 28px;
                    background-color: #006EB8AD;
                    border: 1px solid #00CAFF33;
                    border-radius: 12px;
                    font-weight: 400;
                    font-size: calc(var(--scale) * 18);
                    line-height: calc(var(--scale) * 27);
                    letter-spacing: calc(var(--scale) * 0);
                    color: white;
                    margin: 0;
                    width: fit-content;
                }

                .abrir-buttons {
                    display: flex;
                    flex-direction: row;
                    justify-content: start;
                    gap: 12px;
                }
            }

            .abrir-img-col {
                position: relative;
                z-index: 1;

                .cta-bg {
                    position: absolute;
                    top: 0;
                    left: calc(var(--scale) * -40);
                    max-width: none;
                    pointer-events: none;
                    width: 215%;
                }
            }
        }
    }
}

header {
    padding: 15px 0 15px !important;

    .navbar {
        padding: 0 !important;
    }
}

.scrollTopButton {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 0;
    margin: 35px;
    cursor: pointer;
    z-index: 999;
}
@media screen and (max-width: 575px) {
    .scrollTopButton {
        margin: 15px;
    }
    .img-scroll-top {
        width: 50px;
        height: 50px;
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 10px 0 10px !important;

        .navbar {
            padding: 0 10px !important;
        }
    }

    #hero {

        .container {
            max-width: unset;

            .row {

                .hero-content {
                    gap: 32px;
                    width: 100%;

                    .hero-text {
                        gap: 16px;
                        width: 100%;

                        .hero-titles {
                            gap: 18px;
                            width: 100%;

                            img {
                                width: 150px;
                                margin: auto;
                            }

                            .hero-titles-text {
                                width: 100%;

                                .hero-main-title {
                                    font-size: 48px;
                                    line-height: 56px;
                                    letter-spacing: 0px;
                                    text-align: center;
                                    width: 100%;

                                    span {
                                        font-size: 58px;
                                        line-height: 64px;
                                    }
                                }

                                .hero-main-subtitle {
                                    width: 100%;
                                    font-size: 18px;
                                    line-height: 27px;
                                    letter-spacing: 0px;
                                    text-align: center;
                                }

                            }

                            
                        }

                        .hero-cards {

                            grid-column-gap: 16px;
                            grid-row-gap: 16px;

                            .hero-card {

                                h2 {
                                    font-size: 14px;
                                    line-height: 14px;
                                    letter-spacing: 0px;
                                }
                            }
                        }
                    }
                }
            }

            .main-hero {
                max-width: 100%;
                height: auto !important;
            }

        }
    }

    #autonomia {

        padding: 60px 0;
        min-height: auto;
        display: block;

        .corner-autonomia {
            top: -65%;
            right: 0%;
        }

        .banner-autonomia {
            position: relative;
            left: auto;
            top: auto;
            transform: none;
            width: 100%;
            max-width: 100%;
            height: auto;
            margin: 0 auto 24px;
            display: block;
        }

        .container {
            max-width: unset;

            .row {
                margin: 0 10px;
                padding: 24px 0;

                background: rgba(255, 255, 255, 0.2);
                border-radius: 16px;
                box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
                backdrop-filter: blur(5px);
                -webkit-backdrop-filter: blur(5px);
                border: 1px solid rgba(255, 255, 255, 0.3);

                .autonomia-text {
                    margin: 0 10px;

                    .autonomia-titles {

                        h4 {
                            font-size: 14px;
                            line-height: 16px;
                            letter-spacing: 2px;
                        }

                        h1 {
                            font-size: 40px;
                            line-height: 44px;
                            letter-spacing: 0px;
                        }
                    }

                    .autonomia-content {
                        
                        p {
                            font-weight: 400;
                            font-size: 18px;
                            line-height: 27px;
                            letter-spacing: 0px;
                            color: #3D3D3F;
                            margin: 0;
                        }
                    }
                }
            }
        }        
    }
    
    #primer-cuenta{

        .primera-corner {
            bottom: 0px;
            left: -90px;
            width: unset;

        }

        .container {
            max-width: unset;

            .primera-titles {

                .primera-main-titles {

                    h4 {
                        font-size: 14px;
                        line-height: 14px;
                        letter-spacing: 2px;
                    }

                    h1 {
                        font-size: 40px;
                        line-height: 44px;
                        letter-spacing: 0px;
                    }
                }

                .primera-parr {
                    p {
                        font-size: 18px;
                        line-height: 27px;
                    }
                }
            }

            .primera-content {
                
                background: rgb(246,251,254,0.2);
                box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
                backdrop-filter: blur(5px);
                -webkit-backdrop-filter: blur(5px);

                .primera-content-title {
                    font-size: 24px;
                    line-height: 100%;
                    letter-spacing: 0px;
                }

                .nav-pills {

                    .nav-link {
                        padding: 12px 30px;
                        font-size: 17px;
                        line-height: 22px;
                        letter-spacing: -0.41px;
                    }
                }

                .tab-pane {
                    flex-direction: column;

                    .primera-card {
                        min-height: 180px;

                        img {
                            width: 48px;
                            height: 48px;
                        }

                        .card-text {
                            h3 {
                                font-size: 18px;
                                line-height: 100%;
                                letter-spacing: 0px;
                            }

                            p {
                                font-size: 16px;
                                line-height: 130%;
                                letter-spacing: 0px;
                            }
                        }
                    }
                }

            }
        }
        
    }

    #internacional {
        padding-top: 30px;
        padding-bottom: 30px;

        .internacional-bg-mobile {
            top: 0;
            left: -15%;
            z-index: -1;
            position: absolute;
            pointer-events: none;
        }

        .container {
            max-width: unset;

            .row {

                margin: 0 10px;
                padding: 24px 0;

                background: rgba(255, 255, 255, 0.2);
                border-radius: 16px;
                box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
                backdrop-filter: blur(5px);
                -webkit-backdrop-filter: blur(5px);
                border: 1px solid rgba(255, 255, 255, 0.3);

                .internacional-content {

                    .inter-titles {

                        h6 {
                            font-size: 14px;
                            line-height: 16px;
                            letter-spacing: 2px;
                        }

                        h1 {
                            font-size: 36px;
                            line-height: 44px;
                            letter-spacing: 0px;
                        }
                    }

                    .inter-items {
                        .inter-item {
                            .item-text {
                                h6 {
                                    font-size: 16px;
                                    line-height: 16px;
                                    letter-spacing: 0px;
                                }

                                p {
                                    font-size: 18px;
                                    line-height: 27px;
                                    letter-spacing: 0px;
                                }
                            }
                        }
                    }
                }

                .inter-img-col {
                    display: flex;
                    justify-content: center;

                    .inter-img {
                        position: static;
                        top: auto;
                        left: auto;
                        transform: none;
                        max-width: 100%;
                        height: auto;
                        display: block;
                    }
                }
            }
        }
    }

    #info-util {
        padding: 60px 0;

        .container {
            max-width: unset;
        }

        .info-title {
            font-size: 36px;
            line-height: 44px;
            letter-spacing: 0px;
        }
        
        .nav-pills {
            width: 100%;
            display: flex;
            flex-wrap: nowrap;

            .nav-item {
                flex: 1;

                .nav-link {
                    padding: 12px 0px;
                    width: 100%;
                    font-size: 17px;
                    line-height: 22px;
                    letter-spacing: -0.41px;
                }
            }
        }

        #faqs,
        #faqs-hijos,
        #faqs-padres {

            .card {

                .accordion-tittle {
                    font-size: 18px;
                    line-height: 24px;
                    letter-spacing: 0px;
                }

                .card-body {

                    p {
                        font-size: 18px;
                        line-height: 24px;
                        letter-spacing: 0px;
                    }

                    ul {
                        font-size: 18px;
                        line-height: 24px;
                        letter-spacing: 0px;

                        ::marker {
                            font-size: 14px;
                        }
                    }

                    ol {
                        font-size: 18px;
                        line-height: 24px;
                        letter-spacing: 0px;
                    }
                }
            }
        }
    }

    #abrir {
        padding-bottom: 80px;
        padding-top: 0px;

        .container {
            max-width: unset;

            .row {

                .abrir-content {
                    padding-top: 60px;

                    .abrir-text {
                        
                        .abrir-titles {

                            img {
                                width: 200px;
                                margin: auto;
                            }

                            .abrir-main-title {
                                font-size: 40px;
                                line-height: 44px;
                                letter-spacing: 0px;
                                text-align: center;
                            }
                        }
                    }

                    .abrir-main-subtitle {
                        font-size: 18px;
                        line-height: 27px;
                        letter-spacing: 0px;
                    }

                }
            }
        }
    }
}