*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;

}
html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: block;
}



.logo img {
    width: 180px;
    margin: auto;
}
li{
    list-style: none;

}
a{
    text-decoration: none;
    color: #000000;
    font-size: 0.9rem;
}
.navbar a:not(.active):hover {
    color: #038036; /* Cambia el color del texto en hover */
}

.active {
    color: #fff;
    background-color: #038036; /* Color del borde */
    padding: 11px 11px;
    border-radius: 7px; /* Bordes redondeados */
}

header{
    width: 100%;
    background-color: #ffffff;
    position: fixed;
    z-index: 10000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.navbar{
    position: relative;
    width: 80%;
    max-width: 1350px;
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .links{
    display: flex;
    gap: 2rem;
}
.navbar .toggle{
    color: #038036;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}
.redes-sociales{
    display: flex;
    gap: 30px;

}
.redes-sociales a{
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
}

.menu_desplegable.open + .toggle .redes-sociales {
    display: none;
}

/*MENU DESPLEGABLE*/
.menu_desplegable{
    display: none;
    position: fixed;
    right: 2.5rem;
    top: 80px;
    height: 0;
    width: 300px;
    background: #ffffff;
    backdrop-filter: blur(15px);
    border-radius: 14px;
    overflow: hidden;
    transition: height 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 8px rgba(0, 0, 0, 0.4);
}
.menu_desplegable.open{
    height: 242PX;
}

.menu_desplegable li{
    padding: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu_desplegable li:last-child{
    display: flex;
    gap: 30px;
}

/*DISEÑO RESPONNSIVE*/
@media (max-width: 970px) {
    .navbar .links,
    .navbar .redes-sociales {
        display: none;
}
.navbar .toggle {
    display: block;
}
.menu_desplegable {
    display: block;
}
}
@media (max-width: 576px) {
    .menu_desplegable{
        left: 2.5rem;
        width: unset;
    }
}


/*EMCABEZADO*/

.encabezado {
    width: 100%;
    height: 60%;
    margin: auto;
    position: relative;
    overflow: hidden;
    
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed;
}

.titulo_animado {
    z-index: 1000;
    font-size: 22px;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    animation: entrada 1s forwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}



@media screen and (max-width: 768px){
    .encabezado{
        height: 60%;
    }
}

/* Estilos responsivos para el título animado */
@media screen and (max-width: 470px) {
    .titulo_animado {
        font-size: 4vw;
    }
}

@keyframes entrada {
    0% {
        opacity: 0;
        transform: translate(-50%, 100%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
.sumita{
    margin: auto;
    position: relative;
    width: 100%;
    background-color: #00170A;
    padding:5%;
}
.grid {
    width: 89%;
    max-width: 1350px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 40px;
}
.grid p{
    font-family: montserrat_bold;
}
.box p{
    font-family: montserrat;
    font-weight: 600;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 7px;
    height: 100%;
}
.grid-item img{
    width: 100%;
    height: 100%;
    
}

.grid-item .more {
    width: 60%;
    
}

.button-hover {

    width: 100%;
    position: absolute;
    bottom: 1%; 
    left: 50%;
    transform: translateX(-50%);
    padding:4% 32.5% 4%;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.grid-item:hover .button-hover {
    opacity: 0.7;
}
#moku{
    width: 72%;
    margin-bottom: 89%;
    margin-left: 15%;
}

.grid-item:hover .button-hover:hover {
    opacity: 1; 
}
.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.grid-item:hover::before {
    opacity: 1;
}

.modal-container{
    z-index: 10000;
    display: none;
    background-color: rgba(0, 0, 0, 0.4);
    pointer-events: auto;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    backdrop-filter: blur(6px); 
}

.modal{
    position: relative;
    pointer-events: auto;
    top: 50%;
    left: 50%;
    padding:2%;
    background-color: #f0ebeb;
    transform: translate(-50%, -50%);
    width: 68%;
    height: 78%;
    max-width: 100%;
    border-radius: 25px;
    box-shadow: 0 2px 4x rgba(0, 0, 0, 0.2);
    text-align: center;

}


.close-modal {
    z-index: 10001; 
    position: absolute; 
    top:20px;
    right: 20px; 
    border: none;
    font-size: 28px;
    background-color: transparent; 
    color: #000;
    cursor: pointer;
}

.separ{
    margin: auto;
    width:100%;
    height: 100%;
    display:grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 25px;
    overflow: hidden;
    align-items: center;
}
.separ > * {
    max-width: 100%; 
    max-height: 100%; 
    overflow: hidden;
}
.separ .info{
    align-items: center;
    padding: 0 7%;
    display: block;
}
.info{
    position: relative;
}

.info h2 {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
}

.info img {
    margin: auto;
    width: 50%;
    padding-top: 5%;
    padding-bottom: 4%;
    position: relative;
}

h2{
    background-color: #038036;
    border-radius: 20px;
    color: #f0ebeb;
    font-family: montserrat_bold;
    font-weight: 900;
    font-size: 1.4rem;
    padding:2%;
    margin-bottom: 5%;
}
.info ul {
    font-size: 0.9rem;
    list-style-type: none;
    padding-left: 0;
    text-align: left;
}
.info ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0.6rem;
    text-align: left;
}
.info ul li::before {
    content: '•';
    color:#6A952F;
    font-size: 45px;
    position: absolute;
    left: 0;
    margin-top: -18PX;
}

.containe{
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    padding: 5%;
}

.containe img{
    overflow: hidden;
    height: 80%;
    width: 100%;
    
    
}
.carousel {
    
    position: relative;
    width: 100%;
    height: 18%;
    align-items: center;
}

.main_img {
    width: 100%;
    height: 100%;
    border-radius: 20PX;
    object-fit: cover;
}

.thumbnail_conteine{
    display: flex;
    gap: 10px;
    width: 100%;
    height: 18%;
    object-fit: cover;
}

.thumbnail_conteine .thumbnail {
    height: 100%;
    width: 100%;
    border-radius: 7px;
    cursor: pointer;
    opacity: .7;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.thumbnail:hover {
    opacity: 1;
}

.thumbnail.activ{
    opacity: 1;
    box-shadow: 0 4px 4px rgba(1, 23, 46, 0.6);
    z-index: 100000;
}

@media screen and (max-width: 870px) {
    .sumita{
        width: 100%;
        padding: 0;
        padding-top:7%;
        padding-bottom:7%;
    }
    .grid{
        padding-bottom: 0;
        width: 87%;
        grid-template-columns: repeat(2,1fr);
    }
    .modal{
        width: 75%;
        height: 80%;
    }
    .separ{
        display: block;
        padding: 2.8%;
        grid-gap: 5px;
        grid-template-columns: repeat(1,1fr);
    }
    .containe{
        padding:0;
        height: 50%;
    }
    .separ .info{
        display: block;
        padding: 4%;
        height: 50%;
    }
    .info img{
        width: 49%;
        padding-top: 0%;
        padding-bottom: 4%;
        position: relative;
    }
    #modal13 .info ul{
        max-height: 50%;
    }
    
}
@media screen and (max-width: 470px) {
    .sumita{
        width: 100%;
        padding: 0;
        padding-top:15%;
        padding-bottom:15%;
    }
    .grid{
        padding-bottom: 0;
        width: 85%;
        grid-template-columns: repeat(1,1fr);
    }
    .button-hover{
        padding:85% 27% 4%;
    }
    .modal{
        width: 88%;
        height: 95%;
    }
    .separ{
        display: block;
        padding: 2.8%;
        grid-gap: 5px;
        grid-template-columns: repeat(1,1fr);
    }
    #moku{
        width: 60%;
        margin-bottom: 65%;
        margin-left: 20%;
    }
    .containe{
        padding:0;
        height: 50%;
    }
    .separ .info{
        display: block;
        padding:0.8%;
        height: 50%;
    }
    .info img{
        width: 49%;
        padding-top: 2%;
        padding-bottom: 4%;
        position: relative;
    }
}


    .info ul{
        max-height: 70%;

    }
    #modal10 .info ul{
        max-height: 70%;
        overflow-y: auto;
    }
    #modal13 .info ul{
        max-height: 50%;
        overflow-y: auto;
    }

/* Estilos iniciales para ocultar la tarjeta */
.tarjeta-personal {
    opacity: 0;
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 1001;
    pointer-events: auto;
    transition: opacity 0.4s ease-in-out, transform 0.3s ease-in-out;
    transform: translateY(100%);
    padding-bottom: 60px;
}


/* Mostrar la tarjeta con animación */
.tarjeta-personal.show {
    opacity: 1;
    pointer-events: none;
    transform: translateY(0); /* Deslizar hacia arriba */
}

/* Fondo oscuro para el modo modal */
#modalBackground {
    display: none; /* Oculta el fondo por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

/* Estilos específicos de la tarjeta */
.target {
    pointer-events: all;
    margin-bottom: 0;
    position: relative;
    margin: auto;
    width: 355px;
    height: 300px;
    color: #e9e8e8;
    background: linear-gradient(to top,#09863b 0%,#003515 66%);
    text-align: center;
    border-radius: 30px 30px 0 0;
    padding-top: 80px;
    z-index: 1002;
    

}
.target::before {
    content: "";
    display: flex;
    pointer-events: all;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 12px;
    width: 95%;
    height: 90px;
    z-index: -10;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.13);
    transform-origin: bottom;
    transition: transform 0.5s, height 0.5s;
}



.target:hover::before {
    height: 181px;
    border-radius: 20px;
    animation: none; /* Deshabilita la animación al hacer hover */
}



.target img{
    pointer-events: none;
    width: 140px;
    border-radius: 100%;
    position: absolute;
    top: -66px;
    left: 50%;
    transform: translateX(-50%);

}

.ame {
    margin: 38px 0 15px;
    transition: margin 0.5s; /
}
.target:hover .ame {
    margin: 30px 0 29px; 
}
.marcando{
    top: 125px;
    left: 50%;
    position: absolute; 
    
}
.marcando img{
    width: 40px;
    height: auto;
    border: none;
}
.ame h5 {
    margin: 10px 0 5px;
    font-size: 20px;
    letter-spacing: 0.4px;
    font-family: montserrat_regular;
    font-weight: 900;
}

.ame h6 {
    margin: 5px 0 px;
    font-size: 16px;
    color: #ccc;
    font-weight: 100;
    font-family: montserrat_regular;
}

.morkus {
    display: flex;
    gap: 28px;
    justify-content: center;
    align-items: center;
}

.morkus {
    display: flex;
    gap: 28px;
    justify-content: center;
    align-items: center;
}

.morkus a {
    z-index: 1001;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    color: #e9e8e8;
    font-size: 2.2rem;
    transition: color 0.3s;
    background-color: #111010;
    border-radius: 100px;
    pointer-events: all;
    transition: transform 0.27s ease-in-out;
}

.morkus a:hover {
    background-color: #000000;
    transform: scale(1.15);
    box-shadow: 0 9px 8px rgba(0, 0, 0, 0.7);
}

/* PIE DE PAGINA */
footer{
    position: relative;
}
.ultim{
    margin: auto;
    width: 100%;
    background-image: url(../Imagenes/font.png);
    background-attachment: fixed; 
    overflow: hidden;
    box-sizing: border-box;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    flex-direction: column;
    padding: 2%;
    }
    
    .offut{
        font-size: 2.7rem;
        
    }
    .ultim .tifu{
        color: #fff;
        width: 82%;
        margin: auto;
        max-width: 1350px;
        display: grid;
        grid-template-columns: repeat(2,1fr);
        grid-gap: 50px;
        padding: 45px 0px;
        text-align: left;
    }
    .conta_tos {
        font-family: montserrat_bold;
        font-size: 18px;
        color: #fff;
        margin: auto;
        width: 250PX;
        justify-content: center;
        align-items: center;
        background-color: #038036; 
        border: none; 
        border-radius: 50px; 
        text-decoration: none;
        transition: all 300ms ease;
        padding: 20PX;
        text-align: center;
    }
    .tifu button a{
        font-family: montserrat_bold;
        color: #fff;
    }
    .conta_tos:hover {
        background-color: #5c7f28; 
    }
    
    .pie-pagina{
        position: relative;
        width: 100%;
        background-color: #00170A;
        text-align: center;
    }
    
    .pie-pagina .grupo-1{
        width: 100%;
        max-width: 1200px;
        margin: auto;
        display: grid;
        grid-template-columns: repeat(3,1fr);
        grid-gap: 50px;
        padding: 45px 0px;
    
    }
    .pie-pagina .grupo-1 .box figure{
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .box{
        margin: 20px;
        display: flex; 
        justify-content: center; 
        align-items: center; 
        flex-direction: column;
    }
    .box img{
        width:250PX;
    }
    .grid p{
        font-family: montserrat_bold;
    }
    .box p{
        font-family: montserrat;
        font-weight: 600;
        text-align: center;
    }
    .pie-pagina .grupo-1 .box p{
        color: #fff;
        margin-bottom: 10PX;
    }
    .re-social a {
        display: inline-flex; 
        justify-content: center; 
        align-items: center; 
        width : 70px;
        height: 70px; 
        font-size: 1.7rem;
        background-color: #038036; 
        color: #ffffff; 
        border-radius: 50%;
        margin: 7px; 
        text-decoration: none; 
        transition: all 300ms ease;
    }
    .re-social a:hover{
        background-color: #6A952F;
    
    }
    .pie-pagina .all-derechos{
        background-color: #038036;
        color: #fff;
        text-align: center;
        padding: 20PX 10PX;
    }
    .pie-pagina .all-derechos{
        font-size: 1.1rem;
    }
    .all-derechos img{
        height: 0.85rem;

    }
.hc{
    z-index: 10000;
}
.scroll-btn {
    width: 45px;
    height: 45px;
    font-size: 15px;
    border-radius: 50px;
    border: none;
    background-color: #038036;
    color: #f0ebeb;
    margin: 7px;
    position: fixed;
    bottom: 4px;
    right: 25px;
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000; /* Asegura que el botón esté en la parte superior */
    transition: opacity 0.5s, visibility 0.8s; /* Transición suave */
}
.scroll-btn.show {
    opacity: 1;
    visibility: visible;
}
#scroll-btn:hover{
    background-color: #6A952F;
}


.whatsapp-button {
    width: 80px;
    height: 80px;
    position: fixed;
    bottom: 65px;
    right: 15px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    font-size: 50px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease;
    animation-delay: 0.6s;  
}

.whatsapp-button :hover{
    transform: scale(1.1);
}

.whatsapp-button{
    opacity: 0;
    transform: translatex(20px); /* Empiezan desplazados hacia abajo */
    animation: entradaDesdeDerechaS 0.8s forwards;
    animation-delay: 0.8s;
}


@keyframes entradaDesdeDerechaS {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

    @media screen and (max-width: 870px) {
    
        .pie-pagina .grupo-1{
            width: 80%;
            grid-template-columns: repeat(1,1fr);
            grid-gap: 40px;
            padding: 45px 0px;
        }
        .grupo-1 a img{
            width: 150PX;
        }
        .box{
            margin: 3px;
        }
        .ultim .tifu{
            grid-template-columns: repeat(1,1fr);
            width: 80%;
        }
        .offut{
            font-size: 1.9rem;
            text-align: center;
        }
        .conta_tos{
            width: 60%;
        }
    }
    @media screen and (max-width: 470px) {
    
        .pie-pagina .grupo-1{
            width: 80%;
            grid-template-columns: repeat(1,1fr);
            grid-gap: 40px;
            padding: 45px 0px;
        }
        .grupo-1 a img{
            width: 70%;
        }
        .box{
            margin: 3px;
        }
        .ultim .tifu{
            grid-template-columns: repeat(1,1fr);
            width: 80%;
        }
        .offut{
            font-size: 1.5rem;
            text-align: center;
        }
        .conta_tos{
            width: 82%;
        }
    }
    