*{
padding: 0;
margin:0;
box-sizing: border-box;
}

html, body{
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-top: 75px;
}

#contenedor {
    width: calc(100% - 10px);
    background-color: #061f3b;
     width: 99%;
      margin:5px;
     border: solid 1px rgb(32, 32, 220);
    box-sizing: border-box;
}

.logo{
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 10px);
    max-width: 99%;
    z-index: 9999;
}

.logo nav{
   display: flex;
   align-items: center;
   gap: 55px;
}


.logo nav a{
    color: #061f3b;
    white-space: nowrap;
    text-decoration: none;
    margin: 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
     'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
      'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 30px;
    font-weight: 500;
    transition: 0.3s; 
}

.logo a:hover{
    color:  #ff5a1f;
    transform: translate(-2px);
}

h1 {
    color:  #ff5a1f;
      font-size: 20px;
       text-align: left;
    
}

h1:hover{
    color: rgb(190, 178, 178);
    transform: translateY(-2px);
}


.Portada{
    width: 100%;
    min-height: 550px;
    background-image: linear-gradient(90deg, 
    rgba(0, 25, 60, 0.92) 0%, 
    rgba(0, 25, 60, 0.75) 45%,
    rgba(0, 25, 60, 0.35) 100%), url("../Imagen/Princi/Editada.png");                   
    background-size: 110%;
    background-position: right center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    
    padding: clamp(30px, 6vw, 70px) clamp( 20px, 7vw, 80px);
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 
          Roboto, Oxygen, Ubuntu, Cantarell, 
          'Open Sans', 'Helvetica Neue', sans-serif; 
     cursor: pointer;
}

.Portada h1{
    color: #ff5a1f;
    font-size: 48px;
    max-width: 1000px;
    font-weight: 800;
    white-space: nowrap;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(12, 12, 12, 0.5);
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 0.2s;
}

.Portada h1:hover{
     color:  #d6dfeb;
    transform: translateY(-2px);
    translate: 0.3s;
}

.Portada h2{
     color: rgb(249, 239, 239);
    margin-bottom: 25px;
    font-size: 30px; 
    max-width: 700px;
    line-height: 1.4;
    text-align: justify;
    animation-delay: 0.5s;
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 0.5s;  
    text-shadow: 1px 1px 5px red; 
}

.botones-portada{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 1.1s;
}

@keyframes aparecer{
    from{opacity: 0; transform: translateY(30px);}
    to{opacity: 1; transform: translateY(0);}
}

.boton{
    display: inline-block;
    padding: 15px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: 0.3s;
}

.presupuesto{
    background-color: #ff5a1f;
    color: white;
    border: 2px solid #ff5a1f;
}

.presupuesto:hover{
    background-color: white;
    color: #ff5a1f;
}

.proyectos{
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.proyectos:hover{
    background-color: white;
    color: rgba(29, 43, 103);
}

.Tormenta {
    width: 100%;
      border: solid 1px;
      padding: 40px 0;
}

.Contenedor-tarjetas{
     display: grid;
     grid-template-columns: repeat(3, 1fr);   
       justify-items: center;
        gap: 40px;
             
}

.Tarjetas{
  width: 300px;
  padding: 35px 25px;
  background-color:  #071b3b;
  min-height: 280px;
  border: 1px solid  #ff6b00;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: all .35s ease;
  box-shadow: 0.35s ease;
  border-color: 0.3s ease;
  background-color: 0.3s ease;
}

.Tarjetas:hover{
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(236, 6, 6, 0.35);
}

.Tarjetas:hover img{
    transform: scale(1.15);
}

.Tarjetas h3{
    margin: 0 0 20px 0;
    margin-bottom: 20px;
    color: white;
}

h3:hover{
    color:  #ff6b00;
}

.Tarjetas img{
    height: 60px;                 
    width: 60px;
    object-fit: contain; 
    cursor: pointer;
    margin-bottom: 20px;
    margin: 0 0 20px 0;
    transition: trasform 0.35s ease;
    filter: brightness(0) invert(1);
}

.Tarjetas p{
    margin: 0;
    line-height: 1.5;
    color: #f0f0f0;
    font-size: 15px;
    cursor: pointer;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 
    'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 
    'Open Sans', 'Helvetica Neue', sans-serif;
}

.Tarjetas:hover{
    transform: translateY(-8px);
    background-color: #0b2857;
    border-color: white;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .35), 0 18px 38px rgba(0, 0, 0, .45);  
}

.proyecto{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 8%;
    gap: 60px;
    background: #061f3b;
    
}

.proyecto-texto{
    width: 45%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 
    'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
    'Open Sans', 'Helvetica Neue', sans-serif;
}

.proyecto-imagen{
    width: 55%;
    text-align: center;
}

.proyecto-imagen img{
    width: 100%;
    max-width: 620px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .35);
    border: solid 1px #f2f0ee;
}

.Proyecto-imagen img{
    width: 650px;
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .35);
    border: solid 1px #f2f0ee;
}


.proyecto-texto h2{
    color: #ff6b00;
    font-size: 42px;
    margin-bottom: 15px;
}

.proyecto-texto h2:hover{
    color: white;
}

.proyecto-texto h3{
    color: white;
    font-size: 28px;
    line-height: 1.7;
}

.btn-proyectos{
    display: inline-block;
    margin-top: 25px;
    padding: 14px 28px;
    background-color: #ff6b00;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    border: solid 1.5px;
    font-size: 17px;
    animation: aparecer 1s ease forwards;
    animation-delay: 1.1s;
    transition: all 0.3s ease;

}

.btn-proyectos:hover{
    color: rgb(112, 140, 199);
    background-color: white;
    color: #ff6b00;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}

.proyecto-texto p{
    text-align: justify;
    color: #e6e6e6;
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer{
    background-color: #102d50;
    color: white;
    padding: 45px 60px 18px;
}

.footer-contenido{
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    align-items: start;
}

.footer-bloque:nth-child(3){
    transform: translateX(110px);
}

.footer-bloque:last-child{
    justify-self: end;
}

.footer-bloque h3{
    color: #ff5a1f;
    margin: 0 0 18px;
    font-size: 20px;
    cursor: pointer;
    
}

.footer-bloque p{
    margin: 8px 0;
    line-height: 1.5;
    font-size: 20px;
    cursor: pointer;
    
}

.footer-bloque a{
    display: block;
    margin: 10px 0;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.enlaces-footer a{
    display: block;
    margin: 30px 0;
}

.footer-bloque a:hover{
    color:  #b8b6ac;
    transform: translateX(4px);
}

.footer-final p{
    max-width: 1150px;
    margin: 30px auto 0;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
    cursor: pointer;
}

.footer-final p:hover{
    color:  #b2b4eb;
}

.contacto{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contacto-item{
    display: flex;
    align-items: center;
    gap: 12px;
}

.contacto-item img{
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
    transition: 0.3s;
}

.contacto-item span{
    font-weight: 18px;
    color: white;
    white-space: nowrap;
}

.contacto-item:hover span{
    color:  #b8b6ac;
}

.contacto-item:hover img{
    filter: brightness(0) invert(1);
}

.telefono{
    display: flex;
    align-items: center;
    gap: 15px;
}
.telefono img{
    width: 25px;
    height: 25px;
    
}
.telefono span{
    font-size: 20px;
    color: white;
    cursor: pointer; 
}
.telefono span:hover{
    color:  #b8b6ac;
}

.correo{
    display: flex;
    align-items: center;
    gap: 15px;
}
.correo img{
    width: 25px;
    height: 25px;
}
.correo span{
    font-size: 20px;
    color: white;
    cursor: pointer;
}
.correo span:hover{
    color:  #b8b6ac;
}

.dirección{
    display: flex;
    align-items: center;
    gap: 15px;
}
.dirección img{
    width: 25px;
    height: 25px;
}
.dirección span{
    font-size: 20px;
    color: white;
}

.redes-sociales{
    display: flex;
    flex-direction: column;
    align-items: center;
}


.redes-sociales img{
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: transform 0.3s ease;

}

.redes-sociales img :hover{
    transform: scale(1.2);
}



/*------------------Fabricación---------------------*/

*{
padding: 0;
margin:0;
box-sizing: border-box;
}

#contenedor {
    background-color:rgba(8, 35, 70, 0.78);
     width: 99%;
      margin:5px;
     border: solid 1px rgb(48, 48, 96);
    padding: 20px; 
}

.logo{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    background-color: white;
}

.logo nav{
   display: flex;
   align-items: center;
   gap: 45px;
}

.logo nav a{
    color:  rgba(8, 35, 70, 0.78);
    white-space: nowrap;
    text-decoration: none;
    margin: 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
     'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
      'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    font-weight: 500;
    transition: 0.3s; 
}

.logo a:hover{
    color:  #ff5a1f;
    transform: translate(-2px);
}

h1 {
    color:  #ff5a1f;
      font-size: 20px;
       text-align: left;
    
}

h1:hover{
    color: rgb(190, 178, 178);
    transform: translateY(-2px);
}


.Portada-fabricación{
    width: 100%;
    min-height: 550px;
    background: linear-gradient(90deg, 
     rgba(0, 25, 60, 0.85) 0%, 
     rgba(0, 25, 60, 0.55) 45%, 
     rgba(0, 25, 60, 0.20) 100%), url("../Imagen/Fabricación/Tuberia\ p.v.c..jpeg");                        
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    
    padding: clamp(40px, 6vw, 70px) clamp(20px, 6vw, 80px);
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 
          Roboto, Oxygen, Ubuntu, Cantarell, 
          'Open Sans', 'Helvetica Neue', sans-serif; 
     cursor: pointer;
}

.Portada-fabricación h1{
    color: #ff5a1f;
    font-size: clamp (28px, 4vw, 48px);
    max-width: 100%;
    font-weight: 800;
    white-space: normal;
    line-height: 1.15;
    overflow-wrap: break-word;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(132, 146, 184, 0.5);
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 0.2s;
    
}

.Portada-fabricación h1:hover{
     color: white;
     transform: translateY(-2px);
     translate: 0.3s;
}

.Portada-fabricación h2{
    color: rgb(249, 239, 239);
    margin-bottom: 25px;
    font-size: clamp(18px, 2.3vw, 30px); 
    max-width: 700px;
    width: 100%;
    line-height: 1.4;
    text-align: left;
    animation-delay: 0.5s;
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 0.5s;  
}

.botones-portada{
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 1.1s;
}

@keyframes aparecer{
    from{opacity: 0; transform: translateY(30px);}
    to{opacity: 1; transform: translateY(0);}
}

.boton{
    display: inline-block;
    padding: 15px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: 0.3s;
}

.presupuesto{
    background-color: #ff5a1f;
    color: white;
    border: 2px solid #ff5a1f;
}

.presupuesto:hover{
    background-color: white;
    color: #ff5a1f;
}

.proyecto-texto p{
    text-align: left;
    line-height: 1.8;
    max-width: 650px;
}

.proyecto-imagen img{
    width: 100%;
    max-width: 580px;
    height: auto;
    border-radius: 5px;
}

.proyectos{
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.proyectos:hover{
    background-color: white;
    color: rgba(29, 43, 103);
}

/*---------------------------Soldadura-------------------------------*/

*{
padding: 0;
margin:0;
box-sizing: border-box;
}

#contenedor {
    background-color:rgba(8, 35, 70, 0.78);
     width: 99%;
      margin:5px;
     border: solid 1px rgb(48, 48, 96);
    padding: 20px; 
}

.logo{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    background-color: white;
}

.logo nav{
   display: flex;
   align-items: center;
   gap: 45px;
}

.logo nav a{
    color:  rgba(8, 35, 70, 0.78);
    white-space: nowrap;
    text-decoration: none;
    margin: 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
     'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
      'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    font-weight: 500;
    transition: 0.3s; 
}

.logo a:hover{
    color:  #ff5a1f;
    transform: translate(-2px);
}

h1 {
    color:  #ff5a1f;
      font-size: 20px;
       text-align: left;
    
}

h1:hover{
    color: rgb(190, 178, 178);
    transform: translateY(-2px);
}


.Portada-soldadura{
    width: 100%;
    min-height: 550px;
    background: linear-gradient(90deg, 
     rgba(0, 25, 60, 0.85) 0%, 
     rgba(0, 25, 60, 0.55) 45%, 
     rgba(0, 25, 60, 0.20) 100%), url("../Imagen/Soldadura/Soldadura\ 11.jpeg");                        
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    
    padding: 70px 80px;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 
          Roboto, Oxygen, Ubuntu, Cantarell, 
          'Open Sans', 'Helvetica Neue', sans-serif; 
     cursor: pointer;
}

.Portada-soldadura h1{
    color: #ff5a1f;
    font-size: clamp(28px, 4vw, 48px);
    max-width: 100%;
    font-weight: 800;
    white-space: normal;
    line-height: 1.15;
    overflow-wrap: break-word;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(132, 146, 184, 0.5);
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 0.2s;
}

.Portada-soldadura h1:hover{
     color:  #bcd1eb;
    transform: translateY(-2px);
    translate: 0.3s;
}

.Portada-soldadura h2{
     color: rgb(249, 239, 239);
    margin-bottom: 25px;
    font-size: 30px; 
    max-width: 700px;
    line-height: 1.4;
    text-align: justify;
    animation-delay: 0.5s;
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 0.5s;  
}

.proyecto-imagen{
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
}

.proyecto-imagen img{
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
}

.botones-portada{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 1.1s;
}

@keyframes aparecer{
    from{opacity: 0; transform: translateY(30px);}
    to{opacity: 1; transform: translateY(0);}
}

.proyecto-texto{
    width: 45%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 
    'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
    'Open Sans', 'Helvetica Neue', sans-serif;
}

.proyecto-texto
.btn-proyectos{
    display: block;
    width: fit-content;
    margin: 30px auto 0;
    
}

.boton{
    display: inline-block;
    padding: 15px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: 0.3s;
}

.presupuesto{
    background-color: #ff5a1f;
    color: white;
    border: 2px solid #ff5a1f;
}

.presupuesto:hover{
    background-color: white;
    color: #ff5a1f;
}



.proyectos{
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.proyectos:hover{
    background-color: white;
    color: rgba(29, 43, 103);
}

/*---------------------------Modulos de agua-------------------------*/



*{
padding: 0;
margin:0;
box-sizing: border-box;
}

#contenedor {
    background-color:rgba(8, 35, 70, 0.78);
     width: 99%;
      margin:5px;
     border: solid 1px rgb(48, 48, 96);
    padding: 20px; 
}

.logo{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    background-color: white;
}

.logo nav{
   display: flex;
   align-items: center;
   gap: 45px;
}

.logo nav a{
    color:  rgba(8, 35, 70, 0.78);
    white-space: nowrap;
    text-decoration: none;
    margin: 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
     'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
      'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    font-weight: 500;
    transition: 0.3s; 
}

.logo a:hover{
    color:  #ff5a1f;
    transform: translate(-2px);
}

h1 {
    color:  #ff5a1f;
      font-size: 20px;
       text-align: left;
    
}

h1:hover{
    color: rgb(190, 178, 178);
    transform: translateY(-2px);
}


.Portada-Modulos-agua{
    width: 100%;
    min-height: 550px;
    background: linear-gradient(90deg, 
     rgba(0, 25, 60, 0.85) 0%, 
     rgba(0, 25, 60, 0.55) 45%, 
     rgba(0, 25, 60, 0.20) 100%), url("../Imagen/Modulos/Modu\ 5.png");                        
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    
    padding: 70px 80px;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 
          Roboto, Oxygen, Ubuntu, Cantarell, 
          'Open Sans', 'Helvetica Neue', sans-serif; 
     cursor: pointer;
}

.Portada-Modulos-agua h1{
    color: #ff5a1f;
    font-size: clamp(28px, 4vw, 48px);
    max-width: 100%;
    font-weight: 800;
    white-space: normal;
    line-height: 1.15;
    overflow-wrap: break-word;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(132, 146, 184, 0.5);
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 0.2s;
}

.Portada-Modulos-agua h1:hover{
     color:  #bcd1eb;
    transform: translateY(-2px);
    translate: 0.3s;
}

.Portada-Modulos-agua h2{
    color: rgb(249, 239, 239);
    margin-bottom: 25px;
    font-size: 30px; 
    max-width: 700px;
    line-height: 1.4;
    text-align: justify;
    animation-delay: 0.5s;
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 0.5s;  
}


.botones-portada{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 1.1s;
}

@keyframes aparecer{
    from{opacity: 0; transform: translateY(30px);}
    to{opacity: 1; transform: translateY(0);}
}

.boton{
    display: inline-block;
    padding: 15px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: 0.3s;
}

.presupuesto{
    background-color: #ff5a1f;
    color: white;
    border: 2px solid #ff5a1f;
}

.presupuesto:hover{
    background-color: white;
    color: #ff5a1f;
}

.proyectos{
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.proyectos:hover{
    background-color: white;
    color: rgba(29, 43, 103);
}

/*---------------------------Montaje-------------------------------*/


*{
padding: 0;
margin:0;
box-sizing: border-box;
}

#contenedor {
    background-color:rgba(8, 35, 70, 0.78);
     width: 99%;
      margin:5px;
     border: solid 1px rgb(48, 48, 96);
    padding: 20px; 
}

.logo{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    background-color: white;
}

.logo nav{
   display: flex;
   align-items: center;
   gap: 45px;
}

.logo nav a{
    color:  rgba(8, 35, 70, 0.78);
    white-space: nowrap;
    text-decoration: none;
    margin: 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
     'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
      'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    font-weight: 500;
    transition: 0.3s; 
}

.logo a:hover{
    color:  #ff5a1f;
    transform: translate(-2px);
}

h1 {
    color:  #ff5a1f;
      font-size: 20px;
       text-align: left;
       margin-right: auto;
    
}

h1:hover{
    color: rgb(190, 178, 178);
    transform: translateY(-2px);
}


.Portada-Montaje{
    width: 100%;
    min-height: 550px;
    background: linear-gradient(90deg, 
     rgba(0, 25, 60, 0.85) 0%, 
     rgba(0, 25, 60, 0.55) 45%, 
     rgba(0, 25, 60, 0.20) 100%), url("../Imagen/Montaje/Mon\ 8.png");                        
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    
    padding: 70px 80px;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 
          Roboto, Oxygen, Ubuntu, Cantarell, 
          'Open Sans', 'Helvetica Neue', sans-serif; 
     cursor: pointer;
}

.Portada-Montaje h1{
    color: #ff5a1f;
    font-size: clamp(28px, 4vw, 48px);
    max-width: 100%;
    font-weight: 800;
    white-space: normal;
    line-height: 1.15;
    overflow-wrap: break-word;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(132, 146, 184, 0.5);
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 0.2s;
}

.Portada-Montaje h1:hover{
     color:  #bcd1eb;
    transform: translateY(-2px);
    translate: 0.3s;
}

.Portada-Montaje h2{
    color: rgb(249, 239, 239);
    margin-bottom: 25px;
    font-size: 30px; 
    max-width: 700px;
    line-height: 1.4;
    text-align: justify;
    animation-delay: 0.5s;
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 0.5s;  
}

.botones-portada{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 1.1s;
}

@keyframes aparecer{
    from{opacity: 0; transform: translateY(30px);}
    to{opacity: 1; transform: translateY(0);}
}

.boton{
    display: inline-block;
    padding: 15px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: 0.3s;
}

.presupuesto{
    background-color: #ff5a1f;
    color: white;
    border: 2px solid #ff5a1f;
}

.presupuesto:hover{
    background-color: white;
    color: #ff5a1f;
}

.proyectos{
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.proyectos:hover{
    background-color: white;
    color: rgba(29, 43, 103);
}

/*---------------------------Mantenimiento--------------------------*/


*{
padding: 0;
margin:0;
box-sizing: border-box;
}

#contenedor {
    background-color:rgba(8, 35, 70, 0.78);
     width: 99%;
      margin:5px;
     border: solid 1px rgb(48, 48, 96);
    padding: 20px; 
}

.logo{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    background-color: white;
}

.logo nav{
   display: flex;
   align-items: center;
   gap: 45px;
}

.logo nav a{
    color:  rgba(8, 35, 70, 0.78);
    white-space: nowrap;
    text-decoration: none;
    margin: 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
     'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
      'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    font-weight: 500;
    transition: 0.3s; 
}

.logo a:hover{
    color:  #ff5a1f;
    transform: translate(-2px);
}

h1 {
    color:  #ff5a1f;
      font-size: 20px;
       text-align: left;
       margin-right: auto;
    
}

h1:hover{
    color: rgb(190, 178, 178);
    transform: translateY(-2px);
}


.Portada-Mantenimiento{
    width: 100%;
    min-height: 550px;
    background: linear-gradient(90deg, 
     rgba(0, 25, 60, 0.85) 0%, 
     rgba(0, 25, 60, 0.55) 45%, 
     rgba(0, 25, 60, 0.20) 100%), url("../Imagen/Mantenimiento/Mantenimiento\ 1.jpeg");                        
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    
    padding: 70px 80px;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 
          Roboto, Oxygen, Ubuntu, Cantarell, 
          'Open Sans', 'Helvetica Neue', sans-serif; 
     cursor: pointer;
}

.Portada-Mantenimiento h1{
    color: #ff5a1f;
    font-size: clamp(28px, 4vw, 48px);
    max-width: 100%;
    font-weight: 800;
    white-space: normal;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(132, 146, 184, 0.5);
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 0.2s;
}

.Portada-Mantenimiento h1:hover{
     color:  #bcd1eb;
    transform: translateY(-2px);
    translate: 0.3s;
}

.Portada-Mantenimiento h2{
    color: rgb(249, 239, 239);
    margin-bottom: 25px;
    font-size: 30px; 
    max-width: 700px;
    line-height: 1.4;
    text-align: justify;
    animation-delay: 0.5s;
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 0.5s;  
}

.botones-portada{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 1.1s;
}

@keyframes aparecer{
    from{opacity: 0; transform: translateY(30px);}
    to{opacity: 1; transform: translateY(0);}
}

.boton{
    display: inline-block;
    padding: 15px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: 0.3s;
}

.presupuesto{
    background-color: #ff5a1f;
    color: white;
    border: 2px solid #ff5a1f;
}

.presupuesto:hover{
    background-color: white;
    color: #ff5a1f;
}

.proyectos{
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.proyectos:hover{
    background-color: white;
    color: rgba(29, 43, 103);
}

/*---------------------------Plasticos Tecnicos---------------------*/


*{
padding: 0;
margin:0;
box-sizing: border-box;
}

#contenedor {
    background-color:rgba(8, 35, 70, 0.78);
     width: 99%;
      margin:5px;
     border: solid 1px rgb(48, 48, 96);
    padding: 20px; 
}

.logo{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    background-color: white;
}

.logo nav{
   display: flex;
   align-items: center;
   gap: 45px;
}

.logo nav a{
    color:  rgba(8, 35, 70, 0.78);
    white-space: nowrap;
    text-decoration: none;
    margin: 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
     'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
      'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    font-weight: 500;
    transition: 0.3s; 
}

.logo a:hover{
    color:  #ff5a1f;
    transform: translate(-2px);
}

h1 {
    color:  #ff5a1f;
      font-size: 20px;
       text-align: left;
    
}

h1:hover{
    color: rgb(190, 178, 178);
    transform: translateY(-2px);
}


.Portada-Plasticos-tecnicos{
    width: 100%;
    min-height: 550px;
    background: linear-gradient(90deg, 
     rgba(0, 25, 60, 0.85) 0%, 
     rgba(0, 25, 60, 0.55) 45%, 
     rgba(0, 25, 60, 0.20) 100%), url("../Imagen/Plasticos/Caldereria\ P.P.\ 1.jpeg");                        
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    
    padding: 70px 80px;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 
          Roboto, Oxygen, Ubuntu, Cantarell, 
          'Open Sans', 'Helvetica Neue', sans-serif; 
     cursor: pointer;
}

.Portada-Plasticos-tecnicos h1{
    color: #ff5a1f;
    font-size: clamp(28px, 4vw, 48px);
    max-width: 100%;
    font-weight: 800;
    white-space: normal;
    line-height: 1.15;
    overflow-wrap: break-word;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(132, 146, 184, 0.5);
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 0.2s;
}

.Portada-Plasticos-tecnicos h1:hover{
     color:  #bcd1eb;
    transform: translateY(-2px);
    translate: 0.3s;
}

.Portada-Plasticos-tecnicos h2{
    color: rgb(249, 239, 239);
    margin-bottom: 25px;
    font-size: 30px; 
    max-width: 700px;
    line-height: 1.4;
    text-align: justify;
    animation-delay: 0.5s;
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 0.5s;  
}

.botones-portada{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 1.1s;
}

@keyframes aparecer{
    from{opacity: 0; transform: translateY(30px);}
    to{opacity: 1; transform: translateY(0);}
}

.boton{
    display: inline-block;
    padding: 15px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: 0.3s;
}

.presupuesto{
    background-color: #ff5a1f;
    color: white;
    border: 2px solid #ff5a1f;
}

.presupuesto:hover{
    background-color: white;
    color: #ff5a1f;
}

.proyectos{
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.proyectos:hover{
    background-color: white;
    color: rgba(29, 43, 103);
}

/*------------------------------Contacto---------------------------*/

.Contacto{
    min-height: 90vh;
    padding: 70px 8%;
    display: flex;
    max-width: 100%;
    justify-content:center;
    align-items: flex-start;
    gap: 70px;
    background-color:  #061f3b;
    border: solid 1.5px #525151;
    align-items: center;

}

.Contacto-info{
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.Contacto-info a{
    color: #f2f2f2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.Contacto-info a:hover{
    color: #ff6600;
}

.Contacto-info h1,
.Contacto-formulario h2{
    color: #ff5a1f;
    margin-bottom: 22px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 
    'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 
    'Open Sans', 'Helvetica Neue', sans-serif;
}

.Contacto-info h1{
    font-size: 40px;
    margin-top: 22px;
}

.Contacto-info p{
    text-align: center;
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 18px;
    color: #f4f0ec;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
     'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
     'Open Sans', 'Helvetica Neue', sans-serif;
}

.Contacto-info h3{
    text-align: center;
    color:  #ff5a1f;
    margin-top: 20px;
    margin-bottom: 5px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 
    'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 
    'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 22px;
}

.Contacto-formulario{
    background-color: rgba(24, 61, 117, 0.75);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(115, 113, 113, 0.35);
    max-width: 380px;
}

.Contacto-formulario h2{
     width: 100%;
    max-width: 520px;
}

.Contacto-formulario form{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.Contacto-formulario input,
.Contacto-formulario textarea{
    width: 100%;
    padding: 14px;
    border: 1px solid #ff5a1f;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
      'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
      'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 18px;
    box-sizing: border-box;
}

.Contacto-formulario textarea{
    min-height: 150px;
    resize: vertical;
}

.Contacto-formulario button{
    background: #ff5a1f;
    color: white;
    border: 2px solid white;
    padding: 15px;
    font-size: 17px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: .3s ease;
}

.Contacto-formulario button:hover{
    background: white;
    color: #ff5a1f;
    transform: translateY(-2px) ;
}

@media (max-width: 850px){
    .Contacto{
        flex-direction: column;
        padding: 45px 25px;
    }
    .Contacto-info,
    .Contacto-formulario{
        max-width: none;
    }
    .Contacto-info h1{
        font-size: 34px;
    }
}

/*---------------------------Empresa------------------------------*/

.Empresa{
    min-height: calc(100vh - 100px);
    padding: 70px 8%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px;
    background: linear-gradient(90deg, #061f3b, #075aa8, #061f3b);
    color: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
     Roboto, Oxygen, Ubuntu, Cantarell, 
     'Open Sans', 'Helvetica Neue', sans-serif;
}

.Empresa-texto,
.Empresa-imagen{
    max-width: 600px;  
}

.Empresa-texto h1{
    color: #ff6b00;
    font-size: 43px;
    margin-bottom: 15px;
}

.Empresa-texto h2{
    color: white;
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 25px;
}

.Empresa-texto p{
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 18px;
    text-align: justify;
}

.Empresa-imagen img{
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    border: solid 1px white;
}

.boton-empresa{
    display: flex;
    margin-top: 15px;
    padding: 15px 25px;
    background-color: #ff5a1f;
    color: white;
    border: 1.5px solid white;
    border-radius: 5px;
    text-decoration: none;
    justify-content: center;
    font-weight: bold;
    transition: 0.3s ease;
}

.boton-empresa:hover{
    background-color: white;
    color: #ff5a1f;
    transform: translateY(-2px);
}

@media (max-width: 85.px){
    .Empresa{
        flex-direction: column;
        padding: 45px 25px;
        gap: 40px;  
    }
    .Empresa-texto h1{
        font-size: 34px;
    }
    .Empresa-texto h2{
        font-size: 23px;
    }
    .Empresa-imagen img{
        height: auto;
    }
}

/*---------------------------Servicios-----------------------*/

.Servicios-pagina{
    min-height: calc(100vh - 100px);
    padding: 65px 8%;
    background: linear-gradient(90deg, #061f3b, #075aa8, #061f3b);
    color: white;
}

.Servicios-encabezado{
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

h1{
    margin-bottom: 10px;
    text-align: center;
    font-size: 40px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI',Roboto, Oxygen, Ubuntu, Cantarell,
    'Open Sans', 'Helvetica Neue', sans-serif;
}

h5{
    text-align: center;
    font-size: 20px;
    margin-bottom: 30px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 
    'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
    'Open Sans', 'Helvetica Neue', sans-serif;

}

p{
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
     'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 
     'Open Sans', 'Helvetica Neue', sans-serif;
     font-size: 20px;
}


.Servicios-encabezado h1{
    color: #ff6b00;
    font-size: 50px;
    margin-top: 18px;
}

.Servicios-encabezado p{
    font-size: 18px;
    line-height: 1.7;
}

.Servicios-grid{
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.Servicios-caja{
    min-height: 330px;
    padding: 35px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: rgba(4, 31, 78, 0.9);
    border: 1px solid #ff6b00;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow
    0.3s ease, background-color 0.3s ease;
}

.Servicios-caja:hover{
    transform: translateY(-8px);
    background-color: #093d7b;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.4);

}

.Servicios-caja img{
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 22px;
    filter: brightness(0) invert(1);
}

.Servicios-caja h2{
    color: #ff6b00;
    font-size: 24px;
    margin-bottom: 18px;
}

.Servicios-caja p{
    flex-grow: 1;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.Servicios-caja span{
    padding: 10px 18px;
    border: 1px solid white;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s ease;
}

.Servicios-caja:hover span{
    background-color: white;
    color: #ff5a1f;
}

.Tarjetas{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;

}

@media (max-width: 950px){
    .Servicios-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:650px){
    .Servicios-pagina{
        padding: 45px 25px;
    }
    .Servicios-grid{
        grid-template-columns: 1fr;
    }
    .Servicios-encabezado h1{
        font-size: 34px;
    }
}

/*---------------------------Proyectos------------------------------*/

.Proyectos-pagina{
    min-height: 100vh;
    padding: 65px 8%;
    background: linear-gradient(90deg, #061f3b, #075aa8, #061f3b);
    color: white;
}

.Proyectos-encabezado{
    max-width: 850px;
    margin: 0 auto 45px;
    text-align: center; 
    margin-bottom: 60px;
}

.Proyectos-encabezado h1{
    color: #ff6b00;
    font-size: 42px;
    margin-bottom: 18px;
}

.Proyectos-encabezado p h5{
    font-size: 18px;
    line-height: 1.7;
}

.Proyectos-galeria{
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.Proyecto-tarjeta{
    overflow: hidden;
    background-color: rgba(4, 31, 78, 0.92);
    border: 1px solid #ff6b00;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.Proyecto-tarjeta:hover{
    transform: translateY(-8px);
    box-shadow: 0 17px 35px rgba(0, 0, 0, 0.42);
}

.Proyecto-tarjeta img{
    transform: scale(1.05);
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.Proyecto-contenido{
    padding: 20px;
    text-align: center;
}

.Proyecto-contenido h2{
    color: #ff6b00;
    font-size: 23px;
    margin-bottom: 14px;
}

.Proyecto-contenido p{
    font-size: 16px;
    line-height: 1.6;
}

.menu-hamburguesa{
    display: none;
    border: none;
    background: transparent;
    color: #061f3b;
    font-size: 34px;
    cursor: pointer;
}

@media (max-width: 950px){
    .Proyectos-galeria{
        grid-template-columns: repeat(2, 1fr);

    }
}

@media (max-width: 650px){
    .Proyectos-pagina{
        padding: 45px 25px;
    }
    .Proyectos-galeria{
        grid-template-columns: 1fr;
    }
    .Proyectos-encabezado h1{
        font-size: 34px;
    }
}

.Carrusel-proyecto{
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 200px;
    overflow: hidden;
    margin: 30px auto;
}

.Carrusel-proyecto img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.Carrusel-proyecto img.Imagen-activa{
    opacity: 1;
}

/*---------------------------Gracias--------------------------------------*/

.boton-volver {
    padding: 12px 24px;
    background-color: #ff5a1f;
    border: solid 1.5px white;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    text-align: center;
    display: block;
    width: fit-content;
    margin: 20px auto 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 
     'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
     'Open Sans', 'Helvetica Neue', sans-serif;
}

.boton-volver:hover {
    opacity: 0.85;
}

.Contacto-formulario h2{
    text-align: center;
}

.Contacto-formulario p{
    text-align: center;
    line-height: 1.5;
    color: white;
    font-size: 16px;
}


/*---------------------------Galeria en Grande----------------------------*/



.modal-galeria{
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 40px 100px;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-galeria.abierto{
    display: flex;
}

.modal-galeria img{
    max-width: 82%;
    max-height: 85vh;
    object-fit: contain;
    position: relative;
    z-index: 3001;
}

.modal-cerrar,
.modal-anterior,
.modal-siguiente{
    position: fixed;
    z-index: 5000;
    border: 1px solid white;
    background-color: rgba(0, 0, 0, 0.55);
    color: white;
    cursor: pointer;
}
    

.modal-cerrar{
    top: 20px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 38px;
}


.modal-anterior{
    left: 25px;
}

.modal-siguiente{
    right: 25px;
}

.modal-cerrar:hover,
.modal-anterior:hover,
.modal-siguiente:hover{
    color: #ff6b00;
}

#imagenAnterior,
#imagenSiguiente {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    width: 58px !important;
    height: 72px !important;
    padding: 0 !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    border: 2px solid white !important;
    border-radius: 10px !important;
    background: rgba(6, 31, 59, 0.9) !important;
    color: #ff6b00 !important;

    font-size: 44px !important;
    line-height: 1 !important;
    z-index: 10002 !important;
    cursor: pointer;
}

#imagenAnterior:hover
#imagenSiguiente:hover{
    transform: translateY(-50%) scale(1.08);
    transition: .25s;
}

#imagenAnterior {
    left: 40px !important;
    right: auto !important;
}

#imagenSiguiente {
    right: 40px !important;
    left: auto !important;
}

/*---------------------------PORTÁTILES Y TABLET HORIZONTAL-------------------------*/


@media (max-width: 1200px){

    #contenedor{
        width: calc(100% - 10px);
        padding: 15px;
        box-sizing: border-box;
    }

    .logo{
        padding: 12px 18px;

    }

    .logo nav{
        gap: 20px;
        position: sticky;
        top: 0;
        z-index: 5000;
    }

    .logo nav a{
        margin: 8px;
        font-size: 16px;
    }

    .Portada-fabricación,
    .Portada-soldadura{
        min-height: 500px;
        padding: 50px 45px;
        background-size: cover;
    }

    .Portada-fabricación h1,
    .Portada-soldadura h1{
        font-size: clamp(28px, 3.5vw, 42px);
        max-width: 90%;
        white-space: normal;
        line-height: 1.15;
    }

    .Portada-fabricación h2,
    .Portada-soldadura h2{
        font-size: clamp(20px, 2.2vw, 27px);
        max-width: 620px;
        text-align: left;
    }

    .botones-portada{
        flex-wrap: wrap;
        gap: 12px;
    }

    .boton{
        padding: 13px 22px;
        font-size: 14px;
    }
}

/*---------------------------Tablet-------------------------*/


@media (max-width: 900px){

    #contenedor{
        width: calc(100% - 10px);
        margin: 5px;
        padding: 20px;
        box-sizing: border-box;
    }
    
    #menuNavegacion{
        width: 100%;
        padding: 5px;
        gap: 0;
    }

    #menuNavegacion a{
      padding: 5px 0;
      line-height: 1.1;
    }

    .logo{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        margin: 0;
        transform: none;
        box-sizing: border-box;
        display: flex;
        padding: 4px 10px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        background-color: white;
        z-index: 9999;
       
    }

    .menu-hamburguesa{
        font-size: 34px;
        color: #061f3b;
        background: transparent;
        border: none;
        cursor: pointer;
        display: block;
        margin-left: auto;
    }

    .Portada{
        min-height: 500px;
        padding: 40px 25px;
        background-size: cover;
        background-position: center;
    }

    .Portada-Mantenimiento h1{
        font-size: 2.4rem;
        letter-spacing: 0;
    }

    .Portada h1{
        width: 100%;
        font-size: clamp(28px, 4.5vw, 34px);
        max-width: 600px;
        white-space: normal;
        line-height: 1.15;
        overflow-wrap: break-word;
        text-align: left;
        margin-bottom: 18px;
    }

     .Portada h2{
        width: 100%;
        font-size: 19px;
        max-width: 560px;
        line-height: 1.5;
        text-align: left;
        margin-bottom: 16px;  
        margin-top: 8px;   
     }

      .Portada .botones-portada{
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 12px;
        margin-top: 10px;
    }

    .Contenedor-tarjetas{
        display: flex;
        flex-wrap: wrap;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        width: 100%;
    }

    .Tarjetas{
        width: 100%;
        min-width: 0;
        width: calc(50% - 10px);
    }

    .proyecto-boton{
        display: flex;
        justify-content: center;
        margin: 25px 0;
    }

    .proyecto{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .proyecto-texto{
        width: 100%;
    }

    .Empresa{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .Empresa-texto{
        padding-right: 20px;
    }

    .Empresa-imagen{
        width: 100%;
        text-align: center;
        margin-top: 35px;
    }

    .Empresa-imagen img{
        max-width: 400px;
        width: 100%;
        height: auto;
        border-radius: 12px;
    }

    .Proyecto-imagen{
        width: 100%;
        height: auto;
    }

    .Proyecto-imagen img{
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
    }

    .btn-proyectos{
        justify-content: center;
    }


    .logo nav{
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0px;
        background-color: white;
        padding: 5px 0;
    }

    .logo nav.menu-abierto{
        display: flex;
    }

    .logo nav a{
        width: 100%;
        margin: 0;
        padding: 8px 20px;
        text-align: center;
    }

    .Portada-fabricación,
    .Portada-soldadura{
        min-height: 460px;
        padding: 40px 25px;
        background-size: cover;
        background-position: center;
    }

    .Contacto{
        padding-top:10px;
    }

      .contacto-item{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    transform: translateX(5px);
   }

    .Contacto-info h1{
        font-size: 42px;
    }

    .Contacto-info{
    width: 100%;
    max-width: 520px;
    margin: 0 auto 30px;
    text-align: center;
   }

   .Contacto-info h3,
   .Contacto-info p{
    text-align: center;
   }

   .Contacto-formulario{
    width: 100%;
    max-width: 420px;
    margin-top: 30px;
  }

   .Contacto-formulario form{
    width: 100%;
  }

   .Contacto-formulario input,
   .Contacto-formulario textarea{
    width: 100%;
    box-sizing: border-box;
  }

   .Contacto-formulario button{
    display: block;
    width: fit-content;
    margin: 20px auto 0;
  }


    .Portada-fabricación h1,
    .Portada-soldadura h1{
        font-size: clamp(26px, 6vw, 36px);
        max-width: 100%;
        text-align: left;
    }

    .Portada-fabricación h2,
    .Portada-soldadura h2{
        font-size: clamp(18px, 4vw, 24px);
        max-width: 100%;
        line-height: 1.35;
    }

    .botones-portada{
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .boton{
        padding: 12px 22px;
        font-size: 15px;
    }

    .footer{
        padding: 30px 20px 15px;
    }

    .footer-contenido{
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 100%;
    }

    .footer-bloque{
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .footer-bloque:nth-child(3){
        transform: none !important;
        width: 100%;
        text-align: center;
        justify-self: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }


    .footer-bloque h3{
        margin-bottom: 10px;
    }

    .footer-bloque:nth-child(3){
        transform: center;
    }

    .footer-bloque:last-child{
        justify-self: start;
    }

    .redes-sociales{
        display: flex;
        flex-direction: row;
        gap: 50px;
        align-items: center;
        justify-content: center;
    }
}  


/*--------------------------- Tablet Vertical ----------------------------*/

@media (min-width: 481px) and (max-width: 768px) and (orientation: portrait) {

    .footer-contenido {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        width: 100%;
        box-sizing: border-box;
    }

    .footer-bloque {
        width: 100%;
        min-width: 0;
        transform: none !important;
        justify-self: stretch;
    }

    .redes-sociales {
        display: flex;
        flex-direction: row;
        gap: 20px;
        padding-left: 0;
        justify-content: flex-start;
        align-items: center;
    }
}




/*--------------------------------Móvil-----------------------------*/


@media (max-width: 480px){

    .logo img{
        max-width: 220px;
        height: auto;
    }

    .logo nav{
        gap: 5px;
    }

    .logo nav a{
        margin: 4px;
        font-size: 14px;
    }

    .Portada h1{
        font-size: 28px;
        line-height: 1.15;
    }





                              /*****************************Fabricacion y Soldadura***********************/

    .Portada-fabricación,
    .Portada-soldadura{
        min-height: 520px;
        padding: 35px 18px;
        justify-content: center;
        background-position: center;
    }

    .Portada-fabricación h1,
    .Portada-soldadura h1{
        font-size: clamp(22px, 6.5vw, 27px);
        line-height: 1.15;
        margin-bottom: 16px;
    }

    .Portada-fabricación h2,
    .Portada-soldadura h2{
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 14px;
    }

    .proyecto
    .proyecto-texto h2{
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 28px;
    }

    .proyecto-texto p{
        color: white;
        text-align: left;
        line-height: 1.7;
        margin-bottom: 24px;
    }



                                /******************************Modulos de agua****************************/

    .Portada-Modulos-agua h2{
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 18px;
    }


    .botones-portada-Modulos-agua{
        margin-bottom: 50px;
    }



                              /***************************Mantenimiento*******************************/

     .Portada-Mantenimiento h1{
        font-size: 2.2rem;
        line-height: 1.1;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
        justify-content: center;
    }

    .Portada-Mantenimiento p{
        text-align: left;
        text-align-last: left;
        line-height: 1.45;
    }

    .Portada-Mantenimiento h2{
        max-width: 90%;
        line-height: 1.4;
        font-size: 1.3rem;
        background: rgba(0, 0, 0, 0.25);
        padding: 6px 6px;
        border-radius: 6px;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    }

    .Portada-Mantenimiento{
        padding: 40px 25px;
    }

    .botones-portada{
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .boton{
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 13px 16px;
    }

    .Tarjetas{
        width: calc(50% - 10px);
        padding: 25px 10px;
        min-width: 0;
    }

    .titulo-mantenimiento {
       font-size: 0.80rem;
       line-height: 1.15;
       white-space: normal;
       text-align: center;
       width: 100%;
       max-width: 100%;
   }



                                 /************************Contacto y Footer*********************/

    .Contacto{
    padding-top: 30px;
   }

   .contacto{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
   }

    .Contacto-info h1{
    font-size: 34px;
   }

    .contacto-item{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    transform: translateX(50px);
   }

   .contacto-item span{
    max-width: 240px;
    overflow-wrap: anywhere;
    text-align: center;
   }

    .contacto-item a{
        margin: 0;
    }

     .contacto-item img{
        width: 30px !important;
        height: 30px;
     }

    .Contacto-info p{
    font-size: 18px;
    line-height: 1.6;
   }

    .Contacto-formulario{
    margin-top: 35px;
   }

   .footer-contenido{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
   }

   .footer-bloque{
    width: 100%;
    max-width: 330px;
    margin: 0 auto;
    text-align: center;
   }

   .footer-bloque a{
    display: block;
    margin: 8px 0;
    text-align: center;
   }

   .footer-bloque img{
    max-width: 200px;
    height: auto;
   }

   .footer-final{
    width: 100%;
    margin-top: 20px;
    text-align: center;
   }




                             /******************Montaje industrial****************/

   .Portada-Montaje h2{
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 18px;
   }

   .proyecto-texto h2{
        font-size: 21px;
        line-height: 1.4;
        margin-bottom: 18px;
   }
   
   .proyecto-texto p{
    margin-bottom: 30px;
   }


   
                            /******************plasticos técnicos****************/

    .Portada-Plasticos-tecnicos h2{
        max-width: 90%;
        line-height: 1.2;
        font-size: 1.3rem;
        background: rgba(0, 0, 0, 0.25);
        padding: 4px 4px;
        border-radius: 6px;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    }


                           /******************Galeria Proyecto****************/

   

    #imagenAnterior,
    #imagenSiguiente {
    width: 44px !important;
    height: 58px !important;
    font-size: 34px !important;
    border-radius: 8px !important;
   }

    c#imagenAnterior {
    left: 18px !important;
   }

    #imagenSiguiente {
    right: 18px !important;
   }

    #imagenModal {
    max-width: 72% !important;
    max-height: 72vh !important;
   }

   .modal-cerrar {
    width: 42px;
    height: 42px;
    top: 18px;
    right: 18px;
    font-size: 30px;
   }


   /*¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬Footer¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬*/

   .Proyecto-imagen img{
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 0 auto;
   }

  .contacto {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
   }

    .contacto-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 330px;
    gap: 8px;
   }

    .contacto-item img {
    width: 36px !important;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
   }

    .contacto-item span {
    flex: 1;
    text-align: left;
    margin: 0;
   }

    .modal-galeria img{
    max-width: 90%;
    max-height: 88vh;
    }


    .modal-galeria{
        padding: 30px 65px;
    }

    .proyecto {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    padding: 45px 25px;
   }

   .proyecto-texto {
    width: 100%;
   }

   .proyecto-texto p {
    text-align: left;
    line-height: 1.6;
   }

   .proyecto > .btn-proyectos {
    align-self: center;
    width: 100%;
    max-width: 300px;
    text-align: center;
    order: 2;
   }

   .proyecto-imagen {
    width: 100%;
    order: 3;
   }

   .proyecto-imagen img {
    width: 100%;
    max-width: 100%;
    height: auto;

   }

   .redes-sociales{
        display: flex;
        flex-direction: row;
        gap: 30px;
        align-items: center;
        justify-content: flex-start;
        padding-left: 55px;
    }

    

}













