@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    text-decoration-line: none;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fondo {
    background-image: url('media/PrincipalFondo.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* 👈 Solo del alto del dispositivo */
    z-index: -1;
}

.contenedormenu{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(230, 220, 220, 0);
    backdrop-filter: blur(1rem);
    width: 85%;
    position: fixed;
    z-index: 999;
    top: 0;
    padding: 0px 10px;
    border-radius: 0px 0px 32px 32px ;
    border-top: rgba(255, 255, 255, 0.57) 1px solid;
    border-left: rgb(222, 222, 222) 1px solid;
    border-bottom: rgba(204, 204, 204, 0.582) 1px solid;
    border-right: rgba(204, 204, 204, 0.582) 1px solid;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
}
.menu{
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px;
    height: 77px;
    align-items: center;
    gap: 20px;
}
.linksmenu{
    display: flex;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.324);
    height: 100%;
    padding: 0px 6px;
    border-radius: 18px;
    align-items: center;

}
.linksmenu a{
    display: flex;
    height: 80%;
    padding: 0px 7px;
    color: white;
    background-color: #468238b2;
    align-items: center;
    border-radius: 12px;
    transition: transform 1s, box-shadow 1s, background-color 1s, border 1s, border-radius 1s, margin 1s;
}

.linksmenu a:hover{
    display: flex;
    height: 80%;
    padding: 0px 7px;
    color: white;
    background-color: #468238;
    margin: 0px 6px;
    align-items: center;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(15, 67, 9, 0.68);
    transform: scale(1.1) translateY(-4px);
}
.linksmenu a:nth-child(4){
    background-color: #f93600ab;
    box-shadow: 0 6px 16px rrgba(190, 40, 13, 0.68)
}
.linksmenu a:nth-child(4):hover{
    background-color: #f93600db;
}

.linklogo{
    display: flex;
    align-items: center;
    height: 100%;
    filter: drop-shadow(0px 0px 8px rgb(255, 255, 255));
}
.linklogo img{
    height: 67%;
}
.csw{
    display: flex;
    align-items: center;
    height: 100%;
    gap: 20px;
}
.contactobtn{
    color: white;
    background-color: #f93600ab;
    font-size: 22px;
    padding: 8px 12px;
    border-radius: 12px;
    transition: transform 1s, box-shadow 1s, background-color 1s, border 1s, border-radius 1s;
}

.contactobtn:hover{
    color: white;
    background-color: #f93600db;
    font-size: 22px;
    padding: 8px 12px;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(175, 75, 24, 0.68);
    transform: scale(1.1) translateY(-2px);
}

.redes{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 4px;
}
.txt1{
    color: white;
}

.linksredes{
    display: flex;
    gap: 10px;
    align-items: center;
}
.linksredes a img{
    transition: transform 1s, filter 1s;
}
.linksredes a img:hover{
    transform: scale(1.3);
    filter: drop-shadow(0px 0px 8px rgb(133, 136, 151));
}
.whatsappbtn{
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #468238b2;
    padding: 8px 12px;
    border-radius: 16px;
    height: 85%;
    transition: transform 1s, box-shadow 1s, background-color 1s, border 1s, border-radius 1s;
}
.whatsappbtn:hover{
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #00792e   ;
    padding: 8px 12px;
    border-radius: 16px;
    height: 85%;
    box-shadow: 0 6px 16px rgba(67, 28, 9, 0.68);
    transform: scale(1.1) translateY(-4px);
}
.whatsappbtn p{
    color: white;
    font-size: 22px;
    display: none;
    transition: all 2s;
}
.whatsappbtn:hover p{
    display: none;
}

.btn-menu{
    display: none;
}
.linksmenumov{
    display: none;
}


/* Empieza contenido del sitio */

.sec1{
    display: flex;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding-top: 55px;
    width: 100%;
}

.videp video{
    border-radius: 18px;
}


.EntradaB{
    display: flex;
    flex-direction: column;
    width: 44%;
    gap: 12px;
    background-color: rgba(161, 161, 161, 0.209);
    backdrop-filter: blur(1rem);
    padding: 20px;
    color: rgb(245, 245, 245);
    border-radius: 20px;
    border-top: rgba(255, 255, 255, 0.57) 1px solid;
    border-left: rgb(179, 170, 170) 1px solid;
    border-bottom: rgba(185, 185, 185, 0.514) 1px solid;
    box-shadow: 0 6px 16px rgba(32, 32, 32, 0.314);
}
.TituloEB{
    font-size: 30px;
    text-align: center;
}
.TextoEB{
    font-size: 22px;
    text-align: justify;
}
.sec2{
    display: flex;
    width: 85%;
    justify-content: center;
    align-items: center;
    gap: 72px;
    margin: 60px 0px 60px 0px;
}

.infoprincipal{
    padding: 20px;
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 50%;
    background-color: rgba(161, 161, 161, 0.209);
    backdrop-filter: blur(1rem);
    color: rgb(245, 245, 245);
    border-radius: 20px;
    border-top: rgba(255, 255, 255, 0.57) 1px solid;
    border-left: rgb(179, 170, 170) 1px solid;
    border-bottom: rgba(185, 185, 185, 0.514) 1px solid;
    box-shadow: 0 6px 16px rgba(32, 32, 32, 0.314);
    font-size: 22px;
    text-align: justify;
}

.infoprincipal2{
    padding: 20px;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    width: 50%;
    background-color: rgba(161, 161, 161, 0.209);
    backdrop-filter: blur(1rem);
    color: rgb(245, 245, 245);
    border-radius: 20px;
    border-top: rgba(255, 255, 255, 0.57) 1px solid;
    border-left: rgb(179, 170, 170) 1px solid;
    border-bottom: rgba(185, 185, 185, 0.514) 1px solid;
    box-shadow: 0 6px 16px rgba(32, 32, 32, 0.314);
    font-size: 22px;
    text-align: justify;
}


/* carusel */

.carspace {
    width: 50%;
    height: 450px;
}

.carousel-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
}

.carousel {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
}


/* Slider1 */

.slide1 { color: transparent; background: url(media/prinim/image1.jpeg); background-position: center; background-size: cover; }
.slide2 { color: transparent; background: url(media/prinim/image2.jpeg); background-position: center; background-size: cover; }
.slide3 { color: transparent; background: url(media/prinim/image3.jpeg); background-position: center; background-size: cover; }
.slide4 { color: transparent; background: url(media/prinim/image4.jpeg); background-position: center; background-size: cover; }
.slide5 { color: transparent; background: url(media/prinim/image5.jpeg); background-position: center; background-size: cover; }
.slide6 { color: transparent; background: url(media/prinim/image6.jpeg); background-position: center; background-size: cover; }
.slide7 { color: transparent; background: url(media/prinim/image7.jpeg); background-position: center; background-size: cover; }

/* Slider2 */

.slide8 { color: transparent; background: url(media/gruastorre/image14.jpeg); background-position: center; background-size: cover; }
.slide9 { color: transparent; background: url(media/gruastorre/image15.jpeg); background-position: center; background-size: cover; }
.slide10 { color: transparent; background: url(media/gruastorre/image16.jpeg); background-position: center; background-size: cover; }
.slide11 { color: transparent; background: url(media/gruastorre/image17.jpeg); background-position: center; background-size: cover; }
.slide12 { color: transparent; background: url(media/gruastorre/image18.jpeg); background-position: center; background-size: cover; }
.slide13 { color: transparent; background: url(media/gruastorre/image19.jpeg); background-position: center; background-size: cover; }
.slide14 { color: transparent; background: url(media/gruastorre/image20.jpeg); background-position: center; background-size: cover; }

/* Slider3 */

.slide15 { color: transparent; background: url(media/maquinariaparavarilla/image21.jpeg); background-position: center; background-size: cover; }
.slide16 { color: transparent; background: url(media/maquinariaparavarilla/image22.jpeg); background-position: center; background-size: cover; }
.slide17 { color: transparent; background: url(media/maquinariaparavarilla/image23.jpeg); background-position: center; background-size: cover; }
.slide18 { color: transparent; background: url(media/maquinariaparavarilla/image24.jpeg); background-position: center; background-size: cover; }
.slide19 { color: transparent; background: url(media/maquinariaparavarilla/image25.jpeg); background-position: center; background-size: cover; }
.slide20 { color: transparent; background: url(media/maquinariaparavarilla/image27.jpeg); background-position: center; background-size: cover; }

/* Slider4 */

.slide21 { color: transparent; background: url(media/elevadoresdeobra/image28.jpeg); background-position: center; background-size: cover; }
.slide22 { color: transparent; background: url(media/elevadoresdeobra/image29.jpeg); background-position: center; background-size: cover; }
.slide23 { color: transparent; background: url(media/elevadoresdeobra/image30.jpeg); background-position: center; background-size: cover; }

/* Slider5 */

.slide24 { color: transparent; background: url(media/gondolas/image31.jpeg); background-position: center; background-size: cover; }
.slide25 { color: transparent; background: url(media/gondolas/image32.jpeg); background-position: center; background-size: cover; }
.slide26 { color: transparent; background: url(media/gondolas/image33.jpeg); background-position: center; background-size: cover; }
.slide27 { color: transparent; background: url(media/gondolas/image34.jpeg); background-position: center; background-size: cover; }
.slide28 { color: transparent; background: url(media/gondolas/image35.jpeg); background-position: center; background-size: cover; }
.slide29 { color: transparent; background: url(media/gondolas/image36.jpeg); background-position: center; background-size: cover; }
.slide30 { color: transparent; background: url(media/gondolas/image37.jpeg); background-position: center; background-size: cover; }

/* Slider6 */

.slide31 { color: transparent; background: url(media/refaccionesyaccesorios/image40.jpeg); background-position: center; background-size: cover; }
.slide32 { color: transparent; background: url(media/refaccionesyaccesorios/image41.jpeg); background-position: center; background-size: cover; }
.slide33 { color: transparent; background: url(media/refaccionesyaccesorios/image42.jpeg); background-position: center; background-size: cover; }
.slide34 { color: transparent; background: url(media/refaccionesyaccesorios/image43.jpeg); background-position: center; background-size: cover; }
.slide35 { color: transparent; background: url(media/refaccionesyaccesorios/image44.jpeg); background-position: center; background-size: cover; }
.slide36 { color: transparent; background: url(media/refaccionesyaccesorios/image45.jpeg); background-position: center; background-size: cover; }

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    background-color: rgba(255, 71, 16, 0.579);
    backdrop-filter: blur(1rem);
    padding: 20px;
    color: rgb(245, 245, 245);
    border-radius: 20px;
    border-top: rgba(255, 64, 64, 0.57) 1px solid;
    border-left: rgb(255, 58, 58) 1px solid;
    border-bottom: rgba(255, 80, 80, 0.514) 1px solid;
    box-shadow: 0 6px 16px rgba(255, 46, 46, 0.494);
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    z-index: 2;
    border-radius: 12px;
}

.prev { left: 10px; }
.next { right: 10px; }

.dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 60px;
    height: 40px;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: border 0.3s;
}

.dot.active {
    border: 2px solid white;
}



/* Comentario */
.menusectbuttons {
      display: flex;
      gap: 10px;
      margin: 32px 0px 32px 0px;
      background-color: rgba(230, 220, 220, 0);
        backdrop-filter: blur(1rem);
        padding: 10px 10px;
        border-radius: 22px;
    }

    .buttonsect {
      padding: 10px 20px;
      color: white;
        background-color: #468238b2;
        align-items: center;
        border-radius: 12px;
        transition: transform 1s, box-shadow 1s, background-color 1s, border 1s, border-radius 1s, margin 1s;
    }

    .buttonsect:hover {
      color: white;
        background-color: #468238;
        margin: 0px 6px;
        align-items: center;
        border-radius: 16px;
        box-shadow: 0 6px 16px rgba(15, 67, 9, 0.68);
        transform: scale(1.1) translateY(-4px);
    }
    .buttonsect.activo{
      color: white;
        background-color: #468238;
        margin: 0px 6px;
        align-items: center;
        border-radius: 16px;
        box-shadow: 0 6px 16px rgba(15, 67, 9, 0.68);
        transform: scale(1.1) translateY(-4px);
    }

    .sec3{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 20px 0px 60px 0px;
    }
    
    .contenidos{
        width: 85%;
    }

    .contenido {
      display: none;
      min-height: 100px;
      width: 100%;
      gap: 72px;
    }

    /* Mostrar el primero por defecto */
    #contenido-1 {
      display: flex;
    }



/* pie */

.pie{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 85%;
}

.piecontent{
    border-radius: 22px 22px 0px 0px;
    margin-top: -4PX;
    height: max-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: calc(max-content + 12px);
    z-index: 99;
    width: 100%;
    background-color: #286834;
    padding: 4px 22px;
}
.textocontinfo{
    display: flex;
    flex-direction: column;
    margin: 8px 0px;
    color: white;
    gap: 4px;
    font-size: 14px;
    width: 40%;
}

.telf1 {
font-weight: 700;
font-size: 16px;
}
.correosel1 {
    font-size: 16px;
font-weight: 700;
}


.avdp{
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.avdptxt1{
    color: #0e2715db;
}
.theimgs{
    width: 40%;
    display: flex;
    justify-content: right;
}
.theimgs img{
    height: 88px;
}


.torres{
    width: 96%;
    filter: drop-shadow(0px 0px 1px rgb(242, 255, 240));
}



/* Fondo difuminado compartido */
.popup-fondo {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  overflow-y: auto;
}

/* Botón de cerrar */
.popup-cerrar {
  position: absolute;
  top: 10px; right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* ----------------------
   Aviso de Privacidad
------------------------ */
.popup-aviso {
  background: white;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  border-radius: 12px;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.popup-contenido {
  overflow-y: auto;
  margin-top: 30px;
  max-height: 60vh;
  text-align: justify;
}

/* ----------------------
   Contacto Popup
------------------------ */
.popup-contacto {
  background: #fff;
  width: 95%;
  max-width: 1000px;
  max-height: 90vh;
  border-radius: 12px;
  padding: 20px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

/* Contenedor con mapa y formulario lado a lado (en desktop) */
.popup-contacto .contenido-contacto {
  display: flex;
  gap: 20px;
}

.mapa-container {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  min-height: 250px;
}

.formulario-contacto {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.formulario-contacto input,
.formulario-contacto textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 6px;
}

.formulario-contacto button {
  padding: 12px;
  background: #68b000;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

#lservs{
    padding-top: 102px;
}
#lgym{
    padding-top: 82px;
}

.eljot{
    height: auto;
    width: 50%;
}


@media screen and (max-width: 1100px) {
    .eljot{
    height: 500px;
    width: 100%;
    }
    .sec1{
        width: 85%;
        gap: 36px;
    }
    .EntradaB{
        width: 100%;
    }
    .TituloEB{
        font-size: 22px;
    }
    .TextoEB{
        font-size: 18px;
    }
    .videp{
        width: 100% !important;
    }
    .videp video{
        border-radius: 22px;
    }
    .sec2{
        display: flex;
        flex-direction: column;
        width: 85%;
        gap: 36px;
        margin: 0px 0px 72px 0px;
    }
    .carspace{
        width: 100%;
    }
    .infoprincipal{
        width: 100%;
        height: max-content;
        gap: 20px;
        font-size: 18px;
    }
    .infoprincipal2{
        width: 100%;
        height: max-content;
        gap: 20px;
        font-size: 18px;
    }
    .contenido {
        gap: 20px;
        flex-direction: column;
    }
    .piecontent{
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .textocontinfo{
        width: 100%;
    }
    .theimgs{
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }
    .theimgs img{
        height: 66px;
    }
    .avdp{
        width: 100%;
        order: 3;
    }
    .menusectbuttons {
        width: 85%;
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 32px 0px 32px 0px;
        background-color: rgba(230, 220, 220, 0);
        backdrop-filter: blur(1rem);
        padding: 10px 10px;
        border-radius: 22px;
    }
    .linksmenu{
        display: none;

    }
    .btn-menu{
        display: block;
        color: none;
        background-color: transparent;
        border: none;
        cursor: pointer;
    }
    .btn-menu img{
        width: 20px;
    }
    .linksmenumov.activo{
        padding: 40px 8px 8px 8px;
        margin-top: 50px;
        display: grid;
        grid-template-columns: repeat(2, 2fr);
        gap: 5px 5px; /* vertical horizontal */
        flex-direction: column;
        width: 85%;
        background-color: rgba(255, 255, 255, 0.324);
        backdrop-filter: blur(0.7rem);
        border-radius: 0px 0px 18px 18px;
        align-items: center;
        position: fixed;
        z-index: 990;
        top: 0;
        animation: downmenu 1s;
    }
    .linksmenumov a{
        display: flex;
        height: 100%;
        padding: 10px 7px;
        color: white;
        background-color: #468238b2;
        align-items: center;
        border-radius: 12px;
        transition: transform 1s, box-shadow 1s, background-color 1s, border 1s, border-radius 1s, margin 1s;
    }
    .linksmenumov a:hover{
        border-radius: 16px;
        box-shadow: 0 6px 16px rgba(15, 67, 9, 0.68);
        transform: scale(1.1) translateY(-4px);
        background-color: #468238;
    }
    .linksmenumov a:nth-child(4){
        background-color: #f93600ab;
    }
    .linksmenumov a:nth-child(4):hover{
        background-color: #f93600;
    }
    .popup-aviso,
    .popup-contacto {
    max-height: 95vh;
    padding: 15px;
    width: 95%;
  }

  .popup-contenido {
    max-height: 50vh;
  }
  .popup-contacto .contenido-contacto {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .mapa-container {
        flex: 1;
        border-radius: 10px;
        overflow: hidden;
        min-height: 100%;
    }
    #lservs{
    padding-top: 0;
    margin-bottom: 42px;
}
    #lgym{
        padding-top: 0;
}
    }

@keyframes downmenu {
    0%{
        transform: translateY(-100px);
        opacity: 0;
    }
    100%{
        transform: translateY(0px);
        opacity: 1;
    }
}

@media screen and (max-width: 420px){
    .redes{
        display: none;
    }
}

/* carusel */


