
section.banner-page{
  z-index: 1;
  height: 370px;
  &::before{
    display: none;
  }
  .container-img{
    picture{
      img{
        object-position: right center;
      }
    }
  }
  .container{
    .page-title{
      display: flex;
      flex-direction: row;
      justify-content: center;
      .title-information{
        max-width: 405px;
        text-align: center;   
      }
    }
  }
}

main{
  background: linear-gradient(180deg, #FFF 74.61%, #C1C1C1 100%);
}

section.imagenes-descripcion{
  padding: 30px 0;
  position: relative;
  &::before{
    content: '';
    position: absolute;
    width: 473px;
    height: 432px;
    top:0;
    left: 0;
    z-index: 0;

    background: url('../../images/bg-frame-rayas.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .container{
    display: flex;
    gap: 3rem;
    .imagenes{
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 1rem;
      width: 35%;
      #splide_producto{
        .splide__track{
          ul{
            height: 100%;
            li{
              height: 100%;
              .container-img{
                max-width: 290px;
                margin: 0 auto;
                width: 100%;
                height: 100%;
                img{
                  height: 100%;
                  width: 100%;
                  object-fit: contain;
                  object-position: center;
                }
              }
            }
          }
        }
      }
      #splide_thumbail{
        .splide__track{
          ul{
            height: 100%;
            /*display: flex;*/
            /*justify-content: center;*/
            li{
              height: 100%;
              border: none;
              .container-img{
                width: 100%;
                height: 100%;
                img{
                  height: 100%;
                  width: 100%;
                  object-fit: contain;
                  object-position: center;
                }
              }
            }
          }
        }
      }
    }
    .descripcion{
      width: 65%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 40px;
      .go-to-datos{
        width: fit-content;
        &:hover{
          &::before{
            opacity: 1;
            transform: translate(0,8px);
          }
        }
        &::before{
          content: '';
          display: inline-block;
          width: 38px;
          height: 41px;

          background: url('../../images/arrow-down-white-bg-purple.svg');
          background-position: center;
          background-repeat: no-repeat;
          background-size: contain;
          transition: all ease .5s;
          opacity: 0.5;
          transform: translate(0,0);
        }
      }
      .title-text{
        display: flex;
        flex-direction: column;
        gap: 20px;
        .product-title{
          width: 60%;
          max-width: 443px;
          h2{
            
            color: var(--1, #000);
            font-family: "Roboto-700",sans-serif;
            font-size: 34px;
            line-height: 40px; /* 117.647% */
            strong{
              color: var(--2, #312783);
              font-family: "Roboto-700",sans-serif;
              font-size: 34px;
              line-height: 40px;
            }
          }
          hr{
            width: 20%;
            background: #312783;
            height: 2px;
          }
        }
        p{
          color: var(--7, #4D4D4D);
          font-family: "Roboto-400",sans-serif;
          font-size: 22px;
          line-height: normal;
          text-align: justify;
        }
      }
      button.enlace-animacion{
        color: white;
        background: var(--Linear-boton, linear-gradient(270deg, #4C41AC 0%, #1F156D 100%));
      }

    }
  }
}

section.tablas{
  padding: 90px 0;
  .container{
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    table{
      border-collapse: collapse; 
      border-top-left-radius: 15px;
      border-top-right-radius: 15px;
      
      display: flex;
      flex-direction: column;
      gap: 0;

      overflow: hidden;
      thead{
        width: 100%;
        tr{
          background: var(--Linear-5, linear-gradient(90deg, #271D75 0%, #443A98 50%, #271D75 100%));
          
          width: 100%;
          display: block;
          th{
            display: block;
            width: 100%;
            color: var(--5, #FFF);
            text-align: center;
            font-family: "Roboto-800",sans-serif;
            font-size: 20px;
            line-height: 40px; /* 200% */
          }
        }
      }
      tbody{
        width: 100%;
        tr{
          display: flex;
          td{
            color: var(--1, #000);
            font-family: "Roboto-300",sans-serif;
            font-size: 20px;
            line-height: 40px;

            padding: 0 15px;
            flex: 1;
            &:nth-child(2){
              border-left: 1px solid white;
            }
          }
        }
        tr:nth-child(odd) {
          background-color: #D6D8DC; /* Fondo gris claro */
        }
        tr:nth-child(even) {
          background-color: #fff; /* Fondo gris claro */
        }
      }
    }
  }
}

section.volver{
  padding: 0 0 150px 0;
  box-sizing: border-box;
  position: relative;
  &::before{
    content:'';
    position: absolute;
    bottom: 0;
    right: 0;
    height: 756px;
    width: 689px;

    background: url('../../images/bg-mainbanner-bottom.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 0;
  }

  .container{
    position: relative;
    z-index: 1;
    a{
      color: white;
      background: var(--Linear-boton, linear-gradient(270deg, #4C41AC 0%, #1F156D 100%));
      margin: 0 auto;
    }
  }
}

.container-form-cotiza{
  border-radius: 5px;
  border: 1px solid var(--bg-color-purple);
  background: #F8FBFF;

  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);

  transition: opacity ease .5s;
  opacity: 0;
  z-index: -11;

  display: flex;
  flex-direction: column;
  justify-content: center;
  /* width: 40%; */
  
  .title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 34px 37px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(148, 148, 148, 0.5);
    span{
      color: #949494;
      font-family: "Roboto-600",sans-serif;
      font-size: 20px;
      line-height: 21px;
    }
    button{
      &::before{
        content: '';
        height: 15px;
        width: 15px;
        display: inline-block;

        background: url('../../images/close-popup-trabajo.svg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
      }
    }
  }
  .body_popup_form{
    padding: 23px 37px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    span.product-name{
      color: var(--6, #312783);
      font-family: "Roboto-600",sans-serif;
      font-size: 20px;
      line-height: 21px; /* 105% */
    }
    span{
      color: var(--bg-color-grey);
      font-family: "Roboto-400",sans-serif;
      font-size: 16px;
      line-height: 21px;
    }
    .trabajo-form{
      .wpcf7{
        position: relative;
        border-radius: 10px;
        box-sizing: border-box;
        
        display: flex;
        /* justify-content: center; */
        align-items: center;
        form{
          display: flex;
          flex-direction: column;
          gap: 15px;
          width: 100%;
          &>div:not(.wpcf7-response-output){
            display: flex;
            flex-direction: column;
            gap: 12px;
          }
          div.container-field{
            p{
              display: flex;
              flex-direction: column;
              gap: 4px;
              span.field-name{
                display: none;
                color: var(--bg-color-white);
                font-family: "Roboto-400",sans-serif;
                font-size: 15px;
                line-height: 15px; /* 100% */
              }
            }
          }
          p{
            width: 100%;
            span{

              input,textarea{
                border-radius: 5px;
                box-sizing: border-box;
                background: #F5F5F5;
                padding: 10px 15px;

                color:var(--bg-color-greyblack);
                text-align: center;
                font-family:  "Roboto-400",sans-serif;
                font-size: 16px;
                line-height: 16px;
                text-align: start;

                width: 100%;
              }
              textarea{
                height: 76px;
              }
            }
          }
          .wpcf7-not-valid-tip{
            display: contents;
            color: red !important;
            border-radius: unset !important;
            position: absolute !important;
            font-family: "Roboto-400",sans-serif !important;
            font-size: 12px !important;
            line-height: normal;
          }
          & > div:nth-last-child(2){
            display: flex;
            justify-content: end;
            p{
              width: fit-content;
              margin-right: auto;
              position: relative;
              display: flex;
              flex-direction: row;
              justify-content: center;
              align-items: center;
              transition: all ease .5s;
              padding: 0 10px;
              &:hover{
                padding: 0 25px;
                &::after{
                  width: 20px;
                }
              }
              &::before{
                content: '';
                height: 100%;
                width: 100%;
                background: var(--Linear-boton, linear-gradient(270deg, #4C41AC 0%, #1F156D 100%));
                border-radius: 54px;

                position: absolute;
              }
              &::after{
                content: '';
                height: 16px;
                display: inline-block;
                transition: all ease .5s;
                width: 0px;
                overflow: hidden;
                background: url('../../images/arrow-right-white.svg');
                background-position: center;
                background-repeat: no-repeat;
                background-size: contain;
                z-index: 2;
              }
              input[type="submit"] {
                background: transparent;
                cursor: pointer;
                color: var(--bg-color-white);
                font-family: "Roboto-900",sans-serif;
                font-size: 16.039px;
                line-height: 16.039px;
                /*
                background: var(--Linear-boton, linear-gradient(270deg, #4C41AC 0%, #1F156D 100%));
                border-radius: 54px;
                */
                padding: 18px 19px;
                box-sizing: border-box;
                width: fit-content;
                margin-left: auto;
                position: relative;
                z-index: 2;
              }
            }
          }  
          div{
            width: 100%;
            &>p{
              display: flex;
              flex-direction: column;
              /* gap: 20px; */
            }
          }
        }
      }
    }
  }
}

.container-form-cotiza.active{
  opacity: 1;
  z-index: 11;
}

@media (max-width: 992px) {
  section.imagenes-descripcion{
    .container{
      flex-direction: column;
      gap: 50px;

      .imagenes{
        width: 80%;
        margin: 0 auto;
        #splide_producto{
          .splide__track{
            ul{
              height: 100%;
              li{
                height: 100%;
                .container-img{
                  max-width: 290px;
                  margin: 0 auto;
                  width: 100%;
                  height: 100%;
                  img{
                    height: 100%;
                    width: 100%;
                    object-fit: contain;
                    object-position: center;
                  }
                }
              }
            }
          }
        }
        #splide_thumbail{
          .splide__track{
            ul{
              height: 100%;
              /*display: flex;*/
              /*justify-content: center;*/
              li{
                height: 100%;
                border: none;
                .container-img{
                  width: 100%;
                  height: 100%;
                  img{
                    height: 100%;
                    width: 100%;
                    object-fit: contain;
                    object-position: center;
                  }
                }
              }
            }
          }
        }
      }
      .descripcion{
        gap: 20px;
        width: 80%;
        margin: 0 auto;
        .go-to-datos{
          display: none;
        }
        .title-text{
          display: flex;
          flex-direction: column;
          gap: 20px;
          .product-title{
            width: 60%;
            max-width: 443px;
            h2{
              font-size: 30px;
              line-height: 35px;
              strong{
                color: var(--2, #312783);
                font-family: "Roboto-700",sans-serif;
                font-size: 30px;
                line-height: 35px;
              }
            }
            hr{
              width: 20%;
              background: #312783;
              height: 2px;
            }
          }
          p{
            color: var(--7, #4D4D4D);
            font-family: "Roboto-400",sans-serif;
            font-size: 15px;
            line-height: 20px;
            text-align: justify;
          }
        }
        button.enlace-animacion{
          color: white;
          background: var(--Linear-boton, linear-gradient(270deg, #4C41AC 0%, #1F156D 100%));
        }
  
      }
    }
  }
}

@media (max-width: 700px) {
  .container-form-cotiza{
    width: 70%;
  }
}
@media (max-width: 570px) {
  section.tablas{
    .container{
      table{
        thead{
          tr{

            th{

            }
          }
        }
        tbody{
          margin-top: 10px;
          tr{
            display: flex;
            flex-direction: column;
            padding: 10px 20px;
            line-height: 25px;
            td:nth-child(2){
              border-left: unset;
            }
          }
          tr:nth-child(odd) {
            background-color: #D6D8DC; /* Fondo gris claro */
          }
          tr:nth-child(even) {
            background-color: #fff; /* Fondo gris claro */
          }
        }
      }
    }
  }
}

@media (max-width: 500px) {
  section.imagenes-descripcion{
    .container{
      flex-direction: column;
      gap: 50px;

      .imagenes{
        width: 100%;
        margin: 0 auto;
        #splide_producto{
          .splide__track{
            ul{
              height: 100%;
              li{
                height: 100%;
                .container-img{
                  max-width: 290px;
                  margin: 0 auto;
                  width: 100%;
                  height: 100%;
                  img{
                    height: 100%;
                    width: 100%;
                    object-fit: contain;
                    object-position: center;
                  }
                }
              }
            }
          }
        }
        #splide_thumbail{
          .splide__track{
            ul{
              height: 100%;
              /*display: flex;*/
              /*justify-content: center;*/
              li{
                height: 100%;
                border: none;
                .container-img{
                  width: 100%;
                  height: 100%;
                  img{
                    height: 100%;
                    width: 100%;
                    object-fit: contain;
                    object-position: center;
                  }
                }
              }
            }
          }
        }
      }
      .descripcion{
        gap: 20px;
        width: 100%;
        margin: 0 auto;
        .go-to-datos{
          display: none;
        }
        .title-text{
          display: flex;
          flex-direction: column;
          gap: 20px;
          .product-title{
            width: 60%;
            max-width: 443px;
            h2{
              font-size: 30px;
              line-height: 35px;
              strong{
                color: var(--2, #312783);
                font-family: "Roboto-700",sans-serif;
                font-size: 30px;
                line-height: 35px;
              }
            }
            hr{
              width: 20%;
              background: #312783;
              height: 2px;
            }
          }
          p{
            color: var(--7, #4D4D4D);
            font-family: "Roboto-400",sans-serif;
            font-size: 15px;
            line-height: 20px;
          }
        }
        button.enlace-animacion{
          color: white;
          background: var(--Linear-boton, linear-gradient(270deg, #4C41AC 0%, #1F156D 100%));
        }
  
      }
    }
  }

  .container-form-cotiza{
    width: 90%;
  }
}




@media(min-width : 1800px){
  
  section.imagenes-descripcion {
    .container {
      .imagenes {
        #splide_producto {
          .splide__track {
            ul {
              li {
                .container-img {
                  max-width: 350px;
                }
              }
            }
          }
        }
      }
    }
  }
}