@font-face {
    font-family: 'DMSans';
    font-weight: 100 900;
    src: url("/content/dam/multibrand/chile/es/oncologia/qure/src/dmsans-variablefont-opsz-wght.ttf");
}

:root {
    font-size: 10px;
    --white: #fff;
    --black: #000000;
    --green: #01DCBE;
    --orange: #FF7869;
    --grey: #9EA3A8;
    --light-gray: #ececec;
    --dark-blue: #0a1823;
    --light-dark-blue: #0b1b28;
    --blue: #0f2232;
    --promomats: #3F4444;
    --dmsans: 'DMSans', sans-serif !important;
    --regular: 400;
    --medium: 500;
    --semibold: 600;
    --bold: 700;
    --size-body: 1.8rem;
    --size-body-s: 1.6rem;
    --size-heading: 5rem;
    --size-heading-s: 4rem;
    --size-subheading: 3.2rem;
    --size-subheading-s: 2.6rem;
    --size-subheading2: 2.6rem;
    --size-subheading2-s: 2.0rem;
    --size-hightext: 2.4rem;
    --size-hightext-s: 2rem;
    --size-extras: 1.4rem;
    --size-extras-s: 1.2rem;
    --size-spacing: 3.5rem;
    --size-spacing-s: 2.5rem;
    --size-stats: 5.2rem;
    --size-stats-s: 4.2rem;
    --line-height: 1.4;
    --line-height-header: 1;
}


.container-fluid.middle-content {
    padding: 0 !important
}

.boton-header {
    padding: 1rem 2rem;
    background: var(--light-gray);
    border-radius: 3rem;
    display: flex;
    justify-content: center;
    gap: 30px;
    width: fit-content;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(calc(-100% + -40px));
    z-index: 2;

    a {
        font-weight: var(--bold) !important;
        text-decoration: none !important;
        display: inline-block;
        transition: .3s;
        color: var(--grey);

        &:hover {
            color: var(--orange)
        }
    }

    @media screen and (max-width: 767px) {
        transform: translateX(-50%) translateY(calc(-100% + -30px));
    }
}

/* Custom */

body.qureai-page {
    width: 100%;
    font-family: var(--dmsans);
    color: var(--black-body);
    font-weight: var(--medium);
    overflow-wrap: break-word;
    word-wrap: break-word;
    line-height: var(--line-height);

    @media screen and (max-width: 767px) {
        margin-top: 50px !important;
    }
}

.az-container {
    max-width: 1200px;
    margin: 0 auto;
}

.qureai-page h1 {
    font-size: var(--size-heading);
    font-family: var(--dmsans);
    line-height: var(--line-height-header);
    color: var(--black);
    font-weight: var(--bold);
    color: var(--black);
}

.qureai-page h2 {
    font-size: var(--size-subheading);
    font-family: var(--dmsans);
    font-weight: var(--bold);
    line-height: var(--line-height);
    color: var(--black);
}

.qureai-page h3 {
    font-family: var(--dmsans);
    font-weight: var(--bold);
    line-height: var(--line-height);
}

.qureai-page .regular {
    font-weight: var(--regular);
}

.qureai-page .bold {
    font-weight: var(--bold);
}

.qureai-page .orange-text {
    color: var(--orange);
}

.qureai-page .white-text {
    color: var(--white);
}

.qureai-page .green-text {
    color: var(--green);
}

.qureai-page .gray-text {
    color: var(--grey);
}

#header-main {
    background-color: var(--dark-blue);
    padding: 0;

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        line-height: var(--line-height-1-25);
        padding: 15px;
        flex: 1;

        .logo-header {
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;

            img {
                height: 100%;
                object-fit: cover;
                max-width: 100px;
            }

            @media (min-width: 768px) and (max-width: 1280px) {
                max-width: 150px;
                min-width: 150px;
            }
        }

        .boton-contacto {
            display: flex;
            display: none;

            a {
                color: var(--orange);
                text-decoration: none;
                font-family: var(--dmsans);
                font-weight: var(--bold);
                padding: 20px 40px;
                border: 2px solid var(--orange);
                border-radius: 200px;
                font-size: var(--size-body-s);
                transition: all 0.3s ease-in;

                &:hover {
                    color: var(--white);
                    background-color: var(--orange);
                    transition: all 0.3s ease-out;
                }
            }
        }

        @media (max-width: 768px) {
            width: 100%
        }
    }

}

/* Banner Section */
.qureai-page #main-banner {
    background-color: var(--blue);
    height: auto;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: 40px;

    .logo-header {
        max-width: 600px;
        padding-top: 25rem;
    }

    p {
        font-size: var(--size-hightext);
        font-weight: var(--bold);
        color: var(--green);

        @media screen and (min-width: 767px) {
            font-size: var(--size-hightext-s);
        }
    }

    .hero-container {
        background: url(/content/dam/multibrand/chile/es/oncologia/qure/img/banner-bg-main.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 1;
        min-height: 500px;
        padding: 40px;
        border-radius: 30px 30px 0 0;
        position: relative;

        .row {
            display: flex;
            flex-wrap: wrap;
            min-height: 500px;

            .column-1 {
                display: flex;
                position: static;

                .rte-node {
                    height: 100%;
                    flex-direction: column;
                    display: flex;
                    justify-content: flex-start;
                    padding-top: 20px;

                    .header-text {
                        img {
                            max-width: 150px;
                            padding-left: 10px;
                        }
                    }
                }

                @media screen and (min-width: 767px) {
                    width: 40%;
                }
            }

            .column-2 {
                @media screen and (min-width: 767px) {
                    width: 60%;
                }
            }

            .newImage {
                height: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
                z-index: -1;

                img.new-image-desktop {
                    max-width: 700px;
                }

                @media screen and (max-width: 767px) {
                    padding-top: 40px;
                }
            }

            @media screen and (max-width: 767px) {
                padding-bottom: 50px;
            }
        }

        @media screen and (max-width: 767px) {
            padding: 20px;
        }
    }

    .stats-section {
        background-color: var(--white);
        margin: 0;
        padding: 40px 70px;
        border-radius: 30px;
        margin-top: -20px;
        z-index: 2;

        p {
            color: var(--black);
            font-weight: var(--regular);
            font-size: var(--size-body-s);

            @media screen and (max-width: 767px) {
                font-size: var(--size-extras);
                padding-bottom: 20px;
            }
        }

        h3 {
            font-size: var(--size-stats);
            color: var(--orange);
            font-weight: var(--bold);
            margin: 0;
            text-align: left;

            @media screen and (max-width: 767px) {
                font-size: var(--size-stats-s);
            }
        }

        @media screen and (max-width: 767px) {
            padding: 20px 30px;
            margin-top: 0;
        }
    }
}

.qureai-page #gestion-section {
    background-color: var(--blue);
    overflow-x: clip;
    p {
        font-size: var(--size-body);
        font-weight: var(--regular);
        color: var(--black);
    }

    h2 {
        font-weight: var(--regular);
        color: var(--white);
        text-align: center;
    }

    .gestion-section-container {
        .row {
            padding-top: 10rem;
            padding-bottom: 10rem;

            div.col-sm-4 {
                padding: 0;

                .dynamicText {
                    position: absolute;
                    z-index: 1;
                    left: 50%;
                    transform: translate(-50%, -20px);

                    @media screen and (min-width: 767px) and (max-width: 1200px) {
                        left: unset;
                        transform: translateY(-60px);
                        padding-inline: 20px;
                    }

                    @media screen and (max-width: 767px) {
                        position: relative;
                        z-index: 1;
                        left: unset;
                        transform: unset;
                        padding: 40px;
                        padding-bottom: 0;
                    }
                }
            }

            .newImage {
                img {
                    width: 100%;
                    max-height: 550px;
                    object-fit: cover;
                }
            }

            .gestion-section-text {
                h3 {
                    text-align: center;
                    font-size: var(--size-subheading2);
                    font-weight: var(--regular);
                    margin: 0;

                    @media screen and (max-width: 767px) {
                        font-size: var(--size-subheading2-s);
                    }

                }

                p {
                    text-align: center;
                    font-weight: var(--regular);
                    color: var(--grey);

                    @media screen and (max-width: 767px) {
                        font-size: var(--size-body-s);
                    }
                }
            }

            @media screen and (max-width: 767px) {
                padding-top: 0;
            }
        }
    }
}

/* Suites Section*/
.qureai-page #qxr,
.qureai-page #qct,
.qureai-page #qtrack {
    background-color: var(--light-dark-blue);
    overflow-x: clip;
    .certificados-section-container {
        background-color: var(--dark-blue);
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        max-width: 80%;
        margin: 0 auto;
        padding: 10px 50px;
        gap: 50px;
        border-radius: 10px;
        border: 2px solid var(--grey);
        margin-top: -75px;

        .certificado-img {
            flex: 1;
            margin: 0;
            line-height: 0;
            max-width: fit-content;

            img {
                max-width: 100px;
            }
        }

        @media screen and (max-width: 767px) {
            margin-top: -120px;
        }
    }

    .suite-section-container {
        padding-top: 100px;

        h2 {
            color: var(--orange);
            font-weight: var(--bold);
            font-size: var(--size-stats);
            margin: 0;

            @media screen and (max-width: 767px) {
                font-size: var(--size-stats-s);
            }
        }

        p {
            color: var(--grey);
            font-weight: var(--regular);
            font-size: var(--size-body);

            @media screen and (max-width: 767px) {
                font-size: var(--size-body-s);
                padding-bottom: 40px;
            }
        }

        @media screen and (max-width: 767px) {
            padding-top: 50px;
        }
    }

    .suite-features-container {
        padding-top: 70px;

        .newImage {
            display: flex;

            img {
                max-width: 40px;
                max-height: 40px;
                padding-bottom: 10px;
            }
        }

        p {
            font-size: var(--size-body-s);
            font-weight: var(--regular);
            padding-bottom: 20px;

            @media screen and (max-width: 767px) {
                font-size: var(--size-extras);
            }
        }
    }
}

.qureai-page #integracion-section {
    background-color: var(--blue);
    height: auto;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;

    &>.container {
        padding-top: 50px;
        padding-bottom: 50px;

        @media screen and (min-width: 767px) {
            padding-right: 0;
            padding-left: 0;
        }
    }

    #hero-container {
        background-color: var(--dark-blue);
        z-index: 1;
        padding: 40px;
        border-radius: 30px;
        position: relative;

        .row {
            display: flex;
            flex-wrap: wrap;
            min-height: 500px;

            .newImage {
                height: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
                z-index: -1;

                img.new-image-desktop {
                    max-width: 700px;
                }

                @media screen and (max-width: 767px) {
                    padding-top: 40px;
                }
            }
        }

        h3 {
            font-size: var(--size-subheading);
            font-weight: var(--bold);
            margin: 0;
            padding-bottom: 30px;
            text-align: left;

            @media screen and (max-width: 767px) {
                font-size: var(--size-subheading-s);
            }

        }

        p {
            font-size: var(--size-body-s);
            font-weight: var(--regular);
            padding-bottom: 20px;

            @media screen and (max-width: 767px) {
                font-size: var(--size-extras);
            }
        }
    }
}

/* Footer */
.qureai-page #certificados-section {
    padding-bottom: 50px;
    overflow-x: clip;
    p {
        font-size: var(--size-body);
        font-weight: var(--regular);
        color: var(--black);
        text-align: left;

        @media screen and (max-width: 767px) {
            font-size: var(--size-body-s);
            padding-bottom: 50px;
        }
    }

    h2 {
        font-size: var(--size-hightext);
        color: var(--black);
        text-align: left;
        margin: 0;
        padding-bottom: 1rem;
    }

    .newImage {
        display: flex;

        img {
            max-width: 140px;
            max-height: 110px;
            padding-bottom: 10px;
        }
    }
}

.qureai-page #promomats-code {
    background-color: var(--light-gray);
    padding: 0;
    margin-bottom: -3rem;
    margin-top: 50px;

    p {
        text-align: center;
        font-size: var(--size-body-s);
        color: var(--promomats);
        padding-block: 15px;
    }
}

@media only screen and (max-width: 767px) {
    .qureai-page #main-banner {
        max-height: auto;
    }

    .qureai-page h2 {
        font-size: var(--size-subheading-s);
    }

    .qureai-page h1 {
        font-size: var(--size-heading-s);

        span {
            font-size: var(--size-heading-s);
        }
    }

    .qureai-page p {
        font-size: var(--size-body-s);
    }
}

/* Animaciones */

@keyframes fadeInFromTop {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInFromLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInFromRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleUp {
    from {
        scale: 0;
    }

    to {
        scale: 1;
    }
}

@keyframes rx-double {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    15% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    35% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fadeInFromTop {
    opacity: 0;
    animation: fadeInFromTop 1s ease-in forwards;
    animation-timeline: view();
    animation-range: entry 20% cover 40%;
}
.fadeInFromLeft {
    opacity: 0;
    animation: fadeInFromLeft 1s ease-in forwards;
    animation-timeline: view();
    animation-range: entry 20% cover 40%;
}
.fadeInFromRight {
    opacity: 0;
    animation: fadeInFromRight 1s ease-in forwards;
    animation-timeline: view();
    animation-range: entry 20% cover 40%;
}

.rx-double {
    opacity: 0;
    animation: rx-double 1.6s linear forwards;
    animation-timeline: view();
    animation-range: entry 1% cover 50%;
    animation-delay: 2s;
}

.scaleUp {
    scale: 0;
    animation: scaleUp 1.6s linear forwards;
    animation-timeline: view();
    animation-range: entry 20% cover 30%;
}