*{
    box-sizing: border-box;
}

body{
    margin:0;
    flex-direction: row;
}

p{ font-size: 1.25em;}

.encabezado{
    display: flex;
    height: 180px;
    align-items: center;
    flex-direction: column;
}

.encabezado1 {
    display: flex;
    height: 50%;
    width: 76%;
    flex-direction: row; /* Esto hace que los hijos se alineen verticalmente */
    justify-content: space-between;
    align-items: center;
  }

p.datos {
    font-family: "Space Grotesk", sans-serif;
    font-size: 17px;
    color:#090E23;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;

  }
  
.linea-punteada-encabezado {
    display: flex;
    align-items: center;
    height: 32px;
    justify-content: center;
    border-left: 1px dashed #c4d1dd;
  }

  .encabezado1-1{
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 1rem;

  }

  button {
    background-color: #162b5b; /* Color de fondo oscuro */
    color: white; /* Color de texto blanco */
    font-family: "Space Grotesk", sans-serif; /* Tipo de letra */
    font-optical-sizing: auto;
    font-weight: 350;
    font-style: normal;
    font-size: 18px;
    padding: 15px 54px; /* Espaciado interno (arriba y abajo, izquierda y derecha) */
    border: none; /* Eliminar el borde por defecto */
    border-radius: 8px; /* Bordes redondeados */
    letter-spacing: 1px; /* Espaciado entre las letras */
    cursor: pointer; /* Cambia el cursor cuando pasas sobre el botón */
    letter-spacing: 1px;
    transition: background-color 0.3s ease; /* Transición suave para el color de fondo */
  }

  button:hover {
    background-color: #EC4621; /* Color de fondo al pasar el ratón */
  }

  .encabezado2 {
    display: flex;
    background-color: #162b5b;
    justify-content: center;
    align-items: center;
    height: 50%;
    width: 100%;
  }  

  .encabezado2-contenido{
    display: flex;
    height: 90%;
    width: 78%;
    background-color: #162b5b;
    justify-content: space-between;
    align-items: center;
  }
  .encabezado2 p{
    color: white;

  }

  .encabezado2 img{
    display: flex;
    height: 100%;
    width: 10%;

  }
  .encabezado2 nav{
    gap: 1.5rem;
    display: flex;
    height: 30%;

  }
  .encabezado2 nav a{
    font-family: "Space Grotesk", sans-serif;
    justify-content: space-between;
    display: flex;
    font-size: 14px;
    color: white;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    text-decoration: none;
    letter-spacing: 1.33px; /* Espaciado entre las letras */
  }
  nav a:hover{
    color: #EC4621;
  }

/*---------------------ANUNCIO-------------------------*/
  #popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }

  #cerrar-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
  }

  #cerrar-btn:hover {
    color: #fff;
  }

  #popup-content {
    position: relative; /* ¡Esto permite posicionar la X dentro de la caja! */
    background: #121D50;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 0 10px #000;
  }

  #popup-content h2{
    font-size: 45px;
    color: #fff;
  }
  #popup-content p{
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
  }

  #popup-content a{
    text-decoration: none;
    color: #fff;
  }

  #popup-content a:hover{
    color: #EC4621;
  }
  #popup-content img {
    max-width: 100%;
    height: auto;
  }

  #popup-content button {
    margin-top: 10px;
    padding: 8px 16px;
    border: none;
    background: #007bff;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
  }

  #popup-content button:hover {
    background: #EC4621;
  }

  /*------------------------ PANEL FOTOGRAFICO ---------------------------------------------------------------*/

  #panel{
    display: flex;
    background-image: url('/images/naviera.imagenportada.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position:center 0%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 750px;
  }

  .panel-padre{
    display: flex;
    flex-direction: column;
    width: 76%;
    height: 65%;
    margin-top: 50px;
    justify-content: space-between;

  }

  .panel-contenido{
    display: flex;
    flex-direction: column;
    height:57%;


  }

  .panel-contenido p{
    margin: 0px;
    
  }

  .panel-contenido .frase1{
    color: white;
    font-size: 17px;
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: 2px;
    padding-top: 0px;
  }

  .panel-contenido .frase2{
    padding-top: 20px;
    color: white;
    font-size: 68px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: bold;
  }

  .panel-contenido .frase3{
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    font-weight: 450;
    padding-top: 30px;
    margin: 0px;
    color: white;


  }

  .panel-numeros{
    display: flex;
    justify-content: space-between;
    height: 28%;

  }

  .informacion{
    display: flex;

    align-items: center;
    justify-content: space-around;
    height: 90%;
    width: 43%;

  }

  .clientes {
    color: white;

    font-size: 40px;
    font-family: "Space Grotesk", sans-serif;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 0px;
    padding: 0px;
  }

  .clientes .numero{
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-weight: 200;
    font-size: 50px;
    font-weight: bold;
    margin: 0px;
    padding: 0px;
  }

  .clientes .clientes-satisfechos{
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-weight: 200;
    font-size: 15px;
    margin: 0px;
    padding: 0px;

  }

  .linea-rayada2{
    display: flex;
    align-items: center;
    height: 70%;
    border-left: 2px dashed white;
  }
  
  .anios{
    color: white;

    font-size: 40px;
    font-family: "Space Grotesk", sans-serif;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 0px;
    padding: 0px;
  }

  .anios .anios-cantidad{
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-weight: 200;
    font-size: 50px;
    font-weight: bold;
    margin: 0px;
    padding: 0px;
  }

  .anios .anios-experiencia{
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-weight: 200;
    font-size: 15px;
    margin: 0px;
    padding: 0px;
  }

  .imagen-panel {
    width: 18%;         /* Hace que la imagen ocupe el 100% del contenedor */
    height: 80%;        /* Mantiene la proporción original (no se deforma) */
    max-width: 600px;    /* Opcional: no crece más allá de 600px */
    display: flex;      /* Elimina espacios en blanco debajo de la imagen */
    margin: 0;      /* Centra la imagen horizontalmente si es más pequeña */
    padding: 0;
    border-radius: 8px;
}

.contacto-panel{
  display: flex;
  flex-direction: column;
  width: 50%;
  background-color: #090E23;
  border-radius: 10px;

}

.contacto-1{
  display: flex;
  padding-top: 0px;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 65%;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.contacto-1 input{
  border-radius: 7px;
  border-color: #5C6C7B;
  background-color: #090E23;
  height: 58%;
  margin-left: 5px;
  width: 55%;
  color: #fff;
  padding-left: 15px;
}

.contacto-1 input::placeholder{
  color: #5C6C7B;
  font-size: 14px;
  display: flex;
  
}

.contacto-1 button{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56%;
  width: 35%;
  font-size: 15px;
  margin-right: 10px;

}

.formulario-mensaje {
  height: 12%;
  font-size: 14px;
  display: flex;
  align-items: start;
  margin-top: -5px;
  color: white;
  font-weight: normal;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  margin-left: 15px;

}

.rojo {
  color: #EC4621;
  font-weight: normal;
  font-size: 14px;
  font-family: "Roboto", sans-serif;
  font-style: normal;
}

/*--------------------------------------SOBRE NOSOTROS------------------------------------------------------*/

#sobre-nosotros{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 880px;
}

.sobre-nosotros-contenido{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 76%;
  width: 80%;
  
}

.sobre-nosotros-contenido1{
  display: flex;
  height: 64%;
  justify-content: space-between;

}

.sobre-contenido1{
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 54%;
  justify-content: space-between;


}

.sobre-contenido1 .sobre1{
  color: #0E33CB;
  font-family: "Space Grotesk", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: flex;
  margin: 0px;
  padding: 0px;
}

.sobre-contenido1 .sobre2{
  font-family: "Space Grotesk", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 60px;
  color: #121D50;
  display: flex;

  margin: 0px;
  padding: 0px;

}

.sobre-contenido1 .sobre3{
  color: #5C6C7B;
  font-family: "Roboto", sans-serif;
  font-size: 17.1px;
  display: flex;

  margin: 0px;
  padding: 0px;

}

.sobre-contenido1 button{
  display: flex;
  width: 45%;
  align-items: center;
  justify-content: center;

}


.sobre-contenido1-imagen{
  display: flex;
  width: 42%;

}

.nosotros-imagen{
  display: flex;
  width: 100%;
  padding: 0px;
  margin: 0px;
  border-radius: 10px;

}
.sobre-nosotros-contenido2{
  display: flex;

  justify-content: space-between;
  height: 25%;
  width: 100%;
}

.sobre-contenido2{
  display: flex;
 
  width: 32%;
  border-radius: 10px;
  background-color: #090E23;
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-style: normal;
  align-items: center;
  justify-content: center;

}

.sobre-contenido2-info{
  display: flex;

  height: 60%;
  width: 75%;
  align-items: center;
  justify-content: space-around;
}

.sobre-contenido2 .sobre-numero{
  font-size: 48px;
  font-weight: bold;

}

.sobre-contenido2 .sobre-contenido{
  font-size: 22px;
}

.linea-rayada-nosotros{
  display: flex;
  align-items: center;
  height: 45%;
  border-left: 2px dashed white;
}

/*-------------------------SOCIOS ESTRÁTEGICOS-------------------------------------------*/
#socios-empresas{
  display: flex;
  height: 240px;
  background-color: #1F45E4;
  align-items: center;
}

.socios{
  display: flex;

  align-items: center;
  width: 100%;
  height: 40%;
  color: white;
  overflow: hidden;
  position: relative;


}

.socio{
  justify-content: space-around;
  align-items: center;
  text-align: center;
  height: 90%;
  display: flex;
  animation: scroll 40s linear infinite;
}

.socio img {
  width: 100%;
  height: 90%;
  margin: 0 20px;
  border-radius: 8px;
}

.socio .socios-letra{
  font-size: 26px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: bold;
  margin: 0 20px;
}


@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* ancho total de una fila de logos */
  }
}

/*-----------------------------NUESTROS SERVICIOS-----------------------------------------------------------------*/
#nuestros-servicios{
  display: flex;
  height: 1130px;
  background-color: #EDF0F3;
  align-items: center;
  justify-content: center;
}

.nuestros-servicios-contenido{
  display: flex;

  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 75%;
  height: 81%;
  
}

.servicios-contenido{
  display: flex;
  height: 15%;
  width: 70%;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  text-align: center;


}
.servicios-contenido .servicios-azul{
  color: #0E33CB;
  font-family: "Space Grotesk", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: flex;
  margin: 0px;
  padding: 0px;
}
.servicios-contenido .servicios-titulo{
  font-family: "Space Grotesk", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 59px;
  color: #121D50;
  display: flex;
  margin: 0px;
  padding: 0px;
}

.servicios-conjunto a{
  text-decoration: none;
  color: inherit;
}
.servicios-conjunto{
  display: grid;

  height:73%;
  width: 84%;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap:40px

}

.servicios{
  background-color: white;
  border-radius: 16px;
  align-items: center;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  transition: transform 0.3s;
  
}

.servicios:hover{
  transform: translateY(-5px);
  background-color: #121D50;
  color: white;
}

.servicios:hover p{
  color: white;
}

.servicio{

  height: 96%;
}

.servicio-icono{

  height:24%;
  width: 28%;
}

.servicio-icono .img-icono{
    width: 100%;
    height: 100%;
    max-width: 600px;    /* Opcional: no crece más allá de 600px */
    display: flex;      /* Elimina espacios en blanco debajo de la imagen */
    margin: 0;      /* Centra la imagen horizontalmente si es más pequeña */
    padding: 0;
    border-radius: 8px;
}
.servicio .titulo-servicio{
  font-family: "Space Grotesk", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 26px;
}

.descripcion-servicio{
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-size: 17px;
  color: #5C6C7B;
}

.descripcion-servicio a{
  color: #EC4621;
  font-weight: bold;
}

/*------------------------------ EMPRESAS COLABORADORAS--------------------------------------------------------*/
#logos-empresas{
  display: flex;
  height: 240px;
  background-color: #1F45E4;
  align-items: center;
}

.empresas{
  display: flex;

  align-items: center;
  width: 100%;
  height: 40%;
  color: white;
  overflow: hidden;
  position: relative;


}

.empresa{
  justify-content: space-around;
  align-items: center;
  text-align: center;
  height: 90%;
  display: flex;
  animation: scroll 40s linear infinite;
}

.empresa img {
  width: 100%;
  height: 90%;
  margin: 0 20px;
  border-radius: 8px;
}

.empresa .clientes-letra{
  font-size: 26px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: bold;
  margin: 0 20px;
}


@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* ancho total de una fila de logos */
  }
}


/*------------------------------------------COMO TRABAJAMOS---------------------------------------------------------*/

#como-trabajamos{
  display: flex;
  height: 1050px;
  align-items: center;
  justify-content: center;
}

.como-trabajamos-contenido{
  display: flex;
  height: 80%;
  width: 75%;

  flex-direction: column;
  justify-content: space-between;

}

.como-trabajamos-contenido1{
  display: flex;
  height: 42%;

  justify-content: space-between;
}

.imagen-como-trabajamos{
  display: flex;
  width: 45%;

}

.trabajos{
  display: flex;
  width: 51%;

  flex-direction: column;
}

.trabajos .como-trabajamos-azul{
  color: #0E33CB;
  font-family: "Space Grotesk", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: flex;
  margin: 10px;
  padding: 0px;
}

.trabajos .como-trabajamos-titulo{
  font-family: "Space Grotesk", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 60px;
  color: #121D50;
  display: flex;
  margin: 4px;
  padding: 0px;
}

.trabajos .como-trabajamos-texto{
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-size: 17px;
  color: #5C6C7B;
  letter-spacing: 0.5px;
}
.como-trabajamos-linea{
  display: flex;
  align-items: center;
  height: 3%;
  border-bottom: 2.9px dashed #5C6C7B;
}


.como-trabajamos-contenido2{
  display: flex;
  height: 42%;

  justify-content: space-between;
}

.paso1{
  display: flex;
  width: 27%;

  flex-direction: column;
  justify-content: space-between;
}

.paso-logo{
  display: flex;

  height: 52%;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.paso-logo img{
  border-radius: 10px;
}

.paso-etiqueta{
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid #e0e4ea; /* Borde gris clarito */
  border-radius: 999px; /* Hace la forma ovalada */
  font-size: 13px;
  color: #2d3a4a; /* Color del texto */
  font-family: 'Arial', sans-serif;
  background-color: white; /* Fondo blanco */
}

.icono-pasos{
  width:45%;
  height: 75%;

}

.paso-contenido{
  display: flex;

  height: 40%;
  flex-direction: column;
  align-items: center;
  text-align: center;

}

.paso-contenido .paso-titulo{
  font-family: "Space Grotesk", sans-serif;
  font-style: normal;
  font-weight: bold;
  color: #121D50;
  font-size: 26px;
  margin: 0px;
}

.paso-contenido .paso-contenido-texto{
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-size: 17px;
  color: #5C6C7B;
}

.nosotros-imagen{
  display: flex;
  width: 100%;
  padding: 0px;
  margin: 0px;
  border-radius: 10px;
}

/*-------------------CONOCENO MAS -----------------------------------*/


#conocenos-mas{
  display: flex;
  height: 700px;

  background-color: #0E33CB;
  justify-content: center;
}

.video-fondo-contenedor {

  position: relative;
  overflow: hidden;
}

.video-fondo {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cambia a 'cover' si quieres que llene el contenedor y recorte lo que sobre */
  display: block;
}

/*-----------------------------VALORES--------------------------------------------------------*/
#valores{
  display: flex;
  height: 600px;
  background-color: #EDF0F3;
  justify-content: center;
  align-items: center;
  padding-top: 0px;
}

.noticias-contenido{
  display: flex;

  flex-direction: column;
  width: 75%;
  height: 88%;
  justify-content: space-between;
}

.noticias-contenido1{
  display: flex;

  height: 19%;
  flex-direction: column;
}

.noticias-contenido1 .noticias-azul{
  color: #0E33CB;
  font-family: "Space Grotesk", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 1px;
  display: flex;
}

.noticias-titulo{
  font-family: "Space Grotesk", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 60px;
  color: #121D50;
  display: flex;
  margin: 0px;
  padding: 0px;

}

.noticias-contenido{
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-size: 16px;
  color: #5C6C7B;
  letter-spacing: 0.4px;
}
.noticia-contenido2{
  display: grid;
  height: 45%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap:20px;
  

}

.noticia1{
  display: flex;
  background-color: #121D50;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  padding: 0px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.noticia1 .list-valor{
  font-family: "Space Grotesk", sans-serif;
  font-style: normal;
  font-size: 23px;
  text-align: center;
  align-items: center;
  padding-left: 10px;
  text-decoration: none;
  color: #fff;
  list-style: none;

}

.noticia1:hover{
  background-color: #EC4621;
}
/*-------------------------------------------------PIE DE PAGINA-------------------------------------*/
footer{
  display: flex;
  height: 480px;
  background-color: #090E23;
  align-items: center;
  justify-content: center;
}
.pie-de-pagina{
  display: flex;

  width: 75%;
  height: 70%;
  flex-direction: column;
  justify-content: space-between;
}
.pie-contenido{
  display: flex;

  height: 62%;
  justify-content: space-between;
}

.pie-contenido1{
  display: flex;
  width: 24%;

  flex-direction: column;
  justify-content: space-between;
}

.pie-contenido1 .pie-imagen{
  width: 35%;
  height: 40%;

}

.pie-contenido1 .pie-descripcion{
  color: white;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-size: 16px;
  font-weight: 300;
}

.pie-contenido2{
  display: flex;
  width: 15%;
  height: 80%;

  flex-direction: column;
  align-items: start;

}

.pie-contenido2 .pie-navegacion{
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-style: normal;
  font-size: 23px;
  margin: 0px;
  padding: 0px;
}

.pie-contenido2 nav{
  gap: 0.5em;
  display: flex;
  height: 30%;
  flex-direction: column;
  margin: 0px;
  padding-top: 20px;

}
.pie-contenido2 nav a{
  font-family: "Space Grotesk", sans-serif;
  display: flex;
  font-size: 14px;
  color: white;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  text-decoration: none;

}
nav a:hover{
  color: #EC4621;
}

.pie-contenido3{
  display: flex;
  flex-direction: column;
  width: 25%;
  height: 98%;
  justify-content: space-between;
}

.pie-contenido3 .pie-contactanos{
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-style: normal;
  font-size: 23px;
  margin: 0px;
}

.pie-contenido3 .numeros-contacto{
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-style: normal;
  font-size: 15px;
  height: 10%;

}

.pie-contenido3 input{
  display: flex;
  border-radius: 7px;
  border-color: #5C6C7B;
  height: 28%;

}


.pie-linea{
  display: flex;
  align-items: center;
  height: 3%;
  border-bottom: 2.9px dashed white;
}

.pie-derecho{
  display: flex;
  height: 20%;
  align-items: end;
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-style: normal;
  font-size: 14.5px;
  justify-content: space-between;
}

  #contacto-pie{
    display: flex;
    flex-direction: column;
    align-items: start;
    padding-top: 15px;
  }
  .pie-contenido3 .pie-contactanos{
    color: white;
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-size: 20px;
    margin: 0px;
  }

  #contacto-pie input{
    border-radius: 7px;
    border-color: #5C6C7B;
    width: 60%;
    height: 30%;
    font-size: 15px;
    color: #fff;


  }

  #contacto-pie button{
    text-align: center;
    font-size: 15px;
    align-items: center;
    height: 40%;
    width: 60%;
  }


/*-------------------------Responsive Media Queries-------------------------------*/

@media (max-width: 480px){
  /*body{
    border: 2px solid pink;
  }*/

   #cerrar-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
  }

  #cerrar-btn:hover {
    color: #fff;
  }

  #popup-content {
    position: relative; /* ¡Esto permite posicionar la X dentro de la caja! */
    background: #121D50;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 200px;
    box-shadow: 0 0 10px #000;
  }
  #popup-content button {
    margin-top: 10px;
    padding: 5px 10px;
    border: none;
    background: #007bff;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
  }

  #popup-content h2{
    font-size: 25px;
    color: #fff;
  }
  #popup-content p{
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
  }

  .icono-pasos{
    width:45%;
    height: 60%; 
  }

  button{
    font-size: 9px;
    padding: 10px 30px;
    letter-spacing: 0px;
  }

  
  .encabezado{
    height: 95px;
  }

  p.datos {
    font-size: 9px;
  }

  .encabezado1{
    width: 90%;
    height: 40%;
  }
  .encabezado2{
    height: 60%;
  }

  .encabezado1-1{
    justify-content: space-around;
  }

  .encabezado2-contenido{
    width: 90%;
  }

  .encabezado2-contenido img{
    width: 10%;
    padding: 0px;
  }
  .encabezado2 nav a{
    font-size: 8px;
    letter-spacing: 0px;
    padding: 0px;
  }

  .encabezado2 nav{
    gap: 0.5rem;
    display: flex;
    height: 30%;
  }



   /*------------------------ PANEL FOTOGRAFICO ---------------------------------------------------------------*/

  #panel{
    background-size: 100%;
    height: 260px;
  }

  .panel-padre{
    width: 90%;
    height: 65%;
    margin-top: 0px;
  }

  .panel-contenido .frase1{
    font-size: 8px;
    letter-spacing: 0px;
  }

  .panel-contenido .frase2{
    padding-top: 10px;
    font-size: 18px;

  }

  .panel-contenido .frase3{
    font-size: 11px;
    padding: 0px;
  }

  .clientes {
    font-size: 10px;
  }

  .clientes .numero{
    font-size: 18px;
  }

  .clientes .clientes-satisfechos{
    font-size: 8px;
  }
  
  .anios .anios-cantidad{
    font-size: 18px;
  }
  
  .linea-rayada2{
    display: flex;
    align-items: center;
    height: 70%;
    border-left: 1px dashed white;
    padding-left: 10px;
  }
  

  .anios .anios-experiencia{
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-weight: 200;
    font-size: 8px;
    margin: 0px;
    padding: 0px;
  }
  .informacion{
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 90%;
    width: 35%;

  }

  .contacto-panel{
    display: flex;
    flex-direction: column;
    width: 61%;
    background-color: #090E23;
    border-radius: 10px;
  }

  .contacto-1{
    display: flex;
    padding-top: 0px;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 65%;
    gap: 5px;
    margin-bottom: 5px;
    flex-wrap: wrap;
  }

  .contacto-1 input{
    border-radius: 7px;
    border-color: #5C6C7B;
    background-color: #090E23;
    height: 58%;
    margin-left: 0px;
    width: 55%;
    padding-left: 10px;
  }

  .contacto-1 input::placeholder{
    color: #5C6C7B;
    font-size: 8px;
    display: flex;
  }

  .contacto-1 button{
    font-size: 8px;
    margin-right: 5px;
  }
  .formulario-mensaje {
    font-size: 7px;
    margin-left: 10px;
  }
  .rojo {
    font-size: 7px;
    padding: 0px;
  }


  #socios-empresas{
    display: flex;
    height: 90px;
    background-color: #1F45E4;
    align-items: center;
  }

  .socios{
    display: flex;

    align-items: center;
    width: 100%;
    height: 55%;
    color: white;
    overflow: hidden;
    position: relative;


  }

  .socio{
    justify-content: space-around;
    align-items: center;
    text-align: center;
    height: 90%;
    display: flex;
    animation: scroll 40s linear infinite;
  }

  .socio img {
    width: 100%;
    height: 90%;
    margin: 0 20px;
    border-radius: 8px;
  }

  .socio .socios-letra{
    font-size: 14px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: bold;
    margin: 0 20px;
  }

  /*-------------SOBRE NOSOTROS--------------------*/

  #sobre-nosotros{
    height: 450px;
  }
  .sobre-contenido1 .sobre2{
    font-size: 18px;
  }

  .sobre-nosotros-contenido{
    height: 88%;
    width: 90%;
  }
  .sobre-nosotros-contenido1{
    height: 75%;

  }
  .sobre-contenido2-info{
    height: 60%;
    width: 75%;
  }
  .sobre-contenido2 .sobre-numero{
    font-size: 16px;
  }
  .sobre-contenido2 .sobre-contenido{
    font-size: 7px;
  }
  .sobre-contenido1 .sobre1{
    font-size: 10px;

  }
  .sobre-contenido1 .sobre3{
    font-size: 11px;

  }
  .sobre-nosotros-contenido2{
    height: 14%;
    width: 100%;
  }

  .linea-rayada-nosotros{
    display: flex;
    align-items: center;
    height: 45%;
    border-left: 1.5px dashed white;
}

  .sobre-contenido2{
    display: flex;
    width: 32%;
    border-radius: 10px;
    background-color: #090E23;
    color: white;
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    align-items: center;
    justify-content: center;

  }

  .sobre-contenido2-info{
    display: flex;
    height: 60%;
    width: 85%;
    align-items: center;
    justify-content: space-around;
  }

/*---LOGOOOSS*/

  #logos-empresas{
    display: flex;
    height: 90px;
  }
  .empresas{
    height: 55%;
  }

  .empresa .clientes-letra{
    font-size: 14px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: bold;
    margin: 0 20px;
  }
  /*---------------NUESTROS SERVICIOS----------------------------------*/

  #nuestros-servicios{
    height: 930px;
  }
  .nuestros-servicios-contenido{
    height: 90%;
    width: 90%;
  }

  .servicios-contenido{
    padding: 0px;
    height: 12%;

  }

  .servicios-contenido .servicios-azul{
    font-size: 11px;
  }
  .servicios-contenido .servicios-titulo{
    font-size: 18px;
  }
  .servicios-conjunto{
    height: 85%;
    width: 90%;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap:20px;

  }
  .servicios{
    padding: 15px;
  }
  .servicio{
    height: 90%;
  }
  .servicio .titulo-servicio{
    font-size: 12px;
  }
  .descripcion-servicio{
    font-size: 9px;
  }


  /*---------------COMO TRABAJAMOS---------------------------------*/

  #como-trabajamos{
    height: 580px;
  }
  .trabajos .como-trabajamos-titulo{
    font-size: 18px;
  }

  .como-trabajamos-contenido1{

    height: 50%;
    margin: 0px;
    padding: 0px;
  }
  .como-trabajamos-contenido2{
    height: 30%;

    margin-bottom: 55px;
  }


  .trabajos .como-trabajamos-azul{
    font-size: 8px;
  }
  .como-trabajamos-contenido{
    display: flex;
    height: 90%;
    width: 90%;
  } 

  .paso-contenido .paso-titulo{
    font-size: 12px;
  }
  .paso-contenido .paso-contenido-texto{
    font-size: 9px;
  }

  .trabajos .como-trabajamos-texto{
    font-size: 11px;
  }
  .paso-logo .paso-etiqueta{
    font-size: 8px;
  }

  .como-trabajamos-linea{
    display: flex;
    align-items: center;
    height: 3%;
    border-bottom: 2px dashed #5C6C7B;
  }
  /*------------------------------------VIDEO -------------------------*/
  #conocenos-mas{
    height: 250px;
  }
  .video-fondo {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: block;
  }
  .noticias-contenido{
    font-size: 14px;
  }


/*---------------VALORES-----------------------*/
  #valores{
    height: 550px;
  }

  .noticias-contenido{
    width: 85%;
    height: 88%;
  }

  .noticias-contenido1{
    height: 19%;
  }

  .noticias-contenido1 .noticias-azul{
    font-size: 8px;
  }

  .noticias-titulo{
    font-size:18px;
  }

  .noticias-contenido{
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-size: 9px;
  }
  .noticia-contenido2{
    display: grid;
    height: 60%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap:20px;

  }

  .noticia1{
    background-color: #121D50;
    border-radius: 16px;
    align-items: center;
    padding: 0px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
  }

  .noticia1 .list-valor{
    font-size: 10px;
  }

  /*-------------PIE DE PAGINA ----------------------------------*/

  footer{
    height: 380px;
  }
  .pie-de-pagina{
    width: 75%;
    height: 70%;
  }
  .pie-contenido{
    height: 62%;
  }

  .pie-contenido1{
    width: 30%;
  }

  .pie-contenido1 .pie-imagen{
    width: 55%;
    height: 40%;

  }

  .pie-contenido1 .pie-descripcion{
    font-size: 8px;
  }

  .pie-contenido2{
    width: 15%;
    height: 80%;
  }

  .pie-contenido2 .pie-navegacion{
    font-size: 10px;
    margin: 0px;
    padding: 0px;
  }

  .pie-contenido2 nav{
    gap: 0.5em;
    display: flex;
    height: 30%;
    flex-direction: column;
    margin: 0px;
    padding-top: 20px;

  }
  .pie-contenido2 nav a{
    font-size: 9px;
  }

  .pie-contenido3{
    display: flex;
    flex-direction: column;
    width: 22%;
    height: 90%;
    justify-content: space-between;
  }

  #contacto-pie{
    display: flex;
    flex-direction: column;
  }
  .pie-contenido3 .pie-contactanos{
    color: white;
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-size: 10px;
    margin: 0px;
  }

  #contacto-pie input{
    border-radius: 7px;
    border-color: #5C6C7B;
    width: 90px;
    height: 20%;
    font-size: 7px;
    color: #fff;

  }

  #contacto-pie button{
    text-align: center;
    font-size: 8px;
    align-items: center;
    height: 30%;
    width: 70px;
  }

  .pie-derecho{
    display: flex;
    height: 15%;
    align-items: end;
    font-size: 8px;
  }

  .pie-contenido3 .numeros-contacto{
    font-size: 8px;
  }

  


}

@media (min-width: 481px) and (max-width: 767px){
  /*body{
    border: 2px solid red;
  }*/
  #cerrar-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
  }

  #cerrar-btn:hover {
    color: #fff;
  }

  #popup-content {
    position: relative; /* ¡Esto permite posicionar la X dentro de la caja! */
    background: #121D50;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 210px;
    box-shadow: 0 0 10px #000;
  }
  #popup-content button {
    margin-top: 10px;
    padding: 5px 10px;
    border: none;
    background: #007bff;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
  }

  #popup-content h2{
    font-size: 30px;
    color: #fff;
  }
  #popup-content p{
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 14px;
  }

  .icono-pasos{
    width:45%;
    height: 60%; 
  }

  button{
    font-size: 10px;
    padding: 10px 30px;
    letter-spacing: 0px;
  }

  
  .encabezado{
    height: 100px;
  }

  p.datos {
    font-size: 10px;
  }

  .encabezado1{
    width: 90%;
    height: 40%;
  }

  .encabezado2{
    height: 60%;
  }

  .encabezado2-contenido{
    width: 90%;
  }
  .encabezado2 nav a{
    font-size: 9px;
    letter-spacing: 0px;
  }

  .encabezado2 nav{
    gap: 1rem;
    display: flex;
    height: 30%;
  }



   /*------------------------ PANEL FOTOGRAFICO ---------------------------------------------------------------*/

  #panel{
    background-size: 100%;
    height: 348px;
  }

  .panel-padre{
    width: 90%;
    height: 65%;
    margin-top: 0px;
  }

  .panel-contenido .frase1{
    font-size: 8px;
    letter-spacing: 0px;
  }

  .panel-contenido .frase2{
    padding-top: 20px;
    font-size: 20px;

  }

  .panel-contenido .frase3{
    font-size: 12px;
    padding: 0px;
  }

  .clientes {
    font-size: 10px;
  }

  .clientes .numero{
    font-size: 20px;
  }

  .clientes .clientes-satisfechos{
    font-size: 10px;
  }
  
  .anios .anios-cantidad{
    font-size: 20px;
  }
  
  .linea-rayada2{
    display: flex;
    align-items: center;
    height: 70%;
    border-left: 1px dashed white;
    padding-left: 10px;
  }
  

  .anios .anios-experiencia{
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-weight: 200;
    font-size: 10px;
    margin: 0px;
    padding: 0px;
  }
  .informacion{
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 90%;
    width: 35%;

  }

  .contacto-panel{
    display: flex;
    flex-direction: column;
    width: 60%;
    background-color: #090E23;
    border-radius: 10px;
  }

  .contacto-1{
    display: flex;
    padding-top: 0px;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 65%;
    gap: 5px;
    margin-bottom: 5px;
    flex-wrap: wrap;
  }

  .contacto-1 input{
    border-radius: 7px;
    border-color: #5C6C7B;
    background-color: #090E23;
    height: 58%;
    margin-left: 0px;
    width: 55%;
    padding-left: 10px;
  }

  .contacto-1 input::placeholder{
    color: #5C6C7B;
    font-size: 9px;
    display: flex;
  }

  .contacto-1 button{
    font-size: 9px;
    margin-right: 5px;
  }
  .formulario-mensaje {
    font-size: 9px;
  }
  .rojo {
    font-size: 9px;
  }

  /*-------------SOBRE NOSOTROS--------------------*/

  #sobre-nosotros{
    height: 450px;
  }
  .sobre-contenido1 .sobre2{
    font-size: 18px;
  }

  .sobre-nosotros-contenido{
    height: 80%;
    width: 90%;
  }
  .sobre-nosotros-contenido1{
    height: 70%;

  }
  .sobre-contenido2-info{
    height: 60%;
    width: 75%;
  }
  .sobre-contenido2 .sobre-numero{
    font-size: 20px;
  }
  .sobre-contenido2 .sobre-contenido{
    font-size: 10px;
  }
  .sobre-contenido1 .sobre1{
    font-size: 10px;

  }
  .sobre-contenido1 .sobre3{
    font-size: 12px;

  }
  .sobre-nosotros-contenido2{
    height: 17%;
    width: 100%;
  }


  .sobre-contenido2{
    display: flex;
    width: 32%;
    border-radius: 10px;
    background-color: #090E23;
    color: white;
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    align-items: center;
    justify-content: center;

  }

  .sobre-contenido2-info{
    display: flex;
    height: 60%;
    width: 85%;
    align-items: center;
    justify-content: space-around;
  }

/*-----------------------------------------SOCIOS----------------------------*/
  #socios-empresas{
    display: flex;
    height: 120px;
    background-color: #1F45E4;
    align-items: center;
  }

  .socios{
    display: flex;

    align-items: center;
    width: 100%;
    height: 50%;
    color: white;
    overflow: hidden;
    position: relative;


  }

  .socio{
    justify-content: space-around;
    align-items: center;
    text-align: center;
    height: 90%;
    display: flex;
    animation: scroll 40s linear infinite;
  }

  .socio img {
    width: 100%;
    height: 90%;
    margin: 0 20px;
    border-radius: 8px;
  }

  .socio .socios-letra{
    font-size: 18px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: bold;
    margin: 0 20px;
  }


  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%); /* ancho total de una fila de logos */
    }
  }

/*---LOGOOOSS*/

  #logos-empresas{
    display: flex;
    height: 120px;
  }
  .empresas{
    height: 50%;
  }
  .empresa .clientes-letra{
    font-size: 18px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: bold;
    margin: 0 20px;
  }

  /*---------------NUESTROS SERVICIOS----------------------------------*/

  #nuestros-servicios{
    height: 970px;
  }
  .nuestros-servicios-contenido{
    height: 87%;
    width: 90%;
  }

  .servicios-contenido{
    padding: 0px;
    height: 9%;

  }
  .servicios-contenido .servicios-titulo{
    font-size: 20px;
  }
  .servicios-conjunto{
    height: 85%;
    width: 90%;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap:20px;

  }
  .servicios{
    padding: 12px;
  }
  .servicio{
    height: 90%;
  }
  .servicio .titulo-servicio{
    font-size: 14px;
  }
  .descripcion-servicio{
    font-size: 11px;
  }


  /*---------------COMO TRABAJAMOS---------------------------------*/

  #como-trabajamos{
    height: 650px;
  }
  .trabajos .como-trabajamos-titulo{
    font-size: 22px;
  }

  .trabajos .como-trabajamos-azul{
    font-size: 10px;
  }
  .como-trabajamos-contenido{
    display: flex;
    height: 80%;
    width: 85%;
  } 

  .paso-contenido .paso-titulo{
    font-size: 18px;
  }
  .paso-contenido .paso-contenido-texto{
    font-size: 11px;
  }

  .trabajos .como-trabajamos-texto{
    font-size: 12px;
  }
  .paso-logo .paso-etiqueta{
    font-size: 11px;
  }

  /*------------------------------------VIDEO -------------------------*/
  #conocenos-mas{
    height: 350px;
  }
  .video-fondo {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: block;
  }
  .noticias-contenido{
    font-size: 14px;
  }

  .pie-contenido3 button{
    text-align: center;
    font-size: 12px;
    padding-left: 20px;
  }

/*---------------VALORES-----------------------*/
  #valores{
    height: 550px;
  }

  .noticias-contenido{
    width: 85%;
    height: 88%;
  }

  .noticias-contenido1{
    height: 19%;
  }

  .noticias-contenido1 .noticias-azul{
    font-size: 10px;
  }

  .noticias-titulo{
    font-size: 20px;
  }

  .noticias-contenido{
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-size: 10px;
  }
  .noticia-contenido2{
    display: grid;
    height: 60%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap:20px;

  }

  .noticia1{
    background-color: #121D50;
    border-radius: 16px;
    align-items: center;
    padding: 0px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
  }

  .noticia1 .list-valor{
    font-size: 11px;
  }

  /*-------------PIE DE PAGINA ----------------------------------*/

  footer{
    height: 380px;
  }
  .pie-de-pagina{
    width: 75%;
    height: 70%;
  }
  .pie-contenido{
    height: 62%;
  }

  .pie-contenido1{
    width: 30%;
  }

  .pie-contenido1 .pie-imagen{
    width: 50%;
    height: 45%;

  }

  .pie-contenido1 .pie-descripcion{
    font-size: 10px;
  }

  .pie-contenido2{
    width: 15%;
    height: 80%;
  }

  .pie-contenido2 .pie-navegacion{
    font-size: 14px;
    margin: 0px;
    padding: 0px;
  }

  .pie-contenido2 nav{
    gap: 0.5em;
    display: flex;
    height: 30%;
    flex-direction: column;
    margin: 0px;
    padding-top: 20px;

  }
  .pie-contenido2 nav a{
    font-size: 10px;
  }

  .pie-contenido3{
    display: flex;
    flex-direction: column;
    width: 28%;
    height: 90%;
    justify-content: space-between;
  }

  .pie-contenido3 .pie-contactanos{
    color: white;
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-size: 14px;
    margin: 0px;
  }

  .pie-contenido3 button{
    text-align: center;
    font-size: 10px;
    align-items: center;
    padding: 10px 10px;
  }

  .pie-derecho{
    display: flex;
    height: 15%;
    align-items: end;
    font-size: 9px;
  }
  #contacto-pie{
    display: flex;
    flex-direction: column;
  }
  .pie-contenido3 .pie-contactanos{
    color: white;
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-size: 10px;
    margin: 0px;
  }
  
  .pie-contenido3 .numeros-contacto{
    font-size: 10px;
  }


  #contacto-pie input{
    border-radius: 7px;
    border-color: #5C6C7B;
    width: 90px;
    height: 30%;
    font-size: 7px;
    color: #fff;

  }

  #contacto-pie button{
    text-align: center;
    font-size: 8px;
    align-items: center;
    height: 40%;
    width: 80px;
  }

}

@media (min-width: 768px) and (max-width: 1009px){

  /*body{
    border: 2px solid blue;
  }*/
  #cerrar-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
  }

  #cerrar-btn:hover {
    color: #fff;
  }

  #popup-content {
    position: relative; /* ¡Esto permite posicionar la X dentro de la caja! */
    background: #121D50;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 286px;
    box-shadow: 0 0 10px #000;
  }

  #popup-content h2{
    font-size: 30px;
    color: #fff;
  }
  #popup-content p{
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 14px;
  }



  .icono-pasos{
    width:45%;
    height: 60%; 
  }

  button{
    font-size: 14px;
    padding-left: 40px;
  }

  .encabezado{
    height: 135px;
  }
  .encabezado1{
    height: 40%;
  }
  .encabezado2{
    height: 60%;
  }

  p.datos {
    font-size: 13px;
  }
  .encabezado2 nav a{
    font-size: 12px;
    letter-spacing: 0px;
    gap: 1rem;
    display: flex;
    height: 30%;
  }

  .panel-contenido .frase2{
    padding-top: 10px;
    font-size: 50px;

  }

  #logos-empresas{
    display: flex;
    height: 200px;
  }

   /*------------------------ PANEL FOTOGRAFICO ---------------------------------------------------------------*/

  #panel{
    background-size: 100%;
    height: 550px;
  }

  .panel-padre{
    width: 90%;
    height: 65%;
    margin-top: 0px;
  }

  .panel-contenido .frase1{
    font-size: 13px;
    letter-spacing: 1px;
  }

  .panel-contenido .frase3{
    font-size: 14px;
    padding: 0px;
  }

  .clientes {
    font-size: 18px;
  }

  .clientes .numero{
    font-size: 44px;
  }

  .clientes .clientes-satisfechos{
    font-size: 14px;
  }
  
  .anios{
    font-size: 40px;
  }

  .anios .anios-cantidad{
    font-size: 40px;
  }

  .anios .anios-experiencia{
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-weight: 200;
    font-size: 13.5px;
    margin: 0px;
    padding: 0px;
  }

  .imagen-panel {
    width: 18%;         /* Hace que la imagen ocupe el 100% del contenedor */
    height: 80%;        /* Mantiene la proporción original (no se deforma) */
    max-width: 600px;    /* Opcional: no crece más allá de 600px */
    display: flex;      /* Elimina espacios en blanco debajo de la imagen */
    margin: 0;      /* Centra la imagen horizontalmente si es más pequeña */
    padding: 0;
    border-radius: 8px;
  }

  .contacto-panel{
    display: flex;
    flex-direction: column;
    width: 50%;
    background-color: #090E23;
    border-radius: 10px;
  }

  .contacto-1{
    display: flex;
    padding-top: 0px;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 65%;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
  }

  .contacto-1 input{
    border-radius: 7px;
    border-color: #5C6C7B;
    background-color: #090E23;
    height: 58%;
    margin-left: 5px;
    width: 55%;
    padding-left: 15px;
  }

  .contacto-1 input::placeholder{
    color: #5C6C7B;
    font-size: 13px;
    display: flex;
  }

  .contacto-1 button{
    font-size: 12px;
    margin-right: 5px;
  }
  .formulario-mensaje {
    font-size: 12px;
  }
  .rojo {
    font-size: 12px;
  }

  /*-------------SOBRE NOSOTROS--------------------*/

  #sobre-nosotros{
    height: 650px;
  }
  .sobre-nosotros-contenido{
    height: 80%;
    width: 85%;
  }
  .sobre-nosotros-contenido2{
    height: 17%;
  }
  .sobre-contenido1 .sobre2{
    font-size: 28px;
  }
  .sobre-nosotros-contenido1{
    height: 65%;

  }
  .sobre-contenido1{
    width: 57%;
  }
  .sobre-contenido1-imagen{
    width: 40%;
  }
  .sobre-contenido2-info{
    height: 60%;
    width: 75%;
  }
  .sobre-contenido2 .sobre-numero{
    font-size: 35px;
  }
  .sobre-contenido2 .sobre-contenido{
    font-size: 13px;
  }
  .sobre-contenido1 .sobre1{
    font-size: 13px;

  }
  .sobre-contenido1 .sobre3{
    font-size: 14px;

  }
  .sobre-nosotros-contenido2{
    height: 18%;
    width: 100%;
  }


  .sobre-contenido2{
    display: flex;
    width: 32%;
    border-radius: 10px;
    background-color: #090E23;
    color: white;
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    align-items: center;
    justify-content: center;

  }

  .sobre-contenido2-info{
    display: flex;
    height: 60%;
    width: 85%;
    align-items: center;
    justify-content: space-around;
  }
/*-------------------------SOCIOS--------------------------------------*/
   #socios-empresas{
    display: flex;
    height: 140px;
    background-color: #1F45E4;
    align-items: center;
  }

  .socios{
    display: flex;

    align-items: center;
    width: 100%;
    height: 55%;
    color: white;
    overflow: hidden;
    position: relative;


  }

  .socio{
    justify-content: space-around;
    align-items: center;
    text-align: center;
    height: 90%;
    display: flex;
    animation: scroll 40s linear infinite;
  }

  .socio img {
    width: 100%;
    height: 90%;
    margin: 0 20px;
    border-radius: 8px;
  }

  .socio .socios-letra{
    font-size: 18px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: bold;
    margin: 0 20px;
  }


  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%); /* ancho total de una fila de logos */
    }
  }

  /*---------------NUESTROS SERVICIOS----------------------------------*/

  #nuestros-servicios{
    height: 1550px;
  }
  .nuestros-servicios-contenido{
    height: 85%;
  }
  .servicios-contenido .servicios-titulo{
    font-size: 40px;
  }
  .servicios-conjunto{
    height: 82%;
    width: 90%;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap:20px;

  }
  .servicios{
    padding: 15px;
  }
  .servicio{
    height: 90%;
  }
  .servicio .titulo-servicio{
    font-size: 22px;
  }
  .descripcion-servicio{
    font-size: 16px;
  }
/*------------------CLIENTES------------------------------------------*/
  #logos-empresas{
    display: flex;
    height: 140px;
    background-color: #1F45E4;
    align-items: center;
  }

  .empresas{
    display: flex;

    align-items: center;
    width: 100%;
    height: 55%;
    color: white;
    overflow: hidden;
    position: relative;


  }

  .empresa{
    justify-content: space-around;
    align-items: center;
    text-align: center;
    height: 90%;
    display: flex;
    animation: scroll 40s linear infinite;
  }

  .empresa img {
    width: 100%;
    height: 90%;
    margin: 0 20px;
    border-radius: 8px;
  }

  .empresa .clientes-letra{
    font-size: 18px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: bold;
    margin: 0 20px;
  }

  /*---------------COMO TRABAJAMOS---------------------------------*/

  #como-trabajamos{
    height: 800px;
  }
  .trabajos .como-trabajamos-titulo{
    font-size: 33px;
  }
  .trabajos .como-trabajamos-texto{
    font-size: 15px;
  }

  .como-trabajamos-contenido{
    display: flex;
    height: 80%;
    width: 85%;
  } 

  .trabajos .como-trabajamos-azul{
    font-size: 13px;
  }
  .paso-contenido .paso-titulo{
    font-size: 22px;
  }
  .paso-contenido .paso-contenido-texto{
    font-size: 15px;
  }

  /*------------------------------------VIDEO -------------------------*/

  #conocenos-mas{
    height: 580px;
  }
  .video-fondo {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: block;
  }



  /*---------------------------------------VALORES-------------------------*/

  #valores{
  height: 600px;
  }

  .noticias-contenido{
    display: flex;

    flex-direction: column;
    width: 75%;
    height: 88%;
    justify-content: space-between;
  }

  .noticias-contenido1{
    display: flex;

    height: 19%;
    flex-direction: column;
  }

  .noticias-contenido1 .noticias-azul{
    color: #0E33CB;
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 1px;
    display: flex;
  }

  .noticias-titulo{
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 40px;
    color: #121D50;
    display: flex;
    margin: 0px;
    padding: 0px;

  }

  .noticias-contenido{
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-size: 13px;
    color: #5C6C7B;
    letter-spacing: 0px;
  }
  .noticia-contenido2{
    display: grid;
    height: 50%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
    gap:20px;
    

  }
  .noticia1{
    background-color: #121D50;
    border-radius: 16px;
    align-items: center;
    padding: 0px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
  }

  .noticia1 .list-valor{
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-size: 15px;
    text-align: center;
    align-items: center;
    padding-left: 10px;
    text-decoration: none;
    color: #fff;
    list-style: none;

  }

  /*---------FOOTER---------------*/
  footer{
    height: 420px;
  }
  .pie-de-pagina{
    width: 80%;
    height: 70%;
  }
  .pie-contenido{
    height: 62%;
  }

  .pie-contenido1{
    width: 30%;
  }

  .pie-contenido1 .pie-imagen{
    width: 35%;
    height: 40%;

  }

  .pie-contenido1 .pie-descripcion{
    font-size: 15px;
  }

  .pie-contenido2{
    width: 15%;
    height: 80%;
  }

  .pie-contenido2 .pie-navegacion{
    font-size: 20px;
    margin: 0px;
    padding: 0px;
  }

  .pie-contenido2 nav{
    gap: 0.5em;
    display: flex;
    height: 30%;
    flex-direction: column;
    margin: 0px;
    padding-top: 20px;

  }
  .pie-contenido2 nav a{
    font-size: 13px;
  }

  .pie-contenido3{
    display: flex;
    flex-direction: column;
    width: 25%;
    height: 90%;
    justify-content: space-between;
  }

  .pie-contenido3 .pie-contactanos{
    color: white;
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-size: 20px;
    margin: 0px;
  }

  .pie-derecho{
    display: flex;
    height: 15%;
    align-items: end;
    font-size: 14px;
  }
  #contacto-pie{
    display: flex;
    flex-direction: column;
    align-items: start;
  }
  .pie-contenido3 .numeros-contacto{
    font-size: 12px;
  }

  #contacto-pie input{
    border-radius: 7px;
    border-color: #5C6C7B;
    width: 70%;
    height: 40%;
    font-size: 13px;
    color: #fff;

  }

  #contacto-pie button{
    text-align: center;
    font-size: 13px;
    align-items: center;
    height: 40%;
    width: 80%;
    padding-left: 50px;
  }



}

@media (min-width: 1010px) and (max-width: 1280px){

  /*body{
    border: 2px solid yellow;
  }*/

  .encabezado{
    height: 140px;
  }
  .encabezado1{
    height: 40%;
  }
  .encabezado2{
    height: 60%;
  }
  #panel{
    height: 700px;
  }

  #cerrar-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
  }

  #cerrar-btn:hover {
    color: #fff;
  }

  #popup-content {
    position: relative; /* ¡Esto permite posicionar la X dentro de la caja! */
    background: #121D50;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 320px;
    box-shadow: 0 0 10px #000;
  }

  #popup-content h2{
    font-size: 40px;
    color: #fff;
  }
  #popup-content p{
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 15px;
  }

  .contacto-1 button{
    font-size: 13px;
  } 
  .formulario-mensaje {
    font-size: 13px;
  }
  .rojo {
    font-size: 13px;
  }
  .icono-pasos{
    width:45%;
    height: 60%; 
  }
  button{
    font-size: 15px;
    padding-left: 40px;
  }
  .encabezado2 nav a{
    font-size: 14px;
    letter-spacing: 0.5px; /* Espaciado entre las letras */
  }
  p.datos {
    font-size: 16.5px;
  }
  .panel-contenido .frase2{
    padding-top: 15px;
    font-size: 55px;

  }

  /*-------------SOBRE NOSOTROS--------------------*/
  #sobre-nosotros{
    height: 750px;
  }
  .sobre-nosotros-contenido{
    height: 80%;
    width: 85%;
  }
  .sobre-nosotros-contenido1{
    display: flex;
    height: 68%;
    justify-content: space-between;

  }

  .sobre-nosotros-contenido2{
    height: 19%;
  }

  .sobre-contenido1 .sobre2{
    font-size: 39px;
  }

  .sobre-contenido2-info{
    height: 60%;
    width: 75%;
  }
  .sobre-contenido2 .sobre-numero{
    font-size: 40px;
  }
  .sobre-contenido2 .sobre-contenido{
    font-size: 16px;
  }
  .sobre-contenido1 .sobre1{
    font-size: 13px;

  }
  .sobre-contenido1 .sobre3{
    font-size: 16px;

  }

/*------------------------------------------SOCIOS ESTRATEGICOS------------------------------------*/
  #socios-empresas{
    display: flex;
    height: 160px;
    background-color: #1F45E4;
    align-items: center;
  }

  .socios{
    display: flex;

    align-items: center;
    width: 100%;
    height: 50%;
    color: white;
    overflow: hidden;
    position: relative;


  }

  .socio{
    justify-content: space-around;
    align-items: center;
    text-align: center;
    height: 90%;
    display: flex;
    animation: scroll 40s linear infinite;
  }

  .socio img {
    width: 100%;
    height: 90%;
    margin: 0 20px;
    border-radius: 8px;
  }

  .socio .socios-letra{
    font-size: 23ta bienpx;
    font-family: "Space Grotesk", sans-serif;
    font-weight: bold;
    margin: 0 20px;
  }


  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%); /* ancho total de una fila de logos */
    }
  }



  /*---------------NUESTROS SERVICIOS----------------------------------*/

  #nuestros-servicios{
    height: 1400px;
  }
  .servicios-contenido .servicios-titulo{
    font-size: 40px;
  }
  .servicios-conjunto{
    height: 80%;
    width: 90%;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap:20px;

  }
  .servicios{
    padding: 15px;
  }
  .servicio{
    height: 90%;
  }
  .servicio .titulo-servicio{
    font-size: 22px;
  }
  .descripcion-servicio{
    font-size: 16px;
  }

  /*---------------COMO TRABAJAMOS---------------------------------*/
  #como-trabajamos{
    height: 900px;
  }
  .trabajos .como-trabajamos-titulo{
    font-size: 40px;
  }
  .paso-contenido .paso-titulo{
    font-size: 24px;
  }
  .paso-contenido .paso-contenido-texto{
    font-size: 16px;
  }

  /*----------------------CLIENTES-----------------------------------------------*/

  #logos-empresas{
    display: flex;
    height: 160px;
    background-color: #1F45E4;
    align-items: center;
  }

  .empresas{
    display: flex;

    align-items: center;
    width: 100%;
    height: 50%;
    color: white;
    overflow: hidden;
    position: relative;


  }

  .empresa{
    justify-content: space-around;
    align-items: center;
    text-align: center;
    height: 90%;
    display: flex;
    animation: scroll 40s linear infinite;
  }

  .empresa img {
    width: 100%;
    height: 90%;
    margin: 0 20px;
    border-radius: 8px;
  }

  .empresa .clientes-letra{
    font-size: 23px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: bold;
    margin: 0 20px;
  }


  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%); /* ancho total de una fila de logos */
    }
  }




  /*------------------------------------VIDEO -------------------------*/

  .video-fondo {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Cambia a 'cover' si quieres que llene el contenedor y recorte lo que sobre */
    display: block;
  }
/*---VALORES---------------------------*/
  #valores{
    height: 600px;
  }

  .noticias-contenido{
    width: 79%;
    height: 88%;
  }

  .noticias-contenido1{
    display: flex;

    height: 19%;
    flex-direction: column;
  }

  .noticias-contenido1 .noticias-azul{

    font-size: 13px;
  }

  .noticias-titulo{
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 45px;

  }

  .noticias-contenido{
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-size: 16px;
    color: #5C6C7B;
    letter-spacing: 0.4px;
  }
  .noticia-contenido2{
    display: grid;
    height: 45%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap:15px;
    

  }

  .noticia1{
    display: flex;
    background-color: #121D50;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    padding: 0px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
  }

  .noticia1 .list-valor{
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-size: 16px;
    text-align: center;
    align-items: center;
    padding-left: 10px;
    text-decoration: none;
    color: #fff;
    list-style: none;

  }
  footer{

    height: 430px;
  }

  #contacto-pie{
    display: flex;
    flex-direction: column;
    align-items: start;
  }
  .pie-contenido3 .pie-contactanos{
    color: white;
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-size: 22px;
    margin: 0px;
  }

  #contacto-pie input{
    border-radius: 7px;
    border-color: #5C6C7B;
    width: 70%;
    height: 40%;
    font-size: 15px;
    color: #fff;

  }

  #contacto-pie button{
    text-align: center;
    font-size: 14px;
    align-items: center;
    height: 40%;
    width: 80%;
  }

  .pie-de-pagina{
    width: 85%;
  }
  .pie-contenido3{
    width: 36%;
  }

  .pie-contenido3 .numeros-contacto{
    font-size: 13px;
  }
}

@media (min-width: 1281px) and (max-width: 1599px) {

  /*body {
    border: 2px solid green;
  }*/

  .encabezado{
    height: 140px;
  }
  .encabezado1{
    height: 40%;
  }
  .encabezado2{
    height: 60%;
  }
  #panel{
    height: 700px;
  }
  .panel-contenido .frase2{
    padding-top: 15px;
    color: white;
    font-size: 67px;

  }

  #cerrar-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
  }

  #cerrar-btn:hover {
    color: #fff;
  }

  #popup-content {
    position: relative; /* ¡Esto permite posicionar la X dentro de la caja! */
    background: #121D50;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 350px;
    box-shadow: 0 0 10px #000;
  }

  #popup-content h2{
    font-size: 40px;
    color: #fff;
  }
  #popup-content p{
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 16px;
  }


  /*-------------SOBRE NOSOTROS--------------------*/

  #sobre-nosotros{
    height: 800px;
  }
  .sobre-nosotros-contenido{
    height: 80%;
  }
  .sobre-contenido1 .sobre2{
    font-size: 43px;
  }

  .sobre-nosotros-contenido1{
    display: flex;
    height: 68%;
    justify-content: space-between;

  }

  .sobre-nosotros-contenido2{
    height: 21%;
  }

  .sobre-contenido2-info{
    display: flex;

    height: 60%;
    width: 75%;
    align-items: center;
    justify-content: space-around;
  }

  .sobre-contenido2 .sobre-numero{
    font-size: 44px;
    font-weight: bold;

  }

  .sobre-contenido2 .sobre-contenido{
    font-size: 20px;
  }




  /*------------------------------------------SOCIOS ESTRATEGICOS------------------------------------*/
  #socios-empresas{
    display: flex;
    height: 200px;
    background-color: #1F45E4;
    align-items: center;
  }

  .socios{
    display: flex;

    align-items: center;
    width: 100%;
    height: 50%;
    color: white;
    overflow: hidden;
    position: relative;


  }

  .socio{
    justify-content: space-around;
    align-items: center;
    text-align: center;
    height: 90%;
    display: flex;
    animation: scroll 40s linear infinite;
  }

  .socio img {
    width: 100%;
    height: 90%;
    margin: 0 20px;
    border-radius: 8px;
  }

  .socio .socios-letra{
    font-size: 24px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: bold;
    margin: 0 20px;
  }


  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%); /* ancho total de una fila de logos */
    }
  }


/*---------------NUESTROS SERVICIOS----------------------------------*/

  #nuestros-servicios{
    height: 1300px;
  }

  .servicios-contenido .servicios-titulo{
    font-size: 48px;
  }
  .servicios-conjunto{
    height: 75%;
    width: 90%;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap:35px;

  }
  .servicios{
    padding: 15px;
  }
  .servicio{
    height: 90%;
  }
  .servicio .titulo-servicio{
    font-size: 24px;
  }
  .descripcion-servicio{
    font-size: 16.5px;
  }

  /*----------------------CLIENTES-----------------------------------------------*/

  #logos-empresas{
    display: flex;
    height: 200px;
    background-color: #1F45E4;
    align-items: center;
  }

  .empresas{
    display: flex;

    align-items: center;
    width: 100%;
    height: 50%;
    color: white;
    overflow: hidden;
    position: relative;


  }

  .empresa{
    justify-content: space-around;
    align-items: center;
    text-align: center;
    height: 90%;
    display: flex;
    animation: scroll 40s linear infinite;
  }

  .empresa img {
    width: 100%;
    height: 90%;
    margin: 0 20px;
    border-radius: 8px;
  }

  .empresa .clientes-letra{
    font-size: 24px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: bold;
    margin: 0 20px;
  }


  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%); /* ancho total de una fila de logos */
    }
  }

  /*---------------COMO TRABAJAMOS---------------------------------*/

  .como-trabajamos-contenido{
    display: flex;
    height: 80%;
    width: 75%;

    flex-direction: column;
    justify-content: space-between;

  }
  .como-trabajamos-contenido1{
    display: flex;
    height: 42%;

    justify-content: space-between;
  }
  .imagen-como-trabajamos{
    display: flex;
    width: 45%;

  }
  .trabajos .como-trabajamos-titulo{
    font-size: 48px;
  }
  .pie-contenido1 .pie-descripcion{
    font-size: 14px;
  }

  #conocenos-mas{
    height: 600px;
  }
  /*----------------VALORES------------------------------*/

  #valores{
    height: 600px;
  }

  .noticias-contenido{
    width: 79%;
    height: 88%;
  }

  .noticias-contenido1{
    display: flex;

    height: 19%;
    flex-direction: column;
  }

  .noticias-contenido1 .noticias-azul{
    color: #0E33CB;
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 13.5px;
    letter-spacing: 1px;
    display: flex;
  }

  .noticias-titulo{
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 48px;
    color: #121D50;
    display: flex;
    margin: 0px;
    padding: 0px;

  }

  .noticias-contenido{
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-size: 16px;
    color: #5C6C7B;
    letter-spacing: 0.4px;
  }
  .noticia-contenido2{
    display: grid;
    height: 45%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap:15px;
    

  }

  .noticia1{
    display: flex;
    background-color: #121D50;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    padding: 0px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
  }

  .noticia1 .list-valor{
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-size: 20px;
    text-align: center;
    align-items: center;
    padding-left: 10px;
    text-decoration: none;
    color: #fff;
    list-style: none;

  }
  footer{

    height: 430px;
  }
  .pie-de-pagina{
    width: 80%;
  }
  .pie-contenido3{
    width: 35%;
  }

}

@media  (min-width: 1600px){
  /*body{
    border: 1px solid brown;
  }*/

  #nuestros-servicios{
    display: flex;
    height: 1300px;
    background-color: #EDF0F3;
  }
  .servicios-conjunto{

    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap:30px

  }

  #sobre-nosotros{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 990px;
  }

  #como-trabajamos{
    display: flex;
    height: 1100px;
    align-items: center;
    justify-content: center;
  }



}
