:root {
  --color-font: rgb(3, 66, 201);
}

div.tecnologias {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #000;
  font-size: 5vw;
  padding: 2rem;
  box-sizing: border-box;
  overflow: hidden;
}



div.eslogan_1 {
  position: relative;

  h1 {
    position: absolute;
    top: 10%;
    left: 10%;
    font-size: 30px;
   
  }

  p {
    position: absolute;
    top: 35%;
    left: 10%;
    font-size: 25px;
     margin-top: .5rem;
  }
  img.inicio {
    position: relative;
    left: 45%;
    width: 50%;
  }
}

div.eslogan_1 h1 span {
  color: var(--color-font);
}

div.tec_phone {
  position: relative;
}

.phone {
    padding: 80px 20px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    min-height: auto;
}

.phone-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1500px;
    width: 100%;
    background: linear-gradient(to right, #2974EC 45%, #464441 45%);
    border-radius: 30px;
    padding: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 600px;
}

.phone-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.phone-visual img {
    width: 100%;
    max-width: 500px;
    height: auto;
    transform: rotate(-5deg);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2)); 
}

.phone-info {
    flex: 1.2;
    padding: 60px 80px 60px 40px;
    text-align: right;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.phone-info h2 {
    font-size: 45px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    text-transform: uppercase;
}

.phone-info p {
    font-size: 23px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 600px;
}


.industrial-solutions-text {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
}
.industrial-solutions-text .hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.industrial-solutions-text .hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.overlay-blue {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cta-text h1 {
  font-size: 50px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  line-height: 0.9;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  margin-top: -50%;
}


/* Media Query 992px */
@media screen and (max-width: 1024px) {
  div.tecnologias {
    font-size: 6vw;
    padding: 1.5rem;
  }
  
  div.eslogan_1 {
    h1 {
      font-size: 26px;
      left: 8%;
    }
    p {
      font-size: 16px;
      left: 8%;
    }
    img.inicio {
      left: 40%;
      width: 60%;
    }
  }
  
  div.tec_phone img {
    width: 100%;
    left: 0%;
  }
  
  div.celulares img {
    width: 45%;
    left: 5%;
  }
  
  div.tec_body_txt {
    left: 55%;
    h1 {
      font-size: 18px;

    }
    p {
      font-size: 14px;
    }
  }
  
  div.tec_slogan {
  position: absolute;
  font-size: 40px;
  color: white;
  top: 5%;
  left: 5%;
}

   div.TEC_FINAL{
    height: 68vh;
    z-index: -4;

    h2 {
      position: relative;
      font-size: 40px;
      left: 25%;
      top: 0%;
    }
   
  }
   

}

/* Media Query 760px */
@media(max-width: 760px) {
  div.tecnologias img{
    position: relative;
   content: url("../Img/Img_components/Tecnologias/tec_movil.png");
    max-width: 420px;
    left: -2% !important;
    top: -10%;
  }
  
  div.eslogan_1 {
    position: relative;
    width: 75%;
    h1 {
      position:relative;
      font-size: 25px;
      left: 30%;
      top: 5%;
    }
    p {
    position:relative;
      font-size: 15px;
      left: 25%;
      top: 35%;
    }
    img.inicio {
      position: relative;
      left: 15%;
      width: 100%;
    }
  }
  
  div.tec_phone img {
    width: 70%;
    left: 15%;
  }
  
  .phone-card {
        flex-direction: column;
        background: linear-gradient(to bottom, #2974EC 45%, #464441 45%);
        min-height: auto;
        border-radius: 20px;
    }

    .phone-visual {
        padding: 40px 30px 20px 30px;
        width: 100%;
    }

    .phone-visual img {
        max-width: 380px;
        transform: rotate(-3deg);
    }

    .phone-info {
        padding: 40px 50px 50px 50px;
        text-align: center;
        align-items: center;
        width: 100%;
    }

    .phone-info h2 {
        font-size: 38px;
        margin-bottom: 20px;
    }

    .phone-info p {
        font-size: 20px;
        margin-bottom: 30px;
        max-width: 500px;
    }  
   
   .cta-text h1 {
    margin-top: -105%;
  }

}

@media (max-width: 760px) and (orientation: landscape) {
   div.tecnologias img{
    position: relative;
   content: url("../Img/Img_components/Tecnologias/tec_background.svg");
    max-width: 100vw !important; 
    left: -2% !important;
  }

  /* Ajustes para vista horizontal sin romper vertical */
  div.eslogan_1 {
    width: 60%; /* Un poco más ancho para horizontal */
    
    h1 {
      font-size: 25px; /* Reducido para horizontal */
      left: 30%;
      top: 2%;
    }
    
    p {
      font-size: 18px;
      left: 30%;
      top: 25%;
    }
    
    img.inicio {
      left: 20%;
      width: 80%;
    }
  }
  
  .phone-visual {
    padding: 20px 30px 10px 30px;
  }

  .phone-visual img {
    position: relative;
    max-width: 140px; /* Reducido para horizontal */
     top: -10%;
  }

  .phone-info {
    padding: 20px 30px 30px 30px;
  }

  .phone-info h2 {
    font-size: 28px; /* Reducido */
    margin-bottom: 10px;
  }

  .phone-info p {
    font-size: 16px; /* Reducido */
    margin-bottom: 15px;
  }
  
  div.tecnologias img {
    max-width: 350px; /* Un poco más pequeño */
    left: 0% !important;
  }
  
  div.tec_phone img {
    width: 50%; /* Más pequeño en horizontal */
    left: 25%;
  }
  
  .cta-text h1 {
    margin-top: -50%; /* Ajustado para horizontal */
    font-size: 24px;
  }
}