*   {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }
body{
    margin: 0;
    font-family: montserrat;
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    width: 100vw;
    max-width: 100vw;
    justify-content: center;
    background-color: #ededed;
    padding: 0;
}

div, body, header, nav, ul, footer {
    box-sizing: border-box;
}

.main-wrapper,header, footer{
    max-width: 100vw;
    margin: auto;
}
h1, h2, h3, h4, p {
    text-wrap: balance;
    margin-left: 40px;
}
p{
    text-wrap: pretty;
}
/*Header */

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
    padding: 10px 40px;
    flex-wrap: wrap;
    position: sticky;
    z-index: 1000;
    height: 150px;
    background: linear-gradient(45deg, rgb(3, 3, 65) 20%, #48e 70%);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    top: 0;
}
.main-wrapper{
    max-width: 1024px;
    flex-grow: 1;
}
.container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
    flex-wrap: wrap;
    transform: translateY(80px)
    margin-top: 0px;
}
.logo {
    height:50px;
    width: 160px;
    margin-top: 5px;
    margin-bottom: -75px;
    margin-left: 50px;
}

.main-navbar {
    display: flex;
    align-items: center;
}

/* Menú visible cuando se activa */


    .menu-toggle {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.main-navbar ul {
    display: flex;
    padding: 0px;
    gap: 8px
    list-style: none;
    margin:0;
}

.main-navbar li {
    list-style: none;
    margin: 4px;
    align-items: center;
    top: 50%;
    transform: translateY(-90%);
    font-size: 15px;
}

.main-navbar a {
    color: #fff;
    display: inline-block;
    padding: 6px 9px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

nav a {
    text-decoration: none;
}
a:hover {
    opacity: 0.7;
}

.btn-contacto {
    background-color: rgb(89, 5, 80);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    justify-content: flex-end;
    margin-right: 80px;
    align-items: center;
    position: relative;
    list-style: none;
    gap: 25px;
    margin: 0;
}

.nav-link {
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    transition: 0.3s;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-link.active {
    background-color: #0a57d4; /* Ejemplo: morado */
    border-radius: 5px;
    color: #fff;
}
    
.menu-toggle {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}
/*bannr*/
.banner {
    background-color: rgb(90, 235, 243);
    width: 100vw;
    min-height:250px;
    max-height:565px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border:none;
}

.img{
    position: relative;
    width:100vw;
    max-height: 565px;
    min-height:250px;
}

.texto_intro{
    box-sizing: border-box;
    background-color: #ededed;
    color: #043c45;
    width: 100vw;   
    min-height: 360px;
    padding: 60px;
    text-align: center;
    background-image: url(Fondo\ blanco\ rombos.jpg);
}

.text_intro h1{
    font-family: montserrat;
    color: #18233f;
}

.texto_intro p{
    margin-top: 35px;
    font-family:montserrat;
    color: #1b1a1a;
    text-align: justify;
    line-height: 25px;
    }    


.divisiones__flc{
    display: inline-block;
    color: #043c45;
    box-sizing: border-box;
    text-align: center;
    box-shadow: #000f00;
    width: 100vw;
    background-image: url(Fondo\ blanco\ rombos.jpg);
}

.divisiones__flc H2{
    margin-top: 30px;
    padding: 0px;
    font-size: 25px;
    }

/*sección productos*/

.container_card{
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 90px;
    margin: 40px 0 40px 0;
    font-size: 15px;
    box-sizing: border-box;
    width: 100vw;
}

.card_negocios{
    min-width: 270px;
    max-width: 600px;
    min-height: 380PX;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: black;
    box-sizing: border-box;
    box-shadow: 2px 2px 2px 2px #888, 0px 0px 5px #000;
}

.card__frontdiv{
    background-color: white;
    
}

.card__datadiv p{
    margin-top: 15px;
    text-align: justify;
    margin: 22 45px 0 45px;
    color: #000f00;
}

.card__datadiv{
background-color: white;
padding: 20px;
}


.card__datadiv span{
    color: #043c45;
    font-weight: bolder; 
    font-size: 20px;  
    margin-top: 20px; 
}

.card__uen img{
    height: 80px;
    width: 180px;
    display: block;
    margin: auto;
    margin-top: 20px;
}

.card__une img{
    height: 100px;
    width: 220px;
    display: block;
    margin: auto;
    margin-top: 20px;
}

*{
    box-sizing: border-box;
}
body,div,ul,li,a,h1,h2,h3,h4,p{
    margin: 0;
    padding: 0;
}
/*section fundadores*/
.perfiles_fundadores{
    background: radial-gradient(circle, #19021e, rgb(48, 3, 50));
    --card-color: #fff;
    --card-bg-color: #fff6;
    --dark-color:#f62;
    --text-color:#444;
    background-color: var(--bg-color);
    font-family: Montserrat;
    padding: 90px;
    max-width: 100vw;
    min-width: 30vw;
    min-height: 120px;
    justify-content: center;
    align-items: center;
    display:inline-block;
    flex-grow: 1;
    place-items: center;
    box-shadow: 30px;
    

    
}
.fundadores h2{
    text-align: center;
    display: flex;
    width: 100%;
    color: white;
    padding: 0px;
    margin-top: 30px;
    margin-bottom: 50px;
    justify-content: center;
    align-items: center;
}

.card__front{
background-color: white;
border-radius: 20px;
}


/* Section Cards */
body{
    --bg-color: rgb(60, 2, 55);
    --card-color: #1e83f6;
    --card-bg-color: #043c45;
    --dark-color:#f62;
    --text-color:#444;
    background-color: var(--bg-color);
    font-family: Montserrat;
    display: flex;
}
.card{
    max-width: clamp(160px, 50%, 620px);
    background-color: var(--card-bg-color);
    position: relative;
    border-radius: 20px;
    width: 100vw;
    height: 100%;
    display: inline-block;
    flex: 1;
    margin: auto;
    gap: 20px;
    min-height: 450px;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    display: table-cell;
    vertical-align: center;
    

}

.card__back, .card__front{
    backface-visibility: hidden;
    transition:transform 1s;
    background-color: var(--card-color);
    overflow: hidden;
    padding: 20px;
    min-height: 450px;
    box-shadow: 20px;
}

.card:hover .card__front {  
    transform: perspective(1100px) rotateY(180deg);
}

.card:hover .card__back {
    transform: perspective(1100px) rotateY(360deg);
}

.card__front{
    transform: perspective(1100px) rotateY(0deg);
}
.card__back {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: grid;
    place-content: center;
    padding: 12px;
    transform: perspective(1100px) rotateY(180deg);
}
.card__back span{
    font-size: 1.5rem;
}
.card__worker {
max-height: 150px;
overflow: hidden;
display: block;
background-color: var(--bg-color);
}

.card__worker img{
    max-width: 100%;
    height: 170px;
    
}

.card__data{
    padding: 12px;  
    background-color: lightcyan;
}
.card__data span {
    font-size: 1.4rem;
    margin: 6px 0;
    display: block;
    color: #043c45;
}

.card__data p{
    padding: 7px;  
    background-color: lightcyan;
    line-height: 20px;
    font-size: 12.5px;
    } 
.skill-bar{
    border: 3px solid var(--bg-color);
    margin: 5px;
    padding: 5px;
    border-radius: 4px;
}

.skill-bar div{
    background-color: var(--bg-color);
    padding: 9px;
    color: var(--card-color);
}
.skill-bar:last-child div{
    width: 70%;
}
.skill-bar:nth-child(2) div {
    width: 90%;
}
.skill-bar:nth-child(4) div {
    width: 60%;
}
.card:nth-child(2)img{
    filter: grayscale();
}

.clientes{
background-color: #000;
padding: 100px;
width: 100vw;
text-align: center;
margin-bottom: -10px;
margin-top: 0px;
}

.clientes h2 {
    margin: -15px 0 60px 0;
    font-family: montserrat;
    color: white;
    font-size: 20px;
    margin-top: -20px;
    font-weight: lighter;
}

.collage-16 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 5px;
    padding: 10px;
    max-width: 1300px;
    margin: 0 auto;
    background-color: #f9f9f9;
    border-radius: 10px;    
    margin-bottom: -40px;
}

.collage-16 img {
    width: 70%;
    height: 70%;
    object-fit: cover;       /* Recorta sin deformar */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    filter: grayscale(100%);
    margin-top: 20px;
    margin-left: 10px;
}

.collage-16 img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    filter: none;
}

/*Sección Redes*/
.redes{
background:black;
padding: 35px;
width: 100vw;
text-align: center;
min-width: 60px;
}
.redes h2{
    font-family: montserrat;
    font-size: 20px;
    color: white;
    font-weight: lighter;   
    min-width: 25x;
}
.social-icons {
    display: flex;
    justify-content: center;   /* Centra horizontalmente */
    align-items: center;       /* Centra verticalmente */
    gap: 15px;
    margin: 20px 0;
    min-width: 20px;
}

.social-icons a {
    text-decoration: none;
    color: white;              /* Cambia según el fondo */
    background-color: #1a1a1a; /* Fondo del círculo */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;        /* Círculo */
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.15);
    background-color: #007bff; /* Color al pasar el mouse */
    color: white;
}
.social-icons i {
    font-size: 18px;
}

.card_logos{
    background-color: white;
}

/* sección video*/
.video{
    width: 100vw;
    height: 315px;
    background-color: #000;
    align-items: center;
    padding-top: 35px;
    padding-bottom: 25px;
}
.video-container-Adm2026{
    width: 100vw;
    background-color: #000;
    aspect-ratio: 16/9;
    justify-content: center;
    display: flex;
    
}
.link--contact{
    background-color:  rgb(89, 5, 80);
    color: #fff;
    border-radius: 20px;
    padding: 8px 24px;
    margin-left: 6px;
}
.link--contact:hover{   
    background-color: rgba(164, 52, 239, 0.8);
}

.header__open-nav-button{
    color: #48e;
    font-size: 3rem;
    font-weight: 600;
    position: absolute;
    right: 10px;
}
.header__checkbox{
    display: none;
}
.header__nav{
    display: none;
    background-color: #fff;
    height: 100vh;
    width: 100vw;
    top: 0;
    z-index: -1;
}
.header__nav-list{
    display: flex;
    flex-direction: column;
    height: 40vh;
    margin: auto;
    justify-content: space-evenly;
}
.header__checkbox:checked ~ .header_nav{
    display: block;
    background-color: #fff;
    position: absolute;
    height: 100vh;
    width: 100vw;
    top: 0;
    z-index: -1;
}
/*Galeria de fotos - experiencia compprobada
*/
.collage {
    background: linear-gradient(135deg, #0a1a52, #1e63c3);
    padding: 60px 20px;
    text-align: center;
    color: #fff;
    width: 100vw;
}

.collage h2 {
    font-size: 22px;
    margin-bottom: 40px;
    color: white;
    letter-spacing: 2px;
}

/* Estructura en 5 columnas y 4 filas */
.collage-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 25px;
    justify-items: center;
    align-items: center;
}

/* Cada imagen */
.collage-item {
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    object-position: center;
    object-fit: cover;
    width: 100%;
    height: 200px;
}

.collage-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s ease;
    filter: grayscale(100%); 
}

/* Efecto hover: agrandar suavemente */
    .collage-item:hover img {
    transform: scale(1.08);
    filter: grayscale(0%); 
}

/* Responsivo */
@media (max-width: 1200px) {
    .collage-grid {
    grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .collage-grid {
    grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .collage-grid {
    grid-template-columns: repeat(2, 1fr);
    }
}


.banner_cierre {
    width: 100vw;
    min-height: 270px; 
    position: relative;
    margin: none;
}
.banner_cierre img{   
    width: 100VW;
    min-height: 270px; 
    opacity: 0.15;
    z-index: 1;
}

.banner_cierre H2{
    text-align: center;
    color: white;
    font-family: montserrat;
    opacity: 0.80;
    z-index: 2;
    position: absolute;
    display:inline-block;
    left: 12%;
    top: 15%;
    font-size: 45px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.8);
    min-height: 100px;
    justify-content: center;
    align-items: center;
}

.contenedor-contacto {  
        padding-top: 25px;
        display: flex; /* Habilita Flexbox */
        justify-content: center; /* Centra horizontalmente */
        align-items: center; /* Centra verticalmente */
        width: 100vw; /* O el alto que necesites */
        min-height: 100px;
        background: radial-gradient(circle, #19021e, rgb(48, 3, 50));
        flex-wrap: wrap;
        
}


.contacto-item {
    display: flex ; /* Para alinear el icono con el texto */
    align-items: center; /* Centra el icono y el texto verticalmente */
    margin: 0px 120px 15px; /* Espacio entre los elementos */
    color: white;
    justify-content: center; /* Centra horizontalmente */
    font-size: 14.5px;
    flex: 1;
    text-align: center; 
    }

.contacto-item i { /* Espacio entre el icono y el texto */
    padding: 0;
    margin-right: 10px;
    font-size: 18px;
}
.contacto-item a{
    text-decoration: none;
    color: white;
}

/* footer */
footer{
    padding: 25px;
    text-align: center;
    background-color: rgb(3, 3, 65);
    color: #fffd;
    font-size: 12px;
    width: 100vw;
}
/* section media queries*/
@media screen and (max-width: 600px){
    .main-wrapper{
        flex-direction: row;
    }
    }
@media screen and (min-width: 400px){
    aside:last-child{
        display: block;  
}
}
@media screen (max-width: 768px){
    .banner{
        height: 60vh;
        background-position: top:;
    }
} 


@media (max-width: 900px) {
    .navegador-container {
    flex-direction: column;
    align-items: center;
    }

    .main-navbar ul {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    }
}

@media (max-width: 430px) {
    .card_negocios {
        align-items: center;
        width: 100vw;
    }
}

/*Section boton desplegable*/
@media (max-width: 900px) {
    .main-navbar ul {
    flex-direction: column;
    background-color: #1E88E5;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    display: none; /* Oculto por defecto */
    }

    .main-navbar ul.show {
    display: flex; /* Se muestra al hacer clic */
    }


    .btn-contacto {
    margin-top: 10px;
    }
    }

    @media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navbar {
        position: absolute;
        top: 100%;
        z-index: 999;
        width: 100%;
        justify-content: end;
        align-items: end;
    }   

    .main-navbar ul {
    display: none;               /* oculto por defecto */
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    gap: 12px;
    }

    .main-navbar.active ul {
    display: flex;  
    background-color: rgb(3, 3, 50);
    padding-top: 50px;
    padding-bottom: 0px;  
    width: 160px;
    border-radius: 15px;  
    box-shadow:  2px 2px 5px red, 4px 4px 10px blue;
    }

    .main-navbar a {
    color: white;
    padding: 10px 16px;
    width: 100%;
    text-align: center;
    }

    .btn-contacto {
    margin: 0;
    width: calc(100% - 40px);
    max-width: 420px;
    }
}

    
