* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #000;
  color: #fff;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-left: 5%;
  width: 50%;
  background-color: rgba(9, 40, 58, 0.8); /* Azul institucional */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 60px;
}

.logo h1 {
  font-size: 2em;
  margin: 0;
  font-weight: 600;
}

.tagline {
  font-size: 2em;
  font-weight: 300;
  margin-top: 20px;
	text-transform: uppercase;
}

.subtext {
  margin-top: auto;
  font-size: 0.9em;
  color: #ccc;
  padding-bottom: 20px;
}

.hero-bg {
  background: url('../img/FondoIndex.jpg') no-repeat center center / cover;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.9;
}








/* IMPULSAMOS EL CRECIMIENTO POTENCIAL*/



.nosotros {
  text-align: center;
  color: #fff;
  background-color: #09283a;
}

.nosotros-top {
  padding: 60px 20px 60px;
}

.nosotros-top h2 {
  font-size: 2.4em;
  text-transform: uppercase;
  font-weight: 400;
}

.nosotros-top h3 span {
  color: #e93323;
  font-size: 1.5em;
  text-transform: uppercase;
  font-weight: 600;
}

.nosotros-img img {
  width: 100%;
  height: auto;
  display: block;
}

.nosotros-texto {
  background-color: #09283a;
  padding: 60px 40px;
  font-size: 1.2em;
  color: #fff;
}

.nosotros-texto p {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.9;
}

.nosotros-texto strong {
  font-weight: 600;
}




/* IMPULSAMOS EL CRECIMIENTO POTENCIAL*/


html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}



.unidades {
  width: 100vw;
  overflow: hidden;
}

.unidad-container {
  display: flex;
  width: 100%;
  max-width: 100%;
}

.unidad {
  flex: 1;
  position: relative;
  height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: white;
}

.unidad-metrica {
  background-image: url('../img/FondoMetrica.jpg');
}

.unidad-alianza {
  background-image: url('../img/FondoAlianza.jpg');
}


.unidad h2 {
  font-size: 2.5em;
  margin: 0;
  letter-spacing: 4px;
}

.unidad h2 span {
  font-size: 0.8em;
  vertical-align: super;
}

.unidad p {
  font-size: 1.2em;
  margin: 10px 20px 40px;
  text-align: center;
  max-width: 600px;
}
.unidad::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  z-index: 1;
}

.unidad {
  position: relative;
  z-index: 2;
}

.unidad:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.logo-unidad {
  width: 250px;
  max-width: 70%;
  margin-bottom: 20px;
}





@media (max-width: 768px) {
  /* HERO */
  .hero {
    flex-direction: column;
    height: auto;
	  padding-top: 120px;
  }

  .hero-content {
    width: 100%;
    height: auto;
    padding: 40px 20px;
    align-items: center;
    text-align: center;
  }

  .tagline {
    font-size: 1.5em;
  }

  .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-position: center center;
    z-index: 0;
  }

  /* NOSOTROS */
  .nosotros-top h2 {
    font-size: 1.6em;
  }

  .nosotros-top h3 span {
    font-size: 1.2em;
  }

  .nosotros-texto {
    padding: 30px 20px;
    font-size: 1em;
  }

  /* UNIDADES */
  .unidad-container {
    flex-direction: column;
  }

  .unidad {
    height: 300px;
    padding: 20px;
  }

  .unidad p {
    font-size: 1em;
    margin: 10px 20px 20px;
  }

  .logo-unidad {
    width: 150px;
  }

  /* CONTACTO */
  .contacto-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
  }

  .info-contacto {
    flex-direction: column;
    align-items: center;
  }

  .info-contacto .col {
    margin-bottom: 20px;
  }

  .cta-btn {
    margin-top: 20px;
  }
}

