body {
    margin: 0;
    padding: 0;
    padding-top: 100px;
}


.header {
    display: flex;
    align-items: center;
    padding: 12px 24px 12px 12px;
    background-color: #202020; /* color suave para probar */
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: padding 0.3s, background 0.3s;
}

.nav-principal {
    margin-left: auto;
}

.header.shrink {
    padding: 6px 0 !important;
}

.header.shrink h1 {
    font-size: 18px !important;
}


.header h1 {
    color: #fff;
    font-size: 25px;
    font-family: Arial, Helvetica, sans-serif;

}


.lista {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1.5rem; /* separa los <li> */
    padding: 20px;
    margin: 0;
}

.lista a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
}

.lista a:hover {
    color: #009351; 
}














.main {
    display: flex;
    flex-direction: row;
    /* Para que los elementos no estén pegados, agrega un gap o margin */
    gap: 40px; /* espacio entre texto y logo */
    align-items: center; /* centra verticalmente */
    padding: 20px; /* un poco de espacio interno */
    justify-content: space-between;
}

/* En texto-principal */
.texto-principal {
    display: flex;
    flex-direction: column;
    /* Cambia justify-content y align-items para mejor alineación */
    justify-content: flex-start; /* arriba */
    align-items: flex-start; /* alinea a la izquierda */
    padding: 0px;
    max-width: 60%; /* limita el ancho para que no se extienda demasiado */
        font-size: 100px;

}

.texto-principal h2 {
    font-size: 80px;
    font-family: Arial, Helvetica, sans-serif;
    color: #363636;
    font-weight: bold;
    margin-bottom: 20px; /* espacio debajo del título */
}

.texto-principal p {
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    color: #232323;
    font-weight: 500; /* no tan negrita para mejor lectura */
    margin-bottom: 10px;
    line-height: 1.5; /* mejora la legibilidad */
}

/* Botón - te agrego estilos para que se vea mejor */
.texto-principal button {
    padding: 12px 25px;
    background-color: #00c975; /* azul */
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}
.texto-principal button:hover {
    background-color:#009351
}

/* Logo */
.logo {
    display: flex;
    justify-content: right;
    align-items: right;
    padding: 0px;
    max-width: 40%; /* para que no se coma todo el espacio */
}

.logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}












.servicios-generales{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
    background-color: #202020; 
    gap: 20px;


}

.servicio-web{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    gap: 20px;
    border-radius: 20px;
    background-color: #323232;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

    
}

.servicio-web:hover{
    background-color: #00341e; /* azul */
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

.servicio-web h2{
    font-size: 30px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    padding: 8px;
    border-radius: 20px;
    background-color: transparent;
    color: #ffffff; 
}

.servicio-web p{
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500; 
    text-align: left;
    padding: 8px;
    border-radius: 20px;
    line-height: 1.4;
    max-width: 500px;
    background-color: transparent;
    color: #dddddd;
    font-weight: bold;

}

.servicio-web button{
    padding: 12px 25px;
    background-color: #00c975; /* azul */
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold; 
  
}

.servicio-web button:hover {
    background-color:#009351
}

.servicio-web img{
    max-width: 100%;
    height: 100px;
    width: 100px;
    object-fit: contain;
}











.servicio-software{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    gap: 20px;
    border-radius: 20px;
    background-color: #323232;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);


    
}

.servicio-software:hover{
    background-color: #00341e; /* azul */
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

.servicio-software h2{
    font-size: 30px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    padding: 8px;
    border-radius: 20px;
    background-color: transparent;
    color: #ffffff; 
}

.servicio-software p{
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500; 
    text-align: left;
    padding: 8px;
    border-radius: 20px;
    line-height: 1.4;
    max-width: 500px;
    background-color: transparent;
    color: #dddddd;
    font-weight: bold;

}

.servicio-software button{
    padding: 12px 25px;
    background-color: #00c975; /* azul */
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold; 
  
}

.servicio-software button:hover {
    background-color:#009351
}

.servicio-software img{
    max-width: 100%;
    height: 100px;
    width: 100px;
    object-fit: contain;
}












.servicio-automatizacion{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    gap: 20px;
    border-radius: 20px;
    background-color: #323232;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

    
}

.servicio-automatizacion:hover{
    background-color: #00341e; /* azul */
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

.servicio-automatizacion h2{
    font-size: 30px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    padding: 8px;
    border-radius: 20px;
    background-color: transparent;
    color: #ffffff; 
}

.servicio-automatizacion p{
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500; 
    text-align: left;
    padding: 8px;
    border-radius: 20px;
    line-height: 1.4;
    max-width: 500px;
    background-color: transparent;
    color: #dddddd;
    font-weight: bold;

}

.servicio-automatizacion button{
    padding: 12px 25px;
    background-color: #00c975; /* azul */
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold; 
  
}

.servicio-automatizacion button:hover {
    background-color:#009351
}

.servicio-automatizacion img{
    max-width: 100%;
    height: 100px;
    width: 100px;
    object-fit: contain;
}











.beneficios {
    padding: 40px 20px;
    background-color: #ffffff;
    color: #1b1b1b;
    font-family: 'Poppins', sans-serif;
    max-width: 1000px;
    margin: auto;
}

.beneficios h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #00c975;
}

.beneficio {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.beneficio .icono img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.beneficio .contenido h3 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #484848;
}

.beneficio .contenido p {
    margin: 0;
    color: #424242;
    line-height: 1.6;
    font-size: 16px;
}


















.footer {
    background-color: #2b2b2b;
    color: #ffffff;
    padding: 20px 0;
    font-family: Arial, sans-serif;
    text-align: center;
}

.footer-contenido {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer p {
    margin: 5px 0;
    font-size: 18px;
    color: #cccccc;
}

.footer-redes a {
    margin: 0 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-redes a:hover {
    transform: scale(1.1);
}

.footer-redes img {
    width: 40px;
    height: 40px;
}


.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  margin-left: auto;
}






/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .main {
    flex-direction: column;
    gap: 24px;
    padding: 16px;
    align-items: center;
  }
  .texto-principal {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }
  .logo {
    max-width: 100%;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
  .servicios-generales {
    flex-direction: column;
    gap: 16px;
    padding: 10px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 60px; /* Ajusta según la altura real del header en mobile */
  }
  .header {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 24px 12px 16px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #202020;
  }
  .header h1 {
    font-size: 18px;
    margin-bottom: 0;
    z-index: 1001;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
    align-self: center;
    z-index: 1001;
  }
  .nav-principal {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    z-index: 1000;
    margin-left: 0;
  }
  .lista {
    display: none;
    flex-direction: column;
    background: #202020;
    width: 100vw;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
  }
  .lista.active {
    display: flex;
  }
  .lista li {
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #333;
  }
  .lista a {
    font-size: 18px;
    display: block;
    padding: 12px 20px;
    width: 100%;
  }
  .main {
    flex-direction: column;
    gap: 20px;
    padding: 10px;
    align-items: center;
  }
  .texto-principal {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }
  .texto-principal h2 {
    font-size: 40px;
  }
  .texto-principal p {
    font-size: 18px;
  }
  .logo {
    max-width: 100%;
    justify-content: center;
  }
  .logo img {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }
  .servicios-generales {
    flex-direction: column;
    gap: 20px;
    padding: 10px;
  }
  .servicio-web,
  .servicio-software,
  .servicio-automatizacion {
    width: 100%;
    padding: 20px;
  }
  .servicio-web p,
  .servicio-software p,
  .servicio-automatizacion p {
    text-align: center;
  }
  .servicio-web img,
  .servicio-software img,
  .servicio-automatizacion img {
    width: 80px;
    height: 80px;
  }
  .beneficios {
    padding: 20px;
  }
  .beneficios h2 {
    font-size: 24px;
  }
}

@media (max-width: 500px) {
  .header {
      padding: 5px 5px;
  }
  .header h1 {
    font-size: 20px;
  }
  .main {
    padding: 4px;
    gap: 10px;
  }
  .texto-principal h2 {
    font-size: 60px;
  }
  .texto-principal p {
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    color: #232323;
    font-weight: 500; /* no tan negrita para mejor lectura */
    margin-bottom: 10px;
    line-height: 1.2; /* mejora la legibilidad */
    text-align: center;
}
  .logo img {
    width: 220px;
    height: 220px;
  }
  .servicio-web,
  .servicio-software,
  .servicio-automatizacion {
    padding: 8px;
    font-size: 13px;
  }
  .beneficios {
    padding: 16px 4px;
  }
  .beneficios h2 {
    font-size: 20px;
  }
  .beneficio .icono img {
    width: 36px;
    height: 36px;
  }
  .footer p {
    font-size: 13px;
  }
  .footer-redes img {
    width: 24px;
    height: 24px;
  }
}















