:root {
    --progress-landing: 0%;
}

@font-face {
    font-family: 'HankenGrotesk';
    src: url('../webfonts/HankenGrotesk-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: var(--font-family-hankengrotesk-regular);
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body {
    background-color: var(--white) !important;
}

.navbar {
    background-color: var(--neutral-blue) !important;
}

.navbar,
.navbar-hidden {
    transition: all 0.3s ease-in-out;
}

.logo-dark {
    display: none;
}

.navbar-hidden {
    top: -100px !important;
}

.text-white {
    color: var(--neutral-blue) !important;
}

.text-black {
    color: var(--neutral-darkest) !important;
}

.has-text-primary {
    color: var(--primary) !important;
}

.has-text-warning {
    color: var(--yellow) !important;
}

.button.is-light,
.has-background-light {
    background-color: var(--input-color);
}

.button.is-neutral,
.has-background-neutral {
    background-color: var(--blue-lightness) !important;
}

.button.is-danger.is-light,
.has-background-danger-light {
    background-color: rgb(234, 208, 210) !important;
}

.not-outlined,
.button.is-neutral.not-outlined {
    border: none !important;
}

.button.is-primary,
.has-background-primary {
    background-color: var(--primary) !important;
}

.button.is-primary.is-gradient,
.has-background-primary.is-gradient {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-medium) 100%) !important;
}

.button.is-light.is-outlined {
    border-color: var(--neutral-light);
}

.is-fullwidth {
    width: 100%;
}

.is-half-width {
    width: 50%;
}

.is-flex>.is-half-width {
    width: 50%;
    flex-basis: 50%;
    flex: 1;
}

.is-fullheight {
    height: 100%;
}

.gap {
    gap: 1.5rem;
}

.has-border-radius {
    border-radius: 1.5rem;
}

.blur-blue {
    position: absolute;
    background: rgba(9, 31, 95, 0.6);
    backdrop-filter: blur(5px);
    width: 100%;
    height: 100%;
}

.blur-white {
    background-color: rgba(255, 255, 255, .6);
    border: 1px solid rgba(255, 255, 255, .6);
    backdrop-filter: blur(4px);
}


.backdrop-filter {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 48, 125, 0.25);
    backdrop-filter: blur(1px);
}


.bg-neutral-blue {
    background-color: var(--neutral-blue);
}

.grid-medium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem 3rem;
}

.dropdown-navbar-landing {
    right: 0;
    left: 0;
    box-shadow: var(--bulma-shadow);
    border-bottom-left-radius: var(--bulma-card-radius);
    border-bottom-right-radius: var(--bulma-card-radius);
    padding: 20px 30px;
}


.icon-whatsapp-landing {
    background: linear-gradient(0deg, #20B038 0%, #60D66A 100%);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 23px;
}


.video-section {
    height: 100vh;
}

.background-video {
    position: absolute;
    height: 100%;
    object-fit: cover;
}

.container-sections {
    transform: translateY(-100px);
    border-radius: 50px 50px 0px 0px;
    overflow: hidden;
}


/* C A R O U S E L */
.logos-container {
    margin: 0 auto;
    width: 55%;
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%);
    mask-image: linear-gradient(to right,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%);
}

.logos-container-inner {
    width: max-content;
    animation: scroll-horizontal 25s linear infinite;
}

.logos-container-inner div>img {
    height: 70px;
    width: 100px;
    object-fit: contain;
    margin-right: 1rem;
}

.box-progress {
    width: 80%;
    margin: 0 auto;
}

.progress.my-progress {
    display: block;
    background-color: var(--neutral-light);
    width: 100%;
    height: 16px;
    position: absolute;
    top: 43px;
    filter: saturate(100%);
    overflow: hidden;
}

.progress.my-progress::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    background: var(--primary);
    width: var(--progress-landing);
    height: 100%;
    transition: width 250ms ease-in-out;
}


.saturate {
    filter: saturate(0%);
    transition: filter 0.5s ease-in-out;
}

.container-carrousel {
    position: relative;
    overflow-y: auto;
}



.container-carousel .flex-carousel {
    min-width: 100%;
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.container-carousel+.buttons {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
}

.container-carousel .card.service {
    min-width: 280px;
    min-height: 320px;
    aspect-ratio: 4/6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 0;
}

.btn-aditional {
    background-color: rgba(255, 21, 0, 0.17);
    padding: 1rem 2rem;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button-carousel {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary) !important;
    border-radius: 50%;
    border: 1px solid var(--white);
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

.card-image {
    height: 35%;
}

.card-image figure {
    height: 100%;
    width: 100%;
}

.card-image figure img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.container-carousel .buttons .button {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}


.grid-card-service {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.5rem 1rem;
    justify-items: center;
    align-items: center;
}

.grid-card-service .grid-item-service {
    margin: 0 auto;
    height: 100%;
    width: 90%;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.grid-item-service figure {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.grid-item-service p {
    width: 100%;
    text-align: center;
    position: absolute;
    inset: 0;
    top: 45%;
    z-index: 1;
}

.grid-card-service .grid-item-service:nth-child(1) {
    margin-top: 15%;
    height: 85%;
}

.grid-card-service .grid-item-service:nth-child(4) {
    margin-bottom: 15%;
    height: 85%;
}

.image-polygon {
    display: block;
    position: relative;
    overflow: hidden;
}

.image-polygon img {
    z-index: 1;
}

.image-polygon::after {
    content: "";
    position: absolute;
    top: -100px;
    left: -10px;
    width: 0;
    height: 0;
    border-left: 0px solid transparent;
    border-right: 40px solid transparent;
    border-top: 200px solid var(--primary);
    z-index: 1;
}

.image-polygon::before {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -10px;
    width: 0;
    height: 0;
    border-left: 0px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 200px solid var(--primary);
    z-index: 2;
}

.container-carousel .flex-carousel:has(.card-testimonials) {
    width: max-content;
    animation: scroll-horizontal 40s linear infinite;
}

.card-testimonials {
    width: 550px;
    height: 350px;
    user-select: none;
}

.card-testimonials figure {
    height: 100%;
    width: 100%;
}

.card-testimonials figure>img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.mark {
    position: absolute;
    width: 15%;
    user-select: none;
}

.mark.right {
    top: 0;
    right: 4rem;
}

.mark.left {
    top: 18%;
    left: 4rem;
}

.box-question .button-question .minus {
    position: absolute;
    opacity: 0;
}

.box-question .button-question:hover {
    background: linear-gradient(90deg, var(--primary) 0%, var(--blue-agendar) 100%) !important;
    color: var(--neutral-blue);
}

.box-question.open .button-question .plus {
    opacity: 0;
}

.box-question.open .button-question .minus {
    opacity: 1;
}

.box-question .text-response {
    height: 0;
    width: 0;
    overflow: hidden;
    transition: height 0.5s ease-in-out, width 0.5s ease-in-out;
}

.box-question.open .text-response {
    height: auto;
    width: auto;
}

.footer {
    transform: translateY(-100px);
    background-color: var(--white) !important;
}

.footer .shape {
    width: 100%;
    position: absolute;
    inset: 0;
}


.field:has(.btn-subscribe) {
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px !important;
}

.fade {
    animation: fade 0.5s ease-in-out;
}

/* K E Y F R A M E S */
@keyframes fade {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


@media screen and (max-width: 1023px) {

    .navbar.is-fixed-top .navbar-menu,
    .navbar.is-fixed-top-touch .navbar-menu {
        width: 100%;
    }
}


/* SWAL ALERT */
div:where(.swal2-container) div:where(.swal2-popup) {
    font-family: 'HankenGrotesk' !important;
    background-color: var(--neutral-blue) !important;
    border-radius: 24px !important;
}


/* ========== DARK MODE ========== */
@media (prefers-color-scheme: dark) {
    body {
        background-color: var(--neutral-darkest) !important;
    }

    .text-white {
        color: var(--neutral-darkest) !important;
    }

    .text-black {
        color: var(--neutral-blue) !important;
    }

    .navbar {
        background-color: var(--primary) !important;
    }

    .dropdown-navbar-landing {
        background-color: var(--neutral-darker);
    }

    .logo-light {
        display: none;
    }

    .logo-dark {
        display: block;
    }

    .blur-blue {
        background: rgba(9, 9, 9, 0.6);
    }

    .bg-neutral-blue {
        background-color: var(--baby-blue) !important;
    }

    .buttons-navbar-landing .button:first-child {
        background-color: transparent !important;
    }

    .container-carousel .card {
        background-color: var(--primary) !important;
        box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px !important;
    }


    .section-aditional-services {
        background-color: var(--baby-blue) !important;
    }

    .services-section {
        background-color: var(--primary) !important;
    }

    .services-section .has-background-white-ter {
        background-color: var(--primary) !important;
    }

    .services-section .has-background-white-ter img {
        filter: invert(1);
    }

    .services-section .box.has-background-neutral {
        background-color: var(--blue-lightness) !important;
    }

    .car-aditional {
        box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px !important;
    }

    .car-aditional .card-content {
        background-color: var(--neutral-darker) !important;
    }

    .box-question {
        background-color: var(--neutral-darker) !important;
    }

    .box-question i {
        color: var(--blue-hover) !important;
    }

    .box-question p {
        color: var(--neutral-lighter) !important;
    }

    .box-question p.text-response {
        color: var(--neutral-lighter) !important;
    }

    .box-question .button-question {
        background-color: transparent !important;
    }

    .box-question .button-question i {
        color: var(--neutral-lighter) !important;
    }

    .footer {
        background-color: var(--neutral-darkest) !important;
    }

    .footer .button {
        background-color: transparent !important;
    }

    .footer .button i {
        color: var(--neutral-lighter) !important;
    }


    /* SWAL ALERT */
    div:where(.swal2-container) div:where(.swal2-popup) {
        background-color: var(--neutral-darkest) !important;
    }
}


@media screen and (max-width:1024px) {
    .video-section {
        height: max(90vh, 600px);
    }

    .container-sections {
        transform: translateY(-50px);
    }

    .logos-container {
        width: 80%;
    }

    .box-progress {
        width: 90%;
    }

    .progress.my-progress {
        top: 43px;
    }

    .container-carousel .card.service {
        min-width: 250px;
        min-height: 280px;
    }

    .card-testimonials {
        width: 580px;
        height: 320px;
    }

    .footer {
        transform: translateY(-50px);
    }
}

@media screen and (max-width:768px) {
    .buttons-navbar-landing .button:first-child {
        background: linear-gradient(90deg, var(--primary) 0%, var(--primary-medium) 100%) !important;
        border-color: var(--primary) !important;
    }

    .video-section {
        height: max(95vh, 600px);
    }

    .logos-container {
        width: 90%;
    }

    .progress.my-progress {
        top: 35px;
    }

    .box-progress .image.is-96x96 {
        width: 80px;
        height: 80px;
    }

    .container-carousel .card.service {
        min-width: 200px;
        min-height: 240px;
    }

    .card-testimonials {
        height: 250px;
    }

    .footer .box.m-6 {
        margin: 2 !important;
        margin-bottom: 2rem !important;
    }

    .footer .box.p-6 {
        padding: 1rem !important;
    }
}

@media screen and (max-width:640px) {
    .box-progress {
        width: 100%;
    }

    .progress.my-progress {
        top: 28px;
        height: 8px;
    }

    .box-progress .image.is-96x96 {
        width: 60px;
        height: 60px;
    }

    .has-border-radius {
        border-radius: 1rem;
    }

    .grid-card-service .grid-item-service {
        width: 100%;
    }

    .bd-footer-title {
        margin: 0 auto;
    }

    .is-center-mobile {
        text-align: center;
    }

    .footer .box.m-6 {
        margin: 0 !important;
        margin-bottom: 1rem !important;
    }

    .footer .box.p-6 {
        padding: 1rem !important;
    }
}