
.menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0px;
    position: relative;
    align-self: stretch;
    
    background-color: #ffffff;

    height: 55px;
    padding-left: 10px;

}

.logo {

    align-self: stretch;
    width: 102px;
    
    background-image: url('../public/images/Logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left top;


}

.espaciador {
    flex-grow: 1;
    
}





.menu-checkbox {

    display: none;

}

.boton-hamburguesa {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    position: relative;
    
    width: 30px;
    padding: 10px 10px;
    gap: 10px;
    border: 0px;
    background-color: white;
    

}

.boton-hamburguesa span {

    height: 1px;
    
    background-color: #000000;
    border: 2px solid #000000;
    border-radius: 12px;
  
}


.menu-nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: 60%;
    background-color: white;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease-in-out;

    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 5;
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu-list li a {
    display: block;
    color: black;
    text-decoration: none;
    padding: 0.9rem 1rem;
    /* transition: background-color 0.2s; */
}

.menu-list li a:hover {
    background-color: #6cbb4a;
    color: white;
}


.menu-checkbox:checked ~ .menu-nav {
  max-height: 300px;
}

/* Transformación opcional del botón a una "X" cuando está abierto */
.menu-checkbox:checked + .boton-hamburguesa span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 11px);
}

.menu-checkbox:checked + .boton-hamburguesa span:nth-child(2) {
  opacity: 0;
}

.menu-checkbox:checked + .boton-hamburguesa span:nth-child(3) {
  transform: rotate(-45deg) translate(10px, -13px);
}



#foto-inicial {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px 0px;
    position: relative;
    
    height: 650px;
    flex: 0 0 auto;
    order: 1;
    
    z-index: 4;
    
    background-image: url('../public/images/principal1.png');
    background-size: cover;
    background-position: 60% 38%; 

 
    
}

#foto-inicial .contenedor-vertical {

    justify-content: flex-end;

    padding: 0px;

}

.frame-foto {
    align-items: center;
    position: relative;
    padding: 0px;

    width: 100%;

    order: 0;
    flex-grow: 1;
    z-index: 0;

    background-color: rgba(0, 0, 0, 0.5);

}




.frame-texto-boton {
    
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;


    padding-left: 15px;
    padding-right: 15px;

    gap: 30px;

    position: relative;
    align-self: stretch;

    height: 248px;
    right: 0px;
    bottom: 30px;

    flex: none;
    order: 1;
    flex-grow: 0;
    z-index: 1;
}

.texto-imagen {
    
    font-weight: 500;
    font-size: 32px;
    line-height: 100%;
    
    text-align: right;
    letter-spacing: -0.019em;

    color: #FFFFFF;

}

.frame-texto-boton .contenedor-boton {

    padding: 0px;

}


.contenedor-boton {
    display: flex;
    flex-direction: column;
    justify-content: center;

    align-self: stretch;

    padding: 20px 0px 20px 0px;
    align-items: center;
    position: relative;
    height: 50px;

    flex: 1 1 auto;
    order: 1;
    
}

.contenedor-boton a{

    width: 100%;

}

.boton-interno {

    box-sizing: border-box;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;

    width: 100%;
    height: 50px;

    background: #FFFFFF;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 12px;

    cursor:pointer;

    transition: transform 0.2s ease-in-out;
    
}


.texto-boton {
    width: 100%;
    
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    /* or 26px */
    text-align: center;
    letter-spacing: -0.005em;
    color: #000000;



}

.boton-interno:hover {

    /*background: #56bbdc;*/
    
    border: 2px solid rgba(22, 247, 6, 0.934);
    box-shadow: 3px 3px 6px white;

}

.oscuro:hover {

    /*background: #56bbdc;*/
    
    border: 2px solid rgba(22, 247, 6, 0.934);
    box-shadow: 3px 3px 6px black;

}

.oscuro {
    background: #000000;
}

.oscuro .texto-boton{
    color: #FFFFFF;
}

.contenedor-vertical {
    
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-grow: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    
    height: 100%;
    
}


/* puede variar según el tamaño de la pantalla */
.contenedor-flexible {
    
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-grow: 0;
    padding: 0px;
    
    height: 100%;

    gap: 60px;

}

.no-gap {
    gap: 0px;
}

.header-seccion {
    width: 100%;
    height: 100%;
 
    font-size: 32px;

    font-weight: 700;

    letter-spacing: -0.010em;

    line-height: 150%;

    margin-bottom: 25px;
    
    
}

.header-secundario {
     
    font-size: 24px;
    font-weight: 600;  

}



.list{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}



.row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;

    height: 100%;

    background: rgba(205, 234, 255, 0.5);
    border-radius: 16px;

    /* Inside auto layout */
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;

}

.row-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 12px;

    width: 158px;
    height: 36px;

    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;

}

.icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 12px;

    width: 24px;
    height: 24px;

    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;

}

.shape {
    width:75%;
    height:75%;

    background: rgba(0, 0, 0, 0.45);

}


.row-header {
    width: 100%;
    height: 36px;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 150%;
    /* identical to box height, or 36px */
    letter-spacing: -0.022em;

    color: #000000;

}

.row-detail {
    width: 100%;
    
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    /* or 27px */
    display: flex;
    align-items: center;
    letter-spacing: -0.022em;

    color: rgba(0, 0, 0, 0.55);

} 


#row-1 .icon .shape {
    
    border-radius: 100%;
    
    
}


#row-2 .icon .shape {
    
    transform: rotate(45deg);

}

#row-3 .icon .shape {

    height:90%;
    width:90%;
    clip-path: polygon(50% 10%, 0% 100%, 100% 100%);

}


#row-2  {

    background: rgba(155, 213, 255, 0.5);
    
}


#row-3  {

    background: rgba(56, 171, 255, 0.5);
    
}


#nuestros-servicios {

    background-image: url('../public/images/fondo_mesh.png');
    background-size: cover;
    
    background-position: center; 
    

}


.feature-cards {

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    
}


.feature-cards-group {

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    
        
}

#cards-group-2 {

    display: none;
}


.card {

    box-sizing: border-box;

    /* Auto layout */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0px;

    max-width: 292px;
    
    
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.02), 0px 6px 12px rgba(0, 0, 0, 0.03);
    border-radius: 16px;

}

.card-image {
    
    border-radius: 16px 16px 0px 0px;

    background-color: white;

    min-height: 143px;

    width: 100%;


}


.card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;


}


.card-header {
    
    font-weight: 600;
    font-size: 24px;
    line-height: 145%;
    letter-spacing: -0.02em;

    color: #000000;

}

.card-detail {
    
    line-height: 140%;
    
    color: rgba(0, 0, 0, 0.55);
}


#card-e-commerce .card-image {

    background-image: url('../public/images/servicios_e-comm.png');
    background-size: auto;
    background-position: 60% 40%; 

}


#card-custom-software .card-image {

    background-image: url('../public/images/servicios_software_medida.png');
    background-size: auto;
    background-position: 60% 40%; 

}

#card-api .card-image {

    background-image: url('../public/images/servicios_API.png');
    background-size: auto;
    background-position: 60% 40%; 

}

#card-web-site .card-image {

    background-image: url('../public/images/servicios_sitios_web.png');
    background-size: auto;
    background-position: 60% 40%; 

}


#contactanos {

    color:#FFFFFF;
    background-color: #000000;

}


#contactanos .detalle-seccion {
    
    line-height: 200%;
    
    letter-spacing: -0.019em;

}

form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;

}

.contenedor-vertical:has(form) {
    
    width: 100%;
    padding: 0px;
    align-items: stretch;
    

    
}

#contactanos form .contenedor-vertical {
    
    padding: 0px;

    flex: 0 1 auto;
    
}


input::placeholder, textarea::placeholder {
  
    color: #999999;
    font-style: italic;


}


.field-input {
    
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    
    width: calc(100% - 10px);
    height: 30px;

    background: #CDEAFF;
    border: 4px solid #5ABFFF;
    border-radius: 6px;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    
}

#comentarios {
    
    height: 160px;
    resize: none;
    
}


footer {

    padding-top: 20px;
    padding-bottom: 20px;
    padding-left:10px;
    padding-right:10px;
    background: #F5F5F5;
    
}

.texto-footer {

    font-family: 'Inter';
    font-style: normal;
    font-weight: 200;
    font-size: 15px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #000000;
    opacity: 0.6;

    text-align: center;

    align-self: stretch;

}

#sugerencias-div {
    position: absolute; left: -5000px;
}


/* Tablet */

@media screen and (min-width: 768px) {

    .boton-hamburguesa {
        display: none;
    }


    .menu-nav {
    
        top: 0;
        max-height: max-content;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    
    }

    .menu-list {
        flex-direction: row;
        justify-content: right;
    }

    section {

        padding-left: 64px;
        padding-right: 64px;

    }

    .frame-texto-boton {

        padding-right: 64px;

    }


    .texto-imagen {
    
        font-size: 40px;
        
    }

    .contenedor-boton {
        
        align-items: flex-end;
        
    }

    .contenedor-boton a {

        width: fit-content;

    }


    .boton-interno {

        
        width: 125px;
        
        
    }

    .texto-boton {
        
        font-size: 16px;
        
    }

    #nuestros-servicios {

        overflow: hidden;

    }

    #cards-group-2 {

        display: flex;
    }

    .feature-cards {

        display: flex;
        flex-direction: row;
        width: max-content;
        animation: scrolling 10s linear infinite;

    }

    .feature-cards-group {

        display: flex;
        flex-direction: row;
        gap: 20px;
        padding-right: 20px;


    }

    .feature-cards:hover {

        animation-play-state: paused;

    }

    @keyframes scrolling {

        0% { transform: translateX(-1.5%); }
        100% { transform: translateX(-51.5%); }
    }


    .card {

        min-width: 292px;

    }
    





}


/* Desktop */

@media screen and (min-width: 1024px) {

    section {

        min-height: 688px;
        padding-top: 3%;

    }

    #foto-inicial {

        min-height: 0px;

    }

    .contenedor-flexible {

        flex-direction: row;

        justify-content: center;

    }

    .no-gap {

        justify-content:right;
        padding-left: 40%;

    }

    #nuestros-servicios .contenedor-boton {
        
        align-self: center;

        padding-left: 20px;
        padding-right: 20px;
        padding-top: 50px;
        
    }

    #punch {

        padding-top: 40px;

    }


    footer .contenedor-flexible {

        justify-content:space-between;

    }


    #quienes-somos .contenedor-flexible .contenedor-vertical {

        width: stretch;

    }

    .list{
        
        width: stretch;

    }


    footer {

        padding-left:30px;
        padding-right:30px;
        
    }

    

}