*{
    padding: 0;
    margin: 0;
}

#imagen{
    width: 300px;
    height: min-content;
    margin-top: auto;
    margin-bottom: auto;
    margin-top: -70%;
    margin-left: -50%;
}

.imagena{
    width: 150px;
    height: 100%;
    margin: 0 2%;
}

#ser{
    color: rgb(39, 134, 151);
    margin: 0;
}

@keyframes slidein {
from {
    height: 1px;
    width: 1px;
}

to {
    height: auto;
    width: 100%;
}

}
/*header*/
header {
    width: 100%;
    height: 100px;
    background-color: rgb(255, 255, 255);
}

header nav *{
    overflow-x: hidden;
}

header nav {
    width: 100%;
    height: 100px;
    float: left;
    display: flex;
    text-decoration: none;
    padding-left: 20px;
    position: fixed;
    z-index: 10;
    background-color: #FFF;
}

header nav a{
    text-decoration: none;
    overflow-y: hidden;
    font-family: Mallory book;
    font-size: large;
    font-size: 20px;
    color: #808080;
}

.palo{
    margin: auto;
    margin-left: 0;
    margin-right: 0;
    padding: auto;
}

.baner{
    padding: 0px;
    margin-left: 3%;
    margin-right: 3%;
    margin-top: auto;
    margin-bottom: auto;
}

.c{
    width: auto;
    height: auto;
    padding: 0px;
    margin-left: 3%;
    margin-top: auto;
    margin-bottom: auto;
}

.img{
    width: 40px;
}


/*carrucel*/
.slider input{
    visibility: hidden;
    display: none;
}

.slider{
    position: relative; /* Es necesario para que el z-index surta efecto */
}

.buttons{
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    bottom: 5%;
    gap: 10px;
}

.buttons label{
    width: 12px;
    height: 12px;
    cursor: pointer;
    z-index: 1;
    border-radius: 12px;
    border: 2px solid white;
}

.buttons label:hover{
    background-color: #999999;
}

.slider input:nth-child(1):checked ~ .buttons label:nth-child(1),
.slider input:nth-child(2):checked ~ .buttons label:nth-child(2),
.slider input:nth-child(3):checked ~ .buttons label:nth-child(3),
.slider input:nth-child(4):checked ~ .buttons label:nth-child(4)
{
    background-color: white;
    border: hidden;
    width: 14px;
    height: 14px;
    animation: botones 25s infinite alternate ease-in-out;
}

.content{
    position: relative;
    width: 400vw;
    display: flex;
    transition: 400ms ease-in-out;
}


.firstslide,.secondslide,.thirdslide,.fourslide{
    position: relative;
    width: 100%;
    height: 620px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.secondslide .banerp{
    padding: 0 0 0 5%;
}

.firstslide{
    background-image: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05)),  url("../imagenes/1.webp");
    background-size: 100% 100%;
    text-align: right;
}

.secondslide{
    background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),  url("../imagenes/2.png");
    background-size: 100% auto;
    background-position: 0 25%;
}

.thirdslide{
    background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),  url("../imagenes/3.jpeg");
    background-size: 100% auto;
    background-position: 0 35%;
}

.fourslide{
    background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),  url("../imagenes/4.png");
    background-size: 100% auto;
    background-position: 0 35%;
}

.slider input:nth-child(1):checked ~ .content{
    left: 0;
}

.slider input:nth-child(2):checked ~ .content{
    left: -100vw;
}

.slider input:nth-child(3):checked ~ .content{
    left: -200vw;
}

.slider input:nth-child(4):checked ~ .content{
    left: -300vw;
}


.banerp{
    padding: 2%;
    position: absolute;
    left: 1%;
    text-align: left;
    font-size: 25px;
    font-family: Mallory b;
    width: 50%;
    margin-top: 28%;
    color: #FFF;
}

.banerp h2{
    font-family: mallory bi;
    font-size: 40px;
}

.banerp p{
    font-family: mallory l;
    font-size: 25px;
}

.firstslide img{
    padding: 2%;
    width: 50%;
}

.secondslide img{
    padding: 2%;
    width: 50%;
}

.thirdslide img{
    padding: 2%;
    width: 50%;
}

.btn-wsp{
    position:fixed;
    width:60px;
    height:60px;
    line-height: 55px;
    bottom:50px;
    right:25px;
    background-image: url("../imagenes/whatsapp.png");
    border-radius:50px;
    text-align:center;
}

.btn-wsp:hover{
    transition: 0.9s;
    background-image: url("../imagenes/whatsapp\ 2.png");
}

.Licencia{
    font-family: Mallory book;
    font-size: 12px;
    padding: 10px;
    position:fixed;
    width:120px;
    height:auto;
    bottom:50px;
    right:25px;
    color: black;
    border: 1px solid #0871A5;
    border-radius: 10px;
    text-align:center;
    text-decoration: none;
}


.servicios{
    width: 100%;
    padding: 0;
    text-align: center;
    margin-top: 4%;
    margin-bottom: 2%;
    display: block;
    font-size: 45px;
}

.servicios img{
    width: 100%;
    height: auto;
}

.azul{
    font-size: 50px;
    font-family: Mallory bi;
    color: #0E9FD8;
}

.azul2{
    font-size: 50px;
    font-family: Mallory l;
    color: #0E9FD8;
}

.contenedor{
    width: 100%;
    margin-bottom: -4%;
    background-color: #FFF;
    display: flex;
}

.contenedor2{
    width: 100%;
    background-color: #FFF;
    display: flex;
}

.textos{
    width: 20%;
    height: 70px;
    margin: 3%;
    text-align: center;
    overflow: hidden;
}

.trabajo img{
    width: 100%;
    height: auto;
}

.trabajo:hover{
    background-color: #0e9fd8d4;
}

.texto{
    color: #808080;
    font-size: 25px;
    font-weight: bold;
}

.elegirnos{
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 380px;
    padding-top: 1%;
    background-color: #0E9FD8;
    background-image: url("../imagenes/PAGINA\ WEB\ SERIN\ PREW-12.png");
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: 104%;
    text-align: center;
}

.titulo p{
    font-size: 2em;
    text-align: center;
    margin: 0;
}

.titulo{
    width: 100%;
    height: auto;
    padding: 20px;
}

.ele{
    font-family: Mallory bi;
    color: #ffffff;
}

.por{
    font-family: Mallory book;
    color: #ffffff;
}

.wrapper, .dosimagenes{
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.wrapper2{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: 5px;
    margin-bottom: 10px;
}

.wrapper3{
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #0E9FD8;
    margin-top: 20px;
    margin-bottom: 10px;
}

.image{
    width: 100%;
    height: 100%;
    align-items: center;
    max-height: 300px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    margin-left: 40px;
    margin-right: 40px;
    border-radius: 10px;
    box-shadow: 5px 2px 15px rgba(0, 0, 0, 0.5);
}

.image2{
    width: 20%;
    height: 100px;
    position: relative;
    overflow: hidden;
    margin-left: 40px;
    margin-right: 40px;
}

.image3{
    width: 20%;
    height: 60%;
    position: relative;
    overflow: hidden;
    margin-left: 40px;
    margin-right: 40px;
}

.image3 a:hover{
    font-size: 20px;
    color: #bcbcbc;
}


.image img{
    width: 90%;
    max-height: 85%;
    display: block;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

#larga img{
    max-width: 90%;
    height: 280px;
    object-fit: cover;
}

#larga2 img{
    max-width: 90%;
    height: 280px;
    object-fit: cover;
}

#foto img{
    max-width: 90%;
    height: 280px;
    object-fit: cover;
}

#primeraimg img{
    max-width: 90%;
    height: 280px;
    object-fit: cover;
}

.conten{
    width: 100%;
    height: 100%;
    max-height: 350px;
    top: 0;
    left: 0;
    position: absolute;
    background-color: rgba(14, 159, 216, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    opacity: 0.6s;
}

.conten a{
    font-family: Mallory b;
    color: #fff;
    text-decoration: none;
    font-size: 25px;
}

.conten2{
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.conten2 p{
    font-family: Mallory b;
    color: #808080;
    text-decoration: none;
    font-size: 21px;
    padding-left: 25px;
    padding-right: 25px;
}

.conten3{
    width: 100%;
    height: auto;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.conten3 a{
    font-family: Mallory b;
    color: #ffffff;
    text-decoration: none;
    font-size: 19px;
    margin-left: 30px;
    margin-right: 30px;
}

.conten:hover{
    opacity: 1;
}

.conten > *{
    transform:translateY(25px);
    transition:transform 0.6s;
}

.conten:hover > *{
    transform: translate(0px);
}

.icon{
    width: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.icon2{
    width: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
}

.icon3{
    width: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
}

.iconos{
    width: 450px;
    height: 130px;
    align-items: center;
    overflow: hidden;
}

.iconos2{
    width: 31%;
    height: 60px;
}

.iconos3{
    width: 400px;
    height: 80px;
    margin-left: 30px;
    margin-right: 30px;
    overflow: hidden;
}

.iconos2 p{
    font-family: Mallory b;
    color: #ffffff;
    text-decoration: none;
    font-size: 23px;
    padding: 18px;
    padding-bottom: 0;
}

.iconos3 p{
    font-family: Mallory book;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    padding-left: 30px;
    padding-right: 30px;
}

.iconos img{
    width: 130px;
    height: auto;
}

.estudios{
    width: 100%;
    margin-bottom: 5%;
    height: auto;
    display: flex;
}

.estudios2{
    width: 100%;
    height: 550px;
    display: flex;
}

.estudios3{
    width: 100%;
    height: auto;
    display: flex;
}

.button-container{
    overflow: hidden;
}

.leyendo{
    width: 50%;
    display: block;
    text-align: center;
    justify-content: center;
    padding: 2% 1%;
    overflow: hidden;
}
.leyendo2{
    width: 50%;
    display: block;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 2% 2% 3%;
    overflow: hidden;
}

.leyendo3{
    width: 100%;
    display: block;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 2% 10%;
    overflow: hidden;
}

#sep{
    padding: 7% 2% 3%;
}
.leyendo a,.leyendo2 a,.leyendo3 a{
    font-family: MALLORY l;
    color: #0E9FD8;
}

.leyendo h3,.leyendo2 h3,.leyendo3 h3{
    font-family: MALLORY b;
    font-size: 25px;
    padding-left: 40px;
    padding-right: 40px;
    color: #0E9FD8;
}

.leyendo p,.leyendo2 p,.leyendo3 p{
    text-align: justify;
    font-family: Mallory book;
    font-size: 17px;
    padding-top: 20px;
    padding-left: 55px;
    padding-right: 55px;
    color: #808080;
}

.boton{
    width: 350PX;
    height: auto;
    margin-top: 30px;
    background-color: #0E9FD8;
    font-family: Mallory b;
    cursor: pointer;
    padding: 10px;
    font-size: 22px;
    color: #FFF;
    border: 0px;
    border-radius: 20px;
    box-shadow: 5px 5px 3px #80808053;
}

.boton a{
    text-decoration: none;
    color: #FFF;
    font-family: Mallory b;
}

.video{
    width: 600px;
    height: 350px;
    overflow: hidden;
    margin-right: 2%;
    margin-top: 2%;
}

.video2{
    width: 45%;
    height: 550px;
    overflow: hidden;
    margin-right: 2%;
    margin-top: 2%;
}

.control{
    width: 100%;
    height: 350px;
}

.control2{
    width: 100%;
    height: 100%;
}

.servicios3{
    width: 100%;
    padding: 0;
    text-align: center;
    margin-top: 2%;
    margin-bottom: 2%;
    display: block;
    font-size: 45px;
}

footer{
    width: 100%;
    margin-bottom: 0;
    height: 190px;
    display: flex;
    background-color: #0E9FD8;
}

.logo{
    width: 45%;
    position: relative;
    max-height: 180px;
    align-items: start;
    overflow: hidden;
}
.logo img{
    width: 80%;
    max-height: 100%;
    object-fit: cover;
}

.arriba{
    font-family: Mallory book;
    color: #FFF;
    font-size: 18px;
    width: 25%;
}

.arriba p{
    padding-top: 10px;
    padding-bottom: 10px;
}

.contacto{
    width: 45%;
    margin-top: 2%;
}

.fila{
    display: flex;
    font-family: Mallory b;
    color: #FFF;
    font-size: 16px;
    padding: 11px 0;
}

.contacto img{
    width: 23px;
    height: 23px;
    padding-right: 10px;
}

.redes{
    width: 20%;
    overflow: hidden;
    background-image: url("../imagenes/PAGINA\ WEB\ SERIN\ PREW-12.png");
    background-size: 200px 100%;
    background-position: 70px;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.terminos{
    height: 15%;
    padding-bottom: 15px;
    padding-right: 15px;
    text-align: right;
    font-size: 10px;
    font-family: Mallory book;
    color: #FFF;
}

.red{
    height: 40%;
}

.red img{
    width: 45px;
    height: auto;
    margin-right: 20px;
    cursor: pointer;
}
/*carrucel 2*/

body{
    overflow-x: hidden;
}

.slide {
    position: relative;
    margin-top: 26px;
}

.slide-inner {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: calc( 100px + 3em);
}

.slide-open:checked + .slide-item{
    position: static;
    opacity: 100;
}

.slide-item{
    width: 100%;
    height: 100px;
    justify-content: center;
    position: absolute;
    opacity: 0;
    -webkit-transition: opacity 0.6s ease-out;
    transition: opacity 0.6s ease-out;
    display: flex;
}

#slide3{
    width: 100%;
    height: 60px;
}

#slide3 img{
    height: 60px;
}

.slide-item #p1 {
    align-items: center;
    justify-content: center;
    display: block;
    height: 100px;
    max-width: 100%;
    width: 25%;
    margin: 0 55px;
    text-align: center;
}

.arus img{
    height: 50% !important;
}

.slide-item img{
    object-fit: contain;
    align-content: center;
    height: auto;
    max-height: 100px;
    width: 80%;
}

.slide-item p{
    color: #808080;
    font-family: Mallory b;
    font-size: 23px;
    margin-top: 10px;
}

.slide-control {
    background: rgba(0, 0, 0, 0.28);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: none;
    font-size: 40px;
    height: 40px;
    line-height: 35px;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    cursor: pointer;
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    text-align: center;
    width: 40px;
    z-index: 10;
}

.slide-control.prev {
    left: 2%;
    top: 35%;
}

.slide-control.next {
    right: 2%;
    top: 35%;
}

.slide-control:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #aaaaaa;
}

#slide-1:checked ~ .control-1,
#slide-2:checked ~ .control-2,
#slide-3:checked ~ .control-3 {
    display: block;
}

.slide-indicador {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 2%;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.slide-indicador li {
    display: inline-block;
    margin: 0 5px;
}

.slide-circulo {
    color: #828282;
    cursor: pointer;
    display: block;
    font-size: 35px;
}

.slide-circulo:hover {
    color: #aaaaaa;
}

#slide-1:checked ~ .control-1 ~ .slide-indicador 
     li:nth-child(1) .slide-circulo,
#slide-2:checked ~ .control-2 ~ .slide-indicador 
      li:nth-child(2) .slide-circulo,
#slide-3:checked ~ .control-3 ~ .slide-indicador 
      li:nth-child(3) .slide-circulo {
    color: #428bca;
}

#titulo {
    width: 100%;
    position: absolute;
    padding: 0px;
    margin: 0px auto;
    text-align: center;
    font-size: 27px;
    color: rgba(255, 255, 255, 1);
    font-family: 'Open Sans', sans-serif;
    z-index: 9999;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.33), 
    -1px 0px 2px rgba(255, 255, 255, 0);
}

/*experiencia de clientes*/

.expe{
    width: 100%;
    height: auto;
    margin-bottom: 80px;
}

.expe img{
    width: 100%;
}

/* Dropdown Button */
  
  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative; /* Para que el contenido del menú se posicione relativo al botón */
    overflow: visible; /* Asegura que no se corte el contenido del menú */
    width: 15%;
    display: flex;
    text-align: center;
    align-items: center;
}


.dropdown a {
    display: block;
    width: 100%;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    width: auto;
    display: none;
    position: absolute;
    background-color: rgba(14, 159, 216, 0.6);
    min-width: 160px;
    z-index: 10; /* Aumenta el valor para estar por encima del banner */
    top: 100%;
    padding: 10px;
    text-align: start;
}

  /* Links inside the dropdown */
.dropdown-content a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    display: block;
    padding: 12px 8px;
    font-size: 17px;
}

  /* Change color of dropdown links on hover */
.dropdown-content a:hover {font-weight: bold;}

  /* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block; /* Muestra el menú */
    height: auto;   /* Deja que la altura se ajuste al contenido */
}


/*fin de dropdown*/
.nosotros2{
    display: flex;
}

.texton{
    width: 60%;
    height: auto;
    padding: 20px 40px;
    color: #808080;
}

.sigtexto{
    width: 98%;
    height: auto;
    padding: 1%;
    color: #808080;
    font-size: 20px;
    text-align: justify;
    font-family: Mallory book;
}

.sigtitulo{
    font-size: 25px;
    color: #0E9FD8;
    font-family: Mallory b;
    padding: 1%;
}

.texton2{
    width: 60%;
    height: auto;
    padding: 20px 40px;
    margin: 0 2%;
    color: #808080;
}

.completexto{
    width: 60%;
    height: auto;
    padding: 20px 40px;
    color: #808080;
}

.residencial{
    width: 80%;
    height: auto;
    padding: 0 10px 40px 40px;
    color: #808080;
}

.residencial2{
    font-size: 19px;
    font-family: Mallory book;
}

.residencial2 ul li{
    text-align: justify;
    padding: 1% 10% 0 0;
}

.residencial2 ul li::marker {
    color:#0E9FD8; /* Cambia el color de los puntos a rojo */
}

.residencial2 h4{
    margin-top: 1%;
    color: #0E9FD8;
    font-family: Mallory b;
}

.vista{
    display: none;
}

.nosotrosimg{
    width: 30%;
    height: auto;
    position: relative;
    display: block; /* Activa Flexbox */
}

.nosotrosimg img{
    width: auto;
    height: 100%;
    position: absolute;
    object-fit: cover;
}

.nosotrosimg2{
    width: 40%;
    margin: 2% 2%;
    display: block; /* Activa Flexbox */
}

.nosotrosimg2 .civilimg1{
    height: 60%;
    width: 100%;
    position: relative;
}

.nosotrosimg2 .civilimg2{
    width: 100%;
    height: 50%;
    margin-top: -20%;
    object-fit: contain;
}

.nosotros3{
    width: 80%;
    height: 25%;
    margin: 15% 5%;
    overflow: hidden; /* Oculta lo que sobresalga */
    position: relative; /* Asegura que el div controle el contenido */
}

.nosotros3 img{
    height: 80%;
    width: 40%;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.mision{
    width: 80%;
    height: 25%;
    margin: 5%;
    overflow: hidden; /* Oculta lo que sobresalga */
    position: relative; /* Asegura que el div controle el contenido */
}

.mision img{
    height: 80%;
    width: 40%;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.vision{
    width: 80%;
    height: 25%;
    margin: 5%;
    overflow: hidden; /* Oculta lo que sobresalga */
    position: relative; /* Asegura que el div controle el contenido */
}

.vision img{
    height: 80%;
    width: 40%;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.topograficaimg{
    width: 40%;
    margin: 2% 2%;
    display: flex; /* Activa Flexbox */
    overflow: hidden;
}

.topograficaimg img{
    width: 100%;
    height: 115%;
    margin-top: -15%;
}


.titulon{
    margin: 0 5%;
    margin-bottom: 20px;
    font-size: 30px;
    font-family: Mallory b;
}

#servicios{
    width: 90%;
}

.somos{
    width: 80%;
    margin: 0 5%;
    font-size: 19px;
    font-family: Mallory book;
    align-items: center;
    text-align:center;
}

.somos ul li{
    text-align: justify;
    padding: 1% 10% 0 0;
    width: 100%;
}

.somos p{
    padding-bottom: 4%;
    text-align: justify;
}

.somos ul li::marker {
    color:#0E9FD8; /* Cambia el color de los puntos a rojo */
}

.somos h4{
    text-align: left;
    margin-top: 3%;
    color: #0E9FD8;
    font-family: Mallory b;
}

.texton ul li::marker{
    color: #0E9FD8;
}

.texton ul{
    width: 80%;
    margin: 0 5%;
}

.texton ul li{
    font-size: 18px;
    font-family: Mallory book;
    margin: 3% 0;
    text-align: justify;
}

.titulon h3{
    font-family: Mallory b;
    color: #0E9FD8;
}

.inge{
    font-family: Mallory book;
    color: #0E9FD8;
}

.descarga{
    text-decoration: none;
    color: #0E9FD8;
    font-family: Mallory b;
}

.descarga:hover{
    color: #0871A5;
}

.noticias{
    display: flex;
    width: 100%;
}

.not{
    width: 55%;
    text-align: center;
    font-family: Mallory b;
    color: #0E9FD8;
    font-size: 35px;
}

.otras{
    width: 45%;
    font-family: Mallory book;
}

.otras a{
    text-decoration: none;
    color:#0E9FD8;
    margin: 0 4%;
    font-size: 20px;
}

.otras a:hover{
    color: #0871A5;
}

.imgnosotros{
    width: 100%;
    height: 100%;
    max-height: 500px;
    position: relative;
    overflow: hidden;
}

.sig{
    width: 80%;
    padding: 2% 3%;
}

.sigimg{
    width: 100%;
    height: 100%;
    max-height: 500px;
    position: relative;
    overflow: hidden;
}

.sigimg img{
    margin-top: -20%;
}

.nosotros{
    width: 100%;
    max-height: 100%;
    display: block;
    margin: auto;
    margin-top: -12%;
}
.valor{
    width: auto;
    height: 100%;
    float: right;
}

.valores{
    width: 29%;
    height: 540px;
    margin: 45px 0;
}

/* Dropdown Button */

  /* The container <div> - needed to position the dropdown content */
.dropdown2 {
    cursor: pointer;
    position: relative; /* Para que el contenido del menú se posicione relativo al botón */
    overflow: visible; /* Asegura que no se corte el contenido del menú */
    width: 5%;
    display: flex;
    text-align: center;
    align-items: center;
    color: white;
    font-family: Mallory b;
}


.dropdown2 a {
    display: block;
    width: 100%;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content2 {
    cursor:auto;
    width: 450px;
    display: none;
    position: absolute;
    background-color: rgba(14, 159, 216, 0.8);
    min-width: 160px;
    z-index: 10; /* Aumenta el valor para estar por encima del banner */
    top: 100%;
    right: 0%;
    text-align: start;
}
  
  /* Links inside the dropdown */
  .dropdown-content2 a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    display: block;
    padding: 12px 8px;
    font-size: 17px;
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-content2 a:hover {font-weight: bold;}
  
  /* Show the dropdown menu on hover 
  .dropdown2:hover .dropdown-content2 {
    display: block; /* Muestra el menú 
    height: auto;   /* Deja que la altura se ajuste al contenido 
    }*/

.mostrarcorreo{
    display: block; /* Muestra el menú */
    height: auto;   /* Deja que la altura se ajuste al contenido */
}    

.datos{
    display: flex;
    text-align: center;
    justify-content: center;
}

.datos p{
    text-align: start;
    width: auto;
    font-size: 20px;
    font-family: Mallory b;
    padding: 2% 3%;
}

.datos img{
    width: 80px;
    height: auto;
    padding: 0 5%;
}

.campos{
    padding: 3% 8%;
}

.campos input[type="text"],textarea,input[type="email"],input[type="number"]{
    width: 100%;
    height: 20px;
    padding: 5px;
    margin: 0 0 5% 0;
    border-radius: 20px;
    border: none;
    outline: none;
    background-color: rgba(248, 248, 248, 0.8); /* Fondo con transparencia */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3); /* Sombra suave */
    color: black;
    font-size: 16px;
    font-family: Mallory b;    
}

.campos input:focus {
    color: black;                    /* Cambiar el color del texto al hacer foco */
    font-family: Mallory b;           /* Cambiar el color del borde al hacer foco */
}

.campos input[type="submit"]{
    width: 30%;
    margin: 3% 33%;
    align-items: center;
    font-size: 20px;
    color: #0E9FD8;
    background-color: #FFF;
    font-family: Mallory b;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

.campos label{
    margin: 2%;
    font-size: 18px;
    font-family: mallory b;
}

textarea{
    height: 70px;
}

/*fin de dropdown*/

.ambientalimg{
    width: 44%;
    height: 780px;
    display: block;
    margin: 3%;
    align-items: center;
    justify-content: center;
}

.ambientalimg .ambientalimg1{
    width: 100%;
    height: 65%;
    position: relative;
    object-fit: contain;
}

.ambientalimg .ambientalimg2{
    width: 100%;
    height: 60%;
    object-fit: contain;
    margin-top: -25%;
}

.ambientaltexto{
    width: 60%;
    height: auto;
    padding: 20px 40px;
    color: #808080;
}

.compleimg{
    width: 35%;
    height: 100%;
    max-height: 280px;
    position: relative;
    overflow: hidden;
    margin: 20px 40px;
}

.compleimg img{
    width: 100%;
    height: auto;
    margin-top: -18%;
    margin-left: 10%;
}

.linea{
    width: 95%;
    background-color: #afafaf98;
    height: 1px;
    margin: 2%;
}

.laborales{
    width: 100%;
    height: auto;
    display: flex;
    margin-bottom: 5%;
}

.ofertas{
    width: 40%;
    margin: 1% 4.5%;
    align-items: center;
    justify-content: center;
    display: flex;
}

.ofertas img{
    width: 75%;
    height: auto;
}

/* lupa */

.search-container {
    width: 25%;
    margin-left: 2%;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    width: 40px; /* Ajusta el tamaño de la imagen de la lupa */
    height: auto;
    cursor: pointer;
}

.search-input {
    width: 60%;
    color: #808080;
    font-size: 17px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 20px;
    outline: none;
    transition: width 0.5s ease;
}

.search-btn {
    width: 20%;
    background: none;
    border: none;
    cursor: pointer;
}

.search-input.active {
    width: 200px; /* Ajusta este valor al tamaño que desees */
    opacity: 1;
}

/*fin lupa*/

/* Estilo cuando el texto del banner se reduce al hacer clic en la lupa */
.small-text {
    width: min-content;
    font-size: 14px; /* Tamaño reducido */
    transition: font-size 0.5s ease; /* Animación suave de la transición */
}

.small-text4 {
    width: 10%;
    margin-right: 1%;
    margin-left: 1%;
    font-size: 14px; /* Tamaño reducido */
    transition: font-size 0.5s ease; /* Animación suave de la transición */
}

.dropdown-small{
    width: 11%;
}

#leer,#leer2,#leer3,#leer4{
    display: none;
    opacity: 0;
    transition: opacity 1s ease;
    text-align: justify;
    font-family: Mallory book;
    font-size: 17px;
    padding-top: 20px;
    padding-left: 55px;
    padding-right: 55px;
    color: #808080;
}

.mostrar {
    display: flex !important;
    opacity: 1 !important;
}

.textooculto p{
    display: none;
}

.limpieza{
    width: 100%;
    margin: 2% 0;
    height: 500px;
    display: flex;
    text-align: center;
    justify-content: center;
}

.limpieza img{
    height: 100%;
    object-fit: cover;
}

#perla{
    height: max-content;
}

#perla img{
    width: 90%;
    height: auto;
}

.lazy-video {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}
.loaded {
    opacity: 1;
}

.dosimagenes{
    display: flex;
}

.ubicacion{
    font-family: Mallory book;
    font-size: 12px;
}

@font-face {
    font-family: Mallory book;
    src: url("../letras/Mallory\ Book.ttf");
}

@font-face {
    font-family: Mallory l;
    src: url("../letras/Mallory\ Light.ttf");
}

@font-face {
    font-family: Mallory bi;
    src: url("../letras/Mallory\ Black\ Italic.ttf");
}

@font-face {
    font-family: Mallory b;
    src: url("../letras/Mallory\ Bold.ttf");
}

@media screen and (max-width: 768px) {

    body, html {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    .imagena{
        padding: 1%;
        width: 14%;
        height: 35px;
    }
    
    #imagen{
        width: 180%;
        margin-top: auto;
        margin-bottom: auto;
        margin-top: -60%;
        margin-left: -30%;
    }

    header{
        height: 20%;
        min-height: 50px;
    }

    .baner{
        font-size: 7px;
    }

    header nav {
        width: 98%;
        height: 3%;
        align-items: center; /* Centrar los elementos del nav */
        padding: 5px 0;
        position: relative;
    }

    .palo{
        margin: auto;
        margin-left: 0;
        margin-right: 0;
        padding: auto;
        width: 1%;
    }

    header nav a, .dropdown {
        width: min-content;
        width: 16%; /* Cada enlace ocupará todo el ancho disponible */
        margin: 1px 0;
        text-align: center; /* Centrar el texto */
    }

    .search-container {
        width: 22%;
        margin-left: 0;
    }

    .search-input {
        font-size: 9px;
        padding: 0;
        height: 40%;
        width: 70%;
        max-width: 100px; /* Ajusta este valor para controlar la longitud máxima */
    }
    .search-btn{
        width: 20%;
    }

    .search-btn img{
        width: 100%;
    }

    .img {
        align-items: start;
        width: 70%; /* Ajusta este valor según lo que se vea mejor */
    }



    .dropdown-content{
        width: 30%; /* Que ocupe casi todo el ancho en móviles */
        left: -100%; /* Centrar ligeramente */
        top: 100%; /* Posicionar debajo del elemento */
    }

    /* Efecto hover más grande en móviles */
    .dropdown:hover .dropdown-content a{
        padding: 3px 3px; /* Aumentar el padding para hacer los enlaces más grandes */
        font-size: 10px; /* Aumentar el tamaño de la fuente */
    }

    .dropdown2 {
        justify-content: left;
        width: 12%;
        position: static; /* Cambiamos a static para mejor control del dropdown */
    }

    .dropdown-content2 {
        width: 90%;
        max-width: 300px;
        left: 50%; /* Centramos horizontalmente */
        transform: translateX(-50%); /* Ajuste fino del centrado */
        margin: 0 auto;
        top: 50%; /* Centramos verticalmente */
        z-index: 1000; /* Aseguramos que esté por encima de otros elementos */
    }

    .campos {
        padding: 3% 5%; /* Reducimos el padding para dar más espacio al contenido */
    }

    .campos input[type="submit"] {
        width: 50%; /* Hacemos el botón un poco más ancho */
        margin: 3% auto; /* Centramos el botón */
        display: block; /* Aseguramos que el margen auto funcione */
    }

    .datos {
        flex-direction: column; /* Apilamos los elementos en móvil */
        align-items: center; /* Centramos los elementos */
    }

    .datos p {
        text-align: center; /* Centramos el texto */
        padding: 2% 0; /* Ajustamos el padding */
    }

    .datos img {
        width: 60px; /* Reducimos un poco el tamaño de la imagen */
        padding: 2% 0; /* Ajustamos el padding */
    }

    .content{
        height: 300px;
    }

    .container{
        width: 100%;
    }

    .slider{
        width: 100%;
        overflow: hidden;
    }

    .firstslide,.secondslide,.thirdslide,.fourslide{
        
        height: 100%;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .firstslide img{
        padding: 0;
        width: 100%;
    }

    .secondslide .banerp{
        padding: 0; 
    
    }

    .buttons label {
        padding: 2px 2px; /* Reduce el padding en pantallas pequeñas */
        font-size: 10px; /* Reduce el tamaño de fuente */
    }

    .banerp h2 {
        font-size: 20px; /* Tamaño de fuente más pequeño para encabezados */
    }

    .banerp p {
        font-size: 15px; /* Tamaño de fuente más pequeño para párrafos */
        padding: 2%;
    }

    .wrapper{
        display: block;
        justify-content: space-around;
        left: 50%;
        right: 50%;
        text-align: center;
    }

    .image{
        margin: 5% 7%;
        width: 35%;
        height: 180px; 
    }

    #foto img{
        margin-top: 0;
        object-fit: cover;
    }

    #larga img{
        width: 100%;
        height: 100%;
        max-width: 400px;
        margin-left: 0;
        margin-bottom: -20%;
    }

    #larga2 img{
        object-fit: cover;
        width: 100%;
        height: 100%;
        max-width: 400px;
        margin-left: 0;
    }

    #primeraimg img{
        margin-top: 0;
        object-fit: cover;
        width: 100%;
        height: 500px;
        max-width: 400px;
    }

    .wrapper2{
        display: none;
    }

    .textooculto{
        display: flex;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .textooculto p{
        text-align: center;
        justify-content: center;
        width: 50%;
        display: flex;
        font-family: Mallory b;
        color: #808080;
        text-decoration: none;
        font-size: 80%;
        padding-left: 25px;
        padding-right: 25px;
    }

    .servicios{
        width: 100%;
        padding: 0;
        text-align: center;
        margin-top: 4%;
        margin-bottom: 2%;
        display: block;
    }

    .servicios h1{
        font-size: 1px !important;
    }

    .titulo{
        font-size: 70%;
        padding: 2% 0;
        width: 90%;
    }

    .iconos3{
        width: 400px;
        height: 80px;
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 2%;
    }
    
    .iconos3 p{
        font-size: 10px;
        padding-left: 2px;
        padding-right: 2px;
    }

    .elegirnos{
        height: min-content;
        padding: 3% 0;
    }

    .estudios{
        display: flex;
        flex-direction: column;
        flex-direction: column-reverse;
    }

    .leyendo{
        width: 100%;
        padding: 0;
    }

    .leyendo p,#leer,#leer2,#leer3,#leer4,.leyendo3 p{
        padding: 0 5%;
        font-size: 15px;
    }

    .leyendo3 h3{
        font-size: 150%;
        margin: 2% 0;
    }

    .leyendo h3{
        margin-bottom: 5%;
        font-size: 100%;
    }

    .leyendo3{
        padding: 0;
    }

    .servicios3 p{
        font-size: 25px;
    }

    #videolargo video{
        height: 300px;
    }

    .slide-item #p1{
        margin: 0 7%;
    }

    .slide-item #p1 img{
        height: 100%;
    }

    .slide-item{
        height: 50px;
    }

    .arus img{
        height: 100% !important;
    }

    .logo{
        width: 20%;
        height: min-content;
        height: 100px;
        min-height: 100px;
    }

    .logo img{
        width: auto;
        height: 170%;
        object-fit: cover;
        padding: 0;
        margin-left: -20%;
        margin-top: -30%;
    }

    .arriba{
        height: min-content;
        font-family: Mallory book;
        color: #FFF;
        font-size: 11px;
        width: 25%;
        display: block;
        justify-content: center;
        margin-top: 10px;
    }
    
    .arriba p{
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .terminos{
        height: auto;
        padding-top: 0;
        padding-right: 0;
        text-align: right;
        font-size: 6px;
    }

    .red{
        height: 10%;
        margin: 10% 0 0 0;
    }
    
    .red img{
        width: 22px;
        margin-left: 10px;
    }

    footer{
        height: min-content;
        background-image: url("../imagenes/PAGINA\ WEB\ SERIN\ PREW-12.png");
        background-size: 100%;
        background-position: 20px;
        background-repeat: no-repeat;
    }

    #baner2{
        font-size: 7px;
        margin: 0;
        width: 15%;
    }

    #correo{
        margin-right: 20%;
    }

    .texton{
        width: max-content;
        max-width: 90%;
        padding: 5px 20px;
    }

    .texton ul{
        width: 100%;
    }

    .somos{
        margin: 0;
        width: 100%;
        font-size: 80%;
        font-family: Mallory book;
        text-align:start;
    }

    .titulon{
        margin: 0;
        margin-bottom: 10px;
        font-size: 80%;
    }

    .nosotros2{
        width: 100%;
        display: block;
    }

    .valor{
        width: auto;
        height: auto;
        max-height: 350px;
        margin: 2% 25%;
        float:none;
    }
    
    .valores{
        width: 100%;
        height: 380px;
        margin: 0;
    }
    
    .sigtexto{
        width: 94%;
        height: auto;
        padding: 3%;
        font-size: 60%;
    }
    
    .sigtitulo{
        font-size: 70%;
        padding: 1% 3%;
    }

    body, html {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .container, .slider, .wrapper, .estudios, footer {
        max-width: 100%;
        overflow-x: hidden;
    }

    .btn-wsp{
        width:40px;
        height:40px;
        line-height: 45px;
        background-size: 40px;
        border-radius:40px;
        text-align:center;
    }

    /* Contenedor que mantiene el aspect ratio */
    .video-wrapper {
        margin: 0 15px 25px 15px;  /* Margen exterior de 15px en ambos lados */
    }
    
    .video{
        position: relative;
        width: 100%;
        padding-top: 56.25%; /* Aspect ratio 16:9 */
        height: 0;
        overflow: hidden;
        background-color: black;
    }
    
    .video iframe{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    footer {
        align-items: center;
        text-align: center;
    }

    footer .arriba p {
        margin: 5px 20px;
    }

    footer .contacto {
        margin-top: 20px;
        width: 30%;
        flex-wrap: wrap;
        gap: 2%;
        display: flex;
    }

    .fila{
        display: flex;
        height: min-content;
        font-size: 10px;
        padding: 5px 0;
        flex: 1 1 calc(50% - 2%); /* 2 columnas en pantallas más pequeñas */
        max-width: calc(100% - 2%);
        width: 100%;
    }

    .fila img{
        width: auto;
        height: 20px;
    }

    footer .redes {
        width: 24%;
        margin-left: 0;
        height: min-content;
        display: block;
        background-size: 0%;
    }

    .icon, .icon2, .icon3 {
        align-items: center;
    }

    .iconos, .iconos2, .iconos3 {
        height: min-content;
        width: 90%;
        margin: 1% 0;
    }

    .iconos img {
        width: 30%;
    }

    .iconos2 p {
        font-size: 70%;
        padding: 0;
        margin: 0;
    }

    .iconos3 p {
        font-size: 55%;
        padding: 5%;
    }

    .wrapper3{
        padding: 1%;
        height: 80px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .conten a{
        font-size: 80%;
    }

    .conten3{
        flex: 1 1 auto;
    }
    
    .conten3 a{
        font-size: 70%;
        margin-left: 1%;
        margin-right: 1%;
    }

    .image3{
        width: 35%;
        margin-left: 5%;
        margin-right: 5%;
    }
    .image3 a:hover{
        font-size: 75%;
    }

    .texton2{
        width: 80%;
        height: auto;
        padding: 2% 5%;
        color: #808080;
    }

    .topograficaimg{
        width: 96%;
        margin: 2% 2%;
        align-items: center;
        text-align: center;
        justify-content: center;
    }
    
    .topograficaimg img{
        width: 50%;
    }

    .residencial2{
        font-size: 80%;
        width: 80%;
        height: auto;
        padding: 0;
        color: #808080;
        display: none;
    }

    .residencial{
        width: 100%;
        height: auto;
        padding: 5px 40px;
        color: #808080;
        font-size: 85%;
        font-family: mallory book;
    }
    
    .residencial2 ul li{
        text-align: justify;
        padding: 1% 10% 0 0;
    }
    
    .residencial2 p{
        padding-bottom: 4%;
        text-align: justify;
    }
    
    .residencial2 ul li::marker {
        color:#0E9FD8; /* Cambia el color de los puntos a rojo */
    }
    
    .residencial2 h4{
        margin-top: 3%;
        color: #0E9FD8;
        font-family: Mallory b;
    }

    .ambientalimg{
        width: 96%;
        margin: 2% 2%;
        align-items: center;
        text-align: center;
        justify-content: center;
    }
    
    .ambientalimg img{
        width: 50%;
    }

    .nosotrosimg{
        width: 100%;
        height: 200px;
        position: relative;
        display: flex; /* Activa Flexbox */
        justify-content: center; /* Centra horizontalmente */
        align-items: center; /* Centra verticalmente */
    }
    
    
    .nosotrosimg img{
        width: 150%;
        height: 100%;
        position: absolute;
        object-fit: cover;
    }

    .nosotrosimg2{
        width: 96%;
        margin: 2% 2%;
        height: 800px;
        align-items: center;
        text-align: center;
        justify-content: center;
        display: block;
    }

    .texton, .texton ul li{
        font-size: 85%;
        padding-left: 3%;
        padding-right: 3%;
    }

    .boton{
        width: 40%;
        height: min-content;
        margin-top: 4%;
        margin-bottom: 2%;
        padding: 2%;
        font-size: 80%;
    }

    .ambientaltexto{
        font-size: 85%;
        width: 90%;
        padding: 0 8%;
    }

    .compleimg{
        width: 96%;
        margin: 2% 2%;
        align-items: center;
        text-align: center;
        justify-content: center;
    }
    
    .compleimg img{
        width: 60%;
        object-fit: cover;
    }
    
    .completexto{
        font-size: 85%;
        width: 90%;
        padding: 0 8%;
    }

    .dosimagenes{
        display: flex;
    }

    .noticias{
        display: block;
        align-items: center;
        justify-content: center;
        margin: 5% 0 7% 0;
    }

    .noticias .otras{
        display: block;
        width: 100%;
        text-align: center;
    }

    .noticias .otras a{
        margin: 0 2%;
        font-size: 90%;
    }

    .noticias .not{
        margin-bottom: 2%;
        width: 100%;
        font-size: 150%;
        text-align: center;
    }

    #perla{
        width: 100%;
        height: auto;
        overflow: hidden;
        text-align: center;
        align-items: center;
        justify-content: center;
        background-color: white;
        margin-right: 0;
        margin-top: 0;
        padding: 0;
    }

    #perla img{
        position: relative;
        width: 60%;
        height: 100%;
    }

    .laborales{
        width: 100%;
        height: auto;
        display: block;
        margin-bottom: 5%;
    }

    .ofertas{
        width: 90%;
        margin: 5% 2%;
        align-items: center;
        justify-content: center;
        display: flex;
    }

    .vista{
        display: block;
    }

    .azul{
        font-size: 25px;
        margin-right: 2%;
    }
    
    .azul2{
        font-size: 25px;
    }

}

@media (max-width: 480px) {
    .wrapper3{
        height: 100px;
    }

    footer .arriba p {
        font-size: 14px;
    }

    footer .redes{
        width: auto;
    }

    footer .contacto .fila p {
        font-size: 12px;
        height: min-content;
    }

    footer .redes .terminos{
        font-size: 2px;
    }

    footer .redes .red img {
        width: 20px;
    }

    .titulo p {
        font-size: 2%;
    }

    .iconos img {
        width: 50px;
    }

    .iconos2 p {
        font-size: 1em;
    }

    .iconos3 p {
        font-size: 0.9em;
    }
    
    .vista{
        display: block;
    }
    
}  