@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

/* --- FUENTE PRINCIPAL: BUROKKU --- */
@font-face {
    font-family: 'Burokku';
    src: url('../fonts/BUROKKU_TRIAL.woff') format('woff2'),
        url('../fonts/BUROKKU_TRIAL.woff') format('woff');
    font-weight: 400;
    /* Asignamos un peso normal */
    font-style: normal;
    font-display: swap;
    /* Ayuda a que la fuente se cargue sin bloquear el renderizado */
}

/* --- FUENTE SECUNDARIA: MOON LIGHT --- */
@font-face {
    font-family: 'Moon';
    src: url('../fonts/Moon Light.otf') format('opentype');
    font-weight: 300;
    /* Peso Ligero */
    font-style: normal;
    font-display: swap;
}

/* --- FUENTE SECUNDARIA: MOON BOLD --- */
@font-face {
    font-family: 'Moon';
    src: url('../fonts/Moon Bold.otf') format('opentype');
    font-weight: 700;
    /* Peso Negrita */
    font-style: normal;
    font-display: swap;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

p {
    font-family: 'Moon';
}

#home {
    width: 100%;
    min-height: 100dvh;
    background: url(../img/bg-home.png);
    background-size: cover;
    background-position: left top;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#preloader {
    position: absolute;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url(../img/bg-preloader.png);
    background-size: cover;
    background-position: left top;
    /* --- CRUCIAL PARA LA TRANSICIÓN --- */
    opacity: 1;
    /* Estado inicial visible */
    transition: opacity .6s ease-out;
    /* Transición de opacidad de 0.5 segundos */
}

/* --- NUEVA CLASE PARA OCULTAR EL PRELOADER CON EFECTO --- */
#preloader.preloader-hidden {
    opacity: 0;
    /* !important asegura que anule la opacidad: 1 */

}

#preloader img {
    margin-bottom: 10px;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        /* Estado inicial: Sin rotación */
        transform: rotate(0deg);
    }

    to {
        /* Estado final: Una rotación completa */
        transform: rotate(360deg);
    }
}

#preloader p {
    color: #fff;
    font-family: 'Moon';
    font-size: 16px;
    margin-bottom: 10px;
}


#home .cont-logo {
    position: absolute;
    top: 4%;
    left: 4%;
    text-align: center;

}

#home .cont-logo a img,
#about .cont-logo a img,
#work .cont-logo a img,
#dna .cont-logo a img,
#contact .cont-logo a img {
    width: 170px;
}

.cont-logo p {
    font-family: 'Moon';
    font-size: 12px;
    font-weight: bold;
    color: #2e2e2e;
}


#home .cont-menu {
    position: absolute;
    top: 48%;
    left: 4%;
    text-align: center;
}

#home .cont-menu button {
    background: transparent;
    border: 0px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-family: 'Moon';
    cursor: pointer;
    color: #2e2e2e;
    font-weight: bold;

}

#home .cont-menu button img {
    margin-right: 6px;
    transition: .4s;
    width: 46px;
}

#home .cont-menu button:hover img {
    margin-right: 14px;
}

#home .cont-social {
    position: absolute;
    bottom: 5%;
    left: 4%;
    text-align: center;
    display: flex;
}

#home .cont-social p {
    font-family: 'Moon';
    font-size: 12px;
    font-weight: bold;
    color: #2e2e2e;
}

#home .cont-contact {
    position: absolute;
    top: 44%;
    right: 4%;
    text-align: center;
}

#home .cont-contact a {
    background: #2e2e2e;
    color: #fff;
    width: 94px;
    height: 94px;
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Moon';
    font-size: 13px;
    border-radius: 50%;
    text-decoration: none;
    transition: .4s;
}

#home .cont-contact a:hover {
    background: #f70aa0;
    transform: scale(1.1);
}




#home .cont-social a {
    margin-left: 20px;
}

#home .cont-principal {
    max-width: 820px;
    width: 90%;
    position: relative;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    align-content: center;
}

#home .cont-principal .top {
    width: 100%;
    position: relative;
}

#home .cont-principal .center {
    width: 100%;
    position: relative;
}

#home .cont-principal .center button {
    position: absolute;
    /* width: 25px; */
    margin: 0 auto;
    background: transparent;
    border: 0px;
    top: 46%;
    /* margin-left: -5px; */
    left: 38px;
    right: 0;
    margin: 0 auto;
    transition: .3s ease;
    cursor: pointer;

}



#home .cont-principal .center button:hover {
    transform: scale(1.1);
}

#home .cont-principal h1 {
    font-family: 'Moon';
    font-size: 13px;
    font-weight: 300;
    color: #2e2e2e;
    text-align: center;
    margin-bottom: 20px;
}

#home .cont-principal h2 {
    font-family: 'Burokku';
    font-size: 750px;
    letter-spacing: 54px;
    color: #2e2e2e;
    padding-left: 42px;
}

#home .cont-principal .bottom {
    width: 100%;
}

#home .cont-principal .bottom h3 {
    /* position: absolute; */
    bottom: 20px;
    width: 100%;
    text-align: center;
    left: -10px;
}

#home .cont-principal h3 {
    font-family: 'Moon';
    font-size: 13px;
    font-weight: 300;
    color: #2e2e2e;
    text-align: center;
}


/* video play */









/* Modal Video */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-modal.active .video-container {
    transform: scale(1);
}

/* Video local */
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Video de YouTube */
.video-container iframe {
    width: 100vw;
    height: 100vh;
    border: none;
}

/* Botón Close */
.video-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: white;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: all 0.3s ease;
    line-height: 1;
}

.video-close:hover {
    background: #1e1e1e;
    transform: rotate(90deg) scale(1.1);
}

/* Loading spinner */
/* .video-loading {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #e91e63;
    border-radius: 50%;
    animation: spin 1s linear infinite;
} */

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}





#menu {
    width: 100%;
    position: absolute;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    background: url("../img/bg-home.png");
    background-position: center;
    background-size: cover;
    left: 0;
    opacity: 0;
    /* Cambiar de -100% a 0 */
    pointer-events: none;
    /* Desactiva interacción cuando está cerrado */
    /* Ocultar por defecto */
    transition: opacity 0.8s ease 1s;
    /* Transición suave del fondo */
    z-index: 99;
}

#menu.active {
    opacity: 1;
    pointer-events: all;
    /* Activa interacción cuando está abierto */
    transition: opacity 0.3s ease 0s;
    /* Sin delay al abrir */
}

#menu ul {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
}

#menu ul li {
    width: 20%;
    box-sizing: border-box;
    padding: 40px 30px;
    height: 100%;
    text-align: center;
    list-style: none;
    position: relative;
    cursor: pointer;
    /* Estado inicial: columnas ocultas arriba */
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1),
        opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}






/* Animación de ENTRADA - Izquierda a Derecha */
#menu.active ul li:nth-child(1) {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0s;
}

#menu.active ul li:nth-child(2) {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0.15s;
}

#menu.active ul li:nth-child(3) {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0.3s;
}

#menu.active ul li:nth-child(4) {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0.45s;
}

#menu.active ul li:nth-child(5) {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0.6s;
}

/* Animación de SALIDA - Regreso a la izquierda (en orden inverso) */
#menu:not(.active) ul li:nth-child(1) {
    transition-delay: 0.6s;
}

#menu:not(.active) ul li:nth-child(2) {
    transition-delay: 0.45s;
}

#menu:not(.active) ul li:nth-child(3) {
    transition-delay: 0.3s;
}

#menu:not(.active) ul li:nth-child(4) {
    transition-delay: 0.15s;
}

#menu:not(.active) ul li:nth-child(5) {
    transition-delay: 0s;
}



#menu ul li a {
    text-decoration: none;
    font-family: 'Burokku';
    font-size: 340px;
    letter-spacing: 4px;
}

#menu ul li:nth-child(1) {
    background: #eb3d10;
    mix-blend-mode: multiply;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    border-right: 2px solid #232323;
    /* transition: .4s; */
}

#menu ul li:nth-child(1):hover .img {
    top: 15%;
    transform: scale(1.1);
}



#menu ul li:nth-child(1) a {
    color: #220b05;
}

#menu ul li .before p,
#menu ul li .after p {
    font-family: 'Moon';
    font-size: 13px;
    color: #220b05;
    font-weight: bold;
}

#menu ul li:nth-child(1) .img {
    position: absolute;
    pointer-events: none;
    top: 20%;
    transition: .8s;
}


#menu ul li:nth-child(1) .before {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    left: 0;
    padding: 0 30px;
    top: 40px;
}

#menu ul li:nth-child(1) .after {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    left: 0;
    padding: 0 30px;
    bottom: 40px;
}





#menu ul li:nth-child(2) {
    background: #e89200;
    mix-blend-mode: multiply;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    border-right: 2px solid #232323;
}

#menu ul li:nth-child(2) .img {
    position: absolute;
    pointer-events: none;
    top: 25%;
    transition: 1s;
}

#menu ul li:nth-child(2):hover .img {
    transform: rotate(360deg) scale(0.9);
}


#menu ul li:nth-child(2) .after {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    left: 0;
    padding: 0 30px;
    bottom: 40px;
}

#menu ul li:nth-child(2) .after p {
    color: #e1016d;
}


#menu ul li:nth-child(2) a {
    color: #220b05;
    position: relative;
    top: -190px;
}

#menu ul li:nth-child(2) .before {
    position: absolute;
    bottom: -10px;
}

#menu ul li:nth-child(2) .before-mobile {
    display: none;
}

#menu ul li:nth-child(3) {
    background: #e1016d;
    mix-blend-mode: multiply;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    border-right: 2px solid #232323;
}

#menu ul li:nth-child(3) a {
    color: #220b05;
    position: absolute;
    bottom: 0px;
}

#menu ul li:nth-child(3) .before p {
    color: #fff;
}


#menu ul li:nth-child(3)::after {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 50%;
    z-index: 99;
    content: "";
    position: absolute;
    left: 18px;
    top: 14px;
    border: 2px solid #06878f;
}

#menu ul li:nth-child(3) .img {
    transition: 1s;
}

#menu ul li:nth-child(3):hover .img {
    transform: rotate(180deg) scale(1.2);
    margin-top: 30px;
}

#menu ul li:nth-child(3) .before {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    left: 0;
    padding: 0 30px;
    top: 40px;
}

#menu ul li:nth-child(3) .after {
    position: absolute;
    bottom: 100px;
    z-index: 99;
    pointer-events: none;
}

#menu ul li:nth-child(4) {
    background: #008c94;
    mix-blend-mode: multiply;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    border-right: 2px solid #232323;
}

#menu ul li:nth-child(4) .before {
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    width: 100%;
    left: 0;
    padding: 0 30px;
    top: 40px;
}

#menu ul li:nth-child(4) .before p,
#menu ul li:nth-child(4) .after p {
    color: #ffffff;
}

#menu ul li:nth-child(4) a {
    color: #220b05;
}

#menu ul li:nth-child(4) .img {
    position: absolute;
    pointer-events: none;
    top: 48%;
    transition: 1s;
}

#menu ul li:nth-child(4):hover .img {
    transform: scale(0.9);
    top: 60%;
}


#menu ul li:nth-child(4) .after {
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    width: 100%;
    left: 0;
    padding: 0 30px;
    bottom: 40px;
}

#menu ul li:nth-child(5) {
    background: #00b084;
    mix-blend-mode: multiply;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    border-right: 2px solid #232323;
}

#menu ul li:nth-child(5) .before {
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    width: 100%;
    left: 0;
    padding: 0 30px;
    top: 40px;
}

#menu ul li:nth-child(5) a {
    font-family: 'Moon';
    font-size: 14px;
    letter-spacing: normal;
    font-weight: bold;
    position: relative;
    top: -10%;
    left: 60px;
    color: #fff;
    display: flex;
    align-items: center;
    z-index: 2;
}

#menu ul li:nth-child(5) a img {
    margin-left: 5px;
    transition: .8s;
}

#menu ul li:nth-child(5):hover a img {
    margin-left: 20px;
}


#menu ul li:nth-child(5) .after {
    position: absolute;
    bottom: 0;
}

#menu ul li:nth-child(5) .after img:nth-child(1) {
    max-width: 100%;
}

#menu ul li:nth-child(5) .after img:nth-child(2) {
    display: none;
}


#close-menu {
    position: absolute;
    z-index: 3;
    top: 4%;
    right: 1%;
    font-family: 'Moon';
    background: transparent;
    color: #ffffff;
    border: 0;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
}



/* ANIMACIONES HOME */
/* --- ANIMACIONES DE ENTRADA --- */

body.loading #home .cont-logo,
body.loading #home .cont-menu,
body.loading #home .cont-social,
body.loading #home .cont-contact,
body.loading #home .cont-principal .top,
body.loading #home .cont-principal .center h2,
body.loading #home .cont-principal .center button,
body.loading #home .cont-principal .bottom{
    animation: none !important;
    opacity: 0;
}

/* Estado inicial de los elementos (ocultos) */
#home .cont-logo,
#home .cont-menu,
#home .cont-social,
#home .cont-contact,
#home .cont-principal .top,
#home .cont-principal .center h2,
#home .cont-principal .center button,
#home .cont-principal .bottom{
    opacity: 0;
}

/* --- SECUENCIA DE ANIMACIONES --- */
/* 1º - Título PLAY aparece primero */
/* 2º - Elementos laterales (logo, menú, social, contact) aparecen simultáneamente */
/* 3º - Textos superior e inferior aparecen al final */

/* 1º - Animación del título PLAY - Aparece PRIMERO */
#home .cont-principal .center h2 {
    animation: scaleIn 0.8s ease-out 0s forwards;
}

/* 2º - Animación del logo - Aparece después del PLAY */
#home .cont-logo {
    animation: slideInLeft 0.8s ease-out 0.8s forwards;
}

/* 2º - Animación del menú - Aparece AL MISMO TIEMPO que logo */
#home .cont-menu {
    animation: slideInLeft 0.8s ease-out 0.8s forwards;
}

/* 2º - Animación de redes sociales - Aparece AL MISMO TIEMPO que logo */
#home .cont-social {
    animation: slideInLeft 0.8s ease-out 0.8s forwards;
}

/* 2º - Animación del botón contact - Aparece AL MISMO TIEMPO que elementos izquierdos */
#home .cont-contact, .whatsapp-btn {
    animation: slideInRight 0.8s ease-out 0.8s forwards;
}

/* 3º - Animación del texto superior - Aparece AL FINAL */
#home .cont-principal .top {
    animation: fadeIn 1s ease-out 1.6s forwards;
}

/* 3º - Animación del texto inferior - Aparece AL MISMO TIEMPO que texto superior */
#home .cont-principal .bottom {
    animation: fadeIn 1s ease-out 1.6s forwards;
    position: relative;
    margin-top: 10px;
}

/* Animación del botón play - Aparición retardada después del PLAY */
#home .cont-principal .center button {
    animation: fadeIn 1s ease-out 2.4s forwards;
}

/* --- DEFINICIÓN DE KEYFRAMES --- */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}









.whatsapp-btn{
    position: absolute;
    right: 4%;
    bottom: 4%;
    z-index: 10;
    opacity: 0;
    animation: fadeInRight 0.8s ease-out 2s forwards;
}

.whatsapp-btn img{
    width: 80px;
    height: 80px;
    cursor: pointer;
}













/* ABOUT--------------------------------------------------------- */

#about .cont-logo,
#about .capa,
#about #menu-btn,
#about .left,
#about .right .logos,
#about .right .contact-us,
#about .right .after img {
    opacity: 0;
}



@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(150px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@keyframes fadeInTop {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translatey(0);
    }
}


@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }

    to {
        opacity: 1;
        transform: translatey(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@keyframes fadeInTopLeft {
    from {
        opacity: 0;
        transform: translate(-40px, 40px);

    }

    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes fadeInTopRight {
    from {
        opacity: 0;
        transform: translate(40px, 40px);
    }

    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

#about {
    width: 100%;
    height: 100vh;
    background: url(../img/bg-preloader.png);
    background-size: cover;
    background-position: left top;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;

}

#about .left {
    width: 20%;
    height: 100%;
    background: #e89200;
    mix-blend-mode: multiply;
    position: relative;
    z-index: 0;
    animation: fadeInLeft .5s ease-out 0.4s forwards;
}

#about .capa {
    width: 20%;
    /* Solo mostrar el 20% izquierdo */
    height: 114%;
    /* Alto que necesites */
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    animation: fadeInLeft .5s ease-out 0.4s forwards;
    /* Aqui se hace “el corte” */
}

#about .capa img {
    width: auto;
    /* No escalar horizontal */
    height: 100%;
    /* Mantener proporción */
    position: absolute;
    left: 0;
    /* Mostrar desde la izquierda */
    top: 0;
}

#about .cont-logo {
    position: absolute;
    top: 4%;
    left: 0%;
    text-align: center;
    z-index: 2;
    width: 20%;
    animation: fadeInLeft .5s ease-out 0.4s forwards;
}


#about .left .after {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    left: 0;
    padding: 0 30px;
    bottom: 40px;
}

#about .left .titulo {
    position: absolute;
    width: 100%;
    bottom: 12%;
    left: 0;
    text-align: center;
    z-index: 1;
}

#about .left .titulo img {
    width: 60%;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: -140px;
}

#about .left .titulo h1 {
    font-family: 'Burokku';
    font-size: 340px;
    letter-spacing: 4px;
}

#about .left .after p {
    color: #e1016d;
    font-family: 'Moon';
    font-weight: bold;
}

#about .left .before {
    position: absolute;
    width: 100%;
    bottom: -10px;
    text-align: center;
}

#about .right {
    width: 80%;
    position: absolute;
    right: 0;
    top: 0;
    height: 100vh;
    animation: fadeInRight .5s ease-out 0.4s forwards;

}



.about {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.about-wrapper {
    display: flex;
    width: 200%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
    height: 94vh;
    z-index: 1;
}

.about-wrapper .info {
    padding-left: 14%;
    padding-right: 0;

}

.about-wrapper .info h1 {
    font-family: 'Moon';
    color: #c18411;
    font-size: 20px;
}

.about-wrapper .info p {
    font-family: "Jost", sans-serif;
    text-transform: initial;
    font-size: 16px;
    color: #787878;
}

.about-wrapper .info p strong {
    color: #fff;
    margin-top: 20px;
    display: block;
}



.about-wrapper.show-logos {
    transform: translateX(-50%);
}

.info,
.logos {
    width: 50%;
    flex-shrink: 0;
}



#about .right .after {
    width: 100%;
    position: absolute;
    bottom: 0;
    display: flex;
    pointer-events: none;
    justify-content: space-between;
}

#about .right .after img {
    width: 40%;
    max-width: 460px;
}

#about .right .after img:nth-child(1) {
    animation: fadeIn 1s ease-out 1.8s forwards;
}

#about .right .after img:nth-child(2) {
    animation: fadeIn 1s ease-out 1.8s forwards;
}

#about .right .logos {
    width: 70%;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    opacity: 1;
}

#about .right .logos img {
    width: 100%;
}

#about .info .buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    max-width: 600px;
}

#about .info .contact-us {
    width: 94px;
    height: 94px;
    background: #e89200;
    display: block;
    font-family: 'Moon';
    text-align: center;
    font-size: 13px;
    text-decoration: none;
    color: #2e2e2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
    position: relative;
    opacity: 1;
    transition: .4s;
}

#about .info .contact-us:hover,
#about .logos .contact-us:hover,
#dna .contact-us:hover {
    transform: scale(1.1);
    background: #f70aa0;
    color: #fff;
}


#about .logos .contact-us {
    width: 94px;
    height: 94px;
    margin: 30px auto;
    background: #e89200;
    display: block;
    font-family: 'Moon';
    text-align: center;
    font-size: 13px;
    text-decoration: none;
    color: #2e2e2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
    opacity: 1;
    transition: .4s;
}

#about #showClientsBtn {

    background: transparent;
    border: 0;
    color: #e89200;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Moon';
    display: flex;
    align-items: center;
    cursor: pointer;
}

#about #showClientsBtn img {
    margin-left: 10px;
}

#about #menu-btn {
    position: absolute;
    right: 4%;
    top: 6%;
    display: flex;
    align-items: center;
    background: transparent;
    border: 0px;
    color: #fff;
    cursor: pointer;
    animation: fadeIn 3s ease-out 1.3s forwards;
    z-index: 5;
}

#about #menu-btn img {
    margin-right: 8px;
    transition: .4s;
}

#menu-btn img:nth-child(2) {
    display: none;
}

#about #menu-btn:hover img {
    margin-right: 14px;
}



/* WORK--------------------------------------------------------- */


#work .cont-logo,
#work .capa,
#work #menu-btn,
#work .left,
#work .right {
    opacity: 0;
}


#work {
    width: 100%;
    height: 100vh;
    background: url(../img/bg-preloader.png);
    background-size: cover;
    background-position: left top;
    position: absolute;
    left: 0;
    top: 0;
}

#work .left {
    width: 20%;
    height: 100%;
    background: #e1016d;
    mix-blend-mode: multiply;
    position: relative;
    z-index: 0;
    animation: fadeInLeft .5s ease-out 0.4s forwards;

}

#work .capa {
    width: 20%;
    /* Solo mostrar el 20% izquierdo */
    height: 114%;
    /* Alto que necesites */
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    animation: fadeInLeft .5s ease-out 0.4s forwards;

    /* Aqui se hace “el corte” */
}

#work .capa img {
    width: auto;
    /* No escalar horizontal */
    height: 100%;
    /* Mantener proporción */
    position: absolute;
    left: 0;
    /* Mostrar desde la izquierda */
    top: 0;
    animation: fadeInLeft .5s ease-out 0.4s forwards;

}

#work .cont-logo {
    position: absolute;
    top: 4%;
    left: 0%;
    text-align: center;
    z-index: 2;
    width: 20%;
    animation: fadeInLeft .5s ease-out 0.4s forwards;

}

#work .cont-logo p {
    color: #fff;
}


#work .left .after {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    left: 0;
    padding: 0 30px;
    bottom: 40px;
}

#work .left .titulo {
    position: absolute;
    width: 100%;
    bottom: 0%;
    left: 0;
    text-align: center;
    z-index: 1;
}

#work .left .titulo img.img {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: -120px;
}

#work .left .titulo img.img2 {
    position: absolute;
    left: -30px;
    right: 0;
    margin: 0 auto;
    top: 100px;
}


#work .left .titulo h1 {
    font-family: 'Burokku';
    font-size: 300px;
    letter-spacing: 4px;
}

#work .left .after p {
    color: #e1016d;
    font-family: 'Moon';
    font-weight: bold;
}

#work .left .before {
    position: absolute;
    width: 100%;
    bottom: -10px;
    text-align: center;
}

#work .right {
    width: 80%;
    position: absolute;
    right: 0;
    top: 0;
    animation: fadeInRight 1s ease-out 1s forwards;

}


#work #menu-btn {
    position: absolute;
    right: 4%;
    top: 6%;
    display: flex;
    align-items: center;
    background: transparent;
    border: 0px;
    color: #fff;
    cursor: pointer;
    z-index: 2;
    animation: fadeInRight 1s ease-out 1s forwards;
}

#work #menu-btn img {
    margin-right: 8px;
    transition: .4s;
}

#work #menu-btn:hover img {
    margin-right: 14px;
}

#work #cont-gallery {
    position: relative;
    display: flex;
    overflow: hidden;
    height: 100vh;
    width: 100%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.item-gallery {
    position: relative;
    min-width: 20%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.item-gallery:hover img {
    filter: grayscale(0%) brightness(1);
}

.item-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(100%) brightness(0.5);

}

.item-gallery h2 {
    position: absolute;
    bottom: 40px;
    left: 30px;
    color: white;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1.4;
    text-transform: uppercase;
    z-index: 2;
    opacity: 1;
    font-family: 'Moon';
    transition: opacity 0.4s ease;
}

.item-gallery:hover h2 {
    opacity: 0;
}

.zoom-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e91e63;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    opacity: 0;
}

.zoom-btn::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: url("../img/zoom-in.png");

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    color: white;
    font-weight: 300;
}

.item-gallery:hover .zoom-btn {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.zoom-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #c2185b;
}



.carousel-wrapper button.arrow {
    background: transparent;
    border: 0;
    color: white;
    padding: 12px 20px;
    font-size: 12px;
    letter-spacing: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.carousel-wrapper #prev {
    position: absolute;
    z-index: 10;
    left: 0;
    top: 45%;
    color: #fff;
    font-size: 13px;
}







#home .cont-principal .center .img-play {
    max-width: 500px;
    width: 100%;
    margin-left: 0px;
}


.carousel-wrapper #next {
    position: absolute;
    z-index: 10;
    right: 0;
    top: 45%;
    color: #fff;
    font-size: 13px;
}


.carousel-wrapper button img {
    width: 12px;
    height: 12px;
    /* filter: invert(1); */
}

#next img {
    transform: rotate(180deg);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 0;
    margin: 0;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

/* .modal-content {
    position: relative;
    width: 100vw;
    height: 100vh;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
} */

.modal-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.modal.active .modal-content {
    transform: scale(1);
}



.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #e91e63;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #c2185b;
    transform: rotate(90deg);
}

.modal-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
    z-index: 1001;
    text-align: left;
}

.modal-info h2 {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Moon';
}


/* DNA--------------------------------------------------------- */


#dna .cont-logo,
#dna .capa,
#dna #menu-btn,
#dna .left,
#dna .medium,
#dna .contact-us,
#dna .right .after img {
    opacity: 0;
}


#dna .right .after img:nth-child(1) {
    animation: fadeIn 1s ease-out 1.8s forwards;
}

#dna .right .after img:nth-child(2) {
    animation: fadeIn 1s ease-out 1.8s forwards;
}


#dna {
    width: 100%;
    height: 100vh;
    background: url(../img/bg-home.png);
    background-size: cover;
    background-position: left top;
    position: absolute;
    left: 0;
    top: 0;
}

#dna .left {
    width: 20%;
    height: 100%;
    background: #008c94;
    mix-blend-mode: multiply;
    position: relative;
    z-index: 0;
    animation: fadeInLeft .5s ease-out 0.4s forwards;

}

#dna .capa {
    width: 20%;
    /* Solo mostrar el 20% izquierdo */
    height: 114%;
    /* Alto que necesites */
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    animation: fadeInLeft .5s ease-out 0.4s forwards;

    /* Aqui se hace “el corte” */
}

#dna .capa img {
    width: auto;
    /* No escalar horizontal */
    height: 100%;
    /* Mantener proporción */
    position: absolute;
    left: 0;
    /* Mostrar desde la izquierda */
    top: 0;
}

#dna .cont-logo {
    position: absolute;
    top: 4%;
    left: 0%;
    text-align: center;
    z-index: 2;
    width: 20%;
    animation: fadeInLeft .5s ease-out 0.4s forwards;

}




#dna #menu-btn {
    position: absolute;
    right: 4%;
    top: 6%;
    display: flex;
    align-items: center;
    background: transparent;
    border: #2e2e2e;
    cursor: pointer;
    z-index: 2;
    animation: fadeInRight .5s ease-out .4s forwards;

}

#dna .cont-logo p {
    color: #ffffff;
}

#dna .left .after {
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    width: 100%;
    left: 0;
    padding: 0 30px;
    bottom: 40px;
}

#dna .left .titulo {
    position: absolute;
    width: 100%;
    top: 32%;
    left: 0;
    text-align: center;
    z-index: 1;
}

#dna .left .titulo img {
    width: 52%;
    position: absolute;
    left: 15%;
    right: 0;
    top: 52%;
    margin: 0 auto;
}

#dna .left .titulo h1 {
    font-family: 'Burokku';
    font-size: 340px;
    letter-spacing: 4px;
}

#dna .left .after p {
    color: #fff;
    font-family: 'Moon';
    font-weight: bold;
}

#dna .left .before {
    position: absolute;
    width: 100%;
    bottom: -10px;
    text-align: center;
}




#dna .right {
    width: 80%;
    position: absolute;
    right: 0;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
}


#dna #menu-btn img {
    margin-right: 8px;
    transition: .4s;
}

#dna #menu-btn:hover img {
    margin-right: 14px;
}


#dna .right .after {
    width: 100%;
    position: absolute;
    bottom: -30px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

#dna .right .after img {
    width: 40%;
    max-width: 460px;
}


#dna .contact-us {
    width: 94px;
    height: 94px;
    margin: 0 auto;
    background: #f27c13;
    display: block;
    font-family: 'Moon';
    text-align: center;
    font-size: 13px;
    text-decoration: none;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
    position: relative;
    margin-top: 60px;
    mix-blend-mode: multiply;
    animation: fadeIn 1.5s ease-out 1s forwards;
    transition: .4s;
}

#work .titulo .after-mobile {
    display: none;

}

#dna .medium {
    width: 100%;
    text-align: center;
    position: relative;
    animation: fadeIn 1s ease-out 1s forwards;
}



#dna h2 {
    color: #f27c13;
    font-family: 'Moon';
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 40px;
}

#dna .row {
    width: 100%;
    display: flex;
    justify-content: center;
}

#dna .row button {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #008c94;
    font-weight: bold;
    color: #ffffff;
    border: 0;
    margin: 0 10px;
    font-size: 16px;
    font-family: 'Moon';
    cursor: pointer;
    transition: .5s;
}

#dna .row button:hover {
    transform: scale(1.1);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 20%;
    width: 80%;
    height: 100%;
    background: #313131d9;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Circular */
.modal-circular {
    position: relative;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: #e91e63;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    transform: scale(0);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 2px solid #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-nav:hover {
    background: transparent;
    transform: translateY(-50%) scale(1.1);
}

.modal-nav img {
    width: 16px;
}

.modal-prev {
    left: 30px;
}

.modal-next {
    right: 30px;
}

.modal-next img {
    transform: rotate(180deg);
}

.modal-counter {
    font-size: 14px;
    margin-top: 2px;
    opacity: 0.8;
    font-family: 'Moon';
}


/* 2. El Efecto de Hover (Movimiento a la Derecha) */
.efecto-hover-direccional:hover {
    /* Mueve el botón 10px a la derecha */
    transform: translateX(10px);
    /* Opcional: Cambiar de color para dar más feedback */
    background-color: #2980b9;
}


@keyframes parpadeo {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

.parpadea {
    animation-name: parpadeo;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}



.modal-overlay.active .modal-circular {
    transform: scale(1) rotate(0deg);
}

.modal-content-text {
    text-align: center;
    color: white;
}

.modal-content-text p {
    font-size: 15px;
    line-height: 1.8;
    font-family: "Jost", sans-serif;
    font-weight: 300;
    text-transform: capitalize;
}

/* Botón Close */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    background: white;
    color: #e91e63;
    transform: rotate(90deg);
}

/* Diferentes colores para cada modal */
.modal-circular.modal-1 {
    background: #ca640a;
}

.modal-circular.modal-2 {
    background: #ca640a;
}

.modal-circular.modal-3 {
    background: #ca640a;
}







/* CONTACT--------------------------------------------------------- */

#contact .cont-logo,
#contact .capa,
#contact #menu-btn,
#contact .left,
#contact .center,
#contact .contact-us,
#contact .right .after img {
    opacity: 0;
}


#contact .right .after img:nth-child(1) {
    animation: fadeIn 1s ease-out 1.8s forwards;
}

#contact .right .after img:nth-child(2) {
    animation: fadeIn 1s ease-out 1.8s forwards;
}

#contact {
    width: 100%;
    height: 100vh;
    background: url(../img/bg-home.png);
    background-size: cover;
    background-position: left top;
    position: absolute;
    left: 0;
    top: 0;
}

#contact .left {
    width: 20%;
    height: 100%;
    background: #04ae84;
    mix-blend-mode: multiply;
    position: relative;
    z-index: 0;
    animation: fadeInLeft .5s ease-out 0.4s forwards;

}

#contact .capa {
    width: 20%;
    /* Solo mostrar el 20% izquierdo */
    height: 114%;
    /* Alto que necesites */
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    /* Aqui se hace “el corte” */
    animation: fadeInLeft .5s ease-out 0.4s forwards;

}

#contact .capa img {
    width: auto;
    /* No escalar horizontal */
    height: 100%;
    /* Mantener proporción */
    position: absolute;
    left: 0;
    /* Mostrar desde la izquierda */
    top: 0;
}

#contact .cont-logo {
    position: absolute;
    top: 4%;
    left: 0%;
    text-align: center;
    z-index: 2;
    width: 20%;
    animation: fadeInLeft .5s ease-out 0.4s forwards;

}

#contact .cont-logo p {
    color: #ffffff;
}

#contact .left .after {
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    width: 100%;
    left: 0;
    padding: 0 30px;
    bottom: 40px;
}

#contact .left .titulo {
    position: absolute;
    width: 100%;
    top: 29.5%;
    left: 0;
    text-align: center;
    z-index: 1;
    text-align: right;

}

#contact .left .titulo h1 {
    font-family: 'Moon';
    font-size: 15px;
    color: #fff;
    letter-spacing: 4px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 30px;
    padding-top: 10px;
}

#contact .left .after p {
    color: #fff;
    font-family: 'Moon';
    font-weight: bold;
}

#contact .left .before {
    position: absolute;
    width: 100%;
    top: 30%;
    text-align: center;
}

#contact .left .before img:nth-child(1) {
    max-width: 90%;
}

#contact .left .before img:nth-child(2) {
    display: none;
}

#contact .right {
    width: 80%;
    position: absolute;
    right: 0;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
}



#contact #menu-btn {
    position: absolute;
    right: 4%;
    top: 6%;
    display: flex;
    align-items: center;
    background: transparent;
    border: #2e2e2e;
    cursor: pointer;
    z-index: 2;
    animation: fadeInRight .5s ease-out .4s forwards;

}

#contact #menu-btn img {
    margin-right: 8px;
    transition: .4s;
}

#contact #menu-btn:hover img {
    margin-right: 14px;
}


#contact .right .after {
    width: 100%;
    position: absolute;
    bottom: -30px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

#contact .right .after img {
    width: 40%;
    max-width: 460px;
}

#contact .right .center {
    width: 60%;
    max-width: 580px;
    margin: 0 auto;
    position: relative;
    animation: fadeIn 1s ease-out 1s forwards;
}

#contact .center h2 {
    color: #f70aa0;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

#contact .center p {
    color: #06916f;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

#contact .center form {
    width: 100%;
    max-width: 480px;
}

#contact form input.w-100 {
    width: 100%;
    padding: 20px;
    border: 1px solid #4d4541;
    margin: 5px 0;
    background: transparent;
    color: #2e2e2e;
}


#contact form input.w-50 {
    width: 48%;
    padding: 20px;
    margin: 5px 0;
    border: 1px solid #4d4541;
    background: transparent;
    color: #2e2e2e;
}

#contact form .row {
    display: flex;
    justify-content: space-between;
}

#contact form button {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #f70aa0;
    border-radius: 50%;
    border: 0;
    margin-top: 20px;
    cursor: pointer;
    transition: .4s;
}


#contact form button:hover {
    background: #04ae84;
    transform: scale(1.1);
}

#contact .contact-us {
    width: 94px;
    height: 94px;
    margin: 0 auto;
    background: #f27c13;
    display: block;
    font-family: 'Moon';
    text-align: center;
    font-size: 13px;
    text-decoration: none;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
    position: relative;
    margin-top: 60px;
    mix-blend-mode: multiply;

}


#contact .medium {
    width: 100%;
    text-align: center;
    position: relative;
    padding-top: 13%;
}

#contact h2 {
    color: #f27c13;
    font-family: 'Moon';
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 40px;
}

#contact .row {
    width: 100%;
    display: flex;
    justify-content: center;
}

#home .cont-principal .center .play-img {
    display: none;
}


#contact .row button {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #008c94;
    font-weight: bold;
    color: #ffffff;
    border: 0;
    margin: 0 10px;
    font-size: 16px;
    font-family: 'Moon';
    cursor: pointer;
}

#footer-mobile {
    display: none;
}

#about .logos-mobile {
    display: none;
}

#about .logos-desktop {
    display: block;
}

#about .cont-menu,
.bg-about {
    display: none;
}

#menu ul li:nth-child(2) .before img {
    max-width: 100%;
}


#rotate-mobile {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}


#work .left .titulo .title-mobile-img,
#about .left .titulo .title-mobile-img,
#dna .left .titulo .title-mobile-img {
    display: none;
}


#rotate-mobile.show {
    opacity: 1;
    animation: rotate-img 4s ease-in-out infinite;
}

@keyframes rotate-img {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    35% {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    60% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(45deg);
    }
}

/* Mostrar solo en mobile */
@media (max-width: 768px) {
    #rotate-mobile {
        display: block;
    }
}

@media screen and (min-width: 1920px) and (max-width: 5600px) {
    #home .cont-principal h2 {
        font-size: 850px
    }


    #home .cont-logo {
        top: 5%;
    }



    #home .cont-social {
        bottom: 6.8%;
    }
}


@media screen and (min-width: 1201px) and (max-width: 1440px) {
    #home .cont-principal h2 {
        font-size: 690px
    }
    

    #home .cont-principal h2 {
        font-size: 580px;
        letter-spacing: 24px;
        padding-left: 0;
    }
    
    #home .cont-principal .center .img-play {
        max-width: 420px;
        width: 100%;
        margin-left: -40px;
    }

    #home .cont-principal .center button {}

    #menu ul li a {
        font-size: 220px;
    }

    #home .cont-principal .bottom h3 {
        bottom: -30px;
    }

    #home .cont-logo a img,
    #about .cont-logo a img,
    #work .cont-logo a img,
    #dna .cont-logo a img,
    #contact .cont-logo a img {
        width: 150px;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1199px) {
    #home .cont-principal h2 {
        font-size: 690px
    }
    
    #home .cont-principal .center .img-play {
        max-width: 390px;
        width: 100%;
        margin-left: -40px;
    }

    #home .cont-principal h2 {
        font-size: 450px;
        letter-spacing: 24px;
        padding-left: 0;
    }

    #menu ul li a {
        font-size: 180px;
    }

    #menu ul li:nth-child(2) a {
        top: -150px;
    }

    #home .cont-principal h1 {
        font-size: 10px;
    }

    #home .cont-principal h3 {
        font-size: 10px;
    }

    #home .cont-logo a img,
    #about .cont-logo a img,
    #work .cont-logo a img,
    #dna .cont-logo a img,
    #contact .cont-logo a img {
        width: 120px;
    }

    #home .cont-principal .bottom h3 {
        bottom: 10px;
    }

}





@media screen and (min-width: 320px) and (max-width: 990px) {
    #home {
        background: url("../img/bg-home-mobile.png");
        background-size: cover;
        background-position: left top;
    }


    .modal.active .modal-content {
        transform: scale(1.14);
    }

    #home .cont-principal h2 {
        font-size: 340px;
        letter-spacing: 20px;
        padding-left: 22px;
    }

    #home .cont-principal h1 {
        padding: 0 10px;
    }

    #home .cont-menu {
        top: 4%;
    }

    .cont-logo p {
        font-size: 18px;
    }

    .modal-slide {
        min-width: 100vw;
        width: 100vw;
    }

    .modal-slide img {
         transform: scale(1);
        max-width: 95%;
        max-height: 95%;
    }

    .modal-info {
        display: none;
    }

    .modal-info h2 {
        font-size: 13px;
        font-weight: 300;
        letter-spacing: 3px;
        text-transform: uppercase;
        font-family: 'Moon';
    }




    #home .cont-menu button {
        color: transparent;
    }

    #home .cont-social {
        display: none;
    }

    #home .cont-contact {
        display: none;
    }

    #home .cont-logo {
        position: absolute;
        top: 12%;
        left: 0;
        text-align: center;
        width: 100%;
    }

    #home .cont-principal .center button {
        
        width: 48px;
        text-align: center;
        right: 0;
        margin: 0 auto;
        left: 8px;
        padding: 10px;
    }
    
    .whatsapp-btn{
        bottom: 70px;
        width: 60px;
        height: 60px;
    }
    .whatsapp-btn img{
        width: 100%;
        height: 100%;
    }

    #home .cont-principal .center button img {
        width: 100%;
    }

    #home .cont-principal .center .play-img {
        display: block;
        margin: 0 auto;
        width: 75%;
    }

    #home .cont-principal {
        min-height: 400px;
        height: 70%;
        top: 48%;
        transform: translateY(-50%);
        align-content: center;
        position: absolute;
    }

    #footer-mobile {
        position: absolute;
        z-index: 2;
        display: flex;
        height: 62px;
        bottom: -2px;
        width: 100%;
        left: 0;
        flex-wrap: wrap;
    }

    #footer-mobile .left {
        width: 50%;
        background: #313130;
        display: flex;
        align-items: center;
        height: 100%;
        justify-content: center;
        color: #fff;
    }

    #footer-mobile .left a {
        margin: 0 6px;

    }

    #footer-mobile .left a img {
        height: 13px;
    }

    #footer-mobile .left p {
        margin-right: 10px;
        font-size: 13px;
    }

    #footer-mobile .right {
        background: #d59d34;
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #footer-mobile.work .right {
        background: #e1016d;
    }

    #footer-mobile.dna .right {
        background: #008c94;
    }

    #footer-mobile.contact .right {
        background: #04ae84;
    }

    #footer-mobile.contact .right a {
        color: #fff;
    }

    #dna .contact-us {
        display: none;
    }

    #dna .left .titulo img {
        width: 80px;
        left: 25%;
        margin: inherit;
        top: 10%;
    }

    #dna .left .titulo,
    #contact .left .titulo {
        position: relative;
        top: auto;
    }

    #contact .left .titulo h1 {
        padding-top: 0;
    }

    #dna .left .after {
        justify-content: flex-end;
        bottom: 50%;
        transform: translateY(50%);
    }

    #footer-mobile .right a {
        font-family: 'Moon';
        color: #313130;
        text-decoration: none;
        padding: 20px 30px;
    }

    #footer-mobile.work .right a,
    #footer-mobile.dna .right a {
        color: #fff;
        font-size: 13px;
    }

    #menu ul li {
        width: 100%;
        height: 20%;
        align-content: center;
    }

    .about-wrapper {
        display: flex;
        align-items: flex-start;
    }

    .about-wrapper .info {
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 5%;
    }

    #menu ul li a {
        font-size: 150px;
    }

    #menu ul li:nth-child(2) a {
        top: initial;
    }

    #menu ul li:nth-child(1) .after {
        display: none;
    }

    #menu ul li:nth-child(1) .img {
        top: 14%;
    }

    #menu ul li:nth-child(1) .img img {
        width: 60px;
    }

    #menu ul li:nth-child(1) .before {
        top: 45%;
    }

    #menu ul li:nth-child(2) .after {
        bottom: 45%;
    }

    #menu ul li:nth-child(2) .after p:nth-child(1) {
        color: transparent;
    }

    #menu ul li:nth-child(2) .img {
        top: 22%;
        left: 25%;
    }

    #menu ul li:nth-child(2) .img img {
        width: 90px;
    }

    #menu ul li:nth-child(2) .before {
        display: none;
    }

    #home .cont-principal .top {
        position: initial;
        margin-bottom: 8px;
    }

    #home .cont-principal h1 {
        margin-bottom: 0;
        font-size: 12px;
    }

    #home .cont-principal .bottom h3 {
        font-size: 12px;
        bottom: initial;
    }

    #home .cont-principal .bottom {
        position: initial;
    }

    #menu ul li:nth-child(2) .before-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
    }

    #menu ul li:nth-child(2) .before-mobile img {
        width: 110px;
    }

    #menu ul li:nth-child(2) .before-mobile img:nth-child(1) {
        margin: 0 70px 0 0;
    }

    #menu ul li:nth-child(2) .before-mobile img:nth-child(2) {
        margin: 0 0 0 70px;
    }

    .about-wrapper .info p {
        font-size: 13px;
    }

    #close-menu {
        position: absolute;
        z-index: 3;
        top: 1%;
        right: 4%;
    }

    #menu ul li:nth-child(3) a {
        position: inherit;
    }

    #menu ul li:nth-child(3) .img {
        display: none;
    }

    #menu ul li:nth-child(3) .before {
        top: 45%;
    }

    #menu ul li:nth-child(3)::after {
        display: none;
    }

    #menu ul li:nth-child(3) .before p:nth-child(2) {
        position: relative;
    }

    #menu ul li:nth-child(3) .before p:nth-child(2)::before {
        width: 50px;
        height: 50px;
        background: transparent;
        content: "";
        position: absolute;
        border: 3px solid #862762;
        border-radius: 50%;
        top: -19px;
        left: -8px;
    }

    #menu ul li:nth-child(3) .after {
        bottom: 40%;
    }

    #menu ul li:nth-child(5) .after {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-wrap: wrap;
        align-content: center;
    }


    #menu ul li:nth-child(5) .after img:nth-child(1) {
        display: none;
    }

    #menu ul li:nth-child(5) .after img:nth-child(2) {
        display: block;
    }



    #menu ul li:nth-child(5) .after img {
        width: 120px;
    }

    #menu ul li:nth-child(4) .before {
        display: none;
    }

    #menu ul li:nth-child(4) .after {
        justify-content: flex-start;
        bottom: 46%;
    }

    #menu ul li:nth-child(4) .img img {
        width: 70px;
    }

    #menu ul li:nth-child(4) .img {
        top: 18%;
        left: 32%;
    }

    #menu ul li:nth-child(5) a {
        left: 0;
        right: 0;
        text-align: center;
        color: #000;
        top: auto;
    }

    .item-gallery img {
        filter: grayscale(80%) brightness(0.9);
    }

    #about .right,
    #dna .right,
    #contact .right {
        width: 100%;
        position: absolute;
        right: 0;
        top: 0;
        height: 80vh;
        top: 20%;
    }

    #dna .right {
        align-items: flex-start;
        padding-top: 10%;
    }

    #contact .right {
        align-items: flex-start;
        padding-top: 0;
    }

    #dna h2 {
        margin-bottom: 20px;
    }

    #dna .row {
        flex-wrap: wrap;
    }

    #dna .row button {
        margin: 10px 30px;
    }

    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    #work .right {
        width: 100%;
        position: absolute;
        right: 0;
        top: 0;
        height: 80vh;
        top: 20%;
        animation: fadeInTop 1s ease-out .5s forwards;
    }

    #contact .cont-logo {
        display: none;
    }

    #about .left {
        width: 100%;
        height: 20vh;
        background: #d59d34;
        mix-blend-mode: initial;
        position: relative;
        z-index: 0;
        display: flex;
        align-items: center;
        animation: fadeInDown 1s ease-out .5s forwards;
    }

    #contact .left {
        width: 100%;
        height: 20vh;
        background: #04ae84;
        mix-blend-mode: initial;
        position: relative;
        z-index: 0;
        display: flex;
        align-items: center;
        animation: fadeInDown 1s ease-out .5s forwards;
    }

    #contact .capa {
        display: none;
    }
    
    #home .cont-principal .center .img-play{
        display: none;
    }

    #dna .left {
        width: 100%;
        height: 20vh;
        background: #008c94;
        mix-blend-mode: initial;
        position: relative;
        z-index: 0;
        display: flex;
        align-items: center;
        animation: fadeInDown 1s ease-out .5s forwards;
    }

    #work .left {
        width: 100%;
        height: 20vh;
        mix-blend-mode: initial;
        position: relative;
        z-index: 0;
        display: flex;
        align-items: center;
        animation: fadeInDown 1s ease-out .5s forwards;
    }




    #about .contact-us {
        display: none;
    }

    #about .logos-mobile {
        display: block;
    }

    #about .logos-desktop {
        display: none;
    }

    #about #menu-btn,
    #work #menu-btn,
    #dna #menu-btn,
    #contact #menu-btn {
        top: -23%;
        left: 2%;
        color: transparent;
        width: 42px;
    }

    /* #about .capa {
        width: 160%;
        height: 29vh;
        top: -9vh;
    } */

    #dna .capa {
        display: none;
    }

    #about .capa,
    #work .capa {
        display: none;
    }

    #about .right .after img:nth-child(1),
    #dna .right .after img:nth-child(1),
    #contact .right .after img:nth-child(1) {
        display: none;
    }

    #about .right .after img:nth-child(2),
    #dna .right .after img:nth-child(2),
    #contact .right .after img:nth-child(2) {
        animation: fadeIn 1s ease-out .5s forwards;
    }

    #about .right .after img,
    #dna .right .after img {

        width: 90%;
        right: 0;
        bottom: 60px;
        position: absolute;
        max-width: 280px;
    }

    #about #showClientsBtn {
        font-size: 16px;
    }

    #contact .center h2,
    #contact .center p {
        font-size: 16px;
    }

    #contact .right .after img {

        width: 65%;
        right: 0;
        bottom: 60px;
        position: absolute;
    }

    #dna .row button {
        font-size: 13px;
        width: 120px;
        height: 120px;
    }

    #work .titulo .after-mobile {
        display: flex;
        display: flex;
        justify-content: space-between;
        position: absolute;
        width: 100%;
        left: 0;
        padding: 0 30px;
        bottom: 47%;
    }

    #work .titulo .after-mobile p {
        color: #fff;
        position: relative;
        font-size: 13px;
    }

    #work .titulo .after-mobile p:nth-child(2)::before {
        width: 50px;
        height: 50px;
        background: transparent;
        content: "";
        position: absolute;
        border: 3px solid #862762;
        border-radius: 50%;
        top: -19px;
        left: -8px;
    }

    #about .cont-logo,
    #work .cont-logo,
    #dna .cont-logo {
        display: none;
    }

    #about .right .logos {
        min-width: 280px;
    }

    #about .right .logos img {
        max-width: 280px;
        margin: 10% auto;
    }

    #about .right .logos {
        width: 50%;
        text-align: center;
    }

    #about .left .titulo,
    #work .left .titulo {
        position: relative;
        bottom: auto;
    }

    #work .left .titulo img.img {
        display: none;
    }

    #work .left .titulo img.img2 {
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;
        top: 30%;
    }

    #about .left .titulo h1 {
        font-size: 145px;
        margin-top: 10px;
    }

    #dna .left .titulo h1 {
        font-size: 145px;
    }

    #work .left .titulo h1 {
        font-size: 145px;
    }

    #work .left .titulo .title-mobile-txt {
        display: none;
    }

    #work .left .titulo .title-mobile-img {
        display: block;
        margin: 0 auto;
    }

    #about .left .titulo img {
        width: 80px;
        top: -5px;
        left: -100px;
    }

    #about .left .before {
        display: none;
    }

    #about .left .after {
        bottom: 46%;
    }

    #about .left .after p:nth-child(1) {
        color: transparent;
    }

    #about .left .bg-about {
        display: flex;
        justify-content: center;
        width: 100%;
        position: absolute;
        left: 0;
        /* 1. Mueve el borde superior al 50% del padre */
        top: 50%;

        /* 2. Mueve el elemento hacia arriba la mitad de su PROPIA altura */
        transform: translateY(-50%);
    }

    #about .left .bg-about img:nth-child(1) {
        margin-right: 100px;
    }

    #about .cont-menu {
        display: block;
        z-index: 9;
        position: absolute;
        left: 4%;
        top: 4%;
    }

    #about .cont-menu #menu-btn.menu-btn-2 {
        display: block;
        position: initial;
        display: flex;
        align-items: center;
    }

    #about .cont-menu #menu-btn.menu-btn-2 img {
        width: 30px;
    }

    .item-gallery {
        min-width: 25%;
        filter: grayscale(80%) brightness(0.5);
    }

    .item-gallery.active {
        min-width: 50%;
        filter: grayscale(0%) brightness(1);
    }

    #work .buttons {
        bottom: 50%;
    }

    #work .buttons button {}

    .item-gallery.active img {
        filter: grayscale(0%) brightness(1);
    }

    .item-gallery.active h2 {
        opacity: 1;
        display: block;
    }

    .item-gallery .zoom-btn {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
        top: 44%;
        width: 70px;
        height: 70px;
        z-index: 20;
    }

    .item-gallery.active .zoom-btn {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
        top: 44%;
        width: 70px;
        height: 70px;
    }

    .buttons button {
        color: transparent;
        font-size: 3px;
    }



    /* Desactivar hover en mobile */
    .item-gallery:hover img {
        filter: grayscale(100%) brightness(0.5);
    }

    .item-gallery.active:hover img {
        filter: grayscale(0%) brightness(1);
    }

    .item-gallery:hover h2 {
        opacity: 1;
    }

    .item-gallery:hover .zoom-btn {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }

    .item-gallery.active:hover .zoom-btn {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    .carousel-wrapper #next,
    .carousel-wrapper #prev {
        top: 41%;
        font-size: 3px;
        color: transparent;
    }

    .carousel-wrapper #prev img,
    .carousel-wrapper #next img {

        width: 20px;
        height: 20px;
    }

    #contact .left .before {
        top: 50%;
        transform: translateY(-50%);
    }

    #contact .left .before img:nth-child(2) {
        display: block;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    #contact .right .center {
        width: 80%;
        top: 4%;
    }

    #contact form input.w-100,
    #contact form input.w-50 {
        padding: 14px;
    }

    #contact .left .before img:nth-child(1) {
        display: none;
    }


    #home #menu-btn img:nth-child(1) {
        display: block;
    }

    #work #cont-gallery {
        height: 79vh;
    }

    #menu-btn img:nth-child(1) {
        display: none;
    }

    #menu-btn img:nth-child(2) {
        display: block;
        width: 42px;
        margin-left: 2%
    }

    #home .cont-principal .center .play-txt {
        display: none;
    }

    #work .item-gallery h2 {
        display: none;
    }

    #work .item-gallery.active h2 {
                display: block;
        top: 54vh;
        width: 100%;
        background: #00000082;
        left: 0;
        height: 45px;
        padding: 6px;
        font-size: 12px;
    }

    #work .left .titulo .title-mobile-txt,
    #about .left .titulo .title-mobile-txt,
    #dna .left .titulo .title-mobile-txt {
        display: none;
    }

    #work .left .titulo .title-mobile-img,
    #about .left .titulo .title-mobile-img,
    #dna .left .titulo .title-mobile-img {
        display: block;
        margin: 0 auto;
    }

    #about .left .titulo .title-mobile-img {
        width: 110px;
        position: relative;
        left: 0;
        top: 0;
    }

    #dna .left .titulo .title-mobile-img {
        position: relative;
        left: 0;
        top: 0;
    }

}

/*_______________________________________________________________________________*/


@media screen and (min-width: 768px) and (max-width: 990px) {
    #home .cont-logo {
        top: 10%;
    }

    #home .cont-principal {
        top: 50%;
        width: 85%;
    }
}


/* .modal-content img {
   width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: slideIn 0.5s ease-in-out;
    transform: scale(1.2);
} */



.modal-slider {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    height: 100vh;
    width: 100vw;
    transition: transform 0.6s ease-in-out, opacity 0.3s ease;
}

.modal-slider.fade-out {
    opacity: 0;
}

.modal-slide {
     position: relative;
    min-width: 100vw;
    max-width: 100vw;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.modal-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    transform: scale(1.2);
}
