/*
 ################ HEADER ################
*/
.header--transparent.header--top .menu a {
    color: #ffffff;
}

@media screen and (max-width: 1100px) {
    .header--transparent.header--top .menu a {
        color: inherit;
    }
}

@media screen and (max-width: 400px) {
    .logo--size-m {
        width: 80px !important;
    }

    .andromeda__ctas a {
        font-size: 11px;
        height: auto;
        padding-left: 2px;
        padding-right: 2px;
    }

    .header__hamburguer {
        width: 30px !important;
        height: 30px !important;
    }
}



/*
 ################ SECCION HOVER ITEMS ################
*/
.hover--section-bg .top--subtitle {
    position: relative;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.hover--section-bg .top--subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ABABAB;
    border-radius: 2px;
}

.hover--section-bg .top--subtitle .circle {
    width: 12px;
    height: 12px;
    background-color: var(--woko-green);
    border-radius: 50%;
    display: inline-block;
}


.hover--section-bg {
    transition: background-color 0.35s ease;
}

.hover--section-bg.background--white,
.hover--section-bg.background--green {
    color: var(--woko-black);
}

.hover--section-bg.background--black {
    color: white !important;
}

.hover--section-bg.background--black .button,
.hover--section-bg.background--green .button {
    border-color: white;
    background: white;
    color: var(--woko-black);
}

.hover--section-bg.background--white .button {
    color: var(--woko-black);
    background: var(--woko-green);
    border-color: var(--woko-green);
}


.hover--items {
    margin-top: 80px;
    position: relative;
    min-height: 600px;
}

.hover__item .icon {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-25px);
    transition: all 0.3s ease;
}

.hover__item.active .icon {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.hover__item .subtitle {
    display: none;
    opacity: 0;
    visibility: hidden;
    padding-top: 10px;
}

.hover__item.active .subtitle {
    display: block;
    opacity: 1;
    visibility: visible;
}

.hover__item .hover__item-right {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.hover__item.active .hover__item-right {
    opacity: 1;
    visibility: visible;
}

.hover__item-right img {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    object-fit: contain;
    margin: 0;
    margin-top: 20px;
}

.hover__item .hover__item-right .content {
    position: absolute;
    top: 0;
}

.hover__item .hover__item-left {
    padding-bottom: 30px;
    cursor: default;
    transition: all 0.3s ease
}

.hover__item.active .hover__item-left {
    transform: translateX(50px);
}


@media (max-width: 900px) {

    /* El contenedor ya no necesita altura mínima fija */
    .hover--items {
        margin-top: 40px;
        min-height: unset;
    }

    /* Todos los items visibles, sin opacidad ni posicionamiento */
    .hover__item {
        margin-bottom: 40px;
        border-bottom: 1px solid #ABABAB;
        padding-bottom: 40px;
    }

    .hover__item:last-child {
        border-bottom: none;
    }

    /* El grid de 2 cols pasa a 1 col */
    .hover__item .grid--cols-2 {
        grid-template-columns: 1fr;
    }

    /* Forzamos visibilidad — anulamos las transiciones de desktop */
    .hover__item .hover__item-right {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .hover__item .icon {
        display: none;
    }

    /* Quitamos el translateX del item-left activo */
    .hover__item.active .hover__item-left {
        transform: none;
    }

    /* El content deja de ser absolute */
    .hover__item .hover__item-right .content {
        position: relative;
        top: unset;
    }

    /* Cursor normal, no zoom */
    .hover__item .hover__item-left {
        cursor: default;
        padding-bottom: 16px;
    }
}


/*
 ################ BANNER HOVER ################
*/
.banner--hover {
    position: relative;
    height: 500px;
    background: linear-gradient(90deg, rgba(187, 240, 60, 1) 0%, rgba(178, 225, 0, 1) 100%);
    overflow: hidden;
    cursor: none;
}

.cursor__follow {
    position: absolute;
    left: 0;
    top: 0;
    width: 200px;
    height: 200px;
    background: white;
    color: var(--woko-black);
    border-radius: 50%;
    padding: 20px;
    pointer-events: auto;
    cursor: none;
    z-index: 100;
    transform: translate3d(-50%, -50%, 0);
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: opacity .35s ease;

    clip-path: circle(0%);
    transition: clip-path 1s cubic-bezier(.16, 1, .32, 1);
    will-change: clip-path;
}

.banner--hover:hover .cursor__follow {
    opacity: 1;
    clip-path: circle(100%);
}

.cursor__follow p {
    text-align: center;
    text-transform: uppercase;
    margin-top: 20px;
}

.cursor__follow .icon {
    padding-left: 50px;
}




/*
 ################ MARQUEE SLIDER ################
*/
.mq-section {
    width: 100%;
    overflow: hidden;
}

.mq-row {
    overflow: hidden;
    padding: 10px 0;
}

.mq-inner {
    display: flex;
    width: max-content;
}

.mq-track {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-right: 20px;
    flex-shrink: 0;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 24px 40px;
    border-radius: 999px;
    border: 1px solid #ebebeb;
    background: #ebebeb;
    white-space: nowrap;
}




/*
 ################ CARRUSEL CASOS DE EXITO MARQUEE ################
*/
.marquee--casos {
    width: 100%;
    overflow: hidden;
    padding: 80px 0;
    position: relative;
}

.marquee--casos .circle {
    width: 12px;
    height: 12px;
    background-color: var(--woko-green);
    border-radius: 50%;
    display: inline-block;
}

.marquee--casos .top--subtitle {
    position: relative;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.marquee--casos .top--subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ABABAB;
    border-radius: 2px;
}


.marquee__track {
    display: flex;
    align-items: start;
    gap: 20px;
    width: max-content;
    animation: scroll-infinito 30s linear infinite;
}

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

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

.caso__exito-item {
    width: 33vw;
    flex-shrink: 0;
    transition: all 0.5s ease;
    cursor: none;
}

.marquee__track:hover {
    animation-play-state: paused;
}

.caso__exito-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

@media (min-width: 1110px) {
    .caso__exito-item:hover {
        transform: translateY(-30px);
    }

    .caso__exito-item .title {
        opacity: 0;
        visibility: hidden;
        transform: translateY(30px);
        transition: all 0.3s ease;
    }

    .caso__exito-item:hover .title {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

@media screen and (max-width: 960px) {
    .caso__exito-item {
        width: 50vw;
    }

    .caso__exito-item img {
        height: 400px;
    }
}

@media screen and (max-width: 790px) {
    .caso__exito-item {
        width: 75vw;
    }

    .caso__exito-item img {
        height: 300px;
    }
}

.cursor-circular {
    position: fixed;
    width: 120px;
    height: 120px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor-circular.is-active {
    opacity: 1;
}

.cursor-circular svg {
    width: 100%;
    height: 100%;
    fill: var(--woko-green);
    font-family: sans-serif;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 5px;
    animation: rotate-circular-text 10s linear infinite;
}

@keyframes rotate-circular-text {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}


/*
 ################ CARRUSEL CASOS DE EXITO SWIPER ################
*/
.swiper-casos {
    width: 100%;
    padding: 80px 0;
    overflow: hidden;
}

.swiper-casos .circle-dot {
    width: 12px;
    height: 12px;
    background-color: var(--woko-green);
    border-radius: 50%;
    display: inline-block;
}

.swiper-casos .top--subtitle {
    position: relative;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.swiper-casos .top--subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ABABAB;
}

.swiper-casos-instance {
    padding: 40px 0 100px 0 !important;
    cursor: grab;
}

.swiper-casos-instance:active {
    cursor: grabbing;
}

.swiper-caso__item {
    position: relative;
    overflow: hidden;
    /* Importante: recorta el texto cuando baja */
    transition: transform 0.5s ease;
    border-radius: 10px;
}

.swiper-caso__item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.swiper-caso__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    /*     opacity: 0;
    transform: translateY(100%); */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

@media (min-width: 1110px) {
    .swiper-caso__item:hover {
        transform: translateY(-20px);
    }

    .swiper-caso__item:hover .swiper-caso__content {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .swiper-caso__item img {
        transition: transform 0.3s ease;
    }

    .swiper-caso__item:hover img {
        transform: scale(1.05);
    }
}

/* Mobile */
@media screen and (max-width: 960px) {
    .swiper-caso__item img {
        height: 400px;
    }
}

@media screen and (max-width: 790px) {
    .swiper-caso__item img {
        height: 350px;
    }
}

/* Cursor Circular Swiper */
.cursor-circular-swiper {
    position: fixed;
    width: 120px;
    height: 120px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor-circular-swiper.is-active {
    opacity: 1;
}

.cursor-circular-swiper svg {
    width: 100%;
    height: 100%;
    fill: var(--woko-green);
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    animation: rotate-circular-text 10s linear infinite;
}


/*
 ################ HOVER DROPDOWN ################
*/
.custom-dropdown-hover {
    width: 100%;
    margin: 20px 0;
}

.dropdown__wrapper {
    display: flex;
    flex-direction: column;
}

.dropdown__title {
    opacity: 0.5;
    transition: opacity 0.3s ease;
    cursor: pointer;
    margin: 0;
    padding: 10px 0;
}

.dropdown__content {
    display: grid;
    grid-template-rows: 0fr;
    /* Altura 0 */
    transition: grid-template-rows 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
    overflow: hidden;
    opacity: 0;
    border-top: 1px solid var(--woko-green);
}

.dropdown__content-inner {
    min-height: 0;
}

.dropdown__wrapper:hover .dropdown__title {
    opacity: 1;
}

.dropdown__wrapper:hover .dropdown__content {
    grid-template-rows: 1fr;
    opacity: 1;
    padding-top: 10px;
}

.dropdown__content a {
    color: var(--woko-green) !important;
    border-bottom: none !important;
}



/*
 ################ SECCION LO QUE DICEN ################
*/
.opiniones.top--subtitle {
    position: relative;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.opiniones.top--subtitle::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ABABAB;
    border-radius: 2px;
}

.opiniones.top--subtitle::after {
    content: '';
    position: absolute;
    top: calc(50% + 30px);
    right: 30px;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    border: 2px dashed var(--woko-green);
    border-radius: 100%;
    animation: rotate-circular-text 20s linear infinite;
    z-index: -1;
}

.opiniones.top--subtitle .circle {
    width: 12px;
    height: 12px;
    background-color: var(--woko-green);
    border-radius: 50%;
    display: inline-block;
}




/*
 ################ TOP TITLES ################
*/
.top--subtitle {
    position: relative !important;
    padding-bottom: 30px !important;
    margin-bottom: 30px !important;
}

.top--subtitle::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ABABAB;
    border-radius: 2px;
}

.top--subtitle .circle {
    width: 12px;
    height: 12px;
    background-color: var(--woko-green);
    border-radius: 50%;
    display: inline-block;
}



/*
 ################ DATOS EN NUMEROS ################
*/
.pre__data__numbers-container {
    margin: 120px auto;
}


.pre__data-item-left,
.pre__data-item-right {
    position: relative;
}

.pre__data-item-left:after {
    position: absolute;
    content: '';
    top: 140px;
    right: -60px;
    width: 200px;
    height: 1px;
    background-color: lightgray;
}

.pre__data-item-right {
    margin-top: 50px;
    padding-top: 20px;
}

.pre__data-item-right:after {
    position: absolute;
    content: '';
    top: 0;
    left: -120px;
    width: 200px;
    height: 1px;
    background-color: lightgray;
}

.pre__data-item-center {
    margin: 0 auto;
}

.pre__data-item-center a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 200px;
    background-color: var(--woko-green);
    border-radius: 100%;
    transition: transform 0.4s ease;
}

.pre__data-item-center a:hover {
    transform: scale(0.9);
}

.pre__data-item-center a:active {
    transform: scale(0.85);
}

.data__numbers-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    overflow: hidden;
}

.data__numbers-container>* {
    position: relative;
    padding: 50px;
    border: 1px solid lightgrey;
    transition: background-color 0.4s ease;
}

.data__numbers-container>*:hover {
    border-color: var(--woko-fluor-green);
    background-color: var(--woko-fluor-green);
}

.data__numbers-container>*:before {
    position: absolute;
    content: '';
    top: 0;
    right: 10px;
    border-top: 20px solid transparent;
    border-left: 20px solid var(--woko-black);
    border-bottom: 20px solid transparent;
    transform: rotate(-45deg);
}

.data__number-top-left {
    grid-area: 1 / 2 / 1 / 3;
}

.data__number-top-right {
    grid-area: 1 / 4 / 1 / 5;
}

.data__number-bottom-left {
    grid-area: 2 / 1 / 2 / 2;
}

.data__number-bottom-right {
    grid-area: 2 / 3 / 2 / 4;
}


.data__numbers-info-item {
    text-transform: uppercase;
}

@media (max-width: 900px) {

    .data__numbers-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    .data__number-top-left,
    .data__number-top-right,
    .data__number-bottom-left,
    .data__number-bottom-right {
        grid-area: unset;
    }

    .data__numbers-container>* {
        padding: 30px 20px;
    }

    .pre__data-item-left:after {
        display: none;
    }

    .pre__data-item-right:after {
        display: none;
    }
}

/*
 ################ CONTAINER ANCHOR ################
*/
.container__anchor-cta {
    margin: 20px 0;
    display: flex;
    justify-content: flex-end;
}

.container__anchor-cta-link {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--woko-fluor-green);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.container__anchor-cta-link span {
    font-size: 36px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-8px);
    }
}



/*
 ################ BLOG  ################
*/
.blog__card-gallery .tidy {
    border-top-right-radius: 40px;
    overflow: hidden;
}

.blog__card-category {
    display: inline-block;
    border-radius: 32px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    padding: 4px 13px;
    margin-right: 10px;
    margin-top: 0 !important;
    margin-bottom: 5px !important;
}

.blog__card-title {
    margin-top: 12px !important;
}

.blog__author {
    margin-bottom: 30px;
}

.blog__author img {
    max-width: 54px;
    max-height: 54px;
    border-radius: 50%;
}



/*
 ################ CASOS DE EXITO ################
*/
@media (min-width: 1110px) {
    .card--format-sucess-story:nth-child(even) {
        margin-top: 80px;
    }
}

.card--format-sucess-story:hover .box,
.card--format-sucess-story:hover .casiopea__title {
    cursor: none !important;
}

.sucess__story-data {
    margin-top: 12px;
}



/*
 ################ CASOS DE EXITO SINGLE ################
*/
.hero--section img {
    width: 100%;
}

.flex-30-70 {
    display: flex;
    justify-content: space-between;
    gap: 100px;
}

.flex-30-70 .flex_30-item {
    flex-basis: calc(30% - 100px);
}

.flex-30-70 .flex_70-item {
    flex-basis: calc(70% - 100px);
}

.grid--hicimos {
    align-items: start;
}

.grid__hicimos-media {
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 16px;
}

.grid__hicimos-media:has(img.img__object-contain) {
    height: auto;
}

.grid--hicimos .grid__hicimos-item img,
.grid--hicimos .grid__hicimos-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    margin: 0;
    display: block;
}

.grid--hicimos .grid__hicimos-item img.img__object-contain {
    object-fit: contain;
    height: auto;
}

@media (min-width: 1110px) {
    .grid--hicimos .grid__hicimos-item:nth-child(even) {
        margin-top: 80px;
    }
}

@media (max-width: 900px) {
    .flex-30-70 {
        display: flex;
        flex-flow: column wrap;
        gap: 20px;
    }

    .flex-30-70 .flex_30-item {
        flex-basis: 100%;
    }

    .flex-30-70 .flex_70-item {
        flex-basis: 100%;
    }
}



/*
 ################ TITLE WITH IMG INC ################
*/
.title__with-img {
    display: block;
    margin-top: 10px;
}

.title__with-img img {
    vertical-align: middle;
}



/*
 ################ VIDEO AUTOPLAY ################
*/
.autoplay__video {
    max-width: 100%;
    border-radius: 40px;
    overflow: hidden;
}


/*
 ################ SLIDER OPINIONES ################
*/
.opiniones--slider .swiper-slide .box .text {
    max-height: 300px;
    overflow-y: auto;
}

.opiniones--slider .swiper-slide .box .text::-webkit-scrollbar {
    width: 8px;
}

.opiniones--slider .swiper-slide .box .text::-webkit-scrollbar-track {
    background: #ccc;
    border-radius: 10px;
}

.opiniones--slider .swiper-slide .box .text::-webkit-scrollbar-thumb {
    background: white;
    border-radius: 10px;
}

.opiniones--slider .swiper-slide .box .text::-webkit-scrollbar-thumb:hover {
    background: #555;
}


/*
 ################ FOOTER ################
*/
footer.hercules {
    position: relative;
    overflow: hidden;
}

footer.hercules:after {
    position: absolute;
    content: "Let's work together";
    bottom: -70px;
    width: 100%;
    z-index: 1;
    font-size: clamp(25px, 10vw, 120px);
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    text-transform: uppercase;
}

@media screen and (max-width: 960px) {
    footer.hercules:after {
        bottom: -30px;
    }
}

.hercules__decoration {
    position: absolute;
    bottom: 0;
    z-index: 2;
}

footer.hercules .container {
    position: relative;
    z-index: 3;
}