/* ==== PROYECTOS GENERAL ==== */

.proyectos {
  background-color: #23495e;
  color: white;
  text-align: center;
  margin-top: 20px;
}

.proyectos-encabezado {
  padding: 60px 20px 30px;
}

.proyectos-encabezado h2 {
  font-size: 2.2em;
  font-weight: bold;
}

.proyectos-encabezado h3 {
  color: #e30613;
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 10px;
  letter-spacing: 2px;
}

.proyectos-imagen img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.proyectos-footer {
  background-color: #23495e;
  padding: 25px 20px;
  font-size: 1.1em;
}

/* ==== DETALLE DE PROYECTOS (DESKTOP) ==== */

.proyectos-detalle {
  display: flex;
  flex-wrap: wrap;
  background-color: #23495e;
  color: white;
}

.proyecto-col {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.proyecto-info {
  padding: 20px 30px;
}

.proyecto-info h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.proyecto-info span {
  font-weight: normal;
  display: block;
  font-size: 0.9em;
}

.proyecto-info p {
  font-size: 1em;
  margin: 5px 0;
}

.proyecto-separador {
  width: 4px;
  background-color: #b70000;
  flex-shrink: 0;
}

.proyecto-info .metrica2 {
  color: #f6b400;
  font-weight: bold;
  font-size: 1.4em;
  letter-spacing: 3px;
}

.proyecto-info .alianza2 {
  color: #f6b400;
  font-weight: bold;
  font-size: 1.4em;
  letter-spacing: 3px;
}

.proyecto-info .inversion {
  color: #f6b400;
  font-weight: bold;
  font-size: 1.2em;
}

/* ==== RESPONSIVE SOLO PARA MOVIL ==== */

@media (max-width: 768px) {
	
	.proyectos-encabezado h2 {
  font-size: 1.5em;

}

.proyectos-encabezado h3 {

  font-size: 0.8em;

}

	
	.proyectos {
  padding-top: 80px;
}
	
	
  .proyectos-detalle {
    flex-direction: column;
  }

  .proyecto-col {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .proyecto-imagen {
    order: 1;
  }

  .proyecto-info {
    order: 2;
  }
}


