* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Josefin Sans', sans-serif;
    color: #333;
    background: #fff;
  }
  
  .hero-header {
    background: radial-gradient(circle at top left, #ffffff 0%, #e9e9e9 100%);
    padding: 40px 5%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: url('../imagenes/fondoinicio.svg');
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
  }  
  
  .logo-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 40px;
    left: 9%;
    right: 5%;
  }
  
  .logo {
    max-height: 80px;
  }
  
  .menu {
    display: flex;
    gap: 30px;
    margin-right: 9%;
  }
  
  .menu a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
  }
  
  .menu a:hover {
    color: #205747;
  }

  
  .hero-content {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    height: 100vh;
  }
  
  
  .hero-content h1 {
    margin-top: 10%;
    font-size: 6.5rem;
    color: #205747;
    font-weight: 800;
    line-height: 0.5;
  }
  
  .hero-content h1 span {
    display: block;
  }
  
  .subtitulo {
    font-size: 2.3rem;
    font-weight: 300;
    margin-top: 7%;
  }
  
  .detalle {
    margin-top: 15px;
    font-size: 1.4rem;
    font-weight: 300;
    color: #444;
  }

  .seccion-teoria {
    width: 80%;
    margin-top: 6.5%;
    margin-left: 10%;
    margin-right: 10%;
    font-family: 'Josefin Sans', sans-serif;
  }
  
  .titulo-teoria {
    text-align: center;
    font-size: 2.3rem;
    color: #111;
    font-weight: 800;
    margin-bottom: 72px;
  }
  
  .contenido-teoria {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
  }
  
  .texto-teoria {
    flex: 1;
    width: 100%;
    font-size: 1.3rem;
    color: #333;
    line-height: 1.8;
    font-weight: 100;
  }
  
  .texto-teoria h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }
  
  .texto-teoria p {
    margin-bottom: 20px;
  }
  
  .imagen-teoria {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
  }
  
  .imagen-teoria img {
    width: 100%;
    height: auto;
  }

  .seccion-otr {
    background-color: #d5d9d1;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 20px;
    padding-bottom: 0px;
    font-family: 'Josefin Sans', sans-serif;
    height: 80vh
  }
  
  .contenido-otr {
    display: flex;
    align-items: flex-end; /* alinea la imagen al fondo */
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding-bottom: 0px;
  }
  
  .imagen-otr {
    flex: 0.8; /* ocupa menos espacio */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 0;
  }
  
  .imagen-otr img {
    width: 100%;
    object-fit: contain;
    height: 100%;
  }
  
  .texto-otr {
    flex: 1.3; /* ocupa más espacio horizontal */
    min-width: 320px;
    font-size: 1.3rem;
    font-weight: 300;
    color: #111;
    line-height: 1.5;
    text-align: justify;
    text-align: right;
    margin-top: -50px;
    padding-bottom: 50px;
  }
  
  .texto-otr .otr-eq {
    font-weight: bold;
    font-size: 1.5rem;
    text-align: right;
    margin: 30px 0;
  }

.seccion-inpronet {
  background-color: #f3edec;
  padding: 80px 5%;
  font-family: 'Josefin Sans', sans-serif;
  text-align: center;
  height: 85%;
}

.inpronet-header {
  margin-bottom: 60px;
}

.titulo-inpronet {
  font-size: 3.8rem;
  color: #205747;
  font-weight: 1000;
  margin-bottom: 10px;
}

.logo-inpronet {
  height: 80px;
}

.contenido-inpronet {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
}

.texto-inpronet {
  flex: 1;
  min-width: 320px;
  font-size: 1.25rem;
  font-weight: 150;
  color: #222;
  line-height: 1.9;
  text-align: center;
}

.video-inpronet {
  flex: 1;
  min-width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-inpronet iframe {
  width: 100%;
  height: 50vh;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.seccion-lineas-negocio {
  width: 100%;
  margin: 100px auto;
  text-align: center;
  font-family: 'Josefin Sans', sans-serif;
  height: 80%;
}

.titulo-lineas-negocio {
  font-size:3.2rem;
  font-weight: 200;
  color: #1f775a;
  margin-bottom: 8%;
  margin-top: -3%;
}

.lineas-negocio-contenido {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
}

.linea {
  flex: 1 1 400px;
  max-width: 700px;
}

.logo-linea {
  width: 45%;
  margin-bottom: 40px;
}

.descripcion-linea {
  font-size: 1.2rem;
  color: #444;
  font-weight: 500;
  line-height: 1.6;
}

.seccion-datos {
  background-color: #e2eae7;
  text-align: center;
  padding: 80px 5%;
  font-family: 'Josefin Sans', sans-serif;
}

.titulo-datos {
  font-size: 4rem;
  color: #205747;
  font-weight: 700;
  margin-bottom: 60px;
  margin-top: -3%;
}

.contenedor-datos {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 50px;
}

.dato {
  flex: 1 1 200px;
  width: 20%;
}

.dato img {
  max-width: 90px;
  margin-bottom: 15px;
}

.dato-titulo {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #444;
}

.dato-numero {
  font-size: 3.5rem;
  font-weight: 400;
  color: #777;
}

.contenido-catalogo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: nowrap; /* evita que los elementos se apilen */
  background-color: #fff;
}

.imagen-catalogo {
  width: 35%;
}

.imagen-catalogo img {
  width: 100%;
  height: auto;
  margin-top: 15%;
  margin-bottom: 10%;
}

.texto-catalogo {
  width: 60%; /* menor que 65 para dejar espacio al gap */
  text-align: center;
}

.texto-catalogo h2 {
  font-size: 4.8rem;
  font-weight: 700;
  color: #6f8d84;
  margin-bottom: 30px;
  line-height: 1;
}

.texto-catalogo h2 span {
  display: block;
}

.btn-descargar {
  display: inline-block;
  background-color: #227252;
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 999px;
  transition: background-color 0.3s ease;
}

.btn-descargar:hover {
  background-color: #1a5c40;
}

.grupo-empresas {
  text-align: center;
  background-color: #fff;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 40px;
}

.titulo-principal {
  font-size: 4rem;
  font-weight: 800;
  color: #1f775a;
  text-shadow:
      3px 3px 6px rgba(0, 0, 0, 0.5),   /* sombra más fuerte */
      0 0 12px rgba(255, 255, 255, 0.5);/* brillo claro */
  margin-bottom: 0;
}

.subtitulo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  letter-spacing: 1px;
  margin: 5px 0 20px;
}

.linea-divisoria {
  width: 50%;
  margin: 0 auto 40px;
  border: 1px solid #333;
}

.logos-empresas {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.logos-empresas img {
  width: auto;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logoInproeco {
  width: 300px !important;
  max-width: none !important;
}

.logos-empresas img:hover {
  transform: scale(1.05);
}

.footer-inproeco {
  margin-left: 3%;
  margin-right: 3%;
  margin-top: 4%;
  background-color: #fff;
  font-family: 'Josefin Sans', sans-serif;
}

.footer-contenido {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-col {
  flex: 1;
  width: 20%;
  margin-right: 5%;
}
.footer-col.izquierda a{
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 2%;
}
.footer-col h4 {
  color: #1f775a;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #555;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 100;
  line-height: 2;
}

.datos-contacto{
  text-align: right;
  width: 20%;
}
.datos-contacto h4{
  color: #111;
}
.datos-contacto p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 6px;
}

.datos-contacto a {
  color: #205747;
  text-decoration: none;
}

.logo-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto; /* <--- Esto empuja el bloque al extremo derecho */
  text-align: right;
  margin-right: 2%;
}

.logo-social img {
  max-width: 220px;
  margin-bottom: 10px;
}

.redes-sociales {
  display: flex;
  gap: 12px;

}

.redes-sociales img {
  width: 35px;
  height: 35px;
}

.sellos {
  margin-top: 0px;
}

.sellos img {
  height: 60px;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #228362;
  color: #fff;
  padding-top: 70px;
  padding-bottom: 70px;
  padding-left: 50px;
  padding-right: 50px;
  width: 55%;
  font-family: 'Josefin Sans', sans-serif;
  position: relative;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.modal-content p {
  margin-bottom: 20px;
}

.modal-titulo {
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.3;
  text-shadow: 1px 1px 2px #00000050;
}

.modal-secundario {
  font-weight: 300;
  font-size: 1rem;
  color: #fff;
}

.modal-secundario a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  margin-left: 0px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
}
