
@import url('./mobile.css');

:root {
    --font-poppins: "Poppins", sans-serif;
    --color-subtitle: rgba(71, 71, 71, 1);
    --blue: rgba(97, 180, 214, 1);
    --blue-2: rgba(173, 221, 245, 1);
    --blue-dark: rgba(7, 19, 69, 1);
    --margin-top-internal-pages: 12px;
}

body {
    font-size: 15px;
    font-family: "Inter", sans-serif;
}

@keyframes brillo {

    /* En el inicio de la animación (0%) la opacidad será 0.3 */
    0% {
        stroke-opacity: 0.3;
    }

    /* En el punto medio de la animación (100%) la opacidad será 0.8 */
    100% {
        stroke-opacity: 0.8;
    }
}

svg.animated {
    path {
        stroke-opacity: 0.1;
        animation: brillo 1.8s ease-in-out infinite alternate;
    }
}

/* ---- CF7 ----- */
.wpcf7{

    p{
        margin-bottom:0;
    }

    .wpcf7-not-valid-tip{
        font-size: 0.85em;
        display: block;
        position: relative;
        top: 7px;
    }

    .wpcf7-response-output{
        border: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center;
    }
}

a,
a:hover,
a:focus,
a:active {
    text-decoration: none;
}

.color-blue-dark {
    color: var(--blue-dark);
}

.py-20 {
    padding: 20px 0px;
}

.py-30 {
    padding: 30px 0px;
}

.py-50 {
    padding: 50px 0px;
}

.py-60 {
    padding: 60px 0px;
}

.py-70 {
    padding: 70px 0px;
}

.ff-poppins {
    font-family: var(--font-poppins);
}

.fw-300 {
    font-weight: 300;
}

.fw-400 {
    font-weight: 400;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.fw-800 {
    font-weight: 800;
}

.btn {
    font-size: 1em;

    &.btn-large {
        padding: 9px 35px;
    }
}

.btn-primary {
    background-color: rgba(199, 239, 255, 1) !important;
    border-color: rgba(199, 239, 255, 1) !important;
    color: rgba(7, 19, 69, 1) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: rgba(173, 221, 245, 1) !important;
    border-color: rgba(173, 221, 245, 1) !important;
    color: rgba(7, 19, 69, 1) !important;
}

.btn-primary {
    background-color: rgba(199, 239, 255, 1) !important;
    border-color: rgba(199, 239, 255, 1) !important;
    color: rgba(7, 19, 69, 1) !important;
}

.btn-transparent:not(.text-white) {
    color: var(--blue-dark) !important;
}

.btn-transparent:hover,
.btn-transparent:focus,
.btn-transparent:active {
    color: var(--blue) !important;
    border-color: transparent !important;
}

.btn.btn-input {
    padding: 12px 0px;
}

.btn {
    .bi-arrow-right {
        position: relative;
        top: 1.25px
    }
}

.btn-rounded-1 {
    border-radius: 18px;
}

.btn-input,
.form-control:focus,
.form-control:active,
.form-select:focus,
.form-select:active {
    box-shadow: none !important;
    border-color: rgba(97, 180, 214, 1);
}

.bg-gray-smooth {
    background-color: rgba(249, 250, 251, 1);
}

.bg-blue-dark {
    background-color: var(--blue-dark);
}

.bg-blue-2 {
    background-color: var(--blue-2);
}

.the-content {
    color: var(--color-subtitle);
    font-family: var(--font-poppins);
}

.section-head {

    p {
        color: rgba(17, 24, 39, 1);

        &.gray-light {
            color: rgba(71, 71, 71, 1);
        }
    }

    .section-title {

        &.fs-2 {
            font-size: 2em !important;
        }

        &.fs-3 {
            font-size: 2.2em !important;
        }

        &.fs-4 {
            font-size: 2.3em !important;
        }

        &.fs-5 {
            font-size: 2.4em !important;
        }
    }

    &.sh-mb-1 {
        margin-bottom: 27px;
    }

    &.sh-mb-2 {
        margin-bottom: 37px;
    }
}

header {

    position: relative;
    display: initial;
    z-index: 100;

    .navbar {

        padding: 22px 0px;
        transition: all 0.2s ease;

        top: 0;

        .navbar-toggler {

            padding: 0;
            border: 0;
            margin-right: 11px;

            .menu-bar {
                background-color: rgba(7, 19, 69, 1);
                display: block;
                height: 3px;
                width: 39px;
                margin-bottom: 7px;
                border-radius: 3px;

                &:last-child {
                    margin-bottom: 0;
                }
            }

            &:focus,
            &:active {
                border: 0;
                outline: none;
                box-shadow: none;
                margin: 0;
                padding: 0;
                margin-right: 11px;
            }
        }

        &.apply-bg:not(.text-white) {
            background: rgb(255 255 255 / 87%);
            backdrop-filter: blur(10px);
        }

        &.nav-shadow {
            box-shadow: 0px 2px 13px rgba(26, 26, 26, 0.03);
        }

        .navbar-brand {
            img {
                height: 46px;
                width: auto;
            }
        }

        .navbar-collapse {

            flex-grow: inherit;
            isolation: isolate;

            .nav-link {
                color: rgba(7, 19, 69, 1);
                font-size: 1.12em;
                font-weight: 500;
                padding: 0px 14px;

                &:hover,
                &:focus,
                .current_page_item &{
                    color: var(--blue) !important;
                }
            }

            .lang-switch {

                .nav-link {

                    svg {
                        height: 18px;
                        width: auto;
                        position: relative;
                        top: -1px;
                        margin-left: 4px;
                    }
                }
            }
        }

        .user-area {

            width: fit-content;

            ul {
                display: flex;
                align-items: center;

                li {

                    &:not(:last-child) {
                        padding: 0px 17px;
                    }

                    a {
                        padding: 8px 16px;
                    }
                }
            }
        }


        &.text-white {

            a {
                color: #fff;
            }

            .nav-link {
                color: #fff;

                &:hover,
                &:focus {
                    color: #fff;
                }
            }

            .lang-switch svg path {
                fill: #fff;
            }

            .navbar-toggler {

                .menu-bar {
                    background-color: #fff;
                }
            }

        }
    }

    .logged-in & nav{
        top:32px;
    }
}

.part-main-banner {

    position: relative;
    z-index: 90;

    &::before {
        background: rgba(7, 19, 69, 0.4);
        display: block;
        content: '';
        height: 100%;
        width: 100%;
        position: absolute;
    }

    &::after {
        content: '';
        display: block;
        background: #fff;
        background: linear-gradient(180deg, rgba(42, 123, 155, 0) 0%, rgba(255, 255, 255, 1) 65%);
        height: 119px;
        width: 100%;
        position: absolute;
        bottom: 0;
        z-index: 10;
    }

    .item {

        img {
            object-fit: cover;
            width: 100%;
        }

        .caption-wrap {
            position: absolute;
            top: 0;
            height: 100%;
            width: 100%;
            display: flex;
            align-items: center;
            color: #fff;
            z-index: 100;

            .caption-area {

                width: 52%;
                text-align: center;
                margin: 0 auto;

                .page-title {
                    font-size: 2.7em;
                    line-height: 50px;
                    margin-bottom: 20px;
                }

                .benefits {

                    color: #fff;
                    display: grid;
                    grid-template-columns: repeat(2, 1fr);
                    column-gap: 26px;
                    align-items: center;
                    width: fit-content;
                    margin: 0 auto;

                    li {

                        background-color: rgba(7, 19, 69, 1);
                        padding: 39px 15px;
                        border-radius: 9px;
                        width: 165px;

                        i {
                            font-size: 2em;
                        }

                        svg {
                            margin-bottom: 7px;
                            height: 32px;
                            width: auto;
                        }

                        span {

                            display: block;

                            &.data {
                                font-size: 1.85em;
                            }
                        }
                    }

                }
            }
        }
    }
}

/* ------ Benefits ------ */
.benefits-wrap {

    margin-top: 60px;
    position: relative;
    z-index: 20;

    .lines {

        .line {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            margin: 0 auto;
            height: 100%;
            width: 2px;
            background-color: rgba(240, 240, 240, 1);
            z-index: 15;
        }

        .start-dot,
        .progress-dot {
            position: absolute;
            box-shadow: 0px 0px 12.6px -1px rgba(129, 218, 255, 0.9);
            top: -4px;
            left: 0;
            right: 0;
            margin: 0 auto;
            border-radius: 50%;
            z-index: 18;
            width: fit-content;
            overflow: hidden;
            padding: 4px;

            span {
                display: block;
                background: rgba(97, 180, 214, 1);
                height: 16px;
                width: 16px;
                border-radius: 50%;
            }

        }
    }

    .loop-benefits {

        .item {


            width: 50%;
            padding-bottom: 30dvh;

            img {
                margin-bottom: 30px;
            }

            h6 {
                font-size: 1.2em;
                margin-bottom: 20px;
            }

            p {
                margin-bottom: 0;
            }

            &:nth-of-type(2n+2) {
                margin-left: auto;
                padding-left: 50px;
            }
        }
    }
}

.page-header {
    padding-top: 60px;
    margin-bottom: 40px;

    .page-title {
        font-size: 2em;
        color: rgba(17, 24, 39, 1);
    }

    p {
        color: rgba(17, 24, 39, 1);
        font-size: 1.1em;
    }
}

/* ----- Blog Header ------ */
.blog-header {
    color: #fff;
    border-radius: 13px;
    padding: 40px 0px;
    margin-top: var(--margin-top-internal-pages);
    margin-bottom: 44px;

    .icon-area {

        background-color: rgba(173, 221, 245, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        height: 50px;
        width: 50px;
        border-radius: 50%;
        margin-bottom: 16px;

        svg {
            width: 28px;
            height: 28px;
        }
    }
}

/* ------ Blog Loop ------- */
.loop-blog-wrap {

    .blog-loop-title {
        font-size: 1.75em;
    }

    .blog-loop-buttons {

        .custom-swiper-button-prev {
            margin-right: 8px;
        }

        .custom-swiper-button-prev,
        .custom-swiper-button-next {
            height: 40px;
            width: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2em;
            border-radius: 50%;
            border: 0;

            &[disabled] {
                background-color: rgba(244, 244, 244, 1);
                color: rgba(119, 119, 119, 1);
            }
        }
    }

    .blog-loop {
        margin-top: 30px;
    }
}

.blog-item,
.page-head {

    margin-bottom: 50px;

    .image-area {
        border-radius: 10px;
    }

    .categories {

        display: flex;
        margin-bottom: 14px;

        .item{
            background-color: rgba(246, 246, 246, 1);
            font-size: 0.88em;
            font-weight: 600;
            color: var(--blue);
            display: block;
            padding: 5px 18px;
            width: fit-content;
            border-radius: 27px;

            &:not(:last-child) {
                margin-right: 10px;
            }
        }

        a.item:hover {
            background-color: rgb(237 237 237);
        }
    }

    .date {
        font-size: 0.95em;
        display: block;
        color: rgba(151, 151, 151, 1);
        margin-bottom: 10px;
    }

    h4 {
        font-size: 1.3em;
        margin-bottom: 18px;
    }

    p {
        color: var(--color-subtitle);
        margin-bottom: 8px;
    }
}

.blog-loop .swiper-wrapper .blog-item .image-area {
    margin-bottom: 20px;
}


/* ------ Page Home ------- */
.swiper.canales {

    .swiper-slide {

        img {
            width: 90%;
        }
    }
}

/* ------ Page contacto ------ */
.page-contacto {

    .form-area {

        background-color: rgba(250, 250, 250, 1);
        position: relative;
        padding: 50px 40px 40px 40px;
        border-radius: 13px;

        &::before {
            background-color: rgba(173, 221, 245, 1);
            content: '\F5C1';
            font-family: 'bootstrap-icons';
            font-size: 1.6em;
            display: flex;
            width: fit-content;
            height: 50px;
            width: 50px;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            position: absolute;
            top: -25px;
            left: 0;
            right: 0;
            margin: 0 auto;
            box-shadow: 0px 4px 10.4px 0px rgba(140, 140, 140, 0.25);
        }

        .form-head {

            margin-bottom: 40px;

            .form-title {
                font-size: 1.55em;
                margin-bottom: 12px;
                color: rgba(7, 19, 69, 1);
            }

            p {
                color: var(--color-subtitle);
                font-family: var(--font-poppins);
            }
        }

        .form-row {
            display: flex;
            justify-content: space-between;
        }

        .form-group {

            margin-bottom: 24px;

            label {
                margin-bottom: 5px;
                color: var(--color-subtitle);
                font-size: 0.95em;
                font-family: var(--font-poppins);
            }

            textarea{
                min-height:140px;
                height:140px;
                max-height:200px;
            }
        }
    }
}

.part-negocio {

    overflow: hidden;

    .zig-zag {
        position: absolute;
        transform: rotate(115deg);
        top: -2%;
        left: -345px;
        width: 558px;

        svg {
            width: 100%;
            height: 100%;

            path {
                stroke: rgb(128 205 243);
                stroke-opacity: 1;
            }
        }
    }

    .section-head {

        .section-title {
            font-size: 2em;
        }
    }

    .loop-services {
        display: grid;
        row-gap: 40px;
        column-gap: 40px;
        margin-top: 49px;
        margin-bottom: 65px;

        li {
            background-color: #fff;
            text-align: center;
            padding: 37px 0px;
            box-shadow: 0px 4px 11.9px 0px rgba(214, 214, 214, 0.25);
            border-radius: 9px;

            .icon-area {
                background-color: rgba(173, 221, 245, 1);
                padding: 11px;
                border-radius: 50%;
                margin-bottom: 18px;
                width: fit-content;

                svg {
                    height: 39px;
                    width: auto;
                }
            }

            h6 {
                color: rgba(17, 24, 39, 1);
                font-weight: 600;
                margin-bottom: 20px;
            }

            p {
                color: var(--color-subtitle);
                font-family: var(--font-poppins);
                font-weight: 400;
                margin-bottom: 0;
            }
        }
    }
}

.part-big-banner {

    position: relative;
    padding: 100px 0px;

    &::before {
        content: '';
        display: block;
        position: absolute;
        background-color: rgba(0, 0, 0, 0.6);
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 9;
    }

    .banner-bg {
        position: absolute;
        top: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
        z-index: 8;
    }

    .section-head {
        position: relative;
        z-index: 10;
    }
}

.part-lideres-latam {

    overflow: hidden;

    .wrap-blue {
        padding: 27px 15px;
        border-radius: 14px;

        .data-numbers {

            display: grid;
            column-gap: 15px;

            li {

                background-color: #fff;
                color: var(--blue-dark);
                padding: 17px 21px;
                border-radius: 9px;
                text-align: center;
                display: flex;
                align-items: center;
                justify-content: center;

                .data {
                    display: block;
                    font-size: 1.9em;
                    font-weight: 700;
                    margin-bottom: 2px;
                }
            }
        }
    }

    .zig-zag {
        position: absolute;
        top: 0;
        left: 50%;
        width: 100%;

        svg {

            path {
                stroke: rgb(128 205 243);
                stroke-opacity: 1;
            }
        }
    }

    .under-wrap {
        padding-top: 89px;
    }

    .features {
        display: grid;
        column-gap: 40px;
        width: 75%;

        li {

            svg {
                height: 33px;
                width: auto;
                margin-bottom: 20px;
            }

            &:nth-child(2) svg {
                transform: scale(0.83);
            }

            h6 {
                color: var(--blue-dark);
                font-weight: 600;
                margin-bottom: 20px;
            }

            p {
                color: var(--color-subtitle);
                font-family: var(--font-poppins);
                font-weight: 400;
                margin-bottom: 0;
            }
        }
    }
}

/* ------ Single ----- */
.single-post-head {

    margin-top: var(--margin-top-internal-pages);

    img.main-img {
        border-radius: 10px;
        height: 600px;
        width: 100%;
        object-fit: cover;
        max-height: 54dvh;
    }
}

.page-single-post {

    .blog-item {

        .categories {
            margin-bottom: 23px;
        }

        h1 {
            font-size: 2.1em;
            margin: 20px 0px 28px 0px;
        }
    }

    .blog-loop.swiper .swiper-wrapper {
        margin-top: 50px;
    }
}

/* ----- Page ----- */
.page-head {

    h1 {
        font-size: 2.2em;
    }

    p {
        color: rgba(17, 24, 39, 1);
    }
}

footer {

    background-color: rgba(7, 19, 69, 1);
    position: relative;
    color: #e3e3e3;

    .container {
        z-index: 90;
    }

    &::after {
        background: url(../images/pulpo.svg) no-repeat;
        background-size: contain;
        background-position-x: 100%;
        display: block;
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        height: 100%;
        width: 30%;
    }

    a {
        color: #f0f0f0;

        &:hover,
        &:focus {
            color: rgba(173, 221, 245, 1);
        }
    }

    .menu {
        list-style: none;
        padding: 0;
        margin: 0;

        li {
            a {
                font-size: 0.95em;
                font-weight: 400;
                display: block;
                padding: 4px 0px;

                .current_page_item &{
                    color:rgba(173, 221, 245, 1);
                }
            }
        }
    }

    .widgets-area {

        justify-content: space-between;
        padding: 46px 0px;

        .widget-item {

            .widget-title {
                font-size: 1.1em;
                font-weight: 700;
                margin-bottom: 20px;
            }
        }
    }

    .under-footer {

        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.9em;
        padding: 30px 0px;
        border-top: 1px solid rgba(21, 33, 81, 0.6);

        .left-area {
            width: 50%;

            li {
                padding: 0px 20px;

                &:first-child {
                    padding-left: 0;
                }
            }
        }

        .right-area {

            width: 50%;
            justify-content: flex-end;

            span {
                margin-right: 18px;
            }

            .redes {

                justify-content: space-between;

                li a {
                    display: block;
                    padding: 0px 10px;
                }

                li:first-child a {
                    padding-left: 0;
                }

                li:last-child a {
                    padding-right: 0;
                }
            }
        }
    }
}

@media screen and (min-width:992px) {

    /* ----- Main Banner ----- */
    .part-main-banner .item {

        img.main-img {
            height: 100dvh;
        }
    }

    .section-head {

        &.text-center {

            .section-title,
            p {
                margin: 0 auto;
            }
        }
    }

    .w-fit-content {
        width: fit-content;
    }

    .page-header {
        p {
            width: 39%;
            margin: 0 auto;
        }
    }

    .part-lideres-latam .wrap-blue .data-numbers,
    .part-lideres-latam .features,
    .loop-services {
        grid-template-columns: repeat(3, 1fr);
    }

    .part-lideres-latam {

        .zig-zag {

            svg {
                width: 100%;
                position: absolute;
                left: -19%;
            }
        }
    }

    /* ------ Page contacto ------ */
    .page-contacto {

        .form-area {
            width: 50%;
            margin: 0 auto;

            .form-row {

                .form-group {
                    width: 48%;
                }
            }
        }
    }

    .widgets-area {

        flex-wrap: wrap;

        .widget-item {

            width: 25%;

            &:first-child {
                width: 40%;
            }

            &:nth-child(2) {
                width: 30%;
            }
        }
    }
}

@media screen and (max-width:992px) {

    .navbar {

        .logo-area {

            width: 100%;
            display: flex;
            justify-content: space-between;
        }
    }

    /* ----- Main Banner ----- */
    .part-main-banner .item {

        img.main-img {
            min-height: 100dvh;
        }

        .actions {
            flex-wrap: wrap;
        }

        .caption-wrap .caption-area {
            width: fit-content;
            padding: 0px 15px;

            /*.benefits{
                grid-template-columns: repeat(1, 1fr);
                row-gap:20px;
            }*/
        }
    }

    .part-lideres-latam .wrap-blue {

        padding: 62px 15px;

        .data-numbers {
            grid-template-columns: repeat(1, 1fr);
            row-gap: 10px;

            li {
                width: 100%;
            }
        }
    }

    .part-lideres-latam {

        .under-wrap {
            margin-top: 120px;
        }

        .features {
            row-gap: 54px;
            margin: 35px auto 0 auto;

            li {
                text-align: center;
            }
        }
    }

    /* ----- Blog ------ */
    .blog-item {
        flex-wrap: wrap;

        .image-area {
            margin-bottom: 28px;
        }
    }

    .part-negocio .loop-services {
        grid-template-columns: repeat(1, 1fr);

        li {
            padding: 62px 15px;
        }
    }

    /* ------ Page contacto ------ */
    .page-contacto {

        .form-area {

            .form-row {
                flex-wrap: wrap;
                width: 100%;

                .form-group {
                    width: 100%;
                }
            }
        }
    }

    footer {

        .widgets-area {

            flex-wrap: wrap;

            .widget-item {
                width: 100%;
                margin-bottom: 50px;

                &:last-child {
                    margin-bottom: 0;
                }
            }
        }

        .under-footer {

            flex-wrap: wrap;

            .left-area,
            .right-area {
                width: 100%;
                text-align: center;
                justify-content: center;
            }

            .left-area {
                .info {
                    flex-wrap: wrap;
                    justify-content: center;

                    li {
                        width: 100%;
                        margin-bottom: 10px;

                        &:last-child {
                            margin-bottom: 3px;
                        }
                    }
                }
            }
        }

        &::after {
            width: 56%;
            background-position: top center;
        }
    }
}